Class OrdersResource.GetRequest
Gets one order by ID.
Inheritance
OrdersResource.GetRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class OrdersResource.GetRequest : DfareportingBaseServiceRequest<Order>, IClientServiceRequest<Order>, IClientServiceRequest
Constructors
GetRequest(IClientService, long, long, long)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, long profileId, long projectId, long id)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | profileId | |
long | projectId | |
long | id |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Id
Order ID.
Declaration
[RequestParameter("id", RequestParameterType.Path)]
public virtual long Id { get; }
Property Value
Type | Description |
---|---|
long |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
Type | Description |
---|---|
long |
ProjectId
Project ID for orders.
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual long ProjectId { get; }
Property Value
Type | Description |
---|---|
long |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()