Class LoyaltyobjectResource.AddmessageRequest
Adds a message to the loyalty object referenced by the given object ID.
Inheritance
LoyaltyobjectResource.AddmessageRequest
Inherited Members
Namespace: Google.Apis.Walletobjects.v1
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class LoyaltyobjectResource.AddmessageRequest : WalletobjectsBaseServiceRequest<LoyaltyObjectAddMessageResponse>, IClientServiceRequest<LoyaltyObjectAddMessageResponse>, IClientServiceRequest
Constructors
AddmessageRequest(IClientService, AddMessageRequest, string)
Constructs a new Addmessage request.
Declaration
public AddmessageRequest(IClientService service, AddMessageRequest body, string resourceId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
AddMessageRequest | body | |
string | resourceId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ResourceId
The unique identifier for an object. This ID must be unique across all objects from an issuer. This value should follow the format issuer ID. identifier where the former is issued by Google and latter is chosen by you. Your unique identifier should only include alphanumeric characters, '.', '_', or '-'.
Declaration
[RequestParameter("resourceId", RequestParameterType.Path)]
public virtual string ResourceId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Addmessage parameter list.
Declaration
protected override void InitParameters()