com.volcengine.escloud.model.KibanaConfigForDescribeInstanceOutput Maven / Gradle / Ivy
/*
* escloud
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.volcengine.escloud.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.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* KibanaConfigForDescribeInstanceOutput
*/
public class KibanaConfigForDescribeInstanceOutput {
@SerializedName("RequestTimeout")
private Long requestTimeout = null;
@SerializedName("SessionKeepAlive")
private Boolean sessionKeepAlive = null;
@SerializedName("SessionTTL")
private Long sessionTTL = null;
public KibanaConfigForDescribeInstanceOutput requestTimeout(Long requestTimeout) {
this.requestTimeout = requestTimeout;
return this;
}
/**
* Get requestTimeout
* minimum: 30000
* maximum: 120000
* @return requestTimeout
**/
@Min(30000) @Max(120000) @Schema(description = "")
public Long getRequestTimeout() {
return requestTimeout;
}
public void setRequestTimeout(Long requestTimeout) {
this.requestTimeout = requestTimeout;
}
public KibanaConfigForDescribeInstanceOutput sessionKeepAlive(Boolean sessionKeepAlive) {
this.sessionKeepAlive = sessionKeepAlive;
return this;
}
/**
* Get sessionKeepAlive
* @return sessionKeepAlive
**/
@Schema(description = "")
public Boolean isSessionKeepAlive() {
return sessionKeepAlive;
}
public void setSessionKeepAlive(Boolean sessionKeepAlive) {
this.sessionKeepAlive = sessionKeepAlive;
}
public KibanaConfigForDescribeInstanceOutput sessionTTL(Long sessionTTL) {
this.sessionTTL = sessionTTL;
return this;
}
/**
* Get sessionTTL
* minimum: 30000
* @return sessionTTL
**/
@Min(30000) @Schema(description = "")
public Long getSessionTTL() {
return sessionTTL;
}
public void setSessionTTL(Long sessionTTL) {
this.sessionTTL = sessionTTL;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
KibanaConfigForDescribeInstanceOutput kibanaConfigForDescribeInstanceOutput = (KibanaConfigForDescribeInstanceOutput) o;
return Objects.equals(this.requestTimeout, kibanaConfigForDescribeInstanceOutput.requestTimeout) &&
Objects.equals(this.sessionKeepAlive, kibanaConfigForDescribeInstanceOutput.sessionKeepAlive) &&
Objects.equals(this.sessionTTL, kibanaConfigForDescribeInstanceOutput.sessionTTL);
}
@Override
public int hashCode() {
return Objects.hash(requestTimeout, sessionKeepAlive, sessionTTL);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class KibanaConfigForDescribeInstanceOutput {\n");
sb.append(" requestTimeout: ").append(toIndentedString(requestTimeout)).append("\n");
sb.append(" sessionKeepAlive: ").append(toIndentedString(sessionKeepAlive)).append("\n");
sb.append(" sessionTTL: ").append(toIndentedString(sessionTTL)).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