All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.seeq.model.ServerStatusOutputV1 Maven / Gradle / Ivy

There is a newer version: 66.0.0-v202407310200
Show newest version
/*
 * Seeq REST API
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: 64.3.0-v202405012032
 * 
 *
 * 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.seeq.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 com.seeq.model.ConfigurationOptionOutputSimpleV1;
import com.seeq.model.PriorityV1;
import com.seeq.model.ScalarValueOutputV1;
import com.seeq.model.ServerSpecOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
 * ServerStatusOutputV1
 */
public class ServerStatusOutputV1 {
  @JsonProperty("atUserLimit")
  private Boolean atUserLimit = false;

  @JsonProperty("configurationOptions")
  private List configurationOptions = new ArrayList();

  @JsonProperty("defaultMaxCapsuleDuration")
  private ScalarValueOutputV1 defaultMaxCapsuleDuration = null;

  @JsonProperty("defaultMaxInterpolation")
  private ScalarValueOutputV1 defaultMaxInterpolation = null;

  @JsonProperty("isDataLabAvailable")
  private Boolean isDataLabAvailable = false;

  @JsonProperty("priorities")
  private List priorities = new ArrayList();

  @JsonProperty("seeqGptEnabled")
  private Boolean seeqGptEnabled = false;

  @JsonProperty("serverSpecs")
  private List serverSpecs = new ArrayList();

  @JsonProperty("timeZone")
  private String timeZone = null;

  @JsonProperty("version")
  private String version = null;

  public ServerStatusOutputV1 atUserLimit(Boolean atUserLimit) {
    this.atUserLimit = atUserLimit;
    return this;
  }

   /**
   * Whether the system is at it's user limit
   * @return atUserLimit
  **/
  @Schema(description = "Whether the system is at it's user limit")
  public Boolean getAtUserLimit() {
    return atUserLimit;
  }

  public void setAtUserLimit(Boolean atUserLimit) {
    this.atUserLimit = atUserLimit;
  }

  public ServerStatusOutputV1 configurationOptions(List configurationOptions) {
    this.configurationOptions = configurationOptions;
    return this;
  }

  public ServerStatusOutputV1 addConfigurationOptionsItem(ConfigurationOptionOutputSimpleV1 configurationOptionsItem) {
    if (this.configurationOptions == null) {
      this.configurationOptions = new ArrayList();
    }
    this.configurationOptions.add(configurationOptionsItem);
    return this;
  }

   /**
   * A collection of configuration options and their values
   * @return configurationOptions
  **/
  @Schema(description = "A collection of configuration options and their values")
  public List getConfigurationOptions() {
    return configurationOptions;
  }

  public void setConfigurationOptions(List configurationOptions) {
    this.configurationOptions = configurationOptions;
  }

  public ServerStatusOutputV1 defaultMaxCapsuleDuration(ScalarValueOutputV1 defaultMaxCapsuleDuration) {
    this.defaultMaxCapsuleDuration = defaultMaxCapsuleDuration;
    return this;
  }

   /**
   * Get defaultMaxCapsuleDuration
   * @return defaultMaxCapsuleDuration
  **/
  @Schema(description = "")
  public ScalarValueOutputV1 getDefaultMaxCapsuleDuration() {
    return defaultMaxCapsuleDuration;
  }

  public void setDefaultMaxCapsuleDuration(ScalarValueOutputV1 defaultMaxCapsuleDuration) {
    this.defaultMaxCapsuleDuration = defaultMaxCapsuleDuration;
  }

  public ServerStatusOutputV1 defaultMaxInterpolation(ScalarValueOutputV1 defaultMaxInterpolation) {
    this.defaultMaxInterpolation = defaultMaxInterpolation;
    return this;
  }

   /**
   * Get defaultMaxInterpolation
   * @return defaultMaxInterpolation
  **/
  @Schema(description = "")
  public ScalarValueOutputV1 getDefaultMaxInterpolation() {
    return defaultMaxInterpolation;
  }

  public void setDefaultMaxInterpolation(ScalarValueOutputV1 defaultMaxInterpolation) {
    this.defaultMaxInterpolation = defaultMaxInterpolation;
  }

  public ServerStatusOutputV1 isDataLabAvailable(Boolean isDataLabAvailable) {
    this.isDataLabAvailable = isDataLabAvailable;
    return this;
  }

   /**
   * Whether the Network/DataLab/Hostname configuration has been set
   * @return isDataLabAvailable
  **/
  @Schema(description = "Whether the Network/DataLab/Hostname configuration has been set")
  public Boolean getIsDataLabAvailable() {
    return isDataLabAvailable;
  }

  public void setIsDataLabAvailable(Boolean isDataLabAvailable) {
    this.isDataLabAvailable = isDataLabAvailable;
  }

  public ServerStatusOutputV1 priorities(List priorities) {
    this.priorities = priorities;
    return this;
  }

