Package video.api.client.api.models
Class Caption
- java.lang.Object
-
- video.api.client.api.models.Caption
-
- All Implemented Interfaces:
Serializable,DeepObject
public class Caption extends Object implements Serializable, DeepObject
Caption- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DEFAULTstatic StringSERIALIZED_NAME_LANGUAGE_NAMEstatic StringSERIALIZED_NAME_SRCstatic StringSERIALIZED_NAME_SRCLANGstatic StringSERIALIZED_NAME_URI
-
Constructor Summary
Constructors Constructor Description Caption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Caption_default(Boolean _default)booleanequals(Object o)BooleangetDefault()Whether you will have subtitles or not.StringgetLanguageName()Returns the native name of the caption language in UTF-8 encoding.StringgetSrc()A direct URL to the uploaded caption file.StringgetSrclang()Indicates the language of the uploaded caption file using IETF language tags.StringgetUri()The unique resource identifier of the uploaded caption.inthashCode()CaptionlanguageName(String languageName)voidsetDefault(Boolean _default)voidsetLanguageName(String languageName)voidsetSrc(String src)voidsetSrclang(String srclang)voidsetUri(String uri)Captionsrc(String src)Captionsrclang(String srclang)StringtoString()Captionuri(String uri)
-
-
-
Field Detail
-
SERIALIZED_NAME_URI
public static final String SERIALIZED_NAME_URI
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SRC
public static final String SERIALIZED_NAME_SRC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SRCLANG
public static final String SERIALIZED_NAME_SRCLANG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LANGUAGE_NAME
public static final String SERIALIZED_NAME_LANGUAGE_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEFAULT
public static final String SERIALIZED_NAME_DEFAULT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUri
@Nullable public String getUri()
The unique resource identifier of the uploaded caption.- Returns:
- uri
-
setUri
public void setUri(String uri)
-
getSrc
@Nullable public String getSrc()
A direct URL to the uploaded caption file.- Returns:
- src
-
setSrc
public void setSrc(String src)
-
getSrclang
@Nullable public String getSrclang()
Indicates the language of the uploaded caption file using IETF language tags.- Returns:
- srclang
-
setSrclang
public void setSrclang(String srclang)
-
getLanguageName
@Nullable public String getLanguageName()
Returns the native name of the caption language in UTF-8 encoding.- Returns:
- languageName
-
setLanguageName
public void setLanguageName(String languageName)
-
getDefault
@Nullable public Boolean getDefault()
Whether you will have subtitles or not. True for yes you will have subtitles, false for no you will not have subtitles.- Returns:
- _default
-
setDefault
public void setDefault(Boolean _default)
-
-