Class MylibraryResource.AnnotationsResource.UpdateRequest
Updates an existing annotation.
Inheritance
MylibraryResource.AnnotationsResource.UpdateRequest
Inherited Members
Namespace: Google.Apis.Books.v1
Assembly: Google.Apis.Books.v1.dll
Syntax
public class MylibraryResource.AnnotationsResource.UpdateRequest : BooksBaseServiceRequest<Annotation>, IClientServiceRequest<Annotation>, IClientServiceRequest
Constructors
UpdateRequest(IClientService, Annotation, string)
Constructs a new Update request.
Declaration
public UpdateRequest(IClientService service, Annotation body, string annotationId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Annotation | body | |
string | annotationId |
Properties
AnnotationId
The ID for the annotation to update.
Declaration
[RequestParameter("annotationId", RequestParameterType.Path)]
public virtual string AnnotationId { get; }
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
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 Update parameter list.
Declaration
protected override void InitParameters()