com.salesforce.einsteinbot.sdk.model.Schedule Maven / Gradle / Ivy
/*
* Einstein Bots API (BETA)
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v4
*
*
* 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.salesforce.einsteinbot.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* Schedule
*/
@JsonPropertyOrder({
Schedule.JSON_PROPERTY_RESPONSE_DELAY_MILLISECONDS
})
@JsonTypeName("Schedule")
@javax.annotation.Generated(value = "com.salesforce.einsteinbot.openapi.codegen.EinsteinBotCodeGenerator", date = "2022-03-24T00:55:11.933462Z[Etc/UTC]")
public class Schedule {
public static final String JSON_PROPERTY_RESPONSE_DELAY_MILLISECONDS = "responseDelayMilliseconds";
private Integer responseDelayMilliseconds;
public Schedule() {
}
public Schedule responseDelayMilliseconds(Integer responseDelayMilliseconds) {
this.responseDelayMilliseconds = responseDelayMilliseconds;
return this;
}
/**
* Delay in ms to wait before displaying the test to the user
* @return responseDelayMilliseconds
**/
@javax.annotation.Nonnull
@ApiModelProperty(example = "1200", required = true, value = "Delay in ms to wait before displaying the test to the user")
@JsonProperty(JSON_PROPERTY_RESPONSE_DELAY_MILLISECONDS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getResponseDelayMilliseconds() {
return responseDelayMilliseconds;
}
@JsonProperty(JSON_PROPERTY_RESPONSE_DELAY_MILLISECONDS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setResponseDelayMilliseconds(Integer responseDelayMilliseconds) {
this.responseDelayMilliseconds = responseDelayMilliseconds;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Schedule schedule = (Schedule) o;
return Objects.equals(this.responseDelayMilliseconds, schedule.responseDelayMilliseconds);
}
@Override
public int hashCode() {
return Objects.hash(responseDelayMilliseconds);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class Schedule {\n");
sb.append(" responseDelayMilliseconds: ").append(toIndentedString(responseDelayMilliseconds)).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 ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy