Package com.vk.api.sdk.objects.video
Class Video
- java.lang.Object
-
- com.vk.api.sdk.objects.video.Video
-
- All Implemented Interfaces:
Validable
- Direct Known Subclasses:
StoryVideo,VideoFull
public class Video extends java.lang.Object implements Validable
Video object
-
-
Constructor Summary
Constructors Constructor Description Video()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanAdd()booleancanAddToFaves()booleancanAttachLink()booleancanComment()booleancanEdit()booleancanLike()booleancanRepost()booleancanSubscribe()booleanequals(java.lang.Object o)java.lang.StringgetAccessKey()BoolIntgetAdded()java.lang.IntegergetAddingDate()java.lang.IntegergetBalance()BoolIntgetCanAdd()BoolIntgetCanAddToFaves()BoolIntgetCanAttachLink()BoolIntgetCanComment()BoolIntgetCanEdit()BoolIntgetCanLike()BoolIntgetCanRepost()BoolIntgetCanSubscribe()java.lang.IntegergetComments()java.lang.IntegergetContentRestricted()java.lang.StringgetContentRestrictedMessage()BoolIntgetConverting()java.lang.IntegergetDate()java.lang.StringgetDescription()java.lang.IntegergetDuration()java.util.List<VideoImage>getFirstFrame()java.lang.IntegergetHeight()java.lang.IntegergetId()java.util.List<VideoImage>getImage()java.lang.BooleangetIsFavorite()BoolIntgetIsPrivate()BoolIntgetIsSubscribed()LikesgetLikes()BoolIntgetLiveNotify()java.lang.IntegergetLiveStartTime()VideoLiveStatusgetLiveStatus()java.lang.IntegergetLocalViews()java.lang.IntegergetOwnerId()java.lang.StringgetPlatform()java.net.URIgetPlayer()RepostsInfogetReposts()java.lang.IntegergetSpectators()java.lang.StringgetTitle()java.lang.StringgetTrackCode()VideoTypegetType()java.lang.IntegergetUserId()java.lang.IntegergetViews()java.lang.IntegergetWidth()inthashCode()booleanisAdded()booleanisConverting()booleanisLive()booleanisLiveNotify()booleanisPrivate()booleanisProcessing()booleanisRepeat()booleanisSubscribed()booleanisUpcoming()VideosetAccessKey(java.lang.String accessKey)VideosetAddingDate(java.lang.Integer addingDate)VideosetBalance(java.lang.Integer balance)VideosetComments(java.lang.Integer comments)VideosetContentRestricted(java.lang.Integer contentRestricted)VideosetContentRestrictedMessage(java.lang.String contentRestrictedMessage)VideosetDate(java.lang.Integer date)VideosetDescription(java.lang.String description)VideosetDuration(java.lang.Integer duration)VideosetFirstFrame(java.util.List<VideoImage> firstFrame)VideosetHeight(java.lang.Integer height)VideosetId(java.lang.Integer id)VideosetImage(java.util.List<VideoImage> image)VideosetIsFavorite(java.lang.Boolean isFavorite)VideosetLikes(Likes likes)VideosetLiveStartTime(java.lang.Integer liveStartTime)VideosetLiveStatus(VideoLiveStatus liveStatus)VideosetLocalViews(java.lang.Integer localViews)VideosetOwnerId(java.lang.Integer ownerId)VideosetPlatform(java.lang.String platform)VideosetPlayer(java.net.URI player)VideosetReposts(RepostsInfo reposts)VideosetSpectators(java.lang.Integer spectators)VideosetTitle(java.lang.String title)VideosetTrackCode(java.lang.String trackCode)VideosetType(VideoType type)VideosetUserId(java.lang.Integer userId)VideosetViews(java.lang.Integer views)VideosetWidth(java.lang.Integer width)java.lang.StringtoPrettyString()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.vk.api.sdk.objects.Validable
validateRequired
-
-
-
-
Method Detail
-
getAccessKey
public java.lang.String getAccessKey()
-
setAccessKey
public Video setAccessKey(java.lang.String accessKey)
-
getAddingDate
public java.lang.Integer getAddingDate()
-
setAddingDate
public Video setAddingDate(java.lang.Integer addingDate)
-
canComment
public boolean canComment()
-
getCanComment
public BoolInt getCanComment()
-
canEdit
public boolean canEdit()
-
getCanEdit
public BoolInt getCanEdit()
-
canLike
public boolean canLike()
-
getCanLike
public BoolInt getCanLike()
-
canRepost
public boolean canRepost()
-
getCanRepost
public BoolInt getCanRepost()
-
canSubscribe
public boolean canSubscribe()
-
getCanSubscribe
public BoolInt getCanSubscribe()
-
canAddToFaves
public boolean canAddToFaves()
-
getCanAddToFaves
public BoolInt getCanAddToFaves()
-
canAdd
public boolean canAdd()
-
getCanAdd
public BoolInt getCanAdd()
-
canAttachLink
public boolean canAttachLink()
-
getCanAttachLink
public BoolInt getCanAttachLink()
-
isPrivate
public boolean isPrivate()
-
getIsPrivate
public BoolInt getIsPrivate()
-
getComments
public java.lang.Integer getComments()
-
setComments
public Video setComments(java.lang.Integer comments)
-
getDate
public java.lang.Integer getDate()
-
setDate
public Video setDate(java.lang.Integer date)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public Video setDescription(java.lang.String description)
-
getDuration
public java.lang.Integer getDuration()
-
setDuration
public Video setDuration(java.lang.Integer duration)
-
getImage
public java.util.List<VideoImage> getImage()
-
setImage
public Video setImage(java.util.List<VideoImage> image)
-
getFirstFrame
public java.util.List<VideoImage> getFirstFrame()
-
setFirstFrame
public Video setFirstFrame(java.util.List<VideoImage> firstFrame)
-
getWidth
public java.lang.Integer getWidth()
-
setWidth
public Video setWidth(java.lang.Integer width)
-
getHeight
public java.lang.Integer getHeight()
-
setHeight
public Video setHeight(java.lang.Integer height)
-
getId
public java.lang.Integer getId()
-
setId
public Video setId(java.lang.Integer id)
-
getOwnerId
public java.lang.Integer getOwnerId()
-
setOwnerId
public Video setOwnerId(java.lang.Integer ownerId)
-
getUserId
public java.lang.Integer getUserId()
-
setUserId
public Video setUserId(java.lang.Integer userId)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public Video setTitle(java.lang.String title)
-
getIsFavorite
public java.lang.Boolean getIsFavorite()
-
setIsFavorite
public Video setIsFavorite(java.lang.Boolean isFavorite)
-
getPlayer
public java.net.URI getPlayer()
-
setPlayer
public Video setPlayer(java.net.URI player)
-
isProcessing
public boolean isProcessing()
-
isConverting
public boolean isConverting()
-
getConverting
public BoolInt getConverting()
-
isAdded
public boolean isAdded()
-
getAdded
public BoolInt getAdded()
-
isSubscribed
public boolean isSubscribed()
-
getIsSubscribed
public BoolInt getIsSubscribed()
-
getTrackCode
public java.lang.String getTrackCode()
-
setTrackCode
public Video setTrackCode(java.lang.String trackCode)
-
isRepeat
public boolean isRepeat()
-
getType
public VideoType getType()
-
getViews
public java.lang.Integer getViews()
-
setViews
public Video setViews(java.lang.Integer views)
-
getLocalViews
public java.lang.Integer getLocalViews()
-
setLocalViews
public Video setLocalViews(java.lang.Integer localViews)
-
getContentRestricted
public java.lang.Integer getContentRestricted()
-
setContentRestricted
public Video setContentRestricted(java.lang.Integer contentRestricted)
-
getContentRestrictedMessage
public java.lang.String getContentRestrictedMessage()
-
setContentRestrictedMessage
public Video setContentRestrictedMessage(java.lang.String contentRestrictedMessage)
-
getBalance
public java.lang.Integer getBalance()
-
setBalance
public Video setBalance(java.lang.Integer balance)
-
getLiveStatus
public VideoLiveStatus getLiveStatus()
-
setLiveStatus
public Video setLiveStatus(VideoLiveStatus liveStatus)
-
isLive
public boolean isLive()
-
isUpcoming
public boolean isUpcoming()
-
getLiveStartTime
public java.lang.Integer getLiveStartTime()
-
setLiveStartTime
public Video setLiveStartTime(java.lang.Integer liveStartTime)
-
isLiveNotify
public boolean isLiveNotify()
-
getLiveNotify
public BoolInt getLiveNotify()
-
getSpectators
public java.lang.Integer getSpectators()
-
setSpectators
public Video setSpectators(java.lang.Integer spectators)
-
getPlatform
public java.lang.String getPlatform()
-
setPlatform
public Video setPlatform(java.lang.String platform)
-
getLikes
public Likes getLikes()
-
getReposts
public RepostsInfo getReposts()
-
setReposts
public Video setReposts(RepostsInfo reposts)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toPrettyString
public java.lang.String toPrettyString()
-
-