forked from loafle/openapi-generator-original
Fix missing import in jaxrs pojo (#12766)
* fix missing import in jaxrs pojo * trigger build failure * Revert "trigger build failure" This reverts commit 4eed12f850cbc008404b0dc2284245f3d3ce4a15.
This commit is contained in:
parent
97daba5c58
commit
1383be4a2e
@ -1,4 +1,5 @@
|
|||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
{{#withXml}}
|
{{#withXml}}
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
import javax.xml.bind.annotation.XmlRootElement;
|
import javax.xml.bind.annotation.XmlRootElement;
|
||||||
@ -185,26 +186,25 @@ public class {{classname}} {{#parent}}extends {{{.}}}{{/parent}}{{#vendorExtensi
|
|||||||
{{/isReadOnly}}
|
{{/isReadOnly}}
|
||||||
|
|
||||||
{{/vars}}
|
{{/vars}}
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
{{classname}} {{classVarName}} = ({{classname}}) o;{{#hasVars}}
|
|
||||||
return {{#vars}}Objects.equals({{name}}, {{classVarName}}.{{name}}){{^-last}} &&
|
|
||||||
{{/-last}}{{/vars}}{{#parent}} &&
|
|
||||||
super.equals(o){{/parent}};{{/hasVars}}{{^hasVars}}
|
|
||||||
return true;{{/hasVars}}
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash({{#vars}}{{name}}{{^-last}}, {{/-last}}{{/vars}}{{#parent}}{{#hasVars}}, {{/hasVars}}super.hashCode(){{/parent}});
|
|
||||||
}
|
}
|
||||||
|
{{classname}} {{classVarName}} = ({{classname}}) o;{{#hasVars}}
|
||||||
|
return {{#vars}}Objects.equals({{name}}, {{classVarName}}.{{name}}){{^-last}} &&
|
||||||
|
{{/-last}}{{/vars}}{{#parent}} &&
|
||||||
|
super.equals(o){{/parent}};{{/hasVars}}{{^hasVars}}
|
||||||
|
return true;{{/hasVars}}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash({{#vars}}{{name}}{{^-last}}, {{/-last}}{{/vars}}{{#parent}}{{#hasVars}}, {{/hasVars}}super.hashCode(){{/parent}});
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -55,24 +56,23 @@ public class Category {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Category category = (Category) o;
|
|
||||||
return Objects.equals(id, category.id) &&
|
|
||||||
Objects.equals(name, category.name);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, name);
|
|
||||||
}
|
}
|
||||||
|
Category category = (Category) o;
|
||||||
|
return Objects.equals(id, category.id) &&
|
||||||
|
Objects.equals(name, category.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, name);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -77,25 +78,24 @@ public class ModelApiResponse {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ModelApiResponse _apiResponse = (ModelApiResponse) o;
|
|
||||||
return Objects.equals(code, _apiResponse.code) &&
|
|
||||||
Objects.equals(type, _apiResponse.type) &&
|
|
||||||
Objects.equals(message, _apiResponse.message);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(code, type, message);
|
|
||||||
}
|
}
|
||||||
|
ModelApiResponse _apiResponse = (ModelApiResponse) o;
|
||||||
|
return Objects.equals(code, _apiResponse.code) &&
|
||||||
|
Objects.equals(type, _apiResponse.type) &&
|
||||||
|
Objects.equals(message, _apiResponse.message);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(code, type, message);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -8,6 +8,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -180,28 +181,27 @@ PLACED(String.valueOf("placed")), APPROVED(String.valueOf("approved")), DELIVERE
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Order order = (Order) o;
|
|
||||||
return Objects.equals(id, order.id) &&
|
|
||||||
Objects.equals(petId, order.petId) &&
|
|
||||||
Objects.equals(quantity, order.quantity) &&
|
|
||||||
Objects.equals(shipDate, order.shipDate) &&
|
|
||||||
Objects.equals(status, order.status) &&
|
|
||||||
Objects.equals(complete, order.complete);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, petId, quantity, shipDate, status, complete);
|
|
||||||
}
|
}
|
||||||
|
Order order = (Order) o;
|
||||||
|
return Objects.equals(id, order.id) &&
|
||||||
|
Objects.equals(petId, order.petId) &&
|
||||||
|
Objects.equals(quantity, order.quantity) &&
|
||||||
|
Objects.equals(shipDate, order.shipDate) &&
|
||||||
|
Objects.equals(status, order.status) &&
|
||||||
|
Objects.equals(complete, order.complete);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, petId, quantity, shipDate, status, complete);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -11,6 +11,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -197,28 +198,27 @@ AVAILABLE(String.valueOf("available")), PENDING(String.valueOf("pending")), SOLD
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Pet pet = (Pet) o;
|
|
||||||
return Objects.equals(id, pet.id) &&
|
|
||||||
Objects.equals(category, pet.category) &&
|
|
||||||
Objects.equals(name, pet.name) &&
|
|
||||||
Objects.equals(photoUrls, pet.photoUrls) &&
|
|
||||||
Objects.equals(tags, pet.tags) &&
|
|
||||||
Objects.equals(status, pet.status);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, category, name, photoUrls, tags, status);
|
|
||||||
}
|
}
|
||||||
|
Pet pet = (Pet) o;
|
||||||
|
return Objects.equals(id, pet.id) &&
|
||||||
|
Objects.equals(category, pet.category) &&
|
||||||
|
Objects.equals(name, pet.name) &&
|
||||||
|
Objects.equals(photoUrls, pet.photoUrls) &&
|
||||||
|
Objects.equals(tags, pet.tags) &&
|
||||||
|
Objects.equals(status, pet.status);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, category, name, photoUrls, tags, status);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -55,24 +56,23 @@ public class Tag {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Tag tag = (Tag) o;
|
|
||||||
return Objects.equals(id, tag.id) &&
|
|
||||||
Objects.equals(name, tag.name);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, name);
|
|
||||||
}
|
}
|
||||||
|
Tag tag = (Tag) o;
|
||||||
|
return Objects.equals(id, tag.id) &&
|
||||||
|
Objects.equals(name, tag.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, name);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -184,30 +185,29 @@ public class User {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
User user = (User) o;
|
|
||||||
return Objects.equals(id, user.id) &&
|
|
||||||
Objects.equals(username, user.username) &&
|
|
||||||
Objects.equals(firstName, user.firstName) &&
|
|
||||||
Objects.equals(lastName, user.lastName) &&
|
|
||||||
Objects.equals(email, user.email) &&
|
|
||||||
Objects.equals(password, user.password) &&
|
|
||||||
Objects.equals(phone, user.phone) &&
|
|
||||||
Objects.equals(userStatus, user.userStatus);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, username, firstName, lastName, email, password, phone, userStatus);
|
|
||||||
}
|
}
|
||||||
|
User user = (User) o;
|
||||||
|
return Objects.equals(id, user.id) &&
|
||||||
|
Objects.equals(username, user.username) &&
|
||||||
|
Objects.equals(firstName, user.firstName) &&
|
||||||
|
Objects.equals(lastName, user.lastName) &&
|
||||||
|
Objects.equals(email, user.email) &&
|
||||||
|
Objects.equals(password, user.password) &&
|
||||||
|
Objects.equals(phone, user.phone) &&
|
||||||
|
Objects.equals(userStatus, user.userStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, username, firstName, lastName, email, password, phone, userStatus);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -55,24 +56,23 @@ public class Category {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Category category = (Category) o;
|
|
||||||
return Objects.equals(id, category.id) &&
|
|
||||||
Objects.equals(name, category.name);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, name);
|
|
||||||
}
|
}
|
||||||
|
Category category = (Category) o;
|
||||||
|
return Objects.equals(id, category.id) &&
|
||||||
|
Objects.equals(name, category.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, name);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -77,25 +78,24 @@ public class ModelApiResponse {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ModelApiResponse _apiResponse = (ModelApiResponse) o;
|
|
||||||
return Objects.equals(code, _apiResponse.code) &&
|
|
||||||
Objects.equals(type, _apiResponse.type) &&
|
|
||||||
Objects.equals(message, _apiResponse.message);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(code, type, message);
|
|
||||||
}
|
}
|
||||||
|
ModelApiResponse _apiResponse = (ModelApiResponse) o;
|
||||||
|
return Objects.equals(code, _apiResponse.code) &&
|
||||||
|
Objects.equals(type, _apiResponse.type) &&
|
||||||
|
Objects.equals(message, _apiResponse.message);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(code, type, message);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -8,6 +8,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -180,28 +181,27 @@ PLACED(String.valueOf("placed")), APPROVED(String.valueOf("approved")), DELIVERE
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Order order = (Order) o;
|
|
||||||
return Objects.equals(id, order.id) &&
|
|
||||||
Objects.equals(petId, order.petId) &&
|
|
||||||
Objects.equals(quantity, order.quantity) &&
|
|
||||||
Objects.equals(shipDate, order.shipDate) &&
|
|
||||||
Objects.equals(status, order.status) &&
|
|
||||||
Objects.equals(complete, order.complete);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, petId, quantity, shipDate, status, complete);
|
|
||||||
}
|
}
|
||||||
|
Order order = (Order) o;
|
||||||
|
return Objects.equals(id, order.id) &&
|
||||||
|
Objects.equals(petId, order.petId) &&
|
||||||
|
Objects.equals(quantity, order.quantity) &&
|
||||||
|
Objects.equals(shipDate, order.shipDate) &&
|
||||||
|
Objects.equals(status, order.status) &&
|
||||||
|
Objects.equals(complete, order.complete);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, petId, quantity, shipDate, status, complete);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -11,6 +11,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -197,28 +198,27 @@ AVAILABLE(String.valueOf("available")), PENDING(String.valueOf("pending")), SOLD
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Pet pet = (Pet) o;
|
|
||||||
return Objects.equals(id, pet.id) &&
|
|
||||||
Objects.equals(category, pet.category) &&
|
|
||||||
Objects.equals(name, pet.name) &&
|
|
||||||
Objects.equals(photoUrls, pet.photoUrls) &&
|
|
||||||
Objects.equals(tags, pet.tags) &&
|
|
||||||
Objects.equals(status, pet.status);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, category, name, photoUrls, tags, status);
|
|
||||||
}
|
}
|
||||||
|
Pet pet = (Pet) o;
|
||||||
|
return Objects.equals(id, pet.id) &&
|
||||||
|
Objects.equals(category, pet.category) &&
|
||||||
|
Objects.equals(name, pet.name) &&
|
||||||
|
Objects.equals(photoUrls, pet.photoUrls) &&
|
||||||
|
Objects.equals(tags, pet.tags) &&
|
||||||
|
Objects.equals(status, pet.status);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, category, name, photoUrls, tags, status);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -55,24 +56,23 @@ public class Tag {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Tag tag = (Tag) o;
|
|
||||||
return Objects.equals(id, tag.id) &&
|
|
||||||
Objects.equals(name, tag.name);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, name);
|
|
||||||
}
|
}
|
||||||
|
Tag tag = (Tag) o;
|
||||||
|
return Objects.equals(id, tag.id) &&
|
||||||
|
Objects.equals(name, tag.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, name);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -184,30 +185,29 @@ public class User {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
User user = (User) o;
|
|
||||||
return Objects.equals(id, user.id) &&
|
|
||||||
Objects.equals(username, user.username) &&
|
|
||||||
Objects.equals(firstName, user.firstName) &&
|
|
||||||
Objects.equals(lastName, user.lastName) &&
|
|
||||||
Objects.equals(email, user.email) &&
|
|
||||||
Objects.equals(password, user.password) &&
|
|
||||||
Objects.equals(phone, user.phone) &&
|
|
||||||
Objects.equals(userStatus, user.userStatus);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, username, firstName, lastName, email, password, phone, userStatus);
|
|
||||||
}
|
}
|
||||||
|
User user = (User) o;
|
||||||
|
return Objects.equals(id, user.id) &&
|
||||||
|
Objects.equals(username, user.username) &&
|
||||||
|
Objects.equals(firstName, user.firstName) &&
|
||||||
|
Objects.equals(lastName, user.lastName) &&
|
||||||
|
Objects.equals(email, user.email) &&
|
||||||
|
Objects.equals(password, user.password) &&
|
||||||
|
Objects.equals(phone, user.phone) &&
|
||||||
|
Objects.equals(userStatus, user.userStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, username, firstName, lastName, email, password, phone, userStatus);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -31,24 +32,23 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
AdditionalPropertiesAnyType additionalPropertiesAnyType = (AdditionalPropertiesAnyType) o;
|
|
||||||
return Objects.equals(name, additionalPropertiesAnyType.name) &&
|
|
||||||
super.equals(o);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(name, super.hashCode());
|
|
||||||
}
|
}
|
||||||
|
AdditionalPropertiesAnyType additionalPropertiesAnyType = (AdditionalPropertiesAnyType) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesAnyType.name) &&
|
||||||
|
super.equals(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name, super.hashCode());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -32,24 +33,23 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
AdditionalPropertiesArray additionalPropertiesArray = (AdditionalPropertiesArray) o;
|
|
||||||
return Objects.equals(name, additionalPropertiesArray.name) &&
|
|
||||||
super.equals(o);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(name, super.hashCode());
|
|
||||||
}
|
}
|
||||||
|
AdditionalPropertiesArray additionalPropertiesArray = (AdditionalPropertiesArray) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesArray.name) &&
|
||||||
|
super.equals(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name, super.hashCode());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -31,24 +32,23 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
AdditionalPropertiesBoolean additionalPropertiesBoolean = (AdditionalPropertiesBoolean) o;
|
|
||||||
return Objects.equals(name, additionalPropertiesBoolean.name) &&
|
|
||||||
super.equals(o);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(name, super.hashCode());
|
|
||||||
}
|
}
|
||||||
|
AdditionalPropertiesBoolean additionalPropertiesBoolean = (AdditionalPropertiesBoolean) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesBoolean.name) &&
|
||||||
|
super.equals(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name, super.hashCode());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -8,6 +8,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -288,33 +289,32 @@ public class AdditionalPropertiesClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
AdditionalPropertiesClass additionalPropertiesClass = (AdditionalPropertiesClass) o;
|
|
||||||
return Objects.equals(mapString, additionalPropertiesClass.mapString) &&
|
|
||||||
Objects.equals(mapNumber, additionalPropertiesClass.mapNumber) &&
|
|
||||||
Objects.equals(mapInteger, additionalPropertiesClass.mapInteger) &&
|
|
||||||
Objects.equals(mapBoolean, additionalPropertiesClass.mapBoolean) &&
|
|
||||||
Objects.equals(mapArrayInteger, additionalPropertiesClass.mapArrayInteger) &&
|
|
||||||
Objects.equals(mapArrayAnytype, additionalPropertiesClass.mapArrayAnytype) &&
|
|
||||||
Objects.equals(mapMapString, additionalPropertiesClass.mapMapString) &&
|
|
||||||
Objects.equals(mapMapAnytype, additionalPropertiesClass.mapMapAnytype) &&
|
|
||||||
Objects.equals(anytype1, additionalPropertiesClass.anytype1) &&
|
|
||||||
Objects.equals(anytype2, additionalPropertiesClass.anytype2) &&
|
|
||||||
Objects.equals(anytype3, additionalPropertiesClass.anytype3);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(mapString, mapNumber, mapInteger, mapBoolean, mapArrayInteger, mapArrayAnytype, mapMapString, mapMapAnytype, anytype1, anytype2, anytype3);
|
|
||||||
}
|
}
|
||||||
|
AdditionalPropertiesClass additionalPropertiesClass = (AdditionalPropertiesClass) o;
|
||||||
|
return Objects.equals(mapString, additionalPropertiesClass.mapString) &&
|
||||||
|
Objects.equals(mapNumber, additionalPropertiesClass.mapNumber) &&
|
||||||
|
Objects.equals(mapInteger, additionalPropertiesClass.mapInteger) &&
|
||||||
|
Objects.equals(mapBoolean, additionalPropertiesClass.mapBoolean) &&
|
||||||
|
Objects.equals(mapArrayInteger, additionalPropertiesClass.mapArrayInteger) &&
|
||||||
|
Objects.equals(mapArrayAnytype, additionalPropertiesClass.mapArrayAnytype) &&
|
||||||
|
Objects.equals(mapMapString, additionalPropertiesClass.mapMapString) &&
|
||||||
|
Objects.equals(mapMapAnytype, additionalPropertiesClass.mapMapAnytype) &&
|
||||||
|
Objects.equals(anytype1, additionalPropertiesClass.anytype1) &&
|
||||||
|
Objects.equals(anytype2, additionalPropertiesClass.anytype2) &&
|
||||||
|
Objects.equals(anytype3, additionalPropertiesClass.anytype3);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(mapString, mapNumber, mapInteger, mapBoolean, mapArrayInteger, mapArrayAnytype, mapMapString, mapMapAnytype, anytype1, anytype2, anytype3);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -31,24 +32,23 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
AdditionalPropertiesInteger additionalPropertiesInteger = (AdditionalPropertiesInteger) o;
|
|
||||||
return Objects.equals(name, additionalPropertiesInteger.name) &&
|
|
||||||
super.equals(o);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(name, super.hashCode());
|
|
||||||
}
|
}
|
||||||
|
AdditionalPropertiesInteger additionalPropertiesInteger = (AdditionalPropertiesInteger) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesInteger.name) &&
|
||||||
|
super.equals(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name, super.hashCode());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -32,24 +33,23 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
AdditionalPropertiesNumber additionalPropertiesNumber = (AdditionalPropertiesNumber) o;
|
|
||||||
return Objects.equals(name, additionalPropertiesNumber.name) &&
|
|
||||||
super.equals(o);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(name, super.hashCode());
|
|
||||||
}
|
}
|
||||||
|
AdditionalPropertiesNumber additionalPropertiesNumber = (AdditionalPropertiesNumber) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesNumber.name) &&
|
||||||
|
super.equals(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name, super.hashCode());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -31,24 +32,23 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
AdditionalPropertiesObject additionalPropertiesObject = (AdditionalPropertiesObject) o;
|
|
||||||
return Objects.equals(name, additionalPropertiesObject.name) &&
|
|
||||||
super.equals(o);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(name, super.hashCode());
|
|
||||||
}
|
}
|
||||||
|
AdditionalPropertiesObject additionalPropertiesObject = (AdditionalPropertiesObject) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesObject.name) &&
|
||||||
|
super.equals(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name, super.hashCode());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -31,24 +32,23 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
AdditionalPropertiesString additionalPropertiesString = (AdditionalPropertiesString) o;
|
|
||||||
return Objects.equals(name, additionalPropertiesString.name) &&
|
|
||||||
super.equals(o);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(name, super.hashCode());
|
|
||||||
}
|
}
|
||||||
|
AdditionalPropertiesString additionalPropertiesString = (AdditionalPropertiesString) o;
|
||||||
|
return Objects.equals(name, additionalPropertiesString.name) &&
|
||||||
|
super.equals(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name, super.hashCode());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true)
|
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = "className", visible = true)
|
||||||
@ -60,24 +61,23 @@ public class Animal {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Animal animal = (Animal) o;
|
|
||||||
return Objects.equals(className, animal.className) &&
|
|
||||||
Objects.equals(color, animal.color);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(className, color);
|
|
||||||
}
|
}
|
||||||
|
Animal animal = (Animal) o;
|
||||||
|
return Objects.equals(className, animal.className) &&
|
||||||
|
Objects.equals(color, animal.color);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(className, color);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -38,23 +39,22 @@ public class ArrayOfArrayOfNumberOnly {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ArrayOfArrayOfNumberOnly arrayOfArrayOfNumberOnly = (ArrayOfArrayOfNumberOnly) o;
|
|
||||||
return Objects.equals(arrayArrayNumber, arrayOfArrayOfNumberOnly.arrayArrayNumber);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(arrayArrayNumber);
|
|
||||||
}
|
}
|
||||||
|
ArrayOfArrayOfNumberOnly arrayOfArrayOfNumberOnly = (ArrayOfArrayOfNumberOnly) o;
|
||||||
|
return Objects.equals(arrayArrayNumber, arrayOfArrayOfNumberOnly.arrayArrayNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(arrayArrayNumber);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -38,23 +39,22 @@ public class ArrayOfNumberOnly {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ArrayOfNumberOnly arrayOfNumberOnly = (ArrayOfNumberOnly) o;
|
|
||||||
return Objects.equals(arrayNumber, arrayOfNumberOnly.arrayNumber);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(arrayNumber);
|
|
||||||
}
|
}
|
||||||
|
ArrayOfNumberOnly arrayOfNumberOnly = (ArrayOfNumberOnly) o;
|
||||||
|
return Objects.equals(arrayNumber, arrayOfNumberOnly.arrayNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(arrayNumber);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -91,25 +92,24 @@ public class ArrayTest {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ArrayTest arrayTest = (ArrayTest) o;
|
|
||||||
return Objects.equals(arrayOfString, arrayTest.arrayOfString) &&
|
|
||||||
Objects.equals(arrayArrayOfInteger, arrayTest.arrayArrayOfInteger) &&
|
|
||||||
Objects.equals(arrayArrayOfModel, arrayTest.arrayArrayOfModel);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(arrayOfString, arrayArrayOfInteger, arrayArrayOfModel);
|
|
||||||
}
|
}
|
||||||
|
ArrayTest arrayTest = (ArrayTest) o;
|
||||||
|
return Objects.equals(arrayOfString, arrayTest.arrayOfString) &&
|
||||||
|
Objects.equals(arrayArrayOfInteger, arrayTest.arrayArrayOfInteger) &&
|
||||||
|
Objects.equals(arrayArrayOfModel, arrayTest.arrayArrayOfModel);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(arrayOfString, arrayArrayOfInteger, arrayArrayOfModel);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -8,6 +8,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -68,24 +69,23 @@ LIONS(String.valueOf("lions")), TIGERS(String.valueOf("tigers")), LEOPARDS(Strin
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
BigCat bigCat = (BigCat) o;
|
|
||||||
return Objects.equals(kind, bigCat.kind) &&
|
|
||||||
super.equals(o);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(kind, super.hashCode());
|
|
||||||
}
|
}
|
||||||
|
BigCat bigCat = (BigCat) o;
|
||||||
|
return Objects.equals(kind, bigCat.kind) &&
|
||||||
|
super.equals(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(kind, super.hashCode());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -67,23 +68,22 @@ LIONS(String.valueOf("lions")), TIGERS(String.valueOf("tigers")), LEOPARDS(Strin
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
BigCatAllOf bigCatAllOf = (BigCatAllOf) o;
|
|
||||||
return Objects.equals(kind, bigCatAllOf.kind);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(kind);
|
|
||||||
}
|
}
|
||||||
|
BigCatAllOf bigCatAllOf = (BigCatAllOf) o;
|
||||||
|
return Objects.equals(kind, bigCatAllOf.kind);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(kind);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -4,6 +4,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -137,28 +138,27 @@ public class Capitalization {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Capitalization capitalization = (Capitalization) o;
|
|
||||||
return Objects.equals(smallCamel, capitalization.smallCamel) &&
|
|
||||||
Objects.equals(capitalCamel, capitalization.capitalCamel) &&
|
|
||||||
Objects.equals(smallSnake, capitalization.smallSnake) &&
|
|
||||||
Objects.equals(capitalSnake, capitalization.capitalSnake) &&
|
|
||||||
Objects.equals(scAETHFlowPoints, capitalization.scAETHFlowPoints) &&
|
|
||||||
Objects.equals(ATT_NAME, capitalization.ATT_NAME);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(smallCamel, capitalCamel, smallSnake, capitalSnake, scAETHFlowPoints, ATT_NAME);
|
|
||||||
}
|
}
|
||||||
|
Capitalization capitalization = (Capitalization) o;
|
||||||
|
return Objects.equals(smallCamel, capitalization.smallCamel) &&
|
||||||
|
Objects.equals(capitalCamel, capitalization.capitalCamel) &&
|
||||||
|
Objects.equals(smallSnake, capitalization.smallSnake) &&
|
||||||
|
Objects.equals(capitalSnake, capitalization.capitalSnake) &&
|
||||||
|
Objects.equals(scAETHFlowPoints, capitalization.scAETHFlowPoints) &&
|
||||||
|
Objects.equals(ATT_NAME, capitalization.ATT_NAME);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(smallCamel, capitalCamel, smallSnake, capitalSnake, scAETHFlowPoints, ATT_NAME);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -31,24 +32,23 @@ public class Cat extends Animal {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Cat cat = (Cat) o;
|
|
||||||
return Objects.equals(declawed, cat.declawed) &&
|
|
||||||
super.equals(o);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(declawed, super.hashCode());
|
|
||||||
}
|
}
|
||||||
|
Cat cat = (Cat) o;
|
||||||
|
return Objects.equals(declawed, cat.declawed) &&
|
||||||
|
super.equals(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(declawed, super.hashCode());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -30,23 +31,22 @@ public class CatAllOf {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
CatAllOf catAllOf = (CatAllOf) o;
|
|
||||||
return Objects.equals(declawed, catAllOf.declawed);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(declawed);
|
|
||||||
}
|
}
|
||||||
|
CatAllOf catAllOf = (CatAllOf) o;
|
||||||
|
return Objects.equals(declawed, catAllOf.declawed);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(declawed);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -4,6 +4,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -51,24 +52,23 @@ public class Category {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Category category = (Category) o;
|
|
||||||
return Objects.equals(id, category.id) &&
|
|
||||||
Objects.equals(name, category.name);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, name);
|
|
||||||
}
|
}
|
||||||
|
Category category = (Category) o;
|
||||||
|
return Objects.equals(id, category.id) &&
|
||||||
|
Objects.equals(name, category.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, name);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -34,23 +35,22 @@ public class ClassModel {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ClassModel classModel = (ClassModel) o;
|
|
||||||
return Objects.equals(propertyClass, classModel.propertyClass);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(propertyClass);
|
|
||||||
}
|
}
|
||||||
|
ClassModel classModel = (ClassModel) o;
|
||||||
|
return Objects.equals(propertyClass, classModel.propertyClass);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(propertyClass);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -4,6 +4,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -29,23 +30,22 @@ public class Client {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Client client = (Client) o;
|
|
||||||
return Objects.equals(client, client.client);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(client);
|
|
||||||
}
|
}
|
||||||
|
Client client = (Client) o;
|
||||||
|
return Objects.equals(client, client.client);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(client);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -31,24 +32,23 @@ public class Dog extends Animal {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Dog dog = (Dog) o;
|
|
||||||
return Objects.equals(breed, dog.breed) &&
|
|
||||||
super.equals(o);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(breed, super.hashCode());
|
|
||||||
}
|
}
|
||||||
|
Dog dog = (Dog) o;
|
||||||
|
return Objects.equals(breed, dog.breed) &&
|
||||||
|
super.equals(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(breed, super.hashCode());
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -30,23 +31,22 @@ public class DogAllOf {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
DogAllOf dogAllOf = (DogAllOf) o;
|
|
||||||
return Objects.equals(breed, dogAllOf.breed);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(breed);
|
|
||||||
}
|
}
|
||||||
|
DogAllOf dogAllOf = (DogAllOf) o;
|
||||||
|
return Objects.equals(breed, dogAllOf.breed);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(breed);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -8,6 +8,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -126,24 +127,23 @@ FISH(String.valueOf("fish")), CRAB(String.valueOf("crab"));
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
EnumArrays enumArrays = (EnumArrays) o;
|
|
||||||
return Objects.equals(justSymbol, enumArrays.justSymbol) &&
|
|
||||||
Objects.equals(arrayEnum, enumArrays.arrayEnum);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(justSymbol, arrayEnum);
|
|
||||||
}
|
}
|
||||||
|
EnumArrays enumArrays = (EnumArrays) o;
|
||||||
|
return Objects.equals(justSymbol, enumArrays.justSymbol) &&
|
||||||
|
Objects.equals(arrayEnum, enumArrays.arrayEnum);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(justSymbol, arrayEnum);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -8,6 +8,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -259,27 +260,26 @@ NUMBER_1_DOT_1(Double.valueOf(1.1)), NUMBER_MINUS_1_DOT_2(Double.valueOf(-1.2));
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
EnumTest enumTest = (EnumTest) o;
|
|
||||||
return Objects.equals(enumString, enumTest.enumString) &&
|
|
||||||
Objects.equals(enumStringRequired, enumTest.enumStringRequired) &&
|
|
||||||
Objects.equals(enumInteger, enumTest.enumInteger) &&
|
|
||||||
Objects.equals(enumNumber, enumTest.enumNumber) &&
|
|
||||||
Objects.equals(outerEnum, enumTest.outerEnum);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(enumString, enumStringRequired, enumInteger, enumNumber, outerEnum);
|
|
||||||
}
|
}
|
||||||
|
EnumTest enumTest = (EnumTest) o;
|
||||||
|
return Objects.equals(enumString, enumTest.enumString) &&
|
||||||
|
Objects.equals(enumStringRequired, enumTest.enumStringRequired) &&
|
||||||
|
Objects.equals(enumInteger, enumTest.enumInteger) &&
|
||||||
|
Objects.equals(enumNumber, enumTest.enumNumber) &&
|
||||||
|
Objects.equals(outerEnum, enumTest.outerEnum);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(enumString, enumStringRequired, enumInteger, enumNumber, outerEnum);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -60,24 +61,23 @@ public class FileSchemaTestClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
FileSchemaTestClass fileSchemaTestClass = (FileSchemaTestClass) o;
|
|
||||||
return Objects.equals(_file, fileSchemaTestClass._file) &&
|
|
||||||
Objects.equals(files, fileSchemaTestClass.files);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(_file, files);
|
|
||||||
}
|
}
|
||||||
|
FileSchemaTestClass fileSchemaTestClass = (FileSchemaTestClass) o;
|
||||||
|
return Objects.equals(_file, fileSchemaTestClass._file) &&
|
||||||
|
Objects.equals(files, fileSchemaTestClass.files);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(_file, files);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -10,6 +10,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -324,36 +325,35 @@ public class FormatTest {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
FormatTest formatTest = (FormatTest) o;
|
|
||||||
return Objects.equals(integer, formatTest.integer) &&
|
|
||||||
Objects.equals(int32, formatTest.int32) &&
|
|
||||||
Objects.equals(int64, formatTest.int64) &&
|
|
||||||
Objects.equals(number, formatTest.number) &&
|
|
||||||
Objects.equals(_float, formatTest._float) &&
|
|
||||||
Objects.equals(_double, formatTest._double) &&
|
|
||||||
Objects.equals(string, formatTest.string) &&
|
|
||||||
Objects.equals(_byte, formatTest._byte) &&
|
|
||||||
Objects.equals(binary, formatTest.binary) &&
|
|
||||||
Objects.equals(date, formatTest.date) &&
|
|
||||||
Objects.equals(dateTime, formatTest.dateTime) &&
|
|
||||||
Objects.equals(uuid, formatTest.uuid) &&
|
|
||||||
Objects.equals(password, formatTest.password) &&
|
|
||||||
Objects.equals(bigDecimal, formatTest.bigDecimal);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password, bigDecimal);
|
|
||||||
}
|
}
|
||||||
|
FormatTest formatTest = (FormatTest) o;
|
||||||
|
return Objects.equals(integer, formatTest.integer) &&
|
||||||
|
Objects.equals(int32, formatTest.int32) &&
|
||||||
|
Objects.equals(int64, formatTest.int64) &&
|
||||||
|
Objects.equals(number, formatTest.number) &&
|
||||||
|
Objects.equals(_float, formatTest._float) &&
|
||||||
|
Objects.equals(_double, formatTest._double) &&
|
||||||
|
Objects.equals(string, formatTest.string) &&
|
||||||
|
Objects.equals(_byte, formatTest._byte) &&
|
||||||
|
Objects.equals(binary, formatTest.binary) &&
|
||||||
|
Objects.equals(date, formatTest.date) &&
|
||||||
|
Objects.equals(dateTime, formatTest.dateTime) &&
|
||||||
|
Objects.equals(uuid, formatTest.uuid) &&
|
||||||
|
Objects.equals(password, formatTest.password) &&
|
||||||
|
Objects.equals(bigDecimal, formatTest.bigDecimal);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(integer, int32, int64, number, _float, _double, string, _byte, binary, date, dateTime, uuid, password, bigDecimal);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -35,24 +36,23 @@ public class HasOnlyReadOnly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
HasOnlyReadOnly hasOnlyReadOnly = (HasOnlyReadOnly) o;
|
|
||||||
return Objects.equals(bar, hasOnlyReadOnly.bar) &&
|
|
||||||
Objects.equals(foo, hasOnlyReadOnly.foo);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(bar, foo);
|
|
||||||
}
|
}
|
||||||
|
HasOnlyReadOnly hasOnlyReadOnly = (HasOnlyReadOnly) o;
|
||||||
|
return Objects.equals(bar, hasOnlyReadOnly.bar) &&
|
||||||
|
Objects.equals(foo, hasOnlyReadOnly.foo);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(bar, foo);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -9,6 +9,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -150,26 +151,25 @@ UPPER(String.valueOf("UPPER")), LOWER(String.valueOf("lower"));
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
MapTest mapTest = (MapTest) o;
|
|
||||||
return Objects.equals(mapMapOfString, mapTest.mapMapOfString) &&
|
|
||||||
Objects.equals(mapOfEnumString, mapTest.mapOfEnumString) &&
|
|
||||||
Objects.equals(directMap, mapTest.directMap) &&
|
|
||||||
Objects.equals(indirectMap, mapTest.indirectMap);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(mapMapOfString, mapOfEnumString, directMap, indirectMap);
|
|
||||||
}
|
}
|
||||||
|
MapTest mapTest = (MapTest) o;
|
||||||
|
return Objects.equals(mapMapOfString, mapTest.mapMapOfString) &&
|
||||||
|
Objects.equals(mapOfEnumString, mapTest.mapOfEnumString) &&
|
||||||
|
Objects.equals(directMap, mapTest.directMap) &&
|
||||||
|
Objects.equals(indirectMap, mapTest.indirectMap);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(mapMapOfString, mapOfEnumString, directMap, indirectMap);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -10,6 +10,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -83,25 +84,24 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
|
|
||||||
return Objects.equals(uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
|
|
||||||
Objects.equals(dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
|
|
||||||
Objects.equals(map, mixedPropertiesAndAdditionalPropertiesClass.map);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(uuid, dateTime, map);
|
|
||||||
}
|
}
|
||||||
|
MixedPropertiesAndAdditionalPropertiesClass mixedPropertiesAndAdditionalPropertiesClass = (MixedPropertiesAndAdditionalPropertiesClass) o;
|
||||||
|
return Objects.equals(uuid, mixedPropertiesAndAdditionalPropertiesClass.uuid) &&
|
||||||
|
Objects.equals(dateTime, mixedPropertiesAndAdditionalPropertiesClass.dateTime) &&
|
||||||
|
Objects.equals(map, mixedPropertiesAndAdditionalPropertiesClass.map);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(uuid, dateTime, map);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -56,24 +57,23 @@ public class Model200Response {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Model200Response _200response = (Model200Response) o;
|
|
||||||
return Objects.equals(name, _200response.name) &&
|
|
||||||
Objects.equals(propertyClass, _200response.propertyClass);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(name, propertyClass);
|
|
||||||
}
|
}
|
||||||
|
Model200Response _200response = (Model200Response) o;
|
||||||
|
return Objects.equals(name, _200response.name) &&
|
||||||
|
Objects.equals(propertyClass, _200response.propertyClass);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name, propertyClass);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -72,25 +73,24 @@ public class ModelApiResponse {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ModelApiResponse _apiResponse = (ModelApiResponse) o;
|
|
||||||
return Objects.equals(code, _apiResponse.code) &&
|
|
||||||
Objects.equals(type, _apiResponse.type) &&
|
|
||||||
Objects.equals(message, _apiResponse.message);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(code, type, message);
|
|
||||||
}
|
}
|
||||||
|
ModelApiResponse _apiResponse = (ModelApiResponse) o;
|
||||||
|
return Objects.equals(code, _apiResponse.code) &&
|
||||||
|
Objects.equals(type, _apiResponse.type) &&
|
||||||
|
Objects.equals(message, _apiResponse.message);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(code, type, message);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -38,23 +39,22 @@ public class ModelFile {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ModelFile _file = (ModelFile) o;
|
|
||||||
return Objects.equals(sourceURI, _file.sourceURI);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(sourceURI);
|
|
||||||
}
|
}
|
||||||
|
ModelFile _file = (ModelFile) o;
|
||||||
|
return Objects.equals(sourceURI, _file.sourceURI);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(sourceURI);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -30,23 +31,22 @@ public class ModelList {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ModelList _list = (ModelList) o;
|
|
||||||
return Objects.equals(_123list, _list._123list);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(_123list);
|
|
||||||
}
|
}
|
||||||
|
ModelList _list = (ModelList) o;
|
||||||
|
return Objects.equals(_123list, _list._123list);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(_123list);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -6,6 +6,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -35,23 +36,22 @@ public class ModelReturn {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ModelReturn _return = (ModelReturn) o;
|
|
||||||
return Objects.equals(_return, _return._return);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(_return);
|
|
||||||
}
|
}
|
||||||
|
ModelReturn _return = (ModelReturn) o;
|
||||||
|
return Objects.equals(_return, _return._return);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(_return);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -82,26 +83,25 @@ public class Name {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Name name = (Name) o;
|
|
||||||
return Objects.equals(name, name.name) &&
|
|
||||||
Objects.equals(snakeCase, name.snakeCase) &&
|
|
||||||
Objects.equals(property, name.property) &&
|
|
||||||
Objects.equals(_123number, name._123number);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(name, snakeCase, property, _123number);
|
|
||||||
}
|
}
|
||||||
|
Name name = (Name) o;
|
||||||
|
return Objects.equals(name, name.name) &&
|
||||||
|
Objects.equals(snakeCase, name.snakeCase) &&
|
||||||
|
Objects.equals(property, name.property) &&
|
||||||
|
Objects.equals(_123number, name._123number);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(name, snakeCase, property, _123number);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -31,23 +32,22 @@ public class NumberOnly {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
NumberOnly numberOnly = (NumberOnly) o;
|
|
||||||
return Objects.equals(justNumber, numberOnly.justNumber);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(justNumber);
|
|
||||||
}
|
}
|
||||||
|
NumberOnly numberOnly = (NumberOnly) o;
|
||||||
|
return Objects.equals(justNumber, numberOnly.justNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(justNumber);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -175,28 +176,27 @@ PLACED(String.valueOf("placed")), APPROVED(String.valueOf("approved")), DELIVERE
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Order order = (Order) o;
|
|
||||||
return Objects.equals(id, order.id) &&
|
|
||||||
Objects.equals(petId, order.petId) &&
|
|
||||||
Objects.equals(quantity, order.quantity) &&
|
|
||||||
Objects.equals(shipDate, order.shipDate) &&
|
|
||||||
Objects.equals(status, order.status) &&
|
|
||||||
Objects.equals(complete, order.complete);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, petId, quantity, shipDate, status, complete);
|
|
||||||
}
|
}
|
||||||
|
Order order = (Order) o;
|
||||||
|
return Objects.equals(id, order.id) &&
|
||||||
|
Objects.equals(petId, order.petId) &&
|
||||||
|
Objects.equals(quantity, order.quantity) &&
|
||||||
|
Objects.equals(shipDate, order.shipDate) &&
|
||||||
|
Objects.equals(status, order.status) &&
|
||||||
|
Objects.equals(complete, order.complete);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, petId, quantity, shipDate, status, complete);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -73,25 +74,24 @@ public class OuterComposite {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
OuterComposite outerComposite = (OuterComposite) o;
|
|
||||||
return Objects.equals(myNumber, outerComposite.myNumber) &&
|
|
||||||
Objects.equals(myString, outerComposite.myString) &&
|
|
||||||
Objects.equals(myBoolean, outerComposite.myBoolean);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(myNumber, myString, myBoolean);
|
|
||||||
}
|
}
|
||||||
|
OuterComposite outerComposite = (OuterComposite) o;
|
||||||
|
return Objects.equals(myNumber, outerComposite.myNumber) &&
|
||||||
|
Objects.equals(myString, outerComposite.myString) &&
|
||||||
|
Objects.equals(myBoolean, outerComposite.myBoolean);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(myNumber, myString, myBoolean);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -13,6 +13,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -196,28 +197,27 @@ AVAILABLE(String.valueOf("available")), PENDING(String.valueOf("pending")), SOLD
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Pet pet = (Pet) o;
|
|
||||||
return Objects.equals(id, pet.id) &&
|
|
||||||
Objects.equals(category, pet.category) &&
|
|
||||||
Objects.equals(name, pet.name) &&
|
|
||||||
Objects.equals(photoUrls, pet.photoUrls) &&
|
|
||||||
Objects.equals(tags, pet.tags) &&
|
|
||||||
Objects.equals(status, pet.status);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, category, name, photoUrls, tags, status);
|
|
||||||
}
|
}
|
||||||
|
Pet pet = (Pet) o;
|
||||||
|
return Objects.equals(id, pet.id) &&
|
||||||
|
Objects.equals(category, pet.category) &&
|
||||||
|
Objects.equals(name, pet.name) &&
|
||||||
|
Objects.equals(photoUrls, pet.photoUrls) &&
|
||||||
|
Objects.equals(tags, pet.tags) &&
|
||||||
|
Objects.equals(status, pet.status);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, category, name, photoUrls, tags, status);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -4,6 +4,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -42,24 +43,23 @@ public class ReadOnlyFirst {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
ReadOnlyFirst readOnlyFirst = (ReadOnlyFirst) o;
|
|
||||||
return Objects.equals(bar, readOnlyFirst.bar) &&
|
|
||||||
Objects.equals(baz, readOnlyFirst.baz);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(bar, baz);
|
|
||||||
}
|
}
|
||||||
|
ReadOnlyFirst readOnlyFirst = (ReadOnlyFirst) o;
|
||||||
|
return Objects.equals(bar, readOnlyFirst.bar) &&
|
||||||
|
Objects.equals(baz, readOnlyFirst.baz);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(bar, baz);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -5,6 +5,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -30,23 +31,22 @@ public class SpecialModelName {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
SpecialModelName $specialModelName = (SpecialModelName) o;
|
|
||||||
return Objects.equals($specialPropertyName, $specialModelName.$specialPropertyName);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash($specialPropertyName);
|
|
||||||
}
|
}
|
||||||
|
SpecialModelName $specialModelName = (SpecialModelName) o;
|
||||||
|
return Objects.equals($specialPropertyName, $specialModelName.$specialPropertyName);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash($specialPropertyName);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -4,6 +4,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -50,24 +51,23 @@ public class Tag {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
Tag tag = (Tag) o;
|
|
||||||
return Objects.equals(id, tag.id) &&
|
|
||||||
Objects.equals(name, tag.name);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, name);
|
|
||||||
}
|
}
|
||||||
|
Tag tag = (Tag) o;
|
||||||
|
return Objects.equals(id, tag.id) &&
|
||||||
|
Objects.equals(name, tag.name);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, name);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -127,27 +128,26 @@ public class TypeHolderDefault {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
TypeHolderDefault typeHolderDefault = (TypeHolderDefault) o;
|
|
||||||
return Objects.equals(stringItem, typeHolderDefault.stringItem) &&
|
|
||||||
Objects.equals(numberItem, typeHolderDefault.numberItem) &&
|
|
||||||
Objects.equals(integerItem, typeHolderDefault.integerItem) &&
|
|
||||||
Objects.equals(boolItem, typeHolderDefault.boolItem) &&
|
|
||||||
Objects.equals(arrayItem, typeHolderDefault.arrayItem);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(stringItem, numberItem, integerItem, boolItem, arrayItem);
|
|
||||||
}
|
}
|
||||||
|
TypeHolderDefault typeHolderDefault = (TypeHolderDefault) o;
|
||||||
|
return Objects.equals(stringItem, typeHolderDefault.stringItem) &&
|
||||||
|
Objects.equals(numberItem, typeHolderDefault.numberItem) &&
|
||||||
|
Objects.equals(integerItem, typeHolderDefault.integerItem) &&
|
||||||
|
Objects.equals(boolItem, typeHolderDefault.boolItem) &&
|
||||||
|
Objects.equals(arrayItem, typeHolderDefault.arrayItem);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(stringItem, numberItem, integerItem, boolItem, arrayItem);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -149,28 +150,27 @@ public class TypeHolderExample {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
TypeHolderExample typeHolderExample = (TypeHolderExample) o;
|
|
||||||
return Objects.equals(stringItem, typeHolderExample.stringItem) &&
|
|
||||||
Objects.equals(numberItem, typeHolderExample.numberItem) &&
|
|
||||||
Objects.equals(floatItem, typeHolderExample.floatItem) &&
|
|
||||||
Objects.equals(integerItem, typeHolderExample.integerItem) &&
|
|
||||||
Objects.equals(boolItem, typeHolderExample.boolItem) &&
|
|
||||||
Objects.equals(arrayItem, typeHolderExample.arrayItem);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(stringItem, numberItem, floatItem, integerItem, boolItem, arrayItem);
|
|
||||||
}
|
}
|
||||||
|
TypeHolderExample typeHolderExample = (TypeHolderExample) o;
|
||||||
|
return Objects.equals(stringItem, typeHolderExample.stringItem) &&
|
||||||
|
Objects.equals(numberItem, typeHolderExample.numberItem) &&
|
||||||
|
Objects.equals(floatItem, typeHolderExample.floatItem) &&
|
||||||
|
Objects.equals(integerItem, typeHolderExample.integerItem) &&
|
||||||
|
Objects.equals(boolItem, typeHolderExample.boolItem) &&
|
||||||
|
Objects.equals(arrayItem, typeHolderExample.arrayItem);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(stringItem, numberItem, floatItem, integerItem, boolItem, arrayItem);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -4,6 +4,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -179,30 +180,29 @@ public class User {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
User user = (User) o;
|
|
||||||
return Objects.equals(id, user.id) &&
|
|
||||||
Objects.equals(username, user.username) &&
|
|
||||||
Objects.equals(firstName, user.firstName) &&
|
|
||||||
Objects.equals(lastName, user.lastName) &&
|
|
||||||
Objects.equals(email, user.email) &&
|
|
||||||
Objects.equals(password, user.password) &&
|
|
||||||
Objects.equals(phone, user.phone) &&
|
|
||||||
Objects.equals(userStatus, user.userStatus);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(id, username, firstName, lastName, email, password, phone, userStatus);
|
|
||||||
}
|
}
|
||||||
|
User user = (User) o;
|
||||||
|
return Objects.equals(id, user.id) &&
|
||||||
|
Objects.equals(username, user.username) &&
|
||||||
|
Objects.equals(firstName, user.firstName) &&
|
||||||
|
Objects.equals(lastName, user.lastName) &&
|
||||||
|
Objects.equals(email, user.email) &&
|
||||||
|
Objects.equals(password, user.password) &&
|
||||||
|
Objects.equals(phone, user.phone) &&
|
||||||
|
Objects.equals(userStatus, user.userStatus);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(id, username, firstName, lastName, email, password, phone, userStatus);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
@ -7,6 +7,7 @@ import javax.validation.constraints.*;
|
|||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import java.util.Objects;
|
||||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
|
||||||
|
|
||||||
@ -670,51 +671,50 @@ public class XmlItem {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
@Override
|
public boolean equals(Object o) {
|
||||||
public boolean equals(Object o) {
|
if (this == o) {
|
||||||
if (this == o) {
|
return true;
|
||||||
return true;
|
|
||||||
}
|
|
||||||
if (o == null || getClass() != o.getClass()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
XmlItem xmlItem = (XmlItem) o;
|
|
||||||
return Objects.equals(attributeString, xmlItem.attributeString) &&
|
|
||||||
Objects.equals(attributeNumber, xmlItem.attributeNumber) &&
|
|
||||||
Objects.equals(attributeInteger, xmlItem.attributeInteger) &&
|
|
||||||
Objects.equals(attributeBoolean, xmlItem.attributeBoolean) &&
|
|
||||||
Objects.equals(wrappedArray, xmlItem.wrappedArray) &&
|
|
||||||
Objects.equals(nameString, xmlItem.nameString) &&
|
|
||||||
Objects.equals(nameNumber, xmlItem.nameNumber) &&
|
|
||||||
Objects.equals(nameInteger, xmlItem.nameInteger) &&
|
|
||||||
Objects.equals(nameBoolean, xmlItem.nameBoolean) &&
|
|
||||||
Objects.equals(nameArray, xmlItem.nameArray) &&
|
|
||||||
Objects.equals(nameWrappedArray, xmlItem.nameWrappedArray) &&
|
|
||||||
Objects.equals(prefixString, xmlItem.prefixString) &&
|
|
||||||
Objects.equals(prefixNumber, xmlItem.prefixNumber) &&
|
|
||||||
Objects.equals(prefixInteger, xmlItem.prefixInteger) &&
|
|
||||||
Objects.equals(prefixBoolean, xmlItem.prefixBoolean) &&
|
|
||||||
Objects.equals(prefixArray, xmlItem.prefixArray) &&
|
|
||||||
Objects.equals(prefixWrappedArray, xmlItem.prefixWrappedArray) &&
|
|
||||||
Objects.equals(namespaceString, xmlItem.namespaceString) &&
|
|
||||||
Objects.equals(namespaceNumber, xmlItem.namespaceNumber) &&
|
|
||||||
Objects.equals(namespaceInteger, xmlItem.namespaceInteger) &&
|
|
||||||
Objects.equals(namespaceBoolean, xmlItem.namespaceBoolean) &&
|
|
||||||
Objects.equals(namespaceArray, xmlItem.namespaceArray) &&
|
|
||||||
Objects.equals(namespaceWrappedArray, xmlItem.namespaceWrappedArray) &&
|
|
||||||
Objects.equals(prefixNsString, xmlItem.prefixNsString) &&
|
|
||||||
Objects.equals(prefixNsNumber, xmlItem.prefixNsNumber) &&
|
|
||||||
Objects.equals(prefixNsInteger, xmlItem.prefixNsInteger) &&
|
|
||||||
Objects.equals(prefixNsBoolean, xmlItem.prefixNsBoolean) &&
|
|
||||||
Objects.equals(prefixNsArray, xmlItem.prefixNsArray) &&
|
|
||||||
Objects.equals(prefixNsWrappedArray, xmlItem.prefixNsWrappedArray);
|
|
||||||
}
|
}
|
||||||
|
if (o == null || getClass() != o.getClass()) {
|
||||||
@Override
|
return false;
|
||||||
public int hashCode() {
|
|
||||||
return Objects.hash(attributeString, attributeNumber, attributeInteger, attributeBoolean, wrappedArray, nameString, nameNumber, nameInteger, nameBoolean, nameArray, nameWrappedArray, prefixString, prefixNumber, prefixInteger, prefixBoolean, prefixArray, prefixWrappedArray, namespaceString, namespaceNumber, namespaceInteger, namespaceBoolean, namespaceArray, namespaceWrappedArray, prefixNsString, prefixNsNumber, prefixNsInteger, prefixNsBoolean, prefixNsArray, prefixNsWrappedArray);
|
|
||||||
}
|
}
|
||||||
|
XmlItem xmlItem = (XmlItem) o;
|
||||||
|
return Objects.equals(attributeString, xmlItem.attributeString) &&
|
||||||
|
Objects.equals(attributeNumber, xmlItem.attributeNumber) &&
|
||||||
|
Objects.equals(attributeInteger, xmlItem.attributeInteger) &&
|
||||||
|
Objects.equals(attributeBoolean, xmlItem.attributeBoolean) &&
|
||||||
|
Objects.equals(wrappedArray, xmlItem.wrappedArray) &&
|
||||||
|
Objects.equals(nameString, xmlItem.nameString) &&
|
||||||
|
Objects.equals(nameNumber, xmlItem.nameNumber) &&
|
||||||
|
Objects.equals(nameInteger, xmlItem.nameInteger) &&
|
||||||
|
Objects.equals(nameBoolean, xmlItem.nameBoolean) &&
|
||||||
|
Objects.equals(nameArray, xmlItem.nameArray) &&
|
||||||
|
Objects.equals(nameWrappedArray, xmlItem.nameWrappedArray) &&
|
||||||
|
Objects.equals(prefixString, xmlItem.prefixString) &&
|
||||||
|
Objects.equals(prefixNumber, xmlItem.prefixNumber) &&
|
||||||
|
Objects.equals(prefixInteger, xmlItem.prefixInteger) &&
|
||||||
|
Objects.equals(prefixBoolean, xmlItem.prefixBoolean) &&
|
||||||
|
Objects.equals(prefixArray, xmlItem.prefixArray) &&
|
||||||
|
Objects.equals(prefixWrappedArray, xmlItem.prefixWrappedArray) &&
|
||||||
|
Objects.equals(namespaceString, xmlItem.namespaceString) &&
|
||||||
|
Objects.equals(namespaceNumber, xmlItem.namespaceNumber) &&
|
||||||
|
Objects.equals(namespaceInteger, xmlItem.namespaceInteger) &&
|
||||||
|
Objects.equals(namespaceBoolean, xmlItem.namespaceBoolean) &&
|
||||||
|
Objects.equals(namespaceArray, xmlItem.namespaceArray) &&
|
||||||
|
Objects.equals(namespaceWrappedArray, xmlItem.namespaceWrappedArray) &&
|
||||||
|
Objects.equals(prefixNsString, xmlItem.prefixNsString) &&
|
||||||
|
Objects.equals(prefixNsNumber, xmlItem.prefixNsNumber) &&
|
||||||
|
Objects.equals(prefixNsInteger, xmlItem.prefixNsInteger) &&
|
||||||
|
Objects.equals(prefixNsBoolean, xmlItem.prefixNsBoolean) &&
|
||||||
|
Objects.equals(prefixNsArray, xmlItem.prefixNsArray) &&
|
||||||
|
Objects.equals(prefixNsWrappedArray, xmlItem.prefixNsWrappedArray);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(attributeString, attributeNumber, attributeInteger, attributeBoolean, wrappedArray, nameString, nameNumber, nameInteger, nameBoolean, nameArray, nameWrappedArray, prefixString, prefixNumber, prefixInteger, prefixBoolean, prefixArray, prefixWrappedArray, namespaceString, namespaceNumber, namespaceInteger, namespaceBoolean, namespaceArray, namespaceWrappedArray, prefixNsString, prefixNsNumber, prefixNsInteger, prefixNsBoolean, prefixNsArray, prefixNsWrappedArray);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user