Package com.vk.api.sdk.client
Class AbstractQueryBuilder<T,R>
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<T,R>
-
- Direct Known Subclasses:
AbstractSecureQueryBuilder,AccountBanQuery,AccountChangePasswordQuery,AccountGetActiveOffersQuery,AccountGetAppPermissionsQuery,AccountGetBannedQuery,AccountGetCountersQuery,AccountGetInfoQuery,AccountGetProfileInfoQuery,AccountGetPushSettingsQuery,AccountRegisterDeviceQuery,AccountSaveProfileInfoQuery,AccountSetInfoQuery,AccountSetNameInMenuQuery,AccountSetOfflineQuery,AccountSetOnlineQuery,AccountSetPushSettingsQuery,AccountSetSilenceModeQuery,AccountUnbanQuery,AccountUnregisterDeviceQuery,AdsAddOfficeUsersQuery,AdsCheckLinkQuery,AdsCreateAdsQuery,AdsCreateCampaignsQuery,AdsCreateClientsQuery,AdsCreateTargetGroupQuery,AdsDeleteAdsQuery,AdsDeleteCampaignsQuery,AdsDeleteClientsQuery,AdsDeleteTargetGroupQuery,AdsGetAccountsQuery,AdsGetAdsLayoutQuery,AdsGetAdsQuery,AdsGetAdsTargetingQuery,AdsGetBudgetQuery,AdsGetCampaignsQuery,AdsGetCategoriesQuery,AdsGetClientsQuery,AdsGetDemographicsQuery,AdsGetFloodStatsQuery,AdsGetLookalikeRequestsQuery,AdsGetMusiciansByIdsQuery,AdsGetMusiciansQuery,AdsGetOfficeUsersQuery,AdsGetPostsReachQuery,AdsGetRejectionReasonQuery,AdsGetStatisticsQuery,AdsGetSuggestionsQuery,AdsGetSuggestionsQueryWithCities,AdsGetSuggestionsQueryWithRegions,AdsGetSuggestionsQueryWithSchools,AdsGetTargetGroupsQuery,AdsGetTargetingStatsQuery,AdsGetUploadURLQuery,AdsGetVideoUploadURLQuery,AdsImportTargetContactsQuery,AdsRemoveOfficeUsersQuery,AdsUpdateAdsQuery,AdsUpdateCampaignsQuery,AdsUpdateClientsQuery,AdsUpdateOfficeUsersQuery,AdsUpdateTargetGroupQuery,AdswebGetAdCategoriesQuery,AdswebGetAdUnitCodeQuery,AdswebGetAdUnitsQuery,AdswebGetFraudHistoryQuery,AdswebGetSitesQuery,AdswebGetStatisticsQuery,AppsDeleteAppRequestsQuery,AppsGetCatalogQuery,AppsGetFriendsListQuery,AppsGetLeaderboardQuery,AppsGetLeaderboardQueryWithExtended,AppsGetMiniAppPoliciesQuery,AppsGetQuery,AppsGetScopesQuery,AppsGetScoreQuery,AppsPromoHasActiveGiftQuery,AppsPromoUseGiftQuery,AppsSendRequestQuery,AppWidgetsGetAppImagesQuery,AppWidgetsGetAppImageUploadServerQuery,AppWidgetsGetGroupImagesQuery,AppWidgetsGetGroupImageUploadServerQuery,AppWidgetsGetImagesByIdQuery,AppWidgetsSaveAppImageQuery,AppWidgetsSaveGroupImageQuery,AppWidgetsUpdateQuery,AuthCheckPhoneQuery,AuthRestoreQuery,BoardAddTopicQuery,BoardCloseTopicQuery,BoardCreateCommentQuery,BoardDeleteCommentQuery,BoardDeleteTopicQuery,BoardEditCommentQuery,BoardEditTopicQuery,BoardFixTopicQuery,BoardGetCommentsQuery,BoardGetCommentsQueryWithExtended,BoardGetTopicsQuery,BoardGetTopicsQueryWithExtended,BoardOpenTopicQuery,BoardRestoreCommentQuery,BoardUnfixTopicQuery,DatabaseGetChairsQuery,DatabaseGetCitiesByIdQuery,DatabaseGetCitiesQuery,DatabaseGetCountriesByIdQuery,DatabaseGetCountriesQuery,DatabaseGetFacultiesQuery,DatabaseGetMetroStationsByIdQuery,DatabaseGetMetroStationsQuery,DatabaseGetRegionsQuery,DatabaseGetSchoolClassesQuery,DatabaseGetSchoolsQuery,DatabaseGetUniversitiesQuery,DocsAddQuery,DocsDeleteQuery,DocsEditQuery,DocsGetByIdQuery,DocsGetMessagesUploadServerQuery,DocsGetQuery,DocsGetTypesQuery,DocsGetUploadServerQuery,DocsGetWallUploadServerQuery,DocsSaveQuery,DocsSearchQuery,DonutGetFriendsQueryWithFields,DonutGetSubscriptionQuery,DonutGetSubscriptionsQuery,DonutIsDonQuery,DownloadedGamesGetPaidStatusQueryWithStatus,ExecuteBatchQuery,ExecuteCodeQuery,ExecuteStorageFunctionQuery,FaveAddArticleQuery,FaveAddGroupQuery,FaveAddLinkQuery,FaveAddPageQuery,FaveAddPostQuery,FaveAddProductQuery,FaveAddTagQuery,FaveAddUserQuery,FaveAddVideoQuery,FaveEditTagQuery,FaveGetLinksQuery,FaveGetMarketItemsQuery,FaveGetPagesQuery,FaveGetPhotosQuery,FaveGetPostsQuery,FaveGetQuery,FaveGetQueryWithExtended,FaveGetTagsQuery,FaveGetUsersQuery,FaveGetVideosQuery,FaveMarkSeenQuery,FaveRemoveArticleQuery,FaveRemoveGroupQuery,FaveRemoveLinkQuery,FaveRemovePageQuery,FaveRemovePostQuery,FaveRemoveProductQuery,FaveRemoveTagQuery,FaveRemoveUserQuery,FaveRemoveVideoQuery,FaveReorderTagsQuery,FaveSetPageTagsQuery,FaveSetTagsQuery,FaveTrackPageInteractionQuery,FriendsAddListQuery,FriendsAddQuery,FriendsAreFriendsQuery,FriendsAreFriendsQueryWithExtended,FriendsDeleteAllRequestsQuery,FriendsDeleteListQuery,FriendsDeleteQuery,FriendsEditListQuery,FriendsEditQuery,FriendsGetAppUsersQuery,FriendsGetByPhonesQuery,FriendsGetListsQuery,FriendsGetMutualQuery,FriendsGetMutualQueryWithTargetUids,FriendsGetOnlineQuery,FriendsGetOnlineQueryWithOnlineMobile,FriendsGetQuery,FriendsGetQueryWithFields,FriendsGetRecentQuery,FriendsGetRequestsQuery,FriendsGetRequestsQueryWithExtended,FriendsGetRequestsQueryWithNeedMutual,FriendsGetSuggestionsQuery,FriendsSearchQuery,GiftsGetQuery,GroupsAddAddressQuery,GroupsAddCallbackServerQuery,GroupsAddLinkQuery,GroupsApproveRequestQuery,GroupsBanQuery,GroupsCreateQuery,GroupsDeleteAddressQuery,GroupsDeleteCallbackServerQuery,GroupsDeleteLinkQuery,GroupsDisableOnlineQuery,GroupsEditAddressQuery,GroupsEditCallbackServerQuery,GroupsEditLinkQuery,GroupsEditManagerQuery,GroupsEditQuery,GroupsEnableOnlineQuery,GroupsGetAddressesQuery,GroupsGetBannedQuery,GroupsGetByIdQuery,GroupsGetByIdQueryWithLegacy,GroupsGetByIdQueryWithObjectLegacy,GroupsGetCallbackConfirmationCodeQuery,GroupsGetCallbackServersQuery,GroupsGetCallbackSettingsQuery,GroupsGetCatalogInfoQuery,GroupsGetCatalogInfoQueryWithExtended,GroupsGetCatalogQuery,GroupsGetInvitedUsersQuery,GroupsGetInvitesQuery,GroupsGetInvitesQueryWithExtended,GroupsGetLongPollServerQuery,GroupsGetLongPollSettingsQuery,GroupsGetMembersQuery,GroupsGetMembersQueryWithFields,GroupsGetMembersQueryWithFilter,GroupsGetQuery,GroupsGetQueryWithExtended,GroupsGetQueryWithObjectExtended,GroupsGetRequestsQuery,GroupsGetRequestsQueryWithFields,GroupsGetSettingsQuery,GroupsGetTagListQuery,GroupsGetTokenPermissionsQuery,GroupsInviteQuery,GroupsIsMemberQuery,GroupsIsMemberQueryWithExtended,GroupsIsMemberQueryWithUserIds,GroupsIsMemberQueryWithUserIdsExtended,GroupsJoinQuery,GroupsLeaveQuery,GroupsRemoveUserQuery,GroupsReorderLinkQuery,GroupsSearchQuery,GroupsSetCallbackSettingsQuery,GroupsSetLongPollSettingsQuery,GroupsSetSettingsQuery,GroupsSetUserNoteQuery,GroupsTagAddQuery,GroupsTagBindQuery,GroupsTagDeleteQuery,GroupsTagUpdateQuery,GroupsToggleMarketQuery,GroupsUnbanQuery,LeadFormsCreateQuery,LeadFormsDeleteQuery,LeadFormsGetLeadsQuery,LeadFormsGetQuery,LeadFormsGetUploadURLQuery,LeadFormsListQuery,LeadFormsUpdateQuery,LeadsCheckUserQuery,LeadsCompleteQuery,LeadsGetStatsQuery,LeadsGetUsersQuery,LeadsMetricHitQuery,LeadsStartQuery,LikesAddQuery,LikesDeleteQuery,LikesGetListQuery,LikesGetListQueryWithExtended,LikesIsLikedQuery,MarketAddAlbumQuery,MarketAddQuery,MarketAddToAlbumQuery,MarketCreateCommentQuery,MarketDeleteAlbumQuery,MarketDeleteCommentQuery,MarketDeleteQuery,MarketEditAlbumQuery,MarketEditCommentQuery,MarketEditOrderQuery,MarketEditQuery,MarketGetAlbumByIdQuery,MarketGetAlbumsQuery,MarketGetByIdQuery,MarketGetByIdQueryWithExtended,MarketGetCategoriesQuery,MarketGetCategoriesQueryWithNew,MarketGetCommentsQuery,MarketGetGroupOrdersQuery,MarketGetOrderByIdQuery,MarketGetOrderItemsQuery,MarketGetOrdersQuery,MarketGetOrdersQueryWithExtended,MarketGetQuery,MarketGetQueryWithExtended,MarketRemoveFromAlbumQuery,MarketReorderAlbumsQuery,MarketReorderItemsQuery,MarketReportCommentQuery,MarketReportQuery,MarketRestoreCommentQuery,MarketRestoreQuery,MarketSearchQuery,MarketSearchQueryWithExtended,MessagesAddChatUserQuery,MessagesAllowMessagesFromGroupQuery,MessagesCreateChatQuery,MessagesDeleteChatPhotoQuery,MessagesDeleteConversationQuery,MessagesDeleteQuery,MessagesDenyMessagesFromGroupQuery,MessagesEditChatQuery,MessagesEditQuery,MessagesGetByConversationMessageIdQuery,MessagesGetByIdQuery,MessagesGetByIdQueryWithExtended,MessagesGetChatPreviewQuery,MessagesGetConversationMembersQuery,MessagesGetConversationsByIdQuery,MessagesGetConversationsByIdQueryWithExtended,MessagesGetConversationsQuery,MessagesGetHistoryAttachmentsQuery,MessagesGetHistoryQuery,MessagesGetHistoryQueryWithExtended,MessagesGetImportantMessagesQuery,MessagesGetImportantMessagesQueryWithExtended,MessagesGetIntentUsersQuery,MessagesGetInviteLinkQuery,MessagesGetLastActivityQuery,MessagesGetLongPollHistoryQuery,MessagesGetLongPollServerQuery,MessagesIsMessagesFromGroupAllowedQuery,MessagesJoinChatByInviteLinkQuery,MessagesMarkAsAnsweredConversationQuery,MessagesMarkAsImportantConversationQuery,MessagesMarkAsImportantQuery,MessagesMarkAsReadQuery,MessagesPinQuery,MessagesRemoveChatUserQuery,MessagesRestoreQuery,MessagesSearchConversationsQuery,MessagesSearchConversationsQueryWithExtended,MessagesSearchQuery,MessagesSearchQueryWithExtended,MessagesSendMessageEventAnswerQuery,MessagesSendQuery,MessagesSendQueryWithUserIds,MessagesSetActivityQuery,MessagesSetChatPhotoQuery,MessagesUnpinQuery,NewsfeedAddBanQuery,NewsfeedDeleteBanQuery,NewsfeedDeleteListQuery,NewsfeedGetBannedQuery,NewsfeedGetBannedQueryWithExtended,NewsfeedGetCommentsQuery,NewsfeedGetListsQuery,NewsfeedGetListsQueryWithExtended,NewsfeedGetMentionsQuery,NewsfeedGetQuery,NewsfeedGetRecommendedQuery,NewsfeedGetSuggestedSourcesQuery,NewsfeedIgnoreItemQuery,NewsfeedSaveListQuery,NewsfeedSearchQuery,NewsfeedSearchQueryWithExtended,NewsfeedUnignoreItemQuery,NewsfeedUnsubscribeQuery,NotesAddQuery,NotesCreateCommentQuery,NotesDeleteCommentQuery,NotesDeleteQuery,NotesEditCommentQuery,NotesEditQuery,NotesGetByIdQuery,NotesGetCommentsQuery,NotesGetQuery,NotesRestoreCommentQuery,NotificationsGetQuery,NotificationsMarkAsViewedQuery,NotificationsSendMessageQuery,OAuthGroupAuthorizationCodeFlowQuery,OAuthQueryBuilder,OAuthServiceClientCredentialsFlowQuery,OAuthUserAuthorizationCodeFlowQuery,OrdersCancelSubscriptionQuery,OrdersChangeStateQuery,OrdersGetAmountQuery,OrdersGetByIdQuery,OrdersGetQuery,OrdersGetUserSubscriptionByIdQuery,OrdersGetUserSubscriptionsQuery,OrdersUpdateSubscriptionQuery,PagesClearCacheQuery,PagesGetHistoryQuery,PagesGetQuery,PagesGetTitlesQuery,PagesGetVersionQuery,PagesParseWikiQuery,PagesSaveAccessQuery,PagesSaveQuery,PhotosConfirmTagQuery,PhotosCopyQuery,PhotosCreateAlbumQuery,PhotosCreateCommentQuery,PhotosDeleteAlbumQuery,PhotosDeleteCommentQuery,PhotosDeleteQuery,PhotosEditAlbumQuery,PhotosEditCommentQuery,PhotosEditQuery,PhotosGetAlbumsCountQuery,PhotosGetAlbumsQuery,PhotosGetAllCommentsQuery,PhotosGetAllQuery,PhotosGetAllQueryWithExtended,PhotosGetByIdQuery,PhotosGetByIdQueryWithExtended,PhotosGetByIdQueryWithLegacy,PhotosGetByIdQueryWithLegacyExtended,PhotosGetChatUploadServerQuery,PhotosGetCommentsQuery,PhotosGetCommentsQueryWithExtended,PhotosGetMarketAlbumUploadServerQuery,PhotosGetMarketUploadServerQuery,PhotosGetMessagesUploadServerQuery,PhotosGetNewTagsQuery,PhotosGetOwnerCoverPhotoUploadServerQuery,PhotosGetOwnerPhotoUploadServerQuery,PhotosGetQuery,PhotosGetQueryWithExtended,PhotosGetTagsQuery,PhotosGetUploadServerQuery,PhotosGetUserPhotosQuery,PhotosGetUserPhotosQueryWithExtended,PhotosGetWallUploadServerQuery,PhotosMakeCoverQuery,PhotosMoveQuery,PhotosPutTagQuery,PhotosRemoveTagQuery,PhotosReorderAlbumsQuery,PhotosReorderPhotosQuery,PhotosReportCommentQuery,PhotosReportQuery,PhotosRestoreCommentQuery,PhotosRestoreQuery,PhotosSaveMarketAlbumPhotoQuery,PhotosSaveMarketPhotoQuery,PhotosSaveMessagesPhotoQuery,PhotosSaveOwnerCoverPhotoQuery,PhotosSaveOwnerPhotoQuery,PhotosSaveQuery,PhotosSaveWallPhotoQuery,PhotosSearchQuery,PodcastsSearchPodcastQuery,PollsAddVoteQuery,PollsCreateQuery,PollsDeleteVoteQuery,PollsEditQuery,PollsGetBackgroundsQuery,PollsGetByIdQuery,PollsGetPhotoUploadServerQuery,PollsGetVotersQuery,PollsSavePhotoQuery,PrettyCardsCreateQuery,PrettyCardsDeleteQuery,PrettyCardsEditQuery,PrettyCardsGetByIdQuery,PrettyCardsGetQuery,PrettyCardsGetUploadURLQuery,SearchGetHintsQuery,StatsGetPostReachQuery,StatsGetQuery,StatsTrackVisitorQuery,StatusGetQuery,StatusSetQuery,StorageGetKeysQuery,StorageGetQuery,StorageGetQueryWithKeys,StorageGetQueryWithV5110,StorageSetQuery,StoreAddStickersToFavoriteQuery,StoreGetFavoriteStickersQuery,StoreGetProductsQuery,StoreGetStickersKeywordsQuery,StoreRemoveStickersFromFavoriteQuery,StoriesBanOwnerQuery,StoriesDeleteQuery,StoriesGetBannedQuery,StoriesGetBannedQueryWithExtended,StoriesGetByIdQuery,StoriesGetByIdQueryWithExtended,StoriesGetPhotoUploadServerQuery,StoriesGetQuery,StoriesGetQueryWithExtended,StoriesGetQueryWithV5113,StoriesGetRepliesQuery,StoriesGetRepliesQueryWithExtended,StoriesGetRepliesQueryWithV5113,StoriesGetStatsQuery,StoriesGetVideoUploadServerQuery,StoriesGetViewersQuery,StoriesGetViewersQueryWithExtended,StoriesGetViewersQueryWithExtendedV5115,StoriesHideAllRepliesQuery,StoriesHideReplyQuery,StoriesSaveQuery,StoriesSearchQueryWithV5113,StoriesSendInteractionQuery,StoriesUnbanOwnerQuery,StreamingGetServerUrlQuery,StreamingSetSettingsQuery,UsersGetFollowersQuery,UsersGetFollowersQueryWithFields,UsersGetQuery,UsersGetSubscriptionsQuery,UsersGetSubscriptionsQueryWithExtended,UsersIsAppUserQuery,UsersReportQuery,UsersSearchQuery,UtilsCheckLinkQuery,UtilsDeleteFromLastShortenedQuery,UtilsGetLastShortenedLinksQuery,UtilsGetLinkStatsQuery,UtilsGetLinkStatsQueryWithExtended,UtilsGetServerTimeQuery,UtilsGetShortLinkQuery,UtilsResolveScreenNameQuery,VideoAddAlbumQuery,VideoAddQuery,VideoAddToAlbumQuery,VideoCreateCommentQuery,VideoDeleteAlbumQuery,VideoDeleteCommentQuery,VideoDeleteQuery,VideoEditAlbumQuery,VideoEditCommentQuery,VideoEditQuery,VideoGetAlbumByIdQuery,VideoGetAlbumsByVideoQuery,VideoGetAlbumsByVideoQueryWithExtended,VideoGetAlbumsQuery,VideoGetAlbumsQueryWithExtended,VideoGetCommentsQuery,VideoGetCommentsQueryWithExtended,VideoGetQuery,VideoGetQueryWithExtended,VideoRemoveFromAlbumQuery,VideoReorderAlbumsQuery,VideoReorderVideosQuery,VideoReportCommentQuery,VideoReportQuery,VideoRestoreCommentQuery,VideoRestoreQuery,VideoSaveQuery,VideoSearchQuery,VideoSearchQueryWithExtended,WallCheckCopyrightLinkQuery,WallCloseCommentsQuery,WallCreateCommentQuery,WallDeleteCommentQuery,WallDeleteQuery,WallEditAdsStealthQuery,WallEditCommentQuery,WallEditQuery,WallGetByIdQuery,WallGetByIdQueryWithExtended,WallGetByIdQueryWithLegacy,WallGetCommentQuery,WallGetCommentQueryWithExtended,WallGetCommentsQuery,WallGetCommentsQueryWithExtended,WallGetQuery,WallGetQueryWithExtended,WallGetRepostsQuery,WallOpenCommentsQuery,WallPinQuery,WallPostAdsStealthQuery,WallPostQuery,WallReportCommentQuery,WallReportPostQuery,WallRepostQuery,WallRestoreCommentQuery,WallRestoreQuery,WallSearchQuery,WallSearchQueryWithExtended,WallUnpinQuery,WidgetsGetCommentsQuery,WidgetsGetPagesQuery
public abstract class AbstractQueryBuilder<T,R> extends ApiRequest<R>
Query builder for API request
-
-
Constructor Summary
Constructors Constructor Description AbstractQueryBuilder(VkApiClient client, java.lang.String method, java.lang.reflect.Type type)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersAbstractQueryBuilder(VkApiClient client, java.lang.String endpoint, java.lang.String method, java.lang.reflect.Type type)Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected TaccessToken(java.lang.String value)Set access tokenjava.util.Map<java.lang.String,java.lang.String>build()Get map of parameter valuesTcaptchaKey(java.lang.String value)Set captcha keyTcaptchaSid(java.lang.String value)Set captcha sidprotected TclientSecret(java.lang.String value)Set client secretTconfirm(java.lang.Boolean value)Set confirmationprotected abstract java.util.Collection<java.lang.String>essentialKeys()Get list of required parameter namesprotected java.lang.StringgetBody()java.lang.StringgetMethod()Get method namejava.util.Map<java.lang.String,java.lang.String>getParams()Get paramsprotected abstract TgetThis()Get reference to this objectTlang(Lang value)Set langjava.lang.StringtoString()TunsafeParam(java.lang.String key, boolean value)Set parameterTunsafeParam(java.lang.String key, double value)Set parameterTunsafeParam(java.lang.String key, float value)Set parameterTunsafeParam(java.lang.String key, int value)Set parameterTunsafeParam(java.lang.String key, int[] value)Set parameterTunsafeParam(java.lang.String key, EnumParam value)Set parameterTunsafeParam(java.lang.String key, EnumParam... fields)Set parameterTunsafeParam(java.lang.String key, java.lang.String value)Set parameterTunsafeParam(java.lang.String key, java.util.Collection<?> value)Set parameterTunsafeParam(java.lang.String key, java.util.List<? extends EnumParam> fields)Set parameter<U> TunsafeParam(java.lang.String key, U... value)Set parameterprotected Tversion(java.lang.String value)Set version-
Methods inherited from class com.vk.api.sdk.client.ApiRequest
execute, executeAsRaw, executeAsString, getClient, getGson, getHeaders, getResponseClass, getUrl, setHeaders
-
-
-
-
Constructor Detail
-
AbstractQueryBuilder
public AbstractQueryBuilder(VkApiClient client, java.lang.String method, java.lang.reflect.Type type)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientmethod- method nametype- type of method response
-
AbstractQueryBuilder
public AbstractQueryBuilder(VkApiClient client, java.lang.String endpoint, java.lang.String method, java.lang.reflect.Type type)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientendpoint- API endpointmethod- method nametype- type of method response
-
-
Method Detail
-
accessToken
protected T accessToken(java.lang.String value)
Set access token- Parameters:
value- access token- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
clientSecret
protected T clientSecret(java.lang.String value)
Set client secret- Parameters:
value- client secret- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
lang
public T lang(Lang value)
Set lang- Parameters:
value- lang- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
version
protected T version(java.lang.String value)
Set version- Parameters:
value- version- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
captchaSid
public T captchaSid(java.lang.String value)
Set captcha sid- Parameters:
value- captcha sid- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
captchaKey
public T captchaKey(java.lang.String value)
Set captcha key- Parameters:
value- captcha key- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
confirm
public T confirm(java.lang.Boolean value)
Set confirmation- Parameters:
value- confirm- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public T unsafeParam(java.lang.String key, java.lang.String value)
Set parameter- Parameters:
key- name of parametervalue- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public T unsafeParam(java.lang.String key, int value)
Set parameter- Parameters:
key- name of parametervalue- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public T unsafeParam(java.lang.String key, boolean value)
Set parameter- Parameters:
key- name of parametervalue- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public T unsafeParam(java.lang.String key, java.util.Collection<?> value)
Set parameter- Parameters:
key- name of parametervalue- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public <U> T unsafeParam(java.lang.String key, U... value)
Set parameter- Parameters:
key- name of parametervalue- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public T unsafeParam(java.lang.String key, int[] value)
Set parameter- Parameters:
key- name of parametervalue- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public T unsafeParam(java.lang.String key, double value)
Set parameter- Parameters:
key- name of parametervalue- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public T unsafeParam(java.lang.String key, float value)
Set parameter- Parameters:
key- name of parametervalue- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public T unsafeParam(java.lang.String key, EnumParam value)
Set parameter- Parameters:
key- name of parametervalue- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public T unsafeParam(java.lang.String key, EnumParam... fields)
Set parameter- Parameters:
key- name of parameterfields- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
unsafeParam
public T unsafeParam(java.lang.String key, java.util.List<? extends EnumParam> fields)
Set parameter- Parameters:
key- name of parameterfields- value of parameter- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getBody
protected java.lang.String getBody()
- Specified by:
getBodyin classApiRequest<R>
-
getThis
protected abstract T getThis()
Get reference to this object- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
essentialKeys
protected abstract java.util.Collection<java.lang.String> essentialKeys()
Get list of required parameter names- Returns:
- list of names
-
build
public java.util.Map<java.lang.String,java.lang.String> build()
Get map of parameter values- Returns:
- map of values
-
getMethod
public java.lang.String getMethod()
Get method name- Returns:
- method name
-
getParams
public java.util.Map<java.lang.String,java.lang.String> getParams()
Get params- Returns:
- parameters of method
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-