com.byteplus.model.live.v20200801.CreateCertBody Maven / Gradle / Ivy
package com.byteplus.model.live.v20200801;
import com.alibaba.fastjson.JSON;
/**
* CreateCertBody
*/
@lombok.Data
public final class CreateCertBody {
/**
* 火山引擎账号 ID
*/
@com.alibaba.fastjson.annotation.JSONField(name = "AccountID")
private String accountID;
/**
* 证书名称
*/
@com.alibaba.fastjson.annotation.JSONField(name = "CertName")
private String certName;
/**
* 证书链 ID,用于标识整个证书链,包括叶子证书(服务器证书)、中间证书(中间 CA 证书)以及根证书(根 CA 证书)
*/
@com.alibaba.fastjson.annotation.JSONField(name = "ChainID")
private String chainID;
/**
* 密钥信息
*/
@com.alibaba.fastjson.annotation.JSONField(name = "Rsa")
private CreateCertBodyRsa rsa;
/**
* 证书用途,默认为 `https`,支持的取值包括:
*
* - https:https 认证;
*
* - sign:签名校验。
*/
@com.alibaba.fastjson.annotation.JSONField(name = "UseWay")
private String useWay;
@Override
public String toString() {
return JSON.toJSONString(this);
}
}