public class Blogger.Posts.Get extends BloggerRequest<Post>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
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".
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected 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 HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Post>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Post>
IOException
public Blogger.Posts.Get set$Xgafv(String $Xgafv)
BloggerRequest
set$Xgafv
in class BloggerRequest<Post>
public Blogger.Posts.Get setAccessToken(String accessToken)
BloggerRequest
setAccessToken
in class BloggerRequest<Post>
public Blogger.Posts.Get setAlt(String alt)
BloggerRequest
setAlt
in class BloggerRequest<Post>
public Blogger.Posts.Get setCallback(String callback)
BloggerRequest
setCallback
in class BloggerRequest<Post>
public Blogger.Posts.Get setFields(String fields)
BloggerRequest
setFields
in class BloggerRequest<Post>
public Blogger.Posts.Get setKey(String key)
BloggerRequest
setKey
in class BloggerRequest<Post>
public Blogger.Posts.Get setOauthToken(String oauthToken)
BloggerRequest
setOauthToken
in class BloggerRequest<Post>
public Blogger.Posts.Get setPrettyPrint(Boolean prettyPrint)
BloggerRequest
setPrettyPrint
in class BloggerRequest<Post>
public Blogger.Posts.Get setQuotaUser(String quotaUser)
BloggerRequest
setQuotaUser
in class BloggerRequest<Post>
public Blogger.Posts.Get setUploadType(String uploadType)
BloggerRequest
setUploadType
in class BloggerRequest<Post>
public Blogger.Posts.Get setUploadProtocol(String uploadProtocol)
BloggerRequest
setUploadProtocol
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–2022 Google. All rights reserved.