All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencentcloudapi.tbaas.v20180416.models.TransByDynamicContractHandlerRequest 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 TransByDynamicContractHandlerRequest extends AbstractModel{

    /**
    * 模块名,固定字段:transaction
    */
    @SerializedName("Module")
    @Expose
    private String Module;

    /**
    * 操作名,固定字段:trans_by_dynamic_contract
    */
    @SerializedName("Operation")
    @Expose
    private String Operation;

    /**
    * 群组编号
    */
    @SerializedName("GroupPk")
    @Expose
    private String GroupPk;

    /**
    * 合约地址(合约部署成功,可得到合约地址)
    */
    @SerializedName("ContractAddress")
    @Expose
    private String ContractAddress;

    /**
    * 合约名
    */
    @SerializedName("ContractName")
    @Expose
    private String ContractName;

    /**
    * 合约编译后的abi
    */
    @SerializedName("AbiInfo")
    @Expose
    private String AbiInfo;

    /**
    * 合约被调用方法名
    */
    @SerializedName("FuncName")
    @Expose
    private String FuncName;

    /**
    * 合约被调用方法的入参
    */
    @SerializedName("FuncParam")
    @Expose
    private String [] FuncParam;

    /**
     * Get 模块名,固定字段:transaction 
     * @return Module 模块名,固定字段:transaction
     */
    public String getModule() {
        return this.Module;
    }

    /**
     * Set 模块名,固定字段:transaction
     * @param Module 模块名,固定字段:transaction
     */
    public void setModule(String Module) {
        this.Module = Module;
    }

    /**
     * Get 操作名,固定字段:trans_by_dynamic_contract 
     * @return Operation 操作名,固定字段:trans_by_dynamic_contract
     */
    public String getOperation() {
        return this.Operation;
    }

    /**
     * Set 操作名,固定字段:trans_by_dynamic_contract
     * @param Operation 操作名,固定字段:trans_by_dynamic_contract
     */
    public void setOperation(String Operation) {
        this.Operation = Operation;
    }

    /**
     * Get 群组编号 
     * @return GroupPk 群组编号
     */
    public String getGroupPk() {
        return this.GroupPk;
    }

    /**
     * Set 群组编号
     * @param GroupPk 群组编号
     */
    public void setGroupPk(String GroupPk) {
        this.GroupPk = GroupPk;
    }

    /**
     * Get 合约地址(合约部署成功,可得到合约地址) 
     * @return ContractAddress 合约地址(合约部署成功,可得到合约地址)
     */
    public String getContractAddress() {
        return this.ContractAddress;
    }

    /**
     * Set 合约地址(合约部署成功,可得到合约地址)
     * @param ContractAddress 合约地址(合约部署成功,可得到合约地址)
     */
    public void setContractAddress(String ContractAddress) {
        this.ContractAddress = ContractAddress;
    }

    /**
     * Get 合约名 
     * @return ContractName 合约名
     */
    public String getContractName() {
        return this.ContractName;
    }

    /**
     * Set 合约名
     * @param ContractName 合约名
     */
    public void setContractName(String ContractName) {
        this.ContractName = ContractName;
    }

    /**
     * Get 合约编译后的abi 
     * @return AbiInfo 合约编译后的abi
     */
    public String getAbiInfo() {
        return this.AbiInfo;
    }

    /**
     * Set 合约编译后的abi
     * @param AbiInfo 合约编译后的abi
     */
    public void setAbiInfo(String AbiInfo) {
        this.AbiInfo = AbiInfo;
    }

    /**
     * Get 合约被调用方法名 
     * @return FuncName 合约被调用方法名
     */
    public String getFuncName() {
        return this.FuncName;
    }

    /**
     * Set 合约被调用方法名
     * @param FuncName 合约被调用方法名
     */
    public void setFuncName(String FuncName) {
        this.FuncName = FuncName;
    }

    /**
     * Get 合约被调用方法的入参 
     * @return FuncParam 合约被调用方法的入参
     */
    public String [] getFuncParam() {
        return this.FuncParam;
    }

    /**
     * Set 合约被调用方法的入参
     * @param FuncParam 合约被调用方法的入参
     */
    public void setFuncParam(String [] FuncParam) {
        this.FuncParam = FuncParam;
    }

    /**
     * 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 + "GroupPk", this.GroupPk);
        this.setParamSimple(map, prefix + "ContractAddress", this.ContractAddress);
        this.setParamSimple(map, prefix + "ContractName", this.ContractName);
        this.setParamSimple(map, prefix + "AbiInfo", this.AbiInfo);
        this.setParamSimple(map, prefix + "FuncName", this.FuncName);
        this.setParamArraySimple(map, prefix + "FuncParam.", this.FuncParam);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy