Class DescribeKeysRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.drm.v20181115.models.DescribeKeysRequest
-
public class DescribeKeysRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeKeysRequest()DescribeKeysRequest(DescribeKeysRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentId()Get 一个加密内容的唯一标识。 如果该参数为空,则后台自动生成StringgetContentType()Get 内容类型。接口取值VodVideo,LiveVideoStringgetDrmType()Get 使用的DRM方案类型,接口取值WIDEVINE、FAIRPLAY、NORMALAES。StringgetRsaPublicKey()Get Base64编码的Rsa公钥,用来加密出参中的SessionKey。 如果该参数为空,则出参中SessionKey为明文。String[]getTracks()Get 加密的track列表,接口取值VIDEO、AUDIO。voidsetContentId(String ContentId)Set 一个加密内容的唯一标识。 如果该参数为空,则后台自动生成voidsetContentType(String ContentType)Set 内容类型。接口取值VodVideo,LiveVideovoidsetDrmType(String DrmType)Set 使用的DRM方案类型,接口取值WIDEVINE、FAIRPLAY、NORMALAES。voidsetRsaPublicKey(String RsaPublicKey)Set Base64编码的Rsa公钥,用来加密出参中的SessionKey。 如果该参数为空,则出参中SessionKey为明文。voidsetTracks(String[] Tracks)Set 加密的track列表,接口取值VIDEO、AUDIO。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeKeysRequest
public DescribeKeysRequest()
-
DescribeKeysRequest
public DescribeKeysRequest(DescribeKeysRequest 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.
-
-
Method Detail
-
getDrmType
public String getDrmType()
Get 使用的DRM方案类型,接口取值WIDEVINE、FAIRPLAY、NORMALAES。- Returns:
- DrmType 使用的DRM方案类型,接口取值WIDEVINE、FAIRPLAY、NORMALAES。
-
setDrmType
public void setDrmType(String DrmType)
Set 使用的DRM方案类型,接口取值WIDEVINE、FAIRPLAY、NORMALAES。- Parameters:
DrmType- 使用的DRM方案类型,接口取值WIDEVINE、FAIRPLAY、NORMALAES。
-
getTracks
public String[] getTracks()
Get 加密的track列表,接口取值VIDEO、AUDIO。- Returns:
- Tracks 加密的track列表,接口取值VIDEO、AUDIO。
-
setTracks
public void setTracks(String[] Tracks)
Set 加密的track列表,接口取值VIDEO、AUDIO。- Parameters:
Tracks- 加密的track列表,接口取值VIDEO、AUDIO。
-
getContentType
public String getContentType()
Get 内容类型。接口取值VodVideo,LiveVideo- Returns:
- ContentType 内容类型。接口取值VodVideo,LiveVideo
-
setContentType
public void setContentType(String ContentType)
Set 内容类型。接口取值VodVideo,LiveVideo- Parameters:
ContentType- 内容类型。接口取值VodVideo,LiveVideo
-
getRsaPublicKey
public String getRsaPublicKey()
Get Base64编码的Rsa公钥,用来加密出参中的SessionKey。 如果该参数为空,则出参中SessionKey为明文。- Returns:
- RsaPublicKey Base64编码的Rsa公钥,用来加密出参中的SessionKey。 如果该参数为空,则出参中SessionKey为明文。
-
setRsaPublicKey
public void setRsaPublicKey(String RsaPublicKey)
Set Base64编码的Rsa公钥,用来加密出参中的SessionKey。 如果该参数为空,则出参中SessionKey为明文。- Parameters:
RsaPublicKey- Base64编码的Rsa公钥,用来加密出参中的SessionKey。 如果该参数为空,则出参中SessionKey为明文。
-
getContentId
public String getContentId()
Get 一个加密内容的唯一标识。 如果该参数为空,则后台自动生成- Returns:
- ContentId 一个加密内容的唯一标识。 如果该参数为空,则后台自动生成
-
setContentId
public void setContentId(String ContentId)
Set 一个加密内容的唯一标识。 如果该参数为空,则后台自动生成- Parameters:
ContentId- 一个加密内容的唯一标识。 如果该参数为空,则后台自动生成
-
-