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

com.seeq.model.ScalarValueOutputV1 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 io.swagger.v3.oas.annotations.media.Schema;
/**
 * The effective access key validity duration. Either the direct accessKeyValidityDuration property or the 'Authentication/AccessKey/ValidityWithoutUserLogin' configuration. After the last user activity, authentication is allowed with an access key for the period specified here. A value of 0 will effectively disable access keys for this user.
 */
@Schema(description = "The effective access key validity duration. Either the direct accessKeyValidityDuration property or the 'Authentication/AccessKey/ValidityWithoutUserLogin' configuration. After the last user activity, authentication is allowed with an access key for the period specified here. A value of 0 will effectively disable access keys for this user.")
public class ScalarValueOutputV1 {
  @JsonProperty("isUncertain")
  private Boolean isUncertain = false;

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

  @JsonProperty("value")
  private Object value = null;

  public ScalarValueOutputV1 isUncertain(Boolean isUncertain) {
    this.isUncertain = isUncertain;
    return this;
  }

   /**
   * True if this scalar is uncertain
   * @return isUncertain
  **/
  @Schema(description = "True if this scalar is uncertain")
  public Boolean getIsUncertain() {
    return isUncertain;
  }

  public void setIsUncertain(Boolean isUncertain) {
    this.isUncertain = isUncertain;
  }

  public ScalarValueOutputV1 uom(String uom) {
    this.uom = uom;
    return this;
  }

   /**
   * The unit of measure of the scalar
   * @return uom
  **/
  @Schema(required = true, description = "The unit of measure of the scalar")
  public String getUom() {
    return uom;
  }

  public void setUom(String uom) {
    this.uom = uom;
  }

  public ScalarValueOutputV1 value(Object value) {
    this.value = value;
    return this;
  }

   /**
   * The value of the scalar
   * @return value
  **/
  @Schema(required = true, description = "The value of the scalar")
  public Object getValue() {
    return value;
  }

  public void setValue(Object 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;
    }
    ScalarValueOutputV1 scalarValueOutputV1 = (ScalarValueOutputV1) o;
    return Objects.equals(this.isUncertain, scalarValueOutputV1.isUncertain) &&
        Objects.equals(this.uom, scalarValueOutputV1.uom) &&
        Objects.equals(this.value, scalarValueOutputV1.value);
  }

  @Override
  public int hashCode() {
    return Objects.hash(isUncertain, uom, value);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ScalarValueOutputV1 {\n");
    
    sb.append("    isUncertain: ").append(toIndentedString(isUncertain)).append("\n");
    sb.append("    uom: ").append(toIndentedString(uom)).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 - 2024 Weber Informatics LLC | Privacy Policy