  public ServerStatusOutputV1 addPrioritiesItem(PriorityV1 prioritiesItem) {
    if (this.priorities == null) {
      this.priorities = new ArrayList();
    }
    this.priorities.add(prioritiesItem);
    return this;
  }

   /**
   * The priorities for metrics, sorted descending by level
   * @return priorities
  **/
  @Schema(description = "The priorities for metrics, sorted descending by level")
  public List getPriorities() {
    return priorities;
  }

  public void setPriorities(List priorities) {
    this.priorities = priorities;
  }

  public ServerStatusOutputV1 seeqGptEnabled(Boolean seeqGptEnabled) {
    this.seeqGptEnabled = seeqGptEnabled;
    return this;
  }

   /**
   * Whether the system has been configured to access the Seeq GPT Service
   * @return seeqGptEnabled
  **/
  @Schema(description = "Whether the system has been configured to access the Seeq GPT Service")
  public Boolean getSeeqGptEnabled() {
    return seeqGptEnabled;
  }

  public void setSeeqGptEnabled(Boolean seeqGptEnabled) {
    this.seeqGptEnabled = seeqGptEnabled;
  }

  public ServerStatusOutputV1 serverSpecs(List serverSpecs) {
    this.serverSpecs = serverSpecs;
    return this;
  }

  public ServerStatusOutputV1 addServerSpecsItem(ServerSpecOutputV1 serverSpecsItem) {
    if (this.serverSpecs == null) {
      this.serverSpecs = new ArrayList();
    }
    this.serverSpecs.add(serverSpecsItem);
    return this;
  }

   /**
   * Information about the specs of the server
   * @return serverSpecs
  **/
  @Schema(description = "Information about the specs of the server")
  public List getServerSpecs() {
    return serverSpecs;
  }

  public void setServerSpecs(List serverSpecs) {
    this.serverSpecs = serverSpecs;
  }

  public ServerStatusOutputV1 timeZone(String timeZone) {
    this.timeZone = timeZone;
    return this;
  }

   /**
   * UTC offset of the server's current time zone (UTC hh:mm)
   * @return timeZone
  **/
  @Schema(description = "UTC offset of the server's current time zone (UTC hh:mm)")
  public String getTimeZone() {
    return timeZone;
  }

  public void setTimeZone(String timeZone) {
    this.timeZone = timeZone;
  }

  public ServerStatusOutputV1 version(String version) {
    this.version = version;
    return this;
  }

   /**
   * The version of Seeq running on the server
   * @return version
  **/
  @Schema(description = "The version of Seeq running on the server")
  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ServerStatusOutputV1 serverStatusOutputV1 = (ServerStatusOutputV1) o;
    return Objects.equals(this.atUserLimit, serverStatusOutputV1.atUserLimit) &&
        Objects.equals(this.configurationOptions, serverStatusOutputV1.configurationOptions) &&
        Objects.equals(this.defaultMaxCapsuleDuration, serverStatusOutputV1.defaultMaxCapsuleDuration) &&
        Objects.equals(this.defaultMaxInterpolation, serverStatusOutputV1.defaultMaxInterpolation) &&
        Objects.equals(this.isDataLabAvailable, serverStatusOutputV1.isDataLabAvailable) &&
        Objects.equals(this.priorities, serverStatusOutputV1.priorities) &&
        Objects.equals(this.seeqGptEnabled, serverStatusOutputV1.seeqGptEnabled) &&
        Objects.equals(this.serverSpecs, serverStatusOutputV1.serverSpecs) &&
        Objects.equals(this.timeZone, serverStatusOutputV1.timeZone) &&
        Objects.equals(this.version, serverStatusOutputV1.version);
  }

  @Override
  public int hashCode() {
    return Objects.hash(atUserLimit, configurationOptions, defaultMaxCapsuleDuration, defaultMaxInterpolation, isDataLabAvailable, priorities, seeqGptEnabled, serverSpecs, timeZone, version);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ServerStatusOutputV1 {\n");
    
    sb.append("    atUserLimit: ").append(toIndentedString(atUserLimit)).append("\n");
    sb.append("    configurationOptions: ").append(toIndentedString(configurationOptions)).append("\n");
    sb.append("    defaultMaxCapsuleDuration: ").append(toIndentedString(defaultMaxCapsuleDuration)).append("\n");
    sb.append("    defaultMaxInterpolation: ").append(toIndentedString(defaultMaxInterpolation)).append("\n");
    sb.append("    isDataLabAvailable: ").append(toIndentedString(isDataLabAvailable)).append("\n");
    sb.append("    priorities: ").append(toIndentedString(priorities)).append("\n");
    sb.append("    seeqGptEnabled: ").append(toIndentedString(seeqGptEnabled)).append("\n");
    sb.append("    serverSpecs: ").append(toIndentedString(serverSpecs)).append("\n");
    sb.append("    timeZone: ").append(toIndentedString(timeZone)).append("\n");
    sb.append("    version: ").append(toIndentedString(version)).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 - 2024 Weber Informatics LLC | Privacy Policy