dev.bf2.ffm.ams.client.models.LandingPageEstateItem 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 dev.bf2.ffm.ams.client.models.LandingPageLinkShape;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
/**
* LandingPageEstateItem
*/
@JsonPropertyOrder({
LandingPageEstateItem.JSON_PROPERTY_COUNT,
LandingPageEstateItem.JSON_PROPERTY_ID,
LandingPageEstateItem.JSON_PROPERTY_SHAPE
})
@javax.annotation.processing.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class LandingPageEstateItem {
public static final String JSON_PROPERTY_COUNT = "count";
private Long count;
public static final String JSON_PROPERTY_ID = "id";
private String id;
public static final String JSON_PROPERTY_SHAPE = "shape";
private LandingPageLinkShape shape;
public LandingPageEstateItem() {
}
public LandingPageEstateItem count(Long count) {
this.count = count;
return this;
}
/**
* Get count
* @return count
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getCount() {
return count;
}
@JsonProperty(JSON_PROPERTY_COUNT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCount(Long count) {
this.count = count;
}
public LandingPageEstateItem id(String id) {
this.id = id;
return this;
}
/**
* Get id
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(String id) {
this.id = id;
}
public LandingPageEstateItem shape(LandingPageLinkShape shape) {
this.shape = shape;
return this;
}
/**
* Get shape
* @return shape
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SHAPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public LandingPageLinkShape getShape() {
return shape;
}
@JsonProperty(JSON_PROPERTY_SHAPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setShape(LandingPageLinkShape shape) {
this.shape = shape;
}
/**
* Return true if this LandingPageEstateItem object is equal to o.
*/
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
LandingPageEstateItem landingPageEstateItem = (LandingPageEstateItem) o;
return Objects.equals(this.count, landingPageEstateItem.count) &&
Objects.equals(this.id, landingPageEstateItem.id) &&
Objects.equals(this.shape, landingPageEstateItem.shape);
}
@Override
public int hashCode() {
return Objects.hash(count, id, shape);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class LandingPageEstateItem {\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" shape: ").append(toIndentedString(shape)).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 ");
}
}