org.finra.herd.sdk.model.BuildInformation Maven / Gradle / Ivy
/*
* herd-external
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 0.125.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 org.finra.herd.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
* The information about the current build of the application
*/
@ApiModel(description = "The information about the current build of the application")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class BuildInformation {
@JsonProperty("buildOs")
private String buildOs = null;
@JsonProperty("buildUser")
private String buildUser = null;
@JsonProperty("buildDate")
private String buildDate = null;
@JsonProperty("buildNumber")
private String buildNumber = null;
public BuildInformation buildOs(String buildOs) {
this.buildOs = buildOs;
return this;
}
/**
* The OS in which the current build was built
* @return buildOs
**/
@ApiModelProperty(required = true, value = "The OS in which the current build was built")
public String getBuildOs() {
return buildOs;
}
public void setBuildOs(String buildOs) {
this.buildOs = buildOs;
}
public BuildInformation buildUser(String buildUser) {
this.buildUser = buildUser;
return this;
}
/**
* The user ID of the user that performed the build
* @return buildUser
**/
@ApiModelProperty(required = true, value = "The user ID of the user that performed the build")
public String getBuildUser() {
return buildUser;
}
public void setBuildUser(String buildUser) {
this.buildUser = buildUser;
}
public BuildInformation buildDate(String buildDate) {
this.buildDate = buildDate;
return this;
}
/**
* The date/time when the build was performed
* @return buildDate
**/
@ApiModelProperty(required = true, value = "The date/time when the build was performed")
public String getBuildDate() {
return buildDate;
}
public void setBuildDate(String buildDate) {
this.buildDate = buildDate;
}
public BuildInformation buildNumber(String buildNumber) {
this.buildNumber = buildNumber;
return this;
}
/**
* The version number (from Maven POM) of the current build
* @return buildNumber
**/
@ApiModelProperty(required = true, value = "The version number (from Maven POM) of the current build")
public String getBuildNumber() {
return buildNumber;
}
public void setBuildNumber(String buildNumber) {
this.buildNumber = buildNumber;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BuildInformation buildInformation = (BuildInformation) o;
return Objects.equals(this.buildOs, buildInformation.buildOs) &&
Objects.equals(this.buildUser, buildInformation.buildUser) &&
Objects.equals(this.buildDate, buildInformation.buildDate) &&
Objects.equals(this.buildNumber, buildInformation.buildNumber);
}
@Override
public int hashCode() {
return Objects.hash(buildOs, buildUser, buildDate, buildNumber);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BuildInformation {\n");
sb.append(" buildOs: ").append(toIndentedString(buildOs)).append("\n");
sb.append(" buildUser: ").append(toIndentedString(buildUser)).append("\n");
sb.append(" buildDate: ").append(toIndentedString(buildDate)).append("\n");
sb.append(" buildNumber: ").append(toIndentedString(buildNumber)).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 ");
}
}