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

com.antgroup.antchain.openapi.twc.models.PhaseQueryResult 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 PhaseQueryResult extends TeaModel {
    // 阶段ID
    @NameInMap("phase_id")
    @Validation(required = true)
    public String phaseId;

    // 阶段存证的链上交易Hash,只有status为FINISH才会返回
    @NameInMap("tx_hash")
    @Validation(required = true)
    public String txHash;

    // 阶段存证状态
    @NameInMap("status")
    @Validation(required = true)
    public String status;

    // 阶段注册成功时间戳
    @NameInMap("register_time")
    @Validation(required = true)
    public Long registerTime;

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

    public PhaseQueryResult setPhaseId(String phaseId) {
        this.phaseId = phaseId;
        return this;
    }
    public String getPhaseId() {
        return this.phaseId;
    }

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

    public PhaseQueryResult setStatus(String status) {
        this.status = status;
        return this;
    }
    public String getStatus() {
        return this.status;
    }

    public PhaseQueryResult setRegisterTime(Long registerTime) {
        this.registerTime = registerTime;
        return this;
    }
    public Long getRegisterTime() {
        return this.registerTime;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy