Google API Client Library for .NET  1.10.0
Public Member Functions | Properties | List of all members
Google.Apis.Util.RequestParameterAttribute Class Reference

An attribute which is used to specially mark a property for reflective purposes, assign a name to the property and indicate it's location in the request as either in the path or query portion of the request URL. More...

Inheritance diagram for Google.Apis.Util.RequestParameterAttribute:

Public Member Functions

 RequestParameterAttribute (string name)
 Constructs a new property attribute to be a part of a REST URI. This constructor uses RequestParameterType.Query as the parameter's type. More...
 
 RequestParameterAttribute (string name, RequestParameterType type)
 Constructs a new property attribute to be a part of a REST URI. More...
 

Properties

string Name [get]
 Gets the name of the parameter. More...
 
RequestParameterType Type [get]
 Gets the type of the parameter, Path or Query. More...
 

Detailed Description

An attribute which is used to specially mark a property for reflective purposes, assign a name to the property and indicate it's location in the request as either in the path or query portion of the request URL.

Constructor & Destructor Documentation

Google.Apis.Util.RequestParameterAttribute.RequestParameterAttribute ( string  name)
inline

Constructs a new property attribute to be a part of a REST URI. This constructor uses RequestParameterType.Query as the parameter's type.

Parameters
nameThe name of the parameter. If the parameter is a path parameter this name will be used to substitute the string value into the path, replacing {name}. If the parameter is a query parameter, this parameter will be added to the query string, in the format "name=value".
Google.Apis.Util.RequestParameterAttribute.RequestParameterAttribute ( string  name,
RequestParameterType  type 
)
inline

Constructs a new property attribute to be a part of a REST URI.

Parameters
nameThe name of the parameter. If the parameter is a path parameter this name will be used to substitute the string value into the path, replacing {name}. If the parameter is a query parameter, this parameter will be added to the query string, in the format "name=value".
typeThe type of the parameter, either Path or Query.

Property Documentation

string Google.Apis.Util.RequestParameterAttribute.Name
get

Gets the name of the parameter.

RequestParameterType Google.Apis.Util.RequestParameterAttribute.Type
get

Gets the type of the parameter, Path or Query.


The documentation for this class was generated from the following file: