public class PhotosReportQuery extends AbstractQueryBuilder<PhotosReportQuery,OkResponse>
| Constructor and Description |
|---|
PhotosReportQuery(VkApiClient client,
UserActor actor)
Creates a AbstractQueryBuilder instance that can be used to build user api request with various parameters
|
PhotosReportQuery(VkApiClient client,
UserActor actor,
java.lang.Long ownerId,
java.lang.Integer photoId)
Creates a AbstractQueryBuilder instance that can be used to build user api request with various parameters
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
essentialKeys()
Get list of required parameter names
|
protected PhotosReportQuery |
getThis()
Get reference to this object
|
PhotosReportQuery |
ownerId(java.lang.Long value)
ID of the user or community that owns the photo.
|
PhotosReportQuery |
photoId(java.lang.Integer value)
Photo ID.
|
PhotosReportQuery |
reason(ReportReason value)
Reason for the complaint: '0' - spam, '1' - child pornography, '2' - extremism, '3' - violence, '4' - drug propaganda, '5' - adult material, '6' - insult, abuse, '8' - suicide calls
|
accessToken, build, captchaKey, captchaSid, clientSecret, confirm, getBody, getMethod, getParams, getQueryHeaders, lang, toString, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, unsafeParam, version, withHeader, withHeadersaddHeader, addHeaders, execute, executeAsRaw, executeAsString, executeAsStringWithReturningFullInfo, executeTypeable, executeTypeableWithoutRetry, executeWithoutRetry, getClient, getCookie, getGson, getHeaders, getResponseClass, getUrl, setCookie, setCookies, setHeaders, setHeaderspublic PhotosReportQuery(VkApiClient client, UserActor actor, java.lang.Long ownerId, java.lang.Integer photoId)
client - VK API clientactor - actor with access tokenownerId - value of "owner id" parameter. Entity - ownerphotoId - value of "photo id" parameter. Minimum is 0.public PhotosReportQuery(VkApiClient client, UserActor actor)
client - VK API clientactor - actor with access tokenpublic PhotosReportQuery ownerId(java.lang.Long value)
value - value of "owner id" parameter. Entity - ownerAbstractQueryBuilder object to fulfill the "Builder" pattern.public PhotosReportQuery photoId(java.lang.Integer value)
value - value of "photo id" parameter. Minimum is 0.AbstractQueryBuilder object to fulfill the "Builder" pattern.public PhotosReportQuery reason(ReportReason value)
value - value of "reason" parameter. Minimum is 0.AbstractQueryBuilder object to fulfill the "Builder" pattern.protected PhotosReportQuery getThis()
AbstractQueryBuildergetThis in class AbstractQueryBuilder<PhotosReportQuery,OkResponse>AbstractQueryBuilder object to fulfill the "Builder" pattern.protected java.util.List<java.lang.String> essentialKeys()
AbstractQueryBuilderessentialKeys in class AbstractQueryBuilder<PhotosReportQuery,OkResponse>