com.kibocommerce.sdk.fulfillment.model.BpmVariable Maven / Gradle / Ivy
The newest version!
/*
* Kibo Fulfillment API - Production Profile
* REST API backing the Kibo Fulfiller User Interface
*
* OpenAPI spec version: 1.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.kibocommerce.sdk.fulfillment.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;
import org.threeten.bp.OffsetDateTime;
/**
* BpmVariable
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-12-08T12:42:53.880-06:00[America/Chicago]")
public class BpmVariable {
public static final String SERIALIZED_NAME_NAME = "name";
@SerializedName(SERIALIZED_NAME_NAME)
private String name;
public static final String SERIALIZED_NAME_OLD_VALUE = "oldValue";
@SerializedName(SERIALIZED_NAME_OLD_VALUE)
private String oldValue;
public static final String SERIALIZED_NAME_UPDATE_DATE = "updateDate";
@SerializedName(SERIALIZED_NAME_UPDATE_DATE)
private OffsetDateTime updateDate;
public static final String SERIALIZED_NAME_VALUE = "value";
@SerializedName(SERIALIZED_NAME_VALUE)
private String value;
public BpmVariable name(String name) {
this.name = name;
return this;
}
/**
* Get name
* @return name
**/
@ApiModelProperty(value = "")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public BpmVariable oldValue(String oldValue) {
this.oldValue = oldValue;
return this;
}
/**
* Get oldValue
* @return oldValue
**/
@ApiModelProperty(value = "")
public String getOldValue() {
return oldValue;
}
public void setOldValue(String oldValue) {
this.oldValue = oldValue;
}
public BpmVariable updateDate(OffsetDateTime updateDate) {
this.updateDate = updateDate;
return this;
}
/**
* Get updateDate
* @return updateDate
**/
@ApiModelProperty(value = "")
public OffsetDateTime getUpdateDate() {
return updateDate;
}
public void setUpdateDate(OffsetDateTime updateDate) {
this.updateDate = updateDate;
}
public BpmVariable value(String value) {
this.value = value;
return this;
}
/**
* Get value
* @return value
**/
@ApiModelProperty(value = "")
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
BpmVariable bpmVariable = (BpmVariable) o;
return Objects.equals(this.name, bpmVariable.name) &&
Objects.equals(this.oldValue, bpmVariable.oldValue) &&
Objects.equals(this.updateDate, bpmVariable.updateDate) &&
Objects.equals(this.value, bpmVariable.value);
}
@Override
public int hashCode() {
return Objects.hash(name, oldValue, updateDate, value);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BpmVariable {\n");
sb.append(" name: ").append(toIndentedString(name)).append("\n");
sb.append(" oldValue: ").append(toIndentedString(oldValue)).append("\n");
sb.append(" updateDate: ").append(toIndentedString(updateDate)).append("\n");
sb.append(" value: ").append(toIndentedString(value)).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