Package com.vk.api.sdk.queries.photos
Class PhotosGetOwnerCoverPhotoUploadServerQuery
- java.lang.Object
-
- com.vk.api.sdk.client.ApiRequest<R>
-
- com.vk.api.sdk.client.AbstractQueryBuilder<PhotosGetOwnerCoverPhotoUploadServerQuery,GetUploadServerResponse>
-
- com.vk.api.sdk.queries.photos.PhotosGetOwnerCoverPhotoUploadServerQuery
-
public class PhotosGetOwnerCoverPhotoUploadServerQuery extends AbstractQueryBuilder<PhotosGetOwnerCoverPhotoUploadServerQuery,GetUploadServerResponse>
Query for Photos.getOwnerCoverPhotoUploadServer method
-
-
Constructor Summary
Constructors Constructor Description PhotosGetOwnerCoverPhotoUploadServerQuery(VkApiClient client, GroupActor actor, int groupId)Creates a AbstractQueryBuilder instance that can be used to build api request with various parametersPhotosGetOwnerCoverPhotoUploadServerQuery(VkApiClient client, UserActor actor, int groupId)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 PhotosGetOwnerCoverPhotoUploadServerQuerycropX(java.lang.Integer value)X coordinate of the left-upper cornerPhotosGetOwnerCoverPhotoUploadServerQuerycropX2(java.lang.Integer value)X coordinate of the right-bottom cornerPhotosGetOwnerCoverPhotoUploadServerQuerycropY(java.lang.Integer value)Y coordinate of the left-upper cornerPhotosGetOwnerCoverPhotoUploadServerQuerycropY2(java.lang.Integer value)Y coordinate of the right-bottom cornerprotected java.util.List<java.lang.String>essentialKeys()Get list of required parameter namesprotected PhotosGetOwnerCoverPhotoUploadServerQuerygetThis()Get reference to this objectprotected PhotosGetOwnerCoverPhotoUploadServerQuerygroupId(int value)ID of community that owns the album (if the photo will be uploaded to a community album).-
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
-
PhotosGetOwnerCoverPhotoUploadServerQuery
public PhotosGetOwnerCoverPhotoUploadServerQuery(VkApiClient client, UserActor actor, int groupId)
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 1.
-
PhotosGetOwnerCoverPhotoUploadServerQuery
public PhotosGetOwnerCoverPhotoUploadServerQuery(VkApiClient client, GroupActor actor, int groupId)
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 1.
-
-
Method Detail
-
groupId
protected PhotosGetOwnerCoverPhotoUploadServerQuery groupId(int value)
ID of community that owns the album (if the photo will be uploaded to a community album).- Parameters:
value- value of "group id" parameter. Minimum is 1.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
cropX
public PhotosGetOwnerCoverPhotoUploadServerQuery cropX(java.lang.Integer value)
X coordinate of the left-upper corner- Parameters:
value- value of "crop x" parameter. Minimum is 0. By default 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
cropY
public PhotosGetOwnerCoverPhotoUploadServerQuery cropY(java.lang.Integer value)
Y coordinate of the left-upper corner- Parameters:
value- value of "crop y" parameter. Minimum is 0. By default 0.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
cropX2
public PhotosGetOwnerCoverPhotoUploadServerQuery cropX2(java.lang.Integer value)
X coordinate of the right-bottom corner- Parameters:
value- value of "crop x2" parameter. Minimum is 0. By default 795.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
cropY2
public PhotosGetOwnerCoverPhotoUploadServerQuery cropY2(java.lang.Integer value)
Y coordinate of the right-bottom corner- Parameters:
value- value of "crop y2" parameter. Minimum is 0. By default 200.- Returns:
- a reference to this
AbstractQueryBuilderobject to fulfill the "Builder" pattern.
-
getThis
protected PhotosGetOwnerCoverPhotoUploadServerQuery getThis()
Description copied from class:AbstractQueryBuilderGet reference to this object- Specified by:
getThisin classAbstractQueryBuilder<PhotosGetOwnerCoverPhotoUploadServerQuery,GetUploadServerResponse>- 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<PhotosGetOwnerCoverPhotoUploadServerQuery,GetUploadServerResponse>- Returns:
- list of names
-
-