Class MylibraryResource.AnnotationsResource.InsertRequest
Inserts a new annotation.
Inheritance
MylibraryResource.AnnotationsResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class MylibraryResource.AnnotationsResource.InsertRequest : BooksBaseServiceRequest<Annotation>, IClientServiceRequest<Annotation>, IClientServiceRequest
Constructors
InsertRequest(IClientService, Annotation)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, Annotation body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Annotation | body |
Properties
AnnotationId
The ID for the annotation to insert.
Declaration
[RequestParameter("annotationId", RequestParameterType.Query)]
public virtual string AnnotationId { get; set; }
Property Value
Type | Description |
---|---|
string |
Country
ISO-3166-1 code to override the IP-based location.
Declaration
[RequestParameter("country", RequestParameterType.Query)]
public virtual string Country { get; set; }
Property Value
Type | Description |
---|---|
string |
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.Annotation>.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.Annotation>.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.Annotation>.RestPath
ShowOnlySummaryInResponse
Requests that only the summary of the specified layer be provided in the response.
Declaration
[RequestParameter("showOnlySummaryInResponse", RequestParameterType.Query)]
public virtual bool? ShowOnlySummaryInResponse { get; set; }
Property Value
Type | Description |
---|---|
bool? |
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 |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Books.v1.Data.Annotation>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()