Package com.vk.api.sdk.queries.photos
Class PhotosEditQuery
java.lang.Object
com.vk.api.sdk.client.ApiRequest<R>
com.vk.api.sdk.client.AbstractQueryBuilder<PhotosEditQuery,OkResponse>
com.vk.api.sdk.queries.photos.PhotosEditQuery
public class PhotosEditQuery extends AbstractQueryBuilder<PhotosEditQuery,OkResponse>
Query for Photos.edit method
-
Constructor Summary
Constructors Constructor Description PhotosEditQuery(VkApiClient client, UserActor actor, int photoId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters -
Method Summary
Modifier and Type Method Description PhotosEditQuery
caption(java.lang.String value)
New caption for the photo.PhotosEditQuery
deletePlace(java.lang.Boolean value)
Set delete placeprotected java.util.List<java.lang.String>
essentialKeys()
Get list of required parameter namesPhotosEditQuery
foursquareId(java.lang.String value)
Set foursquare idprotected PhotosEditQuery
getThis()
Get reference to this objectPhotosEditQuery
latitude(java.lang.Number value)
Set latitudePhotosEditQuery
longitude(java.lang.Number value)
Set longitudePhotosEditQuery
ownerId(java.lang.Integer value)
ID of the user or community that owns the photo.protected PhotosEditQuery
photoId(int value)
Photo ID.PhotosEditQuery
placeStr(java.lang.String value)
Set place strMethods 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
-
PhotosEditQuery
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters- Parameters:
client
- VK API clientactor
- actor with access tokenphotoId
- value of "photo id" parameter. Minimum is 0.
-
-
Method Details
-
ownerId
ID of the user or community that owns the photo.- Parameters:
value
- value of "owner id" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
photoId
Photo ID.- Parameters:
value
- value of "photo id" parameter. Minimum is 0.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
caption
New caption for the photo. If this parameter is not set, it is considered to be equal to an empty string.- Parameters:
value
- value of "caption" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
latitude
Set latitude- Parameters:
value
- value of "latitude" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
longitude
Set longitude- Parameters:
value
- value of "longitude" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
placeStr
Set place str- Parameters:
value
- value of "place str" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
foursquareId
Set foursquare id- Parameters:
value
- value of "foursquare id" parameter.- Returns:
- a reference to this
AbstractQueryBuilder
object to fulfill the "Builder" pattern.
-
deletePlace
Set delete place- Parameters:
value
- value of "delete place" 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<PhotosEditQuery,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<PhotosEditQuery,OkResponse>
- Returns:
- list of names
-