
com.tencentcloudapi.tbaas.v20180416.models.InitializeChaincodeForUserRequest 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.tbaas.v20180416.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class InitializeChaincodeForUserRequest extends AbstractModel{
/**
* 模块名,本接口取值:chaincode_mng
*/
@SerializedName("Module")
@Expose
private String Module;
/**
* 操作名,本接口取值:chaincode_init_for_user
*/
@SerializedName("Operation")
@Expose
private String Operation;
/**
* 区块链网络ID,可在区块链网络详情或列表中获取
*/
@SerializedName("ClusterId")
@Expose
private String ClusterId;
/**
* 调用合约的组织名称
*/
@SerializedName("GroupName")
@Expose
private String GroupName;
/**
* 业务所属智能合约名称
*/
@SerializedName("ChaincodeName")
@Expose
private String ChaincodeName;
/**
* 业务所属智能合约版本
*/
@SerializedName("ChaincodeVersion")
@Expose
private String ChaincodeVersion;
/**
* 业务所属通道名称
*/
@SerializedName("ChannelName")
@Expose
private String ChannelName;
/**
* 合约实例化节点名称,可以在通道详情中获取该通道上的节点名称
*/
@SerializedName("PeerName")
@Expose
private String PeerName;
/**
* 实例化的函数参数列表
*/
@SerializedName("Args")
@Expose
private String [] Args;
/**
* Get 模块名,本接口取值:chaincode_mng
* @return Module 模块名,本接口取值:chaincode_mng
*/
public String getModule() {
return this.Module;
}
/**
* Set 模块名,本接口取值:chaincode_mng
* @param Module 模块名,本接口取值:chaincode_mng
*/
public void setModule(String Module) {
this.Module = Module;
}
/**
* Get 操作名,本接口取值:chaincode_init_for_user
* @return Operation 操作名,本接口取值:chaincode_init_for_user
*/
public String getOperation() {
return this.Operation;
}
/**
* Set 操作名,本接口取值:chaincode_init_for_user
* @param Operation 操作名,本接口取值:chaincode_init_for_user
*/
public void setOperation(String Operation) {
this.Operation = Operation;
}
/**
* Get 区块链网络ID,可在区块链网络详情或列表中获取
* @return ClusterId 区块链网络ID,可在区块链网络详情或列表中获取
*/
public String getClusterId() {
return this.ClusterId;
}
/**
* Set 区块链网络ID,可在区块链网络详情或列表中获取
* @param ClusterId 区块链网络ID,可在区块链网络详情或列表中获取
*/
public void setClusterId(String ClusterId) {
this.ClusterId = ClusterId;
}
/**
* Get 调用合约的组织名称
* @return GroupName 调用合约的组织名称
*/
public String getGroupName() {
return this.GroupName;
}
/**
* Set 调用合约的组织名称
* @param GroupName 调用合约的组织名称
*/
public void setGroupName(String GroupName) {
this.GroupName = GroupName;
}
/**
* Get 业务所属智能合约名称
* @return ChaincodeName 业务所属智能合约名称
*/
public String getChaincodeName() {
return this.ChaincodeName;
}
/**
* Set 业务所属智能合约名称
* @param ChaincodeName 业务所属智能合约名称
*/
public void setChaincodeName(String ChaincodeName) {
this.ChaincodeName = ChaincodeName;
}
/**
* Get 业务所属智能合约版本
* @return ChaincodeVersion 业务所属智能合约版本
*/
public String getChaincodeVersion() {
return this.ChaincodeVersion;
}
/**
* Set 业务所属智能合约版本
* @param ChaincodeVersion 业务所属智能合约版本
*/
public void setChaincodeVersion(String ChaincodeVersion) {
this.ChaincodeVersion = ChaincodeVersion;
}
/**
* Get 业务所属通道名称
* @return ChannelName 业务所属通道名称
*/
public String getChannelName() {
return this.ChannelName;
}
/**
* Set 业务所属通道名称
* @param ChannelName 业务所属通道名称
*/
public void setChannelName(String ChannelName) {
this.ChannelName = ChannelName;
}
/**
* Get 合约实例化节点名称,可以在通道详情中获取该通道上的节点名称
* @return PeerName 合约实例化节点名称,可以在通道详情中获取该通道上的节点名称
*/
public String getPeerName() {
return this.PeerName;
}
/**
* Set 合约实例化节点名称,可以在通道详情中获取该通道上的节点名称
* @param PeerName 合约实例化节点名称,可以在通道详情中获取该通道上的节点名称
*/
public void setPeerName(String PeerName) {
this.PeerName = PeerName;
}
/**
* Get 实例化的函数参数列表
* @return Args 实例化的函数参数列表
*/
public String [] getArgs() {
return this.Args;
}
/**
* Set 实例化的函数参数列表
* @param Args 实例化的函数参数列表
*/
public void setArgs(String [] Args) {
this.Args = Args;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Module", this.Module);
this.setParamSimple(map, prefix + "Operation", this.Operation);
this.setParamSimple(map, prefix + "ClusterId", this.ClusterId);
this.setParamSimple(map, prefix + "GroupName", this.GroupName);
this.setParamSimple(map, prefix + "ChaincodeName", this.ChaincodeName);
this.setParamSimple(map, prefix + "ChaincodeVersion", this.ChaincodeVersion);
this.setParamSimple(map, prefix + "ChannelName", this.ChannelName);
this.setParamSimple(map, prefix + "PeerName", this.PeerName);
this.setParamArraySimple(map, prefix + "Args.", this.Args);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy