Class FlightobjectResource.PatchRequest
Updates the flight object referenced by the given object ID. This method supports patch semantics.
Inheritance
FlightobjectResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Walletobjects.v1
Assembly: Google.Apis.Walletobjects.v1.dll
Syntax
public class FlightobjectResource.PatchRequest : WalletobjectsBaseServiceRequest<FlightObject>, IClientServiceRequest<FlightObject>, IClientServiceRequest
Constructors
PatchRequest(IClientService, FlightObject, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, FlightObject body, string resourceId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
FlightObject | 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 Patch parameter list.
Declaration
protected override void InitParameters()