org.finra.herd.sdk.model.BusinessObjectDefinitionColumnChangeEvent 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;
import org.joda.time.DateTime;
/**
* BusinessObjectDefinitionColumnChangeEvent
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-07-16T17:44:47.669-04:00[America/New_York]")
public class BusinessObjectDefinitionColumnChangeEvent {
@JsonProperty("description")
private String description = null;
@JsonProperty("eventTime")
private DateTime eventTime = null;
@JsonProperty("userId")
private String userId = null;
public BusinessObjectDefinitionColumnChangeEvent description(String description) {
this.description = description;
return this;
}
/**
* Description of the Business Object Definition
* @return description
**/
@ApiModelProperty(value = "Description of the Business Object Definition")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public BusinessObjectDefinitionColumnChangeEvent eventTime(DateTime eventTime) {
this.eventTime = eventTime;
return this;
}
/**
* The timestamp of when the business object definition column update occured
* @return eventTime
**/
@ApiModelProperty(required = true, value = "The timestamp of when the business object definition column update occured")
public DateTime getEventTime() {
return eventTime;
}
public void setEventTime(DateTime eventTime) {
this.eventTime = eventTime;
}
public BusinessObjectDefinitionColumnChangeEvent userId(String userId) {
this.userId = userId;
return this;
}
/**
* The User ID of the user who performed business object definition column update
* @return userId
**/
@ApiModelProperty(required = true, value = "The User ID of the user who performed business object definition column update")
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BusinessObjectDefinitionColumnChangeEvent businessObjectDefinitionColumnChangeEvent = (BusinessObjectDefinitionColumnChangeEvent) o;
return Objects.equals(this.description, businessObjectDefinitionColumnChangeEvent.description) &&
Objects.equals(this.eventTime, businessObjectDefinitionColumnChangeEvent.eventTime) &&
Objects.equals(this.userId, businessObjectDefinitionColumnChangeEvent.userId);
}
@Override
public int hashCode() {
return Objects.hash(description, eventTime, userId);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BusinessObjectDefinitionColumnChangeEvent {\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" eventTime: ").append(toIndentedString(eventTime)).append("\n");
sb.append(" userId: ").append(toIndentedString(userId)).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 ");
}
}