All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.precisely.apis.model.Risk Maven / Gradle / Ivy
/*
* Precisely APIs
* Enhance & enrich your data, applications, business processes, and workflows with rich location, information, and identify APIs.
*
* The version of the OpenAPI document: 15.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;
/**
* Risk
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-04-12T11:12:38.208312800+05:30[Asia/Calcutta]")
public class Risk {
public static final String SERIALIZED_NAME_TYPE = "type";
@SerializedName(SERIALIZED_NAME_TYPE)
private String type;
public static final String SERIALIZED_NAME_DESCRIPTION = "description";
@SerializedName(SERIALIZED_NAME_DESCRIPTION)
private String description;
public static final String SERIALIZED_NAME_RISK50_RATING = "risk50Rating";
@SerializedName(SERIALIZED_NAME_RISK50_RATING)
private Integer risk50Rating;
public static final String SERIALIZED_NAME_FREQUENCY = "frequency";
@SerializedName(SERIALIZED_NAME_FREQUENCY)
private Integer frequency;
public static final String SERIALIZED_NAME_NONBURN = "nonburn";
@SerializedName(SERIALIZED_NAME_NONBURN)
private String nonburn;
public static final String SERIALIZED_NAME_PAST_FIRES = "pastFires";
@SerializedName(SERIALIZED_NAME_PAST_FIRES)
private Integer pastFires;
public static final String SERIALIZED_NAME_SEVERITY = "severity";
@SerializedName(SERIALIZED_NAME_SEVERITY)
private Integer severity;
public static final String SERIALIZED_NAME_CONTINUITY = "continuity";
@SerializedName(SERIALIZED_NAME_CONTINUITY)
private String continuity;
public static final String SERIALIZED_NAME_ADJUSTMENT = "adjustment";
@SerializedName(SERIALIZED_NAME_ADJUSTMENT)
private String adjustment;
public static final String SERIALIZED_NAME_ASPECT = "aspect";
@SerializedName(SERIALIZED_NAME_ASPECT)
private String aspect;
public static final String SERIALIZED_NAME_CROWN_FIRE = "crownFire";
@SerializedName(SERIALIZED_NAME_CROWN_FIRE)
private String crownFire;
public static final String SERIALIZED_NAME_VEGETATION = "vegetation";
@SerializedName(SERIALIZED_NAME_VEGETATION)
private String vegetation;
public static final String SERIALIZED_NAME_FOEHN = "foehn";
@SerializedName(SERIALIZED_NAME_FOEHN)
private String foehn;
public static final String SERIALIZED_NAME_GOLF_COURSE = "golfCourse";
@SerializedName(SERIALIZED_NAME_GOLF_COURSE)
private String golfCourse;
public static final String SERIALIZED_NAME_ROAD_DIST = "roadDist";
@SerializedName(SERIALIZED_NAME_ROAD_DIST)
private String roadDist;
public static final String SERIALIZED_NAME_SLOPE = "slope";
@SerializedName(SERIALIZED_NAME_SLOPE)
private String slope;
public static final String SERIALIZED_NAME_WATER_DIST = "waterDist";
@SerializedName(SERIALIZED_NAME_WATER_DIST)
private String waterDist;
public static final String SERIALIZED_NAME_TIER = "tier";
@SerializedName(SERIALIZED_NAME_TIER)
private String tier;
public static final String SERIALIZED_NAME_TIER_DESCRIPTION = "tierDescription";
@SerializedName(SERIALIZED_NAME_TIER_DESCRIPTION)
private String tierDescription;
public static final String SERIALIZED_NAME_DISTANCE_TO_FIRE_STATION = "distanceToFireStation";
@SerializedName(SERIALIZED_NAME_DISTANCE_TO_FIRE_STATION)
private Integer distanceToFireStation;
public Risk() {
}
public Risk type(String type) {
this.type = type;
return this;
}
/**
* Get type
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public Risk description(String description) {
this.description = description;
return this;
}
/**
* Get description
* @return description
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Risk risk50Rating(Integer risk50Rating) {
this.risk50Rating = risk50Rating;
return this;
}
/**
* Get risk50Rating
* @return risk50Rating
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getRisk50Rating() {
return risk50Rating;
}
public void setRisk50Rating(Integer risk50Rating) {
this.risk50Rating = risk50Rating;
}
public Risk frequency(Integer frequency) {
this.frequency = frequency;
return this;
}
/**
* Get frequency
* @return frequency
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getFrequency() {
return frequency;
}
public void setFrequency(Integer frequency) {
this.frequency = frequency;
}
public Risk nonburn(String nonburn) {
this.nonburn = nonburn;
return this;
}
/**
* Get nonburn
* @return nonburn
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getNonburn() {
return nonburn;
}
public void setNonburn(String nonburn) {
this.nonburn = nonburn;
}
public Risk pastFires(Integer pastFires) {
this.pastFires = pastFires;
return this;
}
/**
* Get pastFires
* @return pastFires
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getPastFires() {
return pastFires;
}
public void setPastFires(Integer pastFires) {
this.pastFires = pastFires;
}
public Risk severity(Integer severity) {
this.severity = severity;
return this;
}
/**
* Get severity
* @return severity
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getSeverity() {
return severity;
}
public void setSeverity(Integer severity) {
this.severity = severity;
}
public Risk continuity(String continuity) {
this.continuity = continuity;
return this;
}
/**
* Get continuity
* @return continuity
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getContinuity() {
return continuity;
}
public void setContinuity(String continuity) {
this.continuity = continuity;
}
public Risk adjustment(String adjustment) {
this.adjustment = adjustment;
return this;
}
/**
* Get adjustment
* @return adjustment
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getAdjustment() {
return adjustment;
}
public void setAdjustment(String adjustment) {
this.adjustment = adjustment;
}
public Risk aspect(String aspect) {
this.aspect = aspect;
return this;
}
/**
* Get aspect
* @return aspect
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getAspect() {
return aspect;
}
public void setAspect(String aspect) {
this.aspect = aspect;
}
public Risk crownFire(String crownFire) {
this.crownFire = crownFire;
return this;
}
/**
* Get crownFire
* @return crownFire
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getCrownFire() {
return crownFire;
}
public void setCrownFire(String crownFire) {
this.crownFire = crownFire;
}
public Risk vegetation(String vegetation) {
this.vegetation = vegetation;
return this;
}
/**
* Get vegetation
* @return vegetation
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getVegetation() {
return vegetation;
}
public void setVegetation(String vegetation) {
this.vegetation = vegetation;
}
public Risk foehn(String foehn) {
this.foehn = foehn;
return this;
}
/**
* Get foehn
* @return foehn
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getFoehn() {
return foehn;
}
public void setFoehn(String foehn) {
this.foehn = foehn;
}
public Risk golfCourse(String golfCourse) {
this.golfCourse = golfCourse;
return this;
}
/**
* Get golfCourse
* @return golfCourse
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getGolfCourse() {
return golfCourse;
}
public void setGolfCourse(String golfCourse) {
this.golfCourse = golfCourse;
}
public Risk roadDist(String roadDist) {
this.roadDist = roadDist;
return this;
}
/**
* Get roadDist
* @return roadDist
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getRoadDist() {
return roadDist;
}
public void setRoadDist(String roadDist) {
this.roadDist = roadDist;
}
public Risk slope(String slope) {
this.slope = slope;
return this;
}
/**
* Get slope
* @return slope
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getSlope() {
return slope;
}
public void setSlope(String slope) {
this.slope = slope;
}
public Risk waterDist(String waterDist) {
this.waterDist = waterDist;
return this;
}
/**
* Get waterDist
* @return waterDist
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getWaterDist() {
return waterDist;
}
public void setWaterDist(String waterDist) {
this.waterDist = waterDist;
}
public Risk tier(String tier) {
this.tier = tier;
return this;
}
/**
* Get tier
* @return tier
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getTier() {
return tier;
}
public void setTier(String tier) {
this.tier = tier;
}
public Risk tierDescription(String tierDescription) {
this.tierDescription = tierDescription;
return this;
}
/**
* Get tierDescription
* @return tierDescription
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getTierDescription() {
return tierDescription;
}
public void setTierDescription(String tierDescription) {
this.tierDescription = tierDescription;
}
public Risk distanceToFireStation(Integer distanceToFireStation) {
this.distanceToFireStation = distanceToFireStation;
return this;
}
/**
* Get distanceToFireStation
* @return distanceToFireStation
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getDistanceToFireStation() {
return distanceToFireStation;
}
public void setDistanceToFireStation(Integer distanceToFireStation) {
this.distanceToFireStation = distanceToFireStation;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Risk risk = (Risk) o;
return Objects.equals(this.type, risk.type) &&
Objects.equals(this.description, risk.description) &&
Objects.equals(this.risk50Rating, risk.risk50Rating) &&
Objects.equals(this.frequency, risk.frequency) &&
Objects.equals(this.nonburn, risk.nonburn) &&
Objects.equals(this.pastFires, risk.pastFires) &&
Objects.equals(this.severity, risk.severity) &&
Objects.equals(this.continuity, risk.continuity) &&
Objects.equals(this.adjustment, risk.adjustment) &&
Objects.equals(this.aspect, risk.aspect) &&
Objects.equals(this.crownFire, risk.crownFire) &&
Objects.equals(this.vegetation, risk.vegetation) &&
Objects.equals(this.foehn, risk.foehn) &&
Objects.equals(this.golfCourse, risk.golfCourse) &&
Objects.equals(this.roadDist, risk.roadDist) &&
Objects.equals(this.slope, risk.slope) &&
Objects.equals(this.waterDist, risk.waterDist) &&
Objects.equals(this.tier, risk.tier) &&
Objects.equals(this.tierDescription, risk.tierDescription) &&
Objects.equals(this.distanceToFireStation, risk.distanceToFireStation);
}
@Override
public int hashCode() {
return Objects.hash(type, description, risk50Rating, frequency, nonburn, pastFires, severity, continuity, adjustment, aspect, crownFire, vegetation, foehn, golfCourse, roadDist, slope, waterDist, tier, tierDescription, distanceToFireStation);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Risk {\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" risk50Rating: ").append(toIndentedString(risk50Rating)).append("\n");
sb.append(" frequency: ").append(toIndentedString(frequency)).append("\n");
sb.append(" nonburn: ").append(toIndentedString(nonburn)).append("\n");
sb.append(" pastFires: ").append(toIndentedString(pastFires)).append("\n");
sb.append(" severity: ").append(toIndentedString(severity)).append("\n");
sb.append(" continuity: ").append(toIndentedString(continuity)).append("\n");
sb.append(" adjustment: ").append(toIndentedString(adjustment)).append("\n");
sb.append(" aspect: ").append(toIndentedString(aspect)).append("\n");
sb.append(" crownFire: ").append(toIndentedString(crownFire)).append("\n");
sb.append(" vegetation: ").append(toIndentedString(vegetation)).append("\n");
sb.append(" foehn: ").append(toIndentedString(foehn)).append("\n");
sb.append(" golfCourse: ").append(toIndentedString(golfCourse)).append("\n");
sb.append(" roadDist: ").append(toIndentedString(roadDist)).append("\n");
sb.append(" slope: ").append(toIndentedString(slope)).append("\n");
sb.append(" waterDist: ").append(toIndentedString(waterDist)).append("\n");
sb.append(" tier: ").append(toIndentedString(tier)).append("\n");
sb.append(" tierDescription: ").append(toIndentedString(tierDescription)).append("\n");
sb.append(" distanceToFireStation: ").append(toIndentedString(distanceToFireStation)).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 ");
}
}