public class DrmSettingsInfo extends AbstractModel
| Constructor and Description | 
|---|
| DrmSettingsInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getContentId()Get When `Scheme` is set to TencentDRM, this parameter should be set to the `ContentId` of DRM encryption, and if this parameter is left empty, a `ContentId` will be automatically created. | 
| DrmKey[] | getKeys()Get The key customized by the content user, which is required when `Scheme` is set to CustomDRMKeys. | 
| String | getScheme()Get Valid values: TencentDRM, CustomDRMKeys. | 
| String | getState()Get | 
| void | setContentId(String ContentId)Set When `Scheme` is set to TencentDRM, this parameter should be set to the `ContentId` of DRM encryption, and if this parameter is left empty, a `ContentId` will be automatically created. | 
| void | setKeys(DrmKey[] Keys)Set The key customized by the content user, which is required when `Scheme` is set to CustomDRMKeys. | 
| void | setScheme(String Scheme)Set Valid values: TencentDRM, CustomDRMKeys. | 
| void | setState(String State)Set | 
| 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 String getState()
public void setState(String State)
State - public String getContentId()
public void setContentId(String ContentId)
ContentId - When `Scheme` is set to TencentDRM, this parameter should be set to the `ContentId` of DRM encryption, and if this parameter is left empty, a `ContentId` will be automatically created. For more information, please see [here](https://cloud.tencent.com/document/product/1000/40960).
When `Scheme` is set to CustomDRMKeys, this parameter is required and should be specified by the user.public String getScheme()
public void setScheme(String Scheme)
Scheme - Valid values: TencentDRM, CustomDRMKeys. If this parameter is left empty, TencentDRM will be used by default.
TencentDRM refers to Tencent digital rights management (DRM) encryption. For more information, please see [here](https://cloud.tencent.com/solution/drm).
CustomDRMKeys refers to an encryption key customized by the user.public DrmKey[] getKeys()
public void setKeys(DrmKey[] Keys)
Keys - The key customized by the content user, which is required when `Scheme` is set to CustomDRMKeys.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.