Class PostsResource.PatchRequest
Patches a post.
Inheritance
System.Object
PostsResource.PatchRequest
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.Blogger.v3
Assembly: Google.Apis.Blogger.v3.dll
Syntax
public class PatchRequest : BloggerBaseServiceRequest<Post>, IClientServiceRequest<Post>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Post, String, String)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Post body, string blogId, string postId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| Post | body | |
| System.String | blogId | |
| System.String | postId |
Properties
BlogId
Declaration
[RequestParameter("blogId", RequestParameterType.Path)]
public virtual string BlogId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
FetchBody
Declaration
[RequestParameter("fetchBody", RequestParameterType.Query)]
public virtual bool? FetchBody { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
FetchImages
Declaration
[RequestParameter("fetchImages", RequestParameterType.Query)]
public virtual bool? FetchImages { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Post>.HttpMethod
MaxComments
Declaration
[RequestParameter("maxComments", RequestParameterType.Query)]
public virtual long? MaxComments { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int64> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Post>.MethodName
PostId
Declaration
[RequestParameter("postId", RequestParameterType.Path)]
public virtual string PostId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Publish
Declaration
[RequestParameter("publish", RequestParameterType.Query)]
public virtual bool? Publish { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Post>.RestPath
Revert
Declaration
[RequestParameter("revert", RequestParameterType.Query)]
public virtual bool? Revert { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Post>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Blogger.v3.BloggerBaseServiceRequest<Google.Apis.Blogger.v3.Data.Post>.InitParameters()