All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.tencentcloudapi.btoe.v20210514.models.CreateDataDepositRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.btoe.v20210514.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateDataDepositRequest extends AbstractModel{
/**
* 业务数据明文(json格式字符串),最大256kb
*/
@SerializedName("EvidenceInfo")
@Expose
private String EvidenceInfo;
/**
* 存证名称(长度最大30)
*/
@SerializedName("EvidenceName")
@Expose
private String EvidenceName;
/**
* 业务ID 透传 长度最大不超过64
*/
@SerializedName("BusinessId")
@Expose
private String BusinessId;
/**
* 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
*/
@SerializedName("HashType")
@Expose
private Long HashType;
/**
* 存证描述
*/
@SerializedName("EvidenceDescription")
@Expose
private String EvidenceDescription;
/**
* Get 业务数据明文(json格式字符串),最大256kb
* @return EvidenceInfo 业务数据明文(json格式字符串),最大256kb
*/
public String getEvidenceInfo() {
return this.EvidenceInfo;
}
/**
* Set 业务数据明文(json格式字符串),最大256kb
* @param EvidenceInfo 业务数据明文(json格式字符串),最大256kb
*/
public void setEvidenceInfo(String EvidenceInfo) {
this.EvidenceInfo = EvidenceInfo;
}
/**
* Get 存证名称(长度最大30)
* @return EvidenceName 存证名称(长度最大30)
*/
public String getEvidenceName() {
return this.EvidenceName;
}
/**
* Set 存证名称(长度最大30)
* @param EvidenceName 存证名称(长度最大30)
*/
public void setEvidenceName(String EvidenceName) {
this.EvidenceName = EvidenceName;
}
/**
* Get 业务ID 透传 长度最大不超过64
* @return BusinessId 业务ID 透传 长度最大不超过64
*/
public String getBusinessId() {
return this.BusinessId;
}
/**
* Set 业务ID 透传 长度最大不超过64
* @param BusinessId 业务ID 透传 长度最大不超过64
*/
public void setBusinessId(String BusinessId) {
this.BusinessId = BusinessId;
}
/**
* Get 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
* @return HashType 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
*/
public Long getHashType() {
return this.HashType;
}
/**
* Set 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
* @param HashType 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
*/
public void setHashType(Long HashType) {
this.HashType = HashType;
}
/**
* Get 存证描述
* @return EvidenceDescription 存证描述
*/
public String getEvidenceDescription() {
return this.EvidenceDescription;
}
/**
* Set 存证描述
* @param EvidenceDescription 存证描述
*/
public void setEvidenceDescription(String EvidenceDescription) {
this.EvidenceDescription = EvidenceDescription;
}
public CreateDataDepositRequest() {
}
/**
* 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.
*/
public CreateDataDepositRequest(CreateDataDepositRequest source) {
if (source.EvidenceInfo != null) {
this.EvidenceInfo = new String(source.EvidenceInfo);
}
if (source.EvidenceName != null) {
this.EvidenceName = new String(source.EvidenceName);
}
if (source.BusinessId != null) {
this.BusinessId = new String(source.BusinessId);
}
if (source.HashType != null) {
this.HashType = new Long(source.HashType);
}
if (source.EvidenceDescription != null) {
this.EvidenceDescription = new String(source.EvidenceDescription);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "EvidenceInfo", this.EvidenceInfo);
this.setParamSimple(map, prefix + "EvidenceName", this.EvidenceName);
this.setParamSimple(map, prefix + "BusinessId", this.BusinessId);
this.setParamSimple(map, prefix + "HashType", this.HashType);
this.setParamSimple(map, prefix + "EvidenceDescription", this.EvidenceDescription);
}
}