Package com.vk.api.sdk.queries.groups
Class GroupsEditLinkQuery
java.lang.Object
com.vk.api.sdk.client.ApiRequest<R>
com.vk.api.sdk.client.AbstractQueryBuilder<GroupsEditLinkQuery,OkResponse>
com.vk.api.sdk.queries.groups.GroupsEditLinkQuery
public class GroupsEditLinkQuery extends AbstractQueryBuilder<GroupsEditLinkQuery,OkResponse>
Query for Groups.editLink method
-
Constructor Summary
Constructors Constructor Description GroupsEditLinkQuery(VkApiClient client, UserActor actor, int groupId, int linkId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters -
Method Summary
Modifier and Type Method Description protected java.util.List<java.lang.String>
essentialKeys()
Get list of required parameter namesprotected GroupsEditLinkQuery
getThis()
Get reference to this objectprotected GroupsEditLinkQuery
groupId(int value)
Community ID.protected GroupsEditLinkQuery
linkId(int value)
Link ID.GroupsEditLinkQuery
text(java.lang.String value)
New description text for the link.Methods inherited from class com.vk.api.sdk.client.AbstractQueryBuilder
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, getParams, lang, toString, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version
Methods inherited from class com.vk.api.sdk.client.ApiRequest
execute, executeAsRaw, executeAsString, getClient, getGson, getHeaders, getResponseClass, getUrl, setHeaders
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
GroupsEditLinkQuery
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client
- VK API clientactor
- actor with access tokengroupId
- value of "group id" parameter. Minimum is 0.linkId
- value of "link id" parameter. Minimum is 0.
-
-
Method Details
-
groupId
Community ID.- Parameters:
value
- value of "group id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
linkId
Link ID.- Parameters:
value
- value of "link id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
text
New description text for the link.- Parameters:
value
- value of "text" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
getThis
Description copied from class:AbstractQueryBuilder
Get reference to this object- Specified by:
getThis
in classAbstractQueryBuilder<GroupsEditLinkQuery,OkResponse>
- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
essentialKeys
protected java.util.List<java.lang.String> essentialKeys()Description copied from class:AbstractQueryBuilder
Get list of required parameter names- Specified by:
essentialKeys
in classAbstractQueryBuilder<GroupsEditLinkQuery,OkResponse>
- Returns:
- list of names
-