public class Blogger.Posts.Get extends BloggerRequest<Post>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String blogId,
String postId)
Gets a post by blog id and post id
Create a request for the method "posts.get".
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getBlogId() |
Boolean |
getFetchBody()
[ default: true]
[
|
Boolean |
getFetchImages() |
Long |
getMaxComments() |
String |
getPostId() |
String |
getView() |
boolean |
isFetchBody()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
Blogger.Posts.Get |
set(String parameterName,
Object value) |
Blogger.Posts.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Blogger.Posts.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Blogger.Posts.Get |
setAlt(String alt)
Data format for response.
|
Blogger.Posts.Get |
setBlogId(String blogId) |
Blogger.Posts.Get |
setCallback(String callback)
JSONP
|
Blogger.Posts.Get |
setFetchBody(Boolean fetchBody) |
Blogger.Posts.Get |
setFetchImages(Boolean fetchImages) |
Blogger.Posts.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Blogger.Posts.Get |
setKey(String key)
API key.
|
Blogger.Posts.Get |
setMaxComments(Long maxComments) |
Blogger.Posts.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Blogger.Posts.Get |
setPostId(String postId) |
Blogger.Posts.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Blogger.Posts.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Blogger.Posts.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Blogger.Posts.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Blogger.Posts.Get |
setView(String view) |
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(String blogId, String postId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Blogger.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
blogId - postId - public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Post>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Post>IOExceptionpublic Blogger.Posts.Get set$Xgafv(String $Xgafv)
BloggerRequestset$Xgafv in class BloggerRequest<Post>public Blogger.Posts.Get setAccessToken(String accessToken)
BloggerRequestsetAccessToken in class BloggerRequest<Post>public Blogger.Posts.Get setAlt(String alt)
BloggerRequestsetAlt in class BloggerRequest<Post>public Blogger.Posts.Get setCallback(String callback)
BloggerRequestsetCallback in class BloggerRequest<Post>public Blogger.Posts.Get setFields(String fields)
BloggerRequestsetFields in class BloggerRequest<Post>public Blogger.Posts.Get setKey(String key)
BloggerRequestsetKey in class BloggerRequest<Post>public Blogger.Posts.Get setOauthToken(String oauthToken)
BloggerRequestsetOauthToken in class BloggerRequest<Post>public Blogger.Posts.Get setPrettyPrint(Boolean prettyPrint)
BloggerRequestsetPrettyPrint in class BloggerRequest<Post>public Blogger.Posts.Get setQuotaUser(String quotaUser)
BloggerRequestsetQuotaUser in class BloggerRequest<Post>public Blogger.Posts.Get setUploadType(String uploadType)
BloggerRequestsetUploadType in class BloggerRequest<Post>public Blogger.Posts.Get setUploadProtocol(String uploadProtocol)
BloggerRequestsetUploadProtocol in class BloggerRequest<Post>public String getBlogId()
public Blogger.Posts.Get setBlogId(String blogId)
public String getPostId()
public Blogger.Posts.Get setPostId(String postId)
public Boolean getFetchBody()
public Blogger.Posts.Get setFetchBody(Boolean fetchBody)
public boolean isFetchBody()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
public Boolean getFetchImages()
public Blogger.Posts.Get setFetchImages(Boolean fetchImages)
public Long getMaxComments()
public Blogger.Posts.Get setMaxComments(Long maxComments)
public String getView()
public Blogger.Posts.Get setView(String view)
public Blogger.Posts.Get set(String parameterName, Object value)
set in class BloggerRequest<Post>Copyright © 2011–2025 Google. All rights reserved.