Class ElectionsResource.ElectionQueryRequest
List of available elections to query.
Inheritance
ElectionsResource.ElectionQueryRequest
Inherited Members
Namespace: Google.Apis.CivicInfo.v2
Assembly: Google.Apis.CivicInfo.v2.dll
Syntax
public class ElectionsResource.ElectionQueryRequest : CivicInfoBaseServiceRequest<ElectionsQueryResponse>, IClientServiceRequest<ElectionsQueryResponse>, IClientServiceRequest
Constructors
ElectionQueryRequest(IClientService)
Constructs a new ElectionQuery request.
Declaration
public ElectionQueryRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
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
ProductionDataOnly
Whether to include data that has not been allowlisted yet
Declaration
[RequestParameter("productionDataOnly", RequestParameterType.Query)]
public virtual bool? ProductionDataOnly { get; set; }
Property Value
Type | Description |
---|---|
bool? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes ElectionQuery parameter list.
Declaration
protected override void InitParameters()