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

com.seeq.model.GetSampleOutputV1 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.SampleOutputV1;
import io.swagger.v3.oas.annotations.media.Schema;
/**
 * GetSampleOutputV1
 */
public class GetSampleOutputV1 {
  @JsonProperty("keyUnitOfMeasure")
  private String keyUnitOfMeasure = null;

  @JsonProperty("sample")
  private SampleOutputV1 sample = null;

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

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

  public GetSampleOutputV1 keyUnitOfMeasure(String keyUnitOfMeasure) {
    this.keyUnitOfMeasure = keyUnitOfMeasure;
    return this;
  }

   /**
   * The unit of measure for the signal's keys. A time-keyed signal has key units of 'ns'.
   * @return keyUnitOfMeasure
  **/
  @Schema(description = "The unit of measure for the signal's keys. A time-keyed signal has key units of 'ns'.")
  public String getKeyUnitOfMeasure() {
    return keyUnitOfMeasure;
  }

  public void setKeyUnitOfMeasure(String keyUnitOfMeasure) {
    this.keyUnitOfMeasure = keyUnitOfMeasure;
  }

  public GetSampleOutputV1 sample(SampleOutputV1 sample) {
    this.sample = sample;
    return this;
  }

   /**
   * Get sample
   * @return sample
  **/
  @Schema(description = "")
  public SampleOutputV1 getSample() {
    return sample;
  }

  public void setSample(SampleOutputV1 sample) {
    this.sample = sample;
  }

  public GetSampleOutputV1 statusMessage(String statusMessage) {
    this.statusMessage = statusMessage;
    return this;
  }

   /**
   * A plain language status message with information about any issues that may have been encountered during an operation. Null if the status message has not been set.
   * @return statusMessage
  **/
  @Schema(description = "A plain language status message with information about any issues that may have been encountered during an operation. Null if the status message has not been set.")
  public String getStatusMessage() {
    return statusMessage;
  }

  public void setStatusMessage(String statusMessage) {
    this.statusMessage = statusMessage;
  }

  public GetSampleOutputV1 valueUnitOfMeasure(String valueUnitOfMeasure) {
    this.valueUnitOfMeasure = valueUnitOfMeasure;
    return this;
  }

   /**
   * The unit of measure for the signal's values
   * @return valueUnitOfMeasure
  **/
  @Schema(description = "The unit of measure for the signal's values")
  public String getValueUnitOfMeasure() {
    return valueUnitOfMeasure;
  }

  public void setValueUnitOfMeasure(String valueUnitOfMeasure) {
    this.valueUnitOfMeasure = valueUnitOfMeasure;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    GetSampleOutputV1 getSampleOutputV1 = (GetSampleOutputV1) o;
    return Objects.equals(this.keyUnitOfMeasure, getSampleOutputV1.keyUnitOfMeasure) &&
        Objects.equals(this.sample, getSampleOutputV1.sample) &&
        Objects.equals(this.statusMessage, getSampleOutputV1.statusMessage) &&
        Objects.equals(this.valueUnitOfMeasure, getSampleOutputV1.valueUnitOfMeasure);
  }

  @Override
  public int hashCode() {
    return Objects.hash(keyUnitOfMeasure, sample, statusMessage, valueUnitOfMeasure);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class GetSampleOutputV1 {\n");
    
    sb.append("    keyUnitOfMeasure: ").append(toIndentedString(keyUnitOfMeasure)).append("\n");
    sb.append("    sample: ").append(toIndentedString(sample)).append("\n");
    sb.append("    statusMessage: ").append(toIndentedString(statusMessage)).append("\n");
    sb.append("    valueUnitOfMeasure: ").append(toIndentedString(valueUnitOfMeasure)).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