com.ziqni.admin.sdk.model.SpaceAllOf Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ziqni-admin-sdk Show documentation
Show all versions of ziqni-admin-sdk Show documentation
ZIQNI Admin SDK Java Client
/*
* ZIQNI Admin API
* Ziqni Application Services are used to manage and configure spaces. Change log: 2024-02-27 Added rewards reduced to the LeaderboardEntry response
*
* The version of the OpenAPI document: 3.0.17
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.ziqni.admin.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* SpaceAllOf
*/
@JsonPropertyOrder({
SpaceAllOf.JSON_PROPERTY_ACCOUNT_TYPE,
SpaceAllOf.JSON_PROPERTY_MASTER_SPACE,
SpaceAllOf.JSON_PROPERTY_BASE_CURRENCY_U_O_M
})
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class SpaceAllOf {
public static final String JSON_PROPERTY_ACCOUNT_TYPE = "accountType";
private String accountType;
public static final String JSON_PROPERTY_MASTER_SPACE = "masterSpace";
private String masterSpace;
public static final String JSON_PROPERTY_BASE_CURRENCY_U_O_M = "baseCurrencyUOM";
private String baseCurrencyUOM;
public SpaceAllOf accountType(String accountType) {
this.accountType = accountType;
return this;
}
/**
* Type of account; personal or company or vendor
* @return accountType
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "company", required = true, value = "Type of account; personal or company or vendor")
@JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getAccountType() {
return accountType;
}
@JsonProperty(JSON_PROPERTY_ACCOUNT_TYPE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setAccountType(String accountType) {
this.accountType = accountType;
}
public SpaceAllOf masterSpace(String masterSpace) {
this.masterSpace = masterSpace;
return this;
}
/**
* The master account for this account
* @return masterSpace
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "sc1samQmVr61KgaPQq7x", value = "The master account for this account")
@JsonProperty(JSON_PROPERTY_MASTER_SPACE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMasterSpace() {
return masterSpace;
}
@JsonProperty(JSON_PROPERTY_MASTER_SPACE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMasterSpace(String masterSpace) {
this.masterSpace = masterSpace;
}
public SpaceAllOf baseCurrencyUOM(String baseCurrencyUOM) {
this.baseCurrencyUOM = baseCurrencyUOM;
return this;
}
/**
* The base currency used by this accounts
* @return baseCurrencyUOM
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "The base currency used by this accounts")
@JsonProperty(JSON_PROPERTY_BASE_CURRENCY_U_O_M)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBaseCurrencyUOM() {
return baseCurrencyUOM;
}
@JsonProperty(JSON_PROPERTY_BASE_CURRENCY_U_O_M)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBaseCurrencyUOM(String baseCurrencyUOM) {
this.baseCurrencyUOM = baseCurrencyUOM;
}
/**
* Return true if this Space_allOf object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SpaceAllOf spaceAllOf = (SpaceAllOf) o;
return Objects.equals(this.accountType, spaceAllOf.accountType) &&
Objects.equals(this.masterSpace, spaceAllOf.masterSpace) &&
Objects.equals(this.baseCurrencyUOM, spaceAllOf.baseCurrencyUOM);
}
@Override
public int hashCode() {
return Objects.hash(accountType, masterSpace, baseCurrencyUOM);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SpaceAllOf {\n");
sb.append(" accountType: ").append(toIndentedString(accountType)).append("\n");
sb.append(" masterSpace: ").append(toIndentedString(masterSpace)).append("\n");
sb.append(" baseCurrencyUOM: ").append(toIndentedString(baseCurrencyUOM)).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(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy