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

com.antgroup.antchain.openapi.twc.models.LeaseIotItemInfo Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class LeaseIotItemInfo extends TeaModel {
    // 证据的时间
    @NameInMap("date")
    @Validation(required = true, pattern = "\\d{4}[-]\\d{1,2}[-]\\d{1,2}[T]\\d{2}:\\d{2}:\\d{2}([Z]|([\\.]\\d{1,9})?[\\+]\\d{2}[\\:]?\\d{2})")
    public String date;

    // 证据的txHash
    @NameInMap("tx_hash")
    @Validation(required = true)
    public String txHash;

    // 证据的原始数据,默认为空或加密状态,除非调用方为授权用户(如出资方等
    @NameInMap("raw_data")
    @Validation(required = true)
    public String rawData;

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

    public LeaseIotItemInfo setDate(String date) {
        this.date = date;
        return this;
    }
    public String getDate() {
        return this.date;
    }

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

    public LeaseIotItemInfo setRawData(String rawData) {
        this.rawData = rawData;
        return this;
    }
    public String getRawData() {
        return this.rawData;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy