public class PhotosGetCommentsQuery extends AbstractQueryBuilder<PhotosGetCommentsQuery,GetCommentsResponse>
Constructor and Description |
---|
PhotosGetCommentsQuery(VkApiClient client,
UserActor actor,
int photoId)
Creates a AbstractQueryBuilder instance that can be used to build api request with various parameters
|
Modifier and Type | Method and Description |
---|---|
PhotosGetCommentsQuery |
accessKey(java.lang.String value)
Set access key
|
PhotosGetCommentsQuery |
count(java.lang.Integer value)
Number of comments to return.
|
protected java.util.List<java.lang.String> |
essentialKeys()
Get list of required parameter names
|
PhotosGetCommentsQuery |
fields(EnumParam... value)
Set fields
|
PhotosGetCommentsQuery |
fields(java.util.List<EnumParam> value)
Set fields
|
protected PhotosGetCommentsQuery |
getThis()
Get reference to this object
|
PhotosGetCommentsQuery |
needLikes(java.lang.Boolean value)
Return an additional "likes" field
|
PhotosGetCommentsQuery |
offset(java.lang.Integer value)
Offset needed to return a specific subset of comments.
|
PhotosGetCommentsQuery |
ownerId(java.lang.Integer value)
ID of the user or community that owns the photo.
|
protected PhotosGetCommentsQuery |
photoId(int value)
Photo ID.
|
PhotosGetCommentsQuery |
sort(PhotosGetCommentsSort value)
Sort order
|
PhotosGetCommentsQuery |
startCommentId(java.lang.Integer value)
Set start comment id
|
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, lang, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version
execute, executeAsRaw, executeAsString, getClient, getGson, getResponseClass, getUrl
public PhotosGetCommentsQuery(VkApiClient client, UserActor actor, int photoId)
client
- VK API clientactor
- actor with access tokenphotoId
- value of "photo id" parameter.public PhotosGetCommentsQuery ownerId(java.lang.Integer value)
value
- value of "owner id" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected PhotosGetCommentsQuery photoId(int value)
value
- value of "photo id" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public PhotosGetCommentsQuery needLikes(java.lang.Boolean value)
value
- value of "need likes" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public PhotosGetCommentsQuery startCommentId(java.lang.Integer value)
value
- value of "start comment id" parameter. Minimum is 0.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public PhotosGetCommentsQuery offset(java.lang.Integer value)
value
- value of "offset" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public PhotosGetCommentsQuery count(java.lang.Integer value)
value
- value of "count" parameter. Maximum is 100. Minimum is 0. By default 20.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public PhotosGetCommentsQuery sort(PhotosGetCommentsSort value)
value
- value of "sort" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public PhotosGetCommentsQuery accessKey(java.lang.String value)
value
- value of "access key" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public PhotosGetCommentsQuery fields(EnumParam... value)
value
- value of "fields" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.public PhotosGetCommentsQuery fields(java.util.List<EnumParam> value)
value
- value of "fields" parameter.AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected PhotosGetCommentsQuery getThis()
AbstractQueryBuilder
getThis
in class AbstractQueryBuilder<PhotosGetCommentsQuery,GetCommentsResponse>
AbstractQueryBuilder
object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilder
essentialKeys
in class AbstractQueryBuilder<PhotosGetCommentsQuery,GetCommentsResponse>