Class PostsResource.RevertRequest
Reverts a published or scheduled post to draft state.
Inheritance
System.Object
PostsResource.RevertRequest
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 RevertRequest : BloggerBaseServiceRequest<Post>, IClientServiceRequest<Post>, IClientServiceRequest
Constructors
RevertRequest(IClientService, String, String)
Constructs a new Revert request.
Declaration
public RevertRequest(IClientService service, string blogId, string postId)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| System.String | blogId | |
| System.String | postId |
Properties
BlogId
Declaration
[RequestParameter("blogId", RequestParameterType.Path)]
public virtual string BlogId { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
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
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 |
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
Methods
InitParameters()
Initializes Revert parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Blogger.v3.BloggerBaseServiceRequest<Google.Apis.Blogger.v3.Data.Post>.InitParameters()