Package com.vk.api.sdk.queries.photos
Class PhotosSaveOwnerCoverPhotoQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<PhotosSaveOwnerCoverPhotoQuery,SaveOwnerCoverPhotoResponse>
-
- com.vk.api.sdk.queries.photos.PhotosSaveOwnerCoverPhotoQuery
-
public class PhotosSaveOwnerCoverPhotoQuery extends AbstractQueryBuilder<PhotosSaveOwnerCoverPhotoQuery,SaveOwnerCoverPhotoResponse>
Query for Photos.saveOwnerCoverPhoto method
-
-
Constructor Summary
Constructors Constructor Description PhotosSaveOwnerCoverPhotoQuery(VkApiClient client, GroupActor actor, java.lang.String hash, java.lang.String photo)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersPhotosSaveOwnerCoverPhotoQuery(VkApiClient client, UserActor actor, java.lang.String hash, java.lang.String photo)Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected PhotosSaveOwnerCoverPhotoQuerygetThis()Get reference to this objectprotected PhotosSaveOwnerCoverPhotoQueryhash(java.lang.String value)Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].protected PhotosSaveOwnerCoverPhotoQueryphoto(java.lang.String value)Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].-
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
-
-
-
-
Constructor Detail
-
PhotosSaveOwnerCoverPhotoQuery
public PhotosSaveOwnerCoverPhotoQuery(VkApiClient client, UserActor actor, java.lang.String hash, java.lang.String photo)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenhash- value of "hash" parameter.photo- value of "photo" parameter.
-
PhotosSaveOwnerCoverPhotoQuery
public PhotosSaveOwnerCoverPhotoQuery(VkApiClient client, GroupActor actor, java.lang.String hash, java.lang.String photo)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client- VK API clientactor- actor with access tokenhash- value of "hash" parameter.photo- value of "photo" parameter.
-
-
Method Detail
-
hash
protected PhotosSaveOwnerCoverPhotoQuery hash(java.lang.String value)
Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].- Parameters:
value- value of "hash" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
photo
protected PhotosSaveOwnerCoverPhotoQuery photo(java.lang.String value)
Parameter returned when photos are [vk.com/dev/upload_files|uploaded to server].- Parameters:
value- value of "photo" parameter.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected PhotosSaveOwnerCoverPhotoQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<PhotosSaveOwnerCoverPhotoQuery,SaveOwnerCoverPhotoResponse>- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
essentialKeys
protected java.util.List<java.lang.String> essentialKeys()
Description copied from class:AbstractQueryBuilderGet list of required parameter names- Specified by:
essentialKeysin classAbstractQueryBuilder<PhotosSaveOwnerCoverPhotoQuery,SaveOwnerCoverPhotoResponse>- Returns:
- list of names
-
-