Class PostalCodesResource.GetRequest
Gets one postal code by ID.
Inheritance
PostalCodesResource.GetRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class PostalCodesResource.GetRequest : DfareportingBaseServiceRequest<PostalCode>, IClientServiceRequest<PostalCode>, IClientServiceRequest
Constructors
GetRequest(IClientService, long, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, long profileId, string code)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | profileId | |
string | code |
Properties
Code
Postal code ID.
Declaration
[RequestParameter("code", RequestParameterType.Path)]
public virtual string Code { get; }
Property Value
Type | Description |
---|---|
string |
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
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { 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()