Class GiftcardclassResource.ListRequest
Returns a list of all gift card classes for a given issuer ID.
Inheritance
GiftcardclassResource.ListRequest
Inherited Members
Namespace: Google.Apis.Walletobjects.v1
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class GiftcardclassResource.ListRequest : WalletobjectsBaseServiceRequest<GiftCardClassListResponse>, IClientServiceRequest<GiftCardClassListResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService)
Constructs a new List request.
Declaration
public ListRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
IssuerId
The ID of the issuer authorized to list classes.
Declaration
[RequestParameter("issuerId", RequestParameterType.Query)]
public virtual long? IssuerId { get; set; }
Property Value
Type | Description |
---|---|
long? |
MaxResults
Identifies the max number of results returned by a list. All results are returned if maxResults
isn't
defined.
Declaration
[RequestParameter("maxResults", RequestParameterType.Query)]
public virtual int? MaxResults { get; set; }
Property Value
Type | Description |
---|---|
int? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Token
Used to get the next set of results if maxResults
is specified, but more than maxResults
classes are
available in a list. For example, if you have a list of 200 classes and you call list with maxResults
set to 20, list will return the first 20 classes and a token. Call list again with maxResults
set to
20 and the token to get the next 20 classes.
Declaration
[RequestParameter("token", RequestParameterType.Query)]
public virtual string Token { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()