Class VolumesResource.RecommendedResource.RateRequest
Rate a recommended book for the current user.
Inheritance
System.Object
VolumesResource.RecommendedResource.RateRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class RateRequest : BooksBaseServiceRequest<BooksVolumesRecommendedRateResponse>, IClientServiceRequest<BooksVolumesRecommendedRateResponse>, IClientServiceRequest
Constructors
RateRequest(IClientService, VolumesResource.RecommendedResource.RateRequest.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 | |
| System.String | volumeId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.String |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.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 |
|---|---|
| System.String |
VolumeId
ID of the source volume.
Declaration
[RequestParameter("volumeId", RequestParameterType.Query)]
public virtual string VolumeId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
InitParameters()
Initializes Rate parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Books.v1.BooksBaseServiceRequest<Google.Apis.Books.v1.Data.BooksVolumesRecommendedRateResponse>.InitParameters()