Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.anaptecs.jeaf.openapi.PrimitiveObject Maven / Gradle / Ivy
/*
* Product Base Definitions
* This component represents the Open API interface of the accounting service.
*
* OpenAPI spec version: 0.0.1
* Contact: [email protected]
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.anaptecs.jeaf.openapi;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* PrimitiveObject
*/
public class PrimitiveObject {
@JsonProperty("aBoolean")
private Boolean aBoolean = null;
@JsonProperty("bBoolean")
private Boolean bBoolean = null;
@JsonProperty("cBoolean")
private Boolean cBoolean = null;
@JsonProperty("aByte")
private Integer aByte = null;
@JsonProperty("bByte")
private Integer bByte = null;
@JsonProperty("aShort")
private Integer aShort = null;
@JsonProperty("bShort")
private Integer bShort = null;
@JsonProperty("aInteger")
private Integer aInteger = null;
@JsonProperty("bInteger")
private Integer bInteger = null;
@JsonProperty("cInteger")
private Integer cInteger = null;
@JsonProperty("aLong")
private Long aLong = null;
@JsonProperty("bLong")
private Long bLong = null;
@JsonProperty("aBigInteger")
private Long aBigInteger = null;
@JsonProperty("aCharacter")
private String aCharacter = null;
@JsonProperty("bCharacter")
private String bCharacter = null;
@JsonProperty("aFloat")
private Float aFloat = null;
@JsonProperty("bFloat")
private Float bFloat = null;
@JsonProperty("aDouble")
private Double aDouble = null;
@JsonProperty("bDouble")
private Double bDouble = null;
@JsonProperty("aBigDecimal")
private Double aBigDecimal = null;
@JsonProperty("aString")
private String aString = null;
@JsonProperty("bString")
private String bString = null;
public PrimitiveObject aBoolean(Boolean aBoolean) {
this.aBoolean = aBoolean;
return this;
}
/**
* Get aBoolean
* @return aBoolean
**/
@Schema(required = true, description = "")
public Boolean isABoolean() {
return aBoolean;
}
public void setABoolean(Boolean aBoolean) {
this.aBoolean = aBoolean;
}
public PrimitiveObject bBoolean(Boolean bBoolean) {
this.bBoolean = bBoolean;
return this;
}
/**
* Get bBoolean
* @return bBoolean
**/
@Schema(required = true, description = "")
public Boolean isBBoolean() {
return bBoolean;
}
public void setBBoolean(Boolean bBoolean) {
this.bBoolean = bBoolean;
}
public PrimitiveObject cBoolean(Boolean cBoolean) {
this.cBoolean = cBoolean;
return this;
}
/**
* Get cBoolean
* @return cBoolean
**/
@Schema(required = true, description = "")
public Boolean isCBoolean() {
return cBoolean;
}
public void setCBoolean(Boolean cBoolean) {
this.cBoolean = cBoolean;
}
public PrimitiveObject aByte(Integer aByte) {
this.aByte = aByte;
return this;
}
/**
* Get aByte
* @return aByte
**/
@Schema(required = true, description = "")
public Integer getAByte() {
return aByte;
}
public void setAByte(Integer aByte) {
this.aByte = aByte;
}
public PrimitiveObject bByte(Integer bByte) {
this.bByte = bByte;
return this;
}
/**
* Get bByte
* @return bByte
**/
@Schema(required = true, description = "")
public Integer getBByte() {
return bByte;
}
public void setBByte(Integer bByte) {
this.bByte = bByte;
}
public PrimitiveObject aShort(Integer aShort) {
this.aShort = aShort;
return this;
}
/**
* Get aShort
* @return aShort
**/
@Schema(required = true, description = "")
public Integer getAShort() {
return aShort;
}
public void setAShort(Integer aShort) {
this.aShort = aShort;
}
public PrimitiveObject bShort(Integer bShort) {
this.bShort = bShort;
return this;
}
/**
* Get bShort
* @return bShort
**/
@Schema(required = true, description = "")
public Integer getBShort() {
return bShort;
}
public void setBShort(Integer bShort) {
this.bShort = bShort;
}
public PrimitiveObject aInteger(Integer aInteger) {
this.aInteger = aInteger;
return this;
}
/**
* Get aInteger
* @return aInteger
**/
@Schema(required = true, description = "")
public Integer getAInteger() {
return aInteger;
}
public void setAInteger(Integer aInteger) {
this.aInteger = aInteger;
}
public PrimitiveObject bInteger(Integer bInteger) {
this.bInteger = bInteger;
return this;
}
/**
* Get bInteger
* @return bInteger
**/
@Schema(required = true, description = "")
public Integer getBInteger() {
return bInteger;
}
public void setBInteger(Integer bInteger) {
this.bInteger = bInteger;
}
public PrimitiveObject cInteger(Integer cInteger) {
this.cInteger = cInteger;
return this;
}
/**
* Get cInteger
* @return cInteger
**/
@Schema(required = true, description = "")
public Integer getCInteger() {
return cInteger;
}
public void setCInteger(Integer cInteger) {
this.cInteger = cInteger;
}
public PrimitiveObject aLong(Long aLong) {
this.aLong = aLong;
return this;
}
/**
* Get aLong
* @return aLong
**/
@Schema(required = true, description = "")
public Long getALong() {
return aLong;
}
public void setALong(Long aLong) {
this.aLong = aLong;
}
public PrimitiveObject bLong(Long bLong) {
this.bLong = bLong;
return this;
}
/**
* Get bLong
* @return bLong
**/
@Schema(required = true, description = "")
public Long getBLong() {
return bLong;
}
public void setBLong(Long bLong) {
this.bLong = bLong;
}
public PrimitiveObject aBigInteger(Long aBigInteger) {
this.aBigInteger = aBigInteger;
return this;
}
/**
* Get aBigInteger
* @return aBigInteger
**/
@Schema(required = true, description = "")
public Long getABigInteger() {
return aBigInteger;
}
public void setABigInteger(Long aBigInteger) {
this.aBigInteger = aBigInteger;
}
public PrimitiveObject aCharacter(String aCharacter) {
this.aCharacter = aCharacter;
return this;
}
/**
* Get aCharacter
* @return aCharacter
**/
@Schema(required = true, description = "")
public String getACharacter() {
return aCharacter;
}
public void setACharacter(String aCharacter) {
this.aCharacter = aCharacter;
}
public PrimitiveObject bCharacter(String bCharacter) {
this.bCharacter = bCharacter;
return this;
}
/**
* Get bCharacter
* @return bCharacter
**/
@Schema(required = true, description = "")
public String getBCharacter() {
return bCharacter;
}
public void setBCharacter(String bCharacter) {
this.bCharacter = bCharacter;
}
public PrimitiveObject aFloat(Float aFloat) {
this.aFloat = aFloat;
return this;
}
/**
* Get aFloat
* @return aFloat
**/
@Schema(required = true, description = "")
public Float getAFloat() {
return aFloat;
}
public void setAFloat(Float aFloat) {
this.aFloat = aFloat;
}
public PrimitiveObject bFloat(Float bFloat) {
this.bFloat = bFloat;
return this;
}
/**
* Get bFloat
* @return bFloat
**/
@Schema(required = true, description = "")
public Float getBFloat() {
return bFloat;
}
public void setBFloat(Float bFloat) {
this.bFloat = bFloat;
}
public PrimitiveObject aDouble(Double aDouble) {
this.aDouble = aDouble;
return this;
}
/**
* Get aDouble
* @return aDouble
**/
@Schema(required = true, description = "")
public Double getADouble() {
return aDouble;
}
public void setADouble(Double aDouble) {
this.aDouble = aDouble;
}
public PrimitiveObject bDouble(Double bDouble) {
this.bDouble = bDouble;
return this;
}
/**
* Get bDouble
* @return bDouble
**/
@Schema(required = true, description = "")
public Double getBDouble() {
return bDouble;
}
public void setBDouble(Double bDouble) {
this.bDouble = bDouble;
}
public PrimitiveObject aBigDecimal(Double aBigDecimal) {
this.aBigDecimal = aBigDecimal;
return this;
}
/**
* Get aBigDecimal
* @return aBigDecimal
**/
@Schema(required = true, description = "")
public Double getABigDecimal() {
return aBigDecimal;
}
public void setABigDecimal(Double aBigDecimal) {
this.aBigDecimal = aBigDecimal;
}
public PrimitiveObject aString(String aString) {
this.aString = aString;
return this;
}
/**
* Get aString
* @return aString
**/
@Schema(required = true, description = "")
public String getAString() {
return aString;
}
public void setAString(String aString) {
this.aString = aString;
}
public PrimitiveObject bString(String bString) {
this.bString = bString;
return this;
}
/**
* Get bString
* @return bString
**/
@Schema(required = true, description = "")
public String getBString() {
return bString;
}
public void setBString(String bString) {
this.bString = bString;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PrimitiveObject primitiveObject = (PrimitiveObject) o;
return Objects.equals(this.aBoolean, primitiveObject.aBoolean) &&
Objects.equals(this.bBoolean, primitiveObject.bBoolean) &&
Objects.equals(this.cBoolean, primitiveObject.cBoolean) &&
Objects.equals(this.aByte, primitiveObject.aByte) &&
Objects.equals(this.bByte, primitiveObject.bByte) &&
Objects.equals(this.aShort, primitiveObject.aShort) &&
Objects.equals(this.bShort, primitiveObject.bShort) &&
Objects.equals(this.aInteger, primitiveObject.aInteger) &&
Objects.equals(this.bInteger, primitiveObject.bInteger) &&
Objects.equals(this.cInteger, primitiveObject.cInteger) &&
Objects.equals(this.aLong, primitiveObject.aLong) &&
Objects.equals(this.bLong, primitiveObject.bLong) &&
Objects.equals(this.aBigInteger, primitiveObject.aBigInteger) &&
Objects.equals(this.aCharacter, primitiveObject.aCharacter) &&
Objects.equals(this.bCharacter, primitiveObject.bCharacter) &&
Objects.equals(this.aFloat, primitiveObject.aFloat) &&
Objects.equals(this.bFloat, primitiveObject.bFloat) &&
Objects.equals(this.aDouble, primitiveObject.aDouble) &&
Objects.equals(this.bDouble, primitiveObject.bDouble) &&
Objects.equals(this.aBigDecimal, primitiveObject.aBigDecimal) &&
Objects.equals(this.aString, primitiveObject.aString) &&
Objects.equals(this.bString, primitiveObject.bString);
}
@Override
public int hashCode() {
return Objects.hash(aBoolean, bBoolean, cBoolean, aByte, bByte, aShort, bShort, aInteger, bInteger, cInteger, aLong, bLong, aBigInteger, aCharacter, bCharacter, aFloat, bFloat, aDouble, bDouble, aBigDecimal, aString, bString);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PrimitiveObject {\n");
sb.append(" aBoolean: ").append(toIndentedString(aBoolean)).append("\n");
sb.append(" bBoolean: ").append(toIndentedString(bBoolean)).append("\n");
sb.append(" cBoolean: ").append(toIndentedString(cBoolean)).append("\n");
sb.append(" aByte: ").append(toIndentedString(aByte)).append("\n");
sb.append(" bByte: ").append(toIndentedString(bByte)).append("\n");
sb.append(" aShort: ").append(toIndentedString(aShort)).append("\n");
sb.append(" bShort: ").append(toIndentedString(bShort)).append("\n");
sb.append(" aInteger: ").append(toIndentedString(aInteger)).append("\n");
sb.append(" bInteger: ").append(toIndentedString(bInteger)).append("\n");
sb.append(" cInteger: ").append(toIndentedString(cInteger)).append("\n");
sb.append(" aLong: ").append(toIndentedString(aLong)).append("\n");
sb.append(" bLong: ").append(toIndentedString(bLong)).append("\n");
sb.append(" aBigInteger: ").append(toIndentedString(aBigInteger)).append("\n");
sb.append(" aCharacter: ").append(toIndentedString(aCharacter)).append("\n");
sb.append(" bCharacter: ").append(toIndentedString(bCharacter)).append("\n");
sb.append(" aFloat: ").append(toIndentedString(aFloat)).append("\n");
sb.append(" bFloat: ").append(toIndentedString(bFloat)).append("\n");
sb.append(" aDouble: ").append(toIndentedString(aDouble)).append("\n");
sb.append(" bDouble: ").append(toIndentedString(bDouble)).append("\n");
sb.append(" aBigDecimal: ").append(toIndentedString(aBigDecimal)).append("\n");
sb.append(" aString: ").append(toIndentedString(aString)).append("\n");
sb.append(" bString: ").append(toIndentedString(bString)).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 ");
}
}