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

com.antgroup.antchain.openapi.bot.models.SendCollectorBychainidRequest Maven / Gradle / Ivy

There is a newer version: 1.11.56
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.bot.models;

import com.aliyun.tea.*;

public class SendCollectorBychainidRequest extends TeaModel {
    // OAuth模式下的授权token
    @NameInMap("auth_token")
    public String authToken;

    @NameInMap("product_instance_id")
    public String productInstanceId;

    // 链上设备Id
    @NameInMap("chain_device_id")
    @Validation(required = true)
    public String chainDeviceId;

    // 收集数据
    @NameInMap("collect_content_list")
    @Validation(required = true)
    public java.util.List collectContentList;

    // 随机数,防重放
    @NameInMap("nonce")
    @Validation(required = true)
    public String nonce;

    // 数据模型Id
    @NameInMap("data_model_id")
    public String dataModelId;

    public static SendCollectorBychainidRequest build(java.util.Map map) throws Exception {
        SendCollectorBychainidRequest self = new SendCollectorBychainidRequest();
        return TeaModel.build(map, self);
    }

    public SendCollectorBychainidRequest setAuthToken(String authToken) {
        this.authToken = authToken;
        return this;
    }
    public String getAuthToken() {
        return this.authToken;
    }

    public SendCollectorBychainidRequest setProductInstanceId(String productInstanceId) {
        this.productInstanceId = productInstanceId;
        return this;
    }
    public String getProductInstanceId() {
        return this.productInstanceId;
    }

    public SendCollectorBychainidRequest setChainDeviceId(String chainDeviceId) {
        this.chainDeviceId = chainDeviceId;
        return this;
    }
    public String getChainDeviceId() {
        return this.chainDeviceId;
    }

    public SendCollectorBychainidRequest setCollectContentList(java.util.List collectContentList) {
        this.collectContentList = collectContentList;
        return this;
    }
    public java.util.List getCollectContentList() {
        return this.collectContentList;
    }

    public SendCollectorBychainidRequest setNonce(String nonce) {
        this.nonce = nonce;
        return this;
    }
    public String getNonce() {
        return this.nonce;
    }

    public SendCollectorBychainidRequest setDataModelId(String dataModelId) {
        this.dataModelId = dataModelId;
        return this;
    }
    public String getDataModelId() {
        return this.dataModelId;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy