
enterprises.orbital.eve.esi.client.model.PostUniverseIdsSystem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
Auto-gen build of Java ESI Swagger client using swagger-cli
The newest version!
/*
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
* OpenAPI spec version: 1.2.3
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package enterprises.orbital.eve.esi.client.model;
import java.util.Objects;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* system object
*/
@ApiModel(description = "system object")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-11-11T15:02:27.001Z")
public class PostUniverseIdsSystem {
@SerializedName("id")
private Integer id = null;
@SerializedName("name")
private String name = null;
public PostUniverseIdsSystem id(Integer id) {
this.id = id;
return this;
}
/**
* id integer
* @return id
**/
@ApiModelProperty(example = "null", value = "id integer")
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public PostUniverseIdsSystem name(String name) {
this.name = name;
return this;
}
/**
* name string
* @return name
**/
@ApiModelProperty(example = "null", value = "name string")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PostUniverseIdsSystem postUniverseIdsSystem = (PostUniverseIdsSystem) o;
return Objects.equals(this.id, postUniverseIdsSystem.id) &&
Objects.equals(this.name, postUniverseIdsSystem.name);
}
@Override
public int hashCode() {
return Objects.hash(id, name);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PostUniverseIdsSystem {\n");
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy