
enterprises.orbital.eve.esi.client.model.GetFwWars200Ok 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;
/**
* 200 ok object
*/
@ApiModel(description = "200 ok object")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-11-11T15:02:27.001Z")
public class GetFwWars200Ok {
@SerializedName("against_id")
private Integer againstId = null;
@SerializedName("faction_id")
private Integer factionId = null;
public GetFwWars200Ok againstId(Integer againstId) {
this.againstId = againstId;
return this;
}
/**
* The faction ID of the enemy faction.
* @return againstId
**/
@ApiModelProperty(example = "null", required = true, value = "The faction ID of the enemy faction.")
public Integer getAgainstId() {
return againstId;
}
public void setAgainstId(Integer againstId) {
this.againstId = againstId;
}
public GetFwWars200Ok factionId(Integer factionId) {
this.factionId = factionId;
return this;
}
/**
* faction_id integer
* @return factionId
**/
@ApiModelProperty(example = "null", required = true, value = "faction_id integer")
public Integer getFactionId() {
return factionId;
}
public void setFactionId(Integer factionId) {
this.factionId = factionId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
GetFwWars200Ok getFwWars200Ok = (GetFwWars200Ok) o;
return Objects.equals(this.againstId, getFwWars200Ok.againstId) &&
Objects.equals(this.factionId, getFwWars200Ok.factionId);
}
@Override
public int hashCode() {
return Objects.hash(againstId, factionId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class GetFwWars200Ok {\n");
sb.append(" againstId: ").append(toIndentedString(againstId)).append("\n");
sb.append(" factionId: ").append(toIndentedString(factionId)).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