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

com.antgroup.antchain.openapi.bot.models.EvidenceQueryInfoReq 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 EvidenceQueryInfoReq extends TeaModel {
    // 暂时保留
    @NameInMap("device_signature")
    public String deviceSignature;

    // 暂时保留
    @NameInMap("device_uid")
    public String deviceUid;

    // 不同上链方式
    // "CZ": 普通存证
    // "IOTPAY": 支付存证
    // "RAW": 文本上链
    // "TTTS": 溯源存证
    @NameInMap("query_type")
    @Validation(required = true)
    public String queryType;

    // 查询的链上交易txHash
    @NameInMap("tx_hash")
    @Validation(required = true)
    public String txHash;

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

    public EvidenceQueryInfoReq setDeviceSignature(String deviceSignature) {
        this.deviceSignature = deviceSignature;
        return this;
    }
    public String getDeviceSignature() {
        return this.deviceSignature;
    }

    public EvidenceQueryInfoReq setDeviceUid(String deviceUid) {
        this.deviceUid = deviceUid;
        return this;
    }
    public String getDeviceUid() {
        return this.deviceUid;
    }

    public EvidenceQueryInfoReq setQueryType(String queryType) {
        this.queryType = queryType;
        return this;
    }
    public String getQueryType() {
        return this.queryType;
    }

    public EvidenceQueryInfoReq setTxHash(String txHash) {
        this.txHash = txHash;
        return this;
    }
    public String getTxHash() {
        return this.txHash;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy