public class Blogger.Posts.Search extends BloggerRequest<PostList>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Search(String blogId,
String q)
Searches for posts matching given query terms in the specified blog.
|
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 Search(String blogId, String q)
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 - q - public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<PostList>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<PostList>IOExceptionpublic Blogger.Posts.Search set$Xgafv(String $Xgafv)
BloggerRequestset$Xgafv in class BloggerRequest<PostList>public Blogger.Posts.Search setAccessToken(String accessToken)
BloggerRequestsetAccessToken in class BloggerRequest<PostList>public Blogger.Posts.Search setAlt(String alt)
BloggerRequestsetAlt in class BloggerRequest<PostList>public Blogger.Posts.Search setCallback(String callback)
BloggerRequestsetCallback in class BloggerRequest<PostList>public Blogger.Posts.Search setFields(String fields)
BloggerRequestsetFields in class BloggerRequest<PostList>public Blogger.Posts.Search setKey(String key)
BloggerRequestsetKey in class BloggerRequest<PostList>public Blogger.Posts.Search setOauthToken(String oauthToken)
BloggerRequestsetOauthToken in class BloggerRequest<PostList>public Blogger.Posts.Search setPrettyPrint(Boolean prettyPrint)
BloggerRequestsetPrettyPrint in class BloggerRequest<PostList>public Blogger.Posts.Search setQuotaUser(String quotaUser)
BloggerRequestsetQuotaUser in class BloggerRequest<PostList>public Blogger.Posts.Search setUploadType(String uploadType)
BloggerRequestsetUploadType in class BloggerRequest<PostList>public Blogger.Posts.Search setUploadProtocol(String uploadProtocol)
BloggerRequestsetUploadProtocol in class BloggerRequest<PostList>public String getBlogId()
public Blogger.Posts.Search setBlogId(String blogId)
public String getQ()
public Blogger.Posts.Search setQ(String q)
public Boolean getFetchBodies()
public Blogger.Posts.Search setFetchBodies(Boolean fetchBodies)
public boolean isFetchBodies()
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 String getOrderBy()
public Blogger.Posts.Search setOrderBy(String orderBy)
public Blogger.Posts.Search set(String parameterName, Object value)
set in class BloggerRequest<PostList>Copyright © 2011–2020 Google. All rights reserved.