Package video.api.client.api.models
Class VideoWatermark
- java.lang.Object
-
- video.api.client.api.models.VideoWatermark
-
- All Implemented Interfaces:
Serializable
public class VideoWatermark extends Object implements Serializable
VideoWatermark- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_BOTTOMstatic StringSERIALIZED_NAME_HEIGHTstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LEFTstatic StringSERIALIZED_NAME_OPACITYstatic StringSERIALIZED_NAME_RIGHTstatic StringSERIALIZED_NAME_TOPstatic StringSERIALIZED_NAME_WIDTH
-
Constructor Summary
Constructors Constructor Description VideoWatermark()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VideoWatermarkbottom(String bottom)booleanequals(Object o)StringgetBottom()Distance expressed in px or % between the bottom-border of the video and the watermark-image.StringgetHeight()Height of the watermark-image relative to the video if expressed in %.StringgetId()id of the watermarkStringgetLeft()Distance expressed in px or % between the left-border of the video and the watermark-image.StringgetOpacity()Opacity expressed in % only to specify the degree of the watermark-image transparency with the video.StringgetRight()Distance expressed in px or % between the right-border of the video and the watermark-image.StringgetTop()Distance expressed in px or % between the top-border of the video and the watermark-image.StringgetWidth()Width of the watermark-image relative to the video if expressed in %.inthashCode()VideoWatermarkheight(String height)VideoWatermarkid(String id)VideoWatermarkleft(String left)VideoWatermarkopacity(String opacity)VideoWatermarkright(String right)voidsetBottom(String bottom)voidsetHeight(String height)voidsetId(String id)voidsetLeft(String left)voidsetOpacity(String opacity)voidsetRight(String right)voidsetTop(String top)voidsetWidth(String width)VideoWatermarktop(String top)StringtoString()VideoWatermarkwidth(String width)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOP
public static final String SERIALIZED_NAME_TOP
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LEFT
public static final String SERIALIZED_NAME_LEFT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BOTTOM
public static final String SERIALIZED_NAME_BOTTOM
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RIGHT
public static final String SERIALIZED_NAME_RIGHT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WIDTH
public static final String SERIALIZED_NAME_WIDTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_HEIGHT
public static final String SERIALIZED_NAME_HEIGHT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OPACITY
public static final String SERIALIZED_NAME_OPACITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public VideoWatermark id(String id)
-
getId
@Nullable public String getId()
id of the watermark- Returns:
- id
-
setId
public void setId(String id)
-
top
public VideoWatermark top(String top)
-
getTop
@Nullable public String getTop()
Distance expressed in px or % between the top-border of the video and the watermark-image.- Returns:
- top
-
setTop
public void setTop(String top)
-
left
public VideoWatermark left(String left)
-
getLeft
@Nullable public String getLeft()
Distance expressed in px or % between the left-border of the video and the watermark-image.- Returns:
- left
-
setLeft
public void setLeft(String left)
-
bottom
public VideoWatermark bottom(String bottom)
-
getBottom
@Nullable public String getBottom()
Distance expressed in px or % between the bottom-border of the video and the watermark-image.- Returns:
- bottom
-
setBottom
public void setBottom(String bottom)
-
right
public VideoWatermark right(String right)
-
getRight
@Nullable public String getRight()
Distance expressed in px or % between the right-border of the video and the watermark-image.- Returns:
- right
-
setRight
public void setRight(String right)
-
width
public VideoWatermark width(String width)
-
getWidth
@Nullable public String getWidth()
Width of the watermark-image relative to the video if expressed in %. Otherwise a fixed width. NOTE: To keep intrinsic watermark-image width use `initial`.- Returns:
- width
-
setWidth
public void setWidth(String width)
-
height
public VideoWatermark height(String height)
-
getHeight
@Nullable public String getHeight()
Height of the watermark-image relative to the video if expressed in %. Otherwise a fixed height. NOTE: To keep intrinsic watermark-image height use `initial`.- Returns:
- height
-
setHeight
public void setHeight(String height)
-
opacity
public VideoWatermark opacity(String opacity)
-
getOpacity
@Nullable public String getOpacity()
Opacity expressed in % only to specify the degree of the watermark-image transparency with the video.- Returns:
- opacity
-
setOpacity
public void setOpacity(String opacity)
-
-