
com.huaweicloud.sdk.bcs.v2.model.ShowBlockchainNodesResponse Maven / Gradle / Ivy
package com.huaweicloud.sdk.bcs.v2.model;
import com.huaweicloud.sdk.core.SdkResponse;
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 com.huaweicloud.sdk.bcs.v2.model.Org;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.function.Consumer;
import java.util.Objects;
/**
* Response Object
*/
public class ShowBlockchainNodesResponse extends SdkResponse {
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonProperty(value="node_orgs")
private Map nodeOrgs = null;
public ShowBlockchainNodesResponse withNodeOrgs(Map nodeOrgs) {
this.nodeOrgs = nodeOrgs;
return this;
}
public ShowBlockchainNodesResponse putNodeOrgsItem(String key, Org nodeOrgsItem) {
if(this.nodeOrgs == null) {
this.nodeOrgs = new HashMap<>();
}
this.nodeOrgs.put(key, nodeOrgsItem);
return this;
}
public ShowBlockchainNodesResponse withNodeOrgs(Consumer
© 2015 - 2025 Weber Informatics LLC | Privacy Policy