
com.huaweicloud.sdk.bcs.v2.model.ShowBlockchainNodesRequest Maven / Gradle / Ivy
package com.huaweicloud.sdk.bcs.v2.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.function.Consumer;
import java.util.Objects;
/**
* Request Object
*/
public class ShowBlockchainNodesRequest {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value="blockchain_id")
private String blockchainId;
public ShowBlockchainNodesRequest withBlockchainId(String blockchainId) {
this.blockchainId = blockchainId;
return this;
}
/**
* blockchainID
* @return blockchainId
*/
public String getBlockchainId() {
return blockchainId;
}
public void setBlockchainId(String blockchainId) {
this.blockchainId = blockchainId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ShowBlockchainNodesRequest showBlockchainNodesRequest = (ShowBlockchainNodesRequest) o;
return Objects.equals(this.blockchainId, showBlockchainNodesRequest.blockchainId);
}
@Override
public int hashCode() {
return Objects.hash(blockchainId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ShowBlockchainNodesRequest {\n");
sb.append(" blockchainId: ").append(toIndentedString(blockchainId)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy