com.precisely.apis.model.SeverityGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of PreciselyAPISJavaSDK Show documentation
Show all versions of PreciselyAPISJavaSDK Show documentation
Java SDK for accessing Precisely APIs which transform your business with new insights. Enrich and enhance your data, applications, business processes, and workflows with hundreds of Location and Identity datasets and APIs.
The newest version!
/*
* Precisely APIs
* Enhance & enrich your data, applications, business processes, and workflows with rich location, information, and identify APIs.
*
* The version of the OpenAPI document: 18.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package com.precisely.apis.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* SeverityGroup
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-13T16:39:48.889177+05:30[Asia/Calcutta]")
public class SeverityGroup {
public static final String SERIALIZED_NAME_INTENSITY = "intensity";
@SerializedName(SERIALIZED_NAME_INTENSITY)
private Integer intensity;
public static final String SERIALIZED_NAME_CROWN_FIRE = "crownFire";
@SerializedName(SERIALIZED_NAME_CROWN_FIRE)
private Integer crownFire;
public static final String SERIALIZED_NAME_WIND_SPD = "windSpd";
@SerializedName(SERIALIZED_NAME_WIND_SPD)
private Integer windSpd;
public static final String SERIALIZED_NAME_EMBER_CAST = "emberCast";
@SerializedName(SERIALIZED_NAME_EMBER_CAST)
private Integer emberCast;
public SeverityGroup() {
}
public SeverityGroup intensity(Integer intensity) {
this.intensity = intensity;
return this;
}
/**
* Get intensity
* @return intensity
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getIntensity() {
return intensity;
}
public void setIntensity(Integer intensity) {
this.intensity = intensity;
}
public SeverityGroup crownFire(Integer crownFire) {
this.crownFire = crownFire;
return this;
}
/**
* Get crownFire
* @return crownFire
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getCrownFire() {
return crownFire;
}
public void setCrownFire(Integer crownFire) {
this.crownFire = crownFire;
}
public SeverityGroup windSpd(Integer windSpd) {
this.windSpd = windSpd;
return this;
}
/**
* Get windSpd
* @return windSpd
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getWindSpd() {
return windSpd;
}
public void setWindSpd(Integer windSpd) {
this.windSpd = windSpd;
}
public SeverityGroup emberCast(Integer emberCast) {
this.emberCast = emberCast;
return this;
}
/**
* Get emberCast
* @return emberCast
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getEmberCast() {
return emberCast;
}
public void setEmberCast(Integer emberCast) {
this.emberCast = emberCast;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SeverityGroup severityGroup = (SeverityGroup) o;
return Objects.equals(this.intensity, severityGroup.intensity) &&
Objects.equals(this.crownFire, severityGroup.crownFire) &&
Objects.equals(this.windSpd, severityGroup.windSpd) &&
Objects.equals(this.emberCast, severityGroup.emberCast);
}
@Override
public int hashCode() {
return Objects.hash(intensity, crownFire, windSpd, emberCast);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SeverityGroup {\n");
sb.append(" intensity: ").append(toIndentedString(intensity)).append("\n");
sb.append(" crownFire: ").append(toIndentedString(crownFire)).append("\n");
sb.append(" windSpd: ").append(toIndentedString(windSpd)).append("\n");
sb.append(" emberCast: ").append(toIndentedString(emberCast)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}