Class PostsResource.InsertRequest
Inserts a post.
Inheritance
PostsResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Blogger.v3
Assembly: Google.Apis.Blogger.v3.dll
Syntax
public class PostsResource.InsertRequest : BloggerBaseServiceRequest<Post>, IClientServiceRequest<Post>, IClientServiceRequest
Constructors
InsertRequest(IClientService, Post, string)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, Post body, string blogId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Post | body | |
string | blogId |
Properties
BlogId
Declaration
[RequestParameter("blogId", RequestParameterType.Path)]
public virtual string BlogId { get; }
Property Value
Type | Description |
---|---|
string |
FetchBody
Declaration
[RequestParameter("fetchBody", RequestParameterType.Query)]
public virtual bool? FetchBody { get; set; }
Property Value
Type | Description |
---|---|
bool? |
FetchImages
Declaration
[RequestParameter("fetchImages", RequestParameterType.Query)]
public virtual bool? FetchImages { get; set; }
Property Value
Type | Description |
---|---|
bool? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Post>.HttpMethod
IsDraft
Declaration
[RequestParameter("isDraft", RequestParameterType.Query)]
public virtual bool? IsDraft { get; set; }
Property Value
Type | Description |
---|---|
bool? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Post>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Post>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Blogger.v3.Data.Post>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()