Package com.vk.api.sdk.objects.media
Class Restriction
- java.lang.Object
-
- com.vk.api.sdk.objects.media.Restriction
-
-
Constructor Summary
Constructors Constructor Description Restriction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanPlay()booleancanPreview()booleanequals(java.lang.Object o)BoolIntgetAlwaysShown()BoolIntgetBlur()RestrictionButtongetButton()BoolIntgetCanPlay()BoolIntgetCanPreview()java.util.List<Image>getCardIcon()java.util.List<Image>getListIcon()java.lang.StringgetText()java.lang.StringgetTitle()inthashCode()booleanisAlwaysShown()booleanisBlur()RestrictionsetButton(RestrictionButton button)RestrictionsetCardIcon(java.util.List<Image> cardIcon)RestrictionsetListIcon(java.util.List<Image> listIcon)RestrictionsetText(java.lang.String text)RestrictionsetTitle(java.lang.String title)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
-
getText
public java.lang.String getText()
-
setText
public Restriction setText(java.lang.String text)
-
getTitle
public java.lang.String getTitle()
-
setTitle
public Restriction setTitle(java.lang.String title)
-
getButton
public RestrictionButton getButton()
-
setButton
public Restriction setButton(RestrictionButton button)
-
isAlwaysShown
public boolean isAlwaysShown()
-
getAlwaysShown
public BoolInt getAlwaysShown()
-
isBlur
public boolean isBlur()
-
getBlur
public BoolInt getBlur()
-
canPlay
public boolean canPlay()
-
getCanPlay
public BoolInt getCanPlay()
-
canPreview
public boolean canPreview()
-
getCanPreview
public BoolInt getCanPreview()
-
getCardIcon
public java.util.List<Image> getCardIcon()
-
setCardIcon
public Restriction setCardIcon(java.util.List<Image> cardIcon)
-
getListIcon
public java.util.List<Image> getListIcon()
-
setListIcon
public Restriction setListIcon(java.util.List<Image> listIcon)
-
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()
-
-