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

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

There is a newer version: 66.0.0-v202410141803
Show newest version
/*
 * Seeq REST API
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: 64.4.1-v202409112255
 * 
 *
 * 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 list of exports
 */
@Schema(description = "The list of exports")
public class ExportPreviewV1 {
  @JsonProperty("autoupdateTimeRange")
  private Boolean autoupdateTimeRange = false;

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

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

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

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

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

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

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

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

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

  public ExportPreviewV1 autoupdateTimeRange(Boolean autoupdateTimeRange) {
    this.autoupdateTimeRange = autoupdateTimeRange;
    return this;
  }

   /**
   * Boolean indicating if the time range for export will be updated to 'now' when the export is started.
   * @return autoupdateTimeRange
  **/
  @Schema(description = "Boolean indicating if the time range for export will be updated to 'now' when the export is started.")
  public Boolean getAutoupdateTimeRange() {
    return autoupdateTimeRange;
  }

  public void setAutoupdateTimeRange(Boolean autoupdateTimeRange) {
    this.autoupdateTimeRange = autoupdateTimeRange;
  }

  public ExportPreviewV1 createdAt(String createdAt) {
    this.createdAt = createdAt;
    return this;
  }

   /**
   * The ISO 8601 date of when the export was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return createdAt
  **/
  @Schema(description = "The ISO 8601 date of when the export was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
  public String getCreatedAt() {
    return createdAt;
  }

  public void setCreatedAt(String createdAt) {
    this.createdAt = createdAt;
  }

  public ExportPreviewV1 id(String id) {
    this.id = id;
    return this;
  }

   /**
   * The ID that can be used to interact with the item
   * @return id
  **/
  @Schema(required = true, description = "The ID that can be used to interact with the item")
  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public ExportPreviewV1 isArchived(Boolean isArchived) {
    this.isArchived = isArchived;
    return this;
  }

   /**
   * Whether item is archived
   * @return isArchived
  **/
  @Schema(description = "Whether item is archived")
  public Boolean getIsArchived() {
    return isArchived;
  }

  public void setIsArchived(Boolean isArchived) {
    this.isArchived = isArchived;
  }

  public ExportPreviewV1 isRedacted(Boolean isRedacted) {
    this.isRedacted = isRedacted;
    return this;
  }

   /**
   * Whether item is redacted
   * @return isRedacted
  **/
  @Schema(description = "Whether item is redacted")
  public Boolean getIsRedacted() {
    return isRedacted;
  }

  public void setIsRedacted(Boolean isRedacted) {
    this.isRedacted = isRedacted;
  }

  public ExportPreviewV1 name(String name) {
    this.name = name;
    return this;
  }

   /**
   * The human readable name
   * @return name
  **/
  @Schema(required = true, description = "The human readable name")
  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public ExportPreviewV1 scopedTo(String scopedTo) {
    this.scopedTo = scopedTo;
    return this;
  }

   /**
   * The ID of the workbook to which this item is scoped. If null, the export is globally-scoped.
   * @return scopedTo
  **/
  @Schema(description = "The ID of the workbook to which this item is scoped. If null, the export is globally-scoped.")
  public String getScopedTo() {
    return scopedTo;
  }

  public void setScopedTo(String scopedTo) {
    this.scopedTo = scopedTo;
  }

  public ExportPreviewV1 translationKey(String translationKey) {
    this.translationKey = translationKey;
    return this;
  }

   /**
   * The item's translation key, if any
   * @return translationKey
  **/
  @Schema(description = "The item's translation key, if any")
  public String getTranslationKey() {
    return translationKey;
  }

  public void setTranslationKey(String translationKey) {
    this.translationKey = translationKey;
  }

  public ExportPreviewV1 type(String type) {
    this.type = type;
    return this;
  }

   /**
   * The type of the item
   * @return type
  **/
  @Schema(required = true, description = "The type of the item")
  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public ExportPreviewV1 updatedAt(String updatedAt) {
    this.updatedAt = updatedAt;
    return this;
  }

   /**
   * The ISO 8601 date of when the export was updated/run (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return updatedAt
  **/
  @Schema(description = "The ISO 8601 date of when the export was updated/run (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)")
  public String getUpdatedAt() {
    return updatedAt;
  }

  public void setUpdatedAt(String updatedAt) {
    this.updatedAt = updatedAt;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ExportPreviewV1 exportPreviewV1 = (ExportPreviewV1) o;
    return Objects.equals(this.autoupdateTimeRange, exportPreviewV1.autoupdateTimeRange) &&
        Objects.equals(this.createdAt, exportPreviewV1.createdAt) &&
        Objects.equals(this.id, exportPreviewV1.id) &&
        Objects.equals(this.isArchived, exportPreviewV1.isArchived) &&
        Objects.equals(this.isRedacted, exportPreviewV1.isRedacted) &&
        Objects.equals(this.name, exportPreviewV1.name) &&
        Objects.equals(this.scopedTo, exportPreviewV1.scopedTo) &&
        Objects.equals(this.translationKey, exportPreviewV1.translationKey) &&
        Objects.equals(this.type, exportPreviewV1.type) &&
        Objects.equals(this.updatedAt, exportPreviewV1.updatedAt);
  }

  @Override
  public int hashCode() {
    return Objects.hash(autoupdateTimeRange, createdAt, id, isArchived, isRedacted, name, scopedTo, translationKey, type, updatedAt);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ExportPreviewV1 {\n");
    
    sb.append("    autoupdateTimeRange: ").append(toIndentedString(autoupdateTimeRange)).append("\n");
    sb.append("    createdAt: ").append(toIndentedString(createdAt)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    isArchived: ").append(toIndentedString(isArchived)).append("\n");
    sb.append("    isRedacted: ").append(toIndentedString(isRedacted)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    scopedTo: ").append(toIndentedString(scopedTo)).append("\n");
    sb.append("    translationKey: ").append(toIndentedString(translationKey)).append("\n");
    sb.append("    type: ").append(toIndentedString(type)).append("\n");
    sb.append("    updatedAt: ").append(toIndentedString(updatedAt)).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