dev.bf2.ffm.ams.client.models.SelfEntitlementStatus Maven / Gradle / Ivy
/*
* Account Management Service API
* Manage user subscriptions and clusters
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package dev.bf2.ffm.ams.client.models;
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;
/**
* SelfEntitlementStatus
*/
@JsonPropertyOrder({
SelfEntitlementStatus.JSON_PROPERTY_PRODUCT,
SelfEntitlementStatus.JSON_PROPERTY_STATUS
})
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class SelfEntitlementStatus {
public static final String JSON_PROPERTY_PRODUCT = "product";
private String product;
public static final String JSON_PROPERTY_STATUS = "status";
private String status;
public SelfEntitlementStatus() {
}
public SelfEntitlementStatus product(String product) {
this.product = product;
return this;
}
/**
* Get product
* @return product
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PRODUCT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProduct() {
return product;
}
@JsonProperty(JSON_PROPERTY_PRODUCT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProduct(String product) {
this.product = product;
}
public SelfEntitlementStatus status(String status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getStatus() {
return status;
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStatus(String status) {
this.status = status;
}
/**
* Return true if this SelfEntitlementStatus object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SelfEntitlementStatus selfEntitlementStatus = (SelfEntitlementStatus) o;
return Objects.equals(this.product, selfEntitlementStatus.product) &&
Objects.equals(this.status, selfEntitlementStatus.status);
}
@Override
public int hashCode() {
return Objects.hash(product, status);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SelfEntitlementStatus {\n");
sb.append(" product: ").append(toIndentedString(product)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).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 ");
}
}