com.aliyuncs.baas.model.v20181221.DescribeAntChainInformationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-baas Show documentation
Show all versions of aliyun-java-sdk-baas Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
/*
* 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.aliyuncs.baas.model.v20181221;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.baas.transform.v20181221.DescribeAntChainInformationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DescribeAntChainInformationResponse extends AcsResponse {
private String requestId;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private Integer transactionSum;
private String version;
private Integer blockHeight;
private Long createTime;
private Integer nodeNumber;
private Integer abnormalNodes;
private String antChainId;
private Boolean normal;
private List nodeInfos;
public Integer getTransactionSum() {
return this.transactionSum;
}
public void setTransactionSum(Integer transactionSum) {
this.transactionSum = transactionSum;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public Integer getBlockHeight() {
return this.blockHeight;
}
public void setBlockHeight(Integer blockHeight) {
this.blockHeight = blockHeight;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Integer getNodeNumber() {
return this.nodeNumber;
}
public void setNodeNumber(Integer nodeNumber) {
this.nodeNumber = nodeNumber;
}
public Integer getAbnormalNodes() {
return this.abnormalNodes;
}
public void setAbnormalNodes(Integer abnormalNodes) {
this.abnormalNodes = abnormalNodes;
}
public String getAntChainId() {
return this.antChainId;
}
public void setAntChainId(String antChainId) {
this.antChainId = antChainId;
}
public Boolean getNormal() {
return this.normal;
}
public void setNormal(Boolean normal) {
this.normal = normal;
}
public List getNodeInfos() {
return this.nodeInfos;
}
public void setNodeInfos(List nodeInfos) {
this.nodeInfos = nodeInfos;
}
public static class NodeInfosItem {
private Boolean status;
private String nodeName;
private String version;
private Long blockHeight;
public Boolean getStatus() {
return this.status;
}
public void setStatus(Boolean status) {
this.status = status;
}
public String getNodeName() {
return this.nodeName;
}
public void setNodeName(String nodeName) {
this.nodeName = nodeName;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
public Long getBlockHeight() {
return this.blockHeight;
}
public void setBlockHeight(Long blockHeight) {
this.blockHeight = blockHeight;
}
}
}
@Override
public DescribeAntChainInformationResponse getInstance(UnmarshallerContext context) {
return DescribeAntChainInformationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy