Class EventticketclassResource
The "eventticketclass" collection of methods.
Inherited Members
Namespace: Google.Apis.Walletobjects.v1
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class EventticketclassResource
Constructors
EventticketclassResource(IClientService)
Constructs a new resource.
Declaration
public EventticketclassResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Addmessage(AddMessageRequest, string)
Adds a message to the event ticket class referenced by the given class ID.
Declaration
public virtual EventticketclassResource.AddmessageRequest Addmessage(AddMessageRequest body, string resourceId)
Parameters
Type | Name | Description |
---|---|---|
AddMessageRequest | body | The body of the request. |
string | resourceId | The unique identifier for a class. This ID must be unique across all classes 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 '-'. |
Returns
Type | Description |
---|---|
EventticketclassResource.AddmessageRequest |
Get(string)
Returns the event ticket class with the given class ID.
Declaration
public virtual EventticketclassResource.GetRequest Get(string resourceId)
Parameters
Type | Name | Description |
---|---|---|
string | resourceId | The unique identifier for a class. This ID must be unique across all classes 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 '-'. |
Returns
Type | Description |
---|---|
EventticketclassResource.GetRequest |
Insert(EventTicketClass)
Inserts an event ticket class with the given ID and properties.
Declaration
public virtual EventticketclassResource.InsertRequest Insert(EventTicketClass body)
Parameters
Type | Name | Description |
---|---|---|
EventTicketClass | body | The body of the request. |
Returns
Type | Description |
---|---|
EventticketclassResource.InsertRequest |
List()
Returns a list of all event ticket classes for a given issuer ID.
Declaration
public virtual EventticketclassResource.ListRequest List()
Returns
Type | Description |
---|---|
EventticketclassResource.ListRequest |
Patch(EventTicketClass, string)
Updates the event ticket class referenced by the given class ID. This method supports patch semantics.
Declaration
public virtual EventticketclassResource.PatchRequest Patch(EventTicketClass body, string resourceId)
Parameters
Type | Name | Description |
---|---|---|
EventTicketClass | body | The body of the request. |
string | resourceId | The unique identifier for a class. This ID must be unique across all classes 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 '-'. |
Returns
Type | Description |
---|---|
EventticketclassResource.PatchRequest |
Update(EventTicketClass, string)
Updates the event ticket class referenced by the given class ID.
Declaration
public virtual EventticketclassResource.UpdateRequest Update(EventTicketClass body, string resourceId)
Parameters
Type | Name | Description |
---|---|---|
EventTicketClass | body | The body of the request. |
string | resourceId | The unique identifier for a class. This ID must be unique across all classes 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 '-'. |
Returns
Type | Description |
---|---|
EventticketclassResource.UpdateRequest |