Class VolumesResource.RecommendedResource.RateRequest
Rate a recommended book for the current user.
Inheritance
VolumesResource.RecommendedResource.RateRequest
Inherited Members
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class VolumesResource.RecommendedResource.RateRequest : BooksBaseServiceRequest<BooksVolumesRecommendedRateResponse>, IClientServiceRequest<BooksVolumesRecommendedRateResponse>, IClientServiceRequest
Constructors
RateRequest(IClientService, RatingEnum, string)
Constructs a new Rate request.
Declaration
public RateRequest(IClientService service, VolumesResource.RecommendedResource.RateRequest.RatingEnum rating, string volumeId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
VolumesResource.RecommendedResource.RateRequest.RatingEnum | rating | |
string | volumeId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.BooksVolumesRecommendedRateResponse>.HttpMethod
Locale
ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating recommendations.
Declaration
[RequestParameter("locale", RequestParameterType.Query)]
public virtual string Locale { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.BooksVolumesRecommendedRateResponse>.MethodName
Rating
Rating to be given to the volume.
Declaration
[RequestParameter("rating", RequestParameterType.Query)]
public virtual VolumesResource.RecommendedResource.RateRequest.RatingEnum Rating { get; }
Property Value
Type | Description |
---|---|
VolumesResource.RecommendedResource.RateRequest.RatingEnum |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.BooksVolumesRecommendedRateResponse>.RestPath
Source
String to identify the originator of this request.
Declaration
[RequestParameter("source", RequestParameterType.Query)]
public virtual string Source { get; set; }
Property Value
Type | Description |
---|---|
string |
VolumeId
ID of the source volume.
Declaration
[RequestParameter("volumeId", RequestParameterType.Query)]
public virtual string VolumeId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Rate parameter list.
Declaration
protected override void InitParameters()