Class BookshelvesResource.GetRequest
Retrieves metadata for a specific bookshelf for the specified user.
Inheritance
BookshelvesResource.GetRequest
Inherited Members
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class BookshelvesResource.GetRequest : BooksBaseServiceRequest<Bookshelf>, IClientServiceRequest<Bookshelf>, IClientServiceRequest
Constructors
GetRequest(IClientService, string, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string userId, string shelf)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | userId | |
string | shelf |
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.Bookshelf>.HttpMethod
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.Bookshelf>.MethodName
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.Bookshelf>.RestPath
Shelf
ID of bookshelf to retrieve.
Declaration
[RequestParameter("shelf", RequestParameterType.Path)]
public virtual string Shelf { get; }
Property Value
Type | Description |
---|---|
string |
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 |
UserId
ID of user for whom to retrieve bookshelves.
Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()