Class Message
A message that will be displayed with a Valuable
Implements
Inherited Members
Namespace: Google.Apis.Walletobjects.v1.Data
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class Message : IDirectResponseSchema
Properties
Body
The message body.
Declaration
[JsonProperty("body")]
public virtual string Body { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayInterval
The period of time that the message will be displayed to users. You can define both a startTime
and
endTime
for each message. A message is displayed immediately after a Wallet Object is inserted unless a
startTime
is set. The message will appear in a list of messages indefinitely if endTime
is not provided.
Declaration
[JsonProperty("displayInterval")]
public virtual TimeInterval DisplayInterval { get; set; }
Property Value
Type | Description |
---|---|
TimeInterval |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Header
The message header.
Declaration
[JsonProperty("header")]
public virtual string Header { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The ID associated with a message. This field is here to enable ease of management of messages. Notice ID values could possibly duplicate across multiple messages in the same class/instance, and care must be taken to select a reasonable ID for each message.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Identifies what kind of resource this is. Value: the fixed string "walletobjects#walletObjectMessage"
.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
LocalizedBody
Translated strings for the message body.
Declaration
[JsonProperty("localizedBody")]
public virtual LocalizedString LocalizedBody { get; set; }
Property Value
Type | Description |
---|---|
LocalizedString |
LocalizedHeader
Translated strings for the message header.
Declaration
[JsonProperty("localizedHeader")]
public virtual LocalizedString LocalizedHeader { get; set; }
Property Value
Type | Description |
---|---|
LocalizedString |
MessageType
The message type.
Declaration
[JsonProperty("messageType")]
public virtual string MessageType { get; set; }
Property Value
Type | Description |
---|---|
string |