public class MediaSubtitleInput extends AbstractModel
| Constructor and Description |
|---|
MediaSubtitleInput() |
MediaSubtitleInput(MediaSubtitleInput source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Get Subtitle content, which is [Base64-encoded](https://tools.ietf.org/html/rfc4648) strings
|
String |
getFormat()
Get Subtitle format.
|
String |
getId()
Get Subtitle ID.
|
String |
getLanguage()
Get Subtitle language.
|
String |
getName()
Get Subtitle name.
|
void |
setContent(String Content)
Set Subtitle content, which is [Base64-encoded](https://tools.ietf.org/html/rfc4648) strings
|
void |
setFormat(String Format)
Set Subtitle format.
|
void |
setId(String Id)
Set Subtitle ID.
|
void |
setLanguage(String Language)
Set Subtitle language.
|
void |
setName(String Name)
Set Subtitle name.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic MediaSubtitleInput()
public MediaSubtitleInput(MediaSubtitleInput source)
public String getName()
public void setName(String Name)
Name - Subtitle name. Length limit: 64 characterspublic String getLanguage()
public void setLanguage(String Language)
Language - Subtitle language. Common values:
public String getFormat()
public void setFormat(String Format)
Format - Subtitle format. Valid value:
public String getContent()
public void setContent(String Content)
Content - Subtitle content, which is [Base64-encoded](https://tools.ietf.org/html/rfc4648) stringspublic String getId()
public void setId(String Id)
Id - Subtitle ID. Its length cannot exceed 16 characters. Uppercase and lowercase letters, numbers, underscores (_), and hyphens (-) are supported. It cannot be the same as the IDs of the existing subtitles in the media file.Copyright © 2022. All rights reserved.