Class GetLinkStats
java.lang.Object
api.longpoll.bots.methods.impl.VkMethod<GetLinkStats.ResponseBody>
api.longpoll.bots.methods.impl.utils.GetLinkStats
Implements utils.getLinkStats method.
Returns stats data for shortened link.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Response to utils.getLinkStats request. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds URL parameter to HTTP request.protected Class<GetLinkStats.ResponseBody>
Gets a class of VK API response.setAccessKey
(String accessKey) setExtended
(boolean extended) setInterval
(String interval) setIntervalsCount
(int intervalsCount) Methods inherited from class api.longpoll.bots.methods.impl.VkMethod
execute, executeAsync, newRequestBody, setLang
-
Constructor Details
-
GetLinkStats
-
-
Method Details
-
getResponseClass
Description copied from class:VkMethod
Gets a class of VK API response. This value is used during deserialization of received JSON.- Specified by:
getResponseClass
in classVkMethod<GetLinkStats.ResponseBody>
- Returns:
- a class of VK API response.
-
setKey
-
setSource
-
setAccessKey
-
setInterval
-
setIntervalsCount
-
setExtended
-
addParam
Description copied from class:VkMethod
Adds URL parameter to HTTP request.- Overrides:
addParam
in classVkMethod<GetLinkStats.ResponseBody>
- Parameters:
key
- URL parameter key.value
- URL parameter value.- Returns:
- current instance.
-