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

com.seeq.model.ExportItemsOutputV1 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: 63.1.6-v202409101657
 * 
 *
 * 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.ExportItemV1;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.ArrayList;
import java.util.List;
/**
 * ExportItemsOutputV1
 */
public class ExportItemsOutputV1 {
  @JsonProperty("autoupdateTimeRange")
  private Boolean autoupdateTimeRange = false;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  public ExportItemsOutputV1 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 ExportItemsOutputV1 capsuleTime(Boolean capsuleTime) {
    this.capsuleTime = capsuleTime;
    return this;
  }

   /**
   * True if capsule time is displayed, false otherwise.
   * @return capsuleTime
  **/
  @Schema(description = "True if capsule time is displayed, false otherwise.")
  public Boolean getCapsuleTime() {
    return capsuleTime;
  }

  public void setCapsuleTime(Boolean capsuleTime) {
    this.capsuleTime = capsuleTime;
  }

  public ExportItemsOutputV1 chainView(Boolean chainView) {
    this.chainView = chainView;
    return this;
  }

   /**
   * True if chain view time is displayed, false otherwise.
   * @return chainView
  **/
  @Schema(description = "True if chain view time is displayed, false otherwise.")
  public Boolean getChainView() {
    return chainView;
  }

  public void setChainView(Boolean chainView) {
    this.chainView = chainView;
  }

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

   /**
   * The ISO 8601 date and time of when the export was created (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return createdAt
  **/
  @Schema(description = "The ISO 8601 date and time 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 ExportItemsOutputV1 exportCapsules(Boolean exportCapsules) {
    this.exportCapsules = exportCapsules;
    return this;
  }

   /**
   * True if the capsule table should be exported, false otherwise.
   * @return exportCapsules
  **/
  @Schema(description = "True if the capsule table should be exported, false otherwise.")
  public Boolean getExportCapsules() {
    return exportCapsules;
  }

  public void setExportCapsules(Boolean exportCapsules) {
    this.exportCapsules = exportCapsules;
  }

  public ExportItemsOutputV1 exportName(String exportName) {
    this.exportName = exportName;
    return this;
  }

   /**
   * The desired name for the export. This name is used to create an OData endpoint for accessing the data being exported.
   * @return exportName
  **/
  @Schema(description = "The desired name for the export. This name is used to create an OData endpoint for accessing the data being exported.")
  public String getExportName() {
    return exportName;
  }

  public void setExportName(String exportName) {
    this.exportName = exportName;
  }

  public ExportItemsOutputV1 gridEnabled(Boolean gridEnabled) {
    this.gridEnabled = gridEnabled;
    return this;
  }

   /**
   * Boolean indicating whether the data grid should be included.
   * @return gridEnabled
  **/
  @Schema(description = "Boolean indicating whether the data grid should be included.")
  public Boolean getGridEnabled() {
    return gridEnabled;
  }

  public void setGridEnabled(Boolean gridEnabled) {
    this.gridEnabled = gridEnabled;
  }

  public ExportItemsOutputV1 gridOrigin(String gridOrigin) {
    this.gridOrigin = gridOrigin;
    return this;
  }

   /**
   * The origin timestamp for gridding.
   * @return gridOrigin
  **/
  @Schema(description = "The origin timestamp for gridding.")
  public String getGridOrigin() {
    return gridOrigin;
  }

  public void setGridOrigin(String gridOrigin) {
    this.gridOrigin = gridOrigin;
  }

  public ExportItemsOutputV1 gridSize(String gridSize) {
    this.gridSize = gridSize;
    return this;
  }

   /**
   * The desired sample period for the export. An automatic grid size is used when gridSize is set to 'false'.
   * @return gridSize
  **/
  @Schema(description = "The desired sample period for the export. An automatic grid size is used when gridSize is set to 'false'.")
  public String getGridSize() {
    return gridSize;
  }

  public void setGridSize(String gridSize) {
    this.gridSize = gridSize;
  }

  public ExportItemsOutputV1 href(String href) {
    this.href = href;
    return this;
  }

   /**
   * The HREF where the export data is accessible
   * @return href
  **/
  @Schema(description = "The HREF where the export data is accessible")
  public String getHref() {
    return href;
  }

  public void setHref(String href) {
    this.href = href;
  }

  public ExportItemsOutputV1 hrefLegacy(String hrefLegacy) {
    this.hrefLegacy = hrefLegacy;
    return this;
  }

   /**
   * The legacy HREF where the export data is accessible
   * @return hrefLegacy
  **/
  @Schema(description = "The legacy HREF where the export data is accessible")
  public String getHrefLegacy() {
    return hrefLegacy;
  }

  public void setHrefLegacy(String hrefLegacy) {
    this.hrefLegacy = hrefLegacy;
  }

  public ExportItemsOutputV1 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 ExportItemsOutputV1 isArchived(Boolean isArchived) {
    this.isArchived = isArchived;
    return this;
  }

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

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

  public ExportItemsOutputV1 items(List items) {
    this.items = items;
    return this;
  }

  public ExportItemsOutputV1 addItemsItem(ExportItemV1 itemsItem) {
    this.items.add(itemsItem);
    return this;
  }

   /**
   * A list of items to be exported
   * @return items
  **/
  @Schema(required = true, description = "A list of items to be exported")
  public List getItems() {
    return items;
  }

  public void setItems(List items) {
    this.items = items;
  }

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

   /**
   * The actual name for this export.
   * @return name
  **/
  @Schema(description = "The actual name for this export.")
  public String getName() {
    return name;
  }

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

  public ExportItemsOutputV1 originalTimestampsEnabled(Boolean originalTimestampsEnabled) {
    this.originalTimestampsEnabled = originalTimestampsEnabled;
    return this;
  }

   /**
   * True if the original sample period should be used. A manual or automatic grid size may be used when false.
   * @return originalTimestampsEnabled
  **/
  @Schema(description = "True if the original sample period should be used. A manual or automatic grid size may be used when false.")
  public Boolean getOriginalTimestampsEnabled() {
    return originalTimestampsEnabled;
  }

  public void setOriginalTimestampsEnabled(Boolean originalTimestampsEnabled) {
    this.originalTimestampsEnabled = originalTimestampsEnabled;
  }

  public ExportItemsOutputV1 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 ExportItemsOutputV1 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
   * @return statusMessage
  **/
  @Schema(description = "A plain language status message with information about any issues that may have been encountered during an operation")
  public String getStatusMessage() {
    return statusMessage;
  }

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

  public ExportItemsOutputV1 swapIn(String swapIn) {
    this.swapIn = swapIn;
    return this;
  }

   /**
   * The ID of an asset to swap in. Any parameters in the formula that are named the same in both the swapIn and swapOut assets will be swapped.
   * @return swapIn
  **/
  @Schema(description = "The ID of an asset to swap in. Any parameters in the formula that are named the same in both the swapIn and swapOut assets will be swapped.")
  public String getSwapIn() {
    return swapIn;
  }

  public void setSwapIn(String swapIn) {
    this.swapIn = swapIn;
  }

  public ExportItemsOutputV1 swapOut(String swapOut) {
    this.swapOut = swapOut;
    return this;
  }

   /**
   * The ID of an asset to swap out. Any parameters in the formula that are named the same in both the swapIn and swapOut assets will be swapped.
   * @return swapOut
  **/
  @Schema(description = "The ID of an asset to swap out. Any parameters in the formula that are named the same in both the swapIn and swapOut assets will be swapped.")
  public String getSwapOut() {
    return swapOut;
  }

  public void setSwapOut(String swapOut) {
    this.swapOut = swapOut;
  }

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

   /**
   * The IANA time zone name for all timestamps in this export.
   * @return timeZone
  **/
  @Schema(description = "The IANA time zone name for all timestamps in this export.")
  public String getTimeZone() {
    return timeZone;
  }

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

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

   /**
   * The ISO 8601 date and time of when the export was updated/run (YYYY-MM-DDThh:mm:ss.sssssssss±hh:mm)
   * @return updatedAt
  **/
  @Schema(description = "The ISO 8601 date and time 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;
    }
    ExportItemsOutputV1 exportItemsOutputV1 = (ExportItemsOutputV1) o;
    return Objects.equals(this.autoupdateTimeRange, exportItemsOutputV1.autoupdateTimeRange) &&
        Objects.equals(this.capsuleTime, exportItemsOutputV1.capsuleTime) &&
        Objects.equals(this.chainView, exportItemsOutputV1.chainView) &&
        Objects.equals(this.createdAt, exportItemsOutputV1.createdAt) &&
        Objects.equals(this.exportCapsules, exportItemsOutputV1.exportCapsules) &&
        Objects.equals(this.exportName, exportItemsOutputV1.exportName) &&
        Objects.equals(this.gridEnabled, exportItemsOutputV1.gridEnabled) &&
        Objects.equals(this.gridOrigin, exportItemsOutputV1.gridOrigin) &&
        Objects.equals(this.gridSize, exportItemsOutputV1.gridSize) &&
        Objects.equals(this.href, exportItemsOutputV1.href) &&
        Objects.equals(this.hrefLegacy, exportItemsOutputV1.hrefLegacy) &&
        Objects.equals(this.id, exportItemsOutputV1.id) &&
        Objects.equals(this.isArchived, exportItemsOutputV1.isArchived) &&
        Objects.equals(this.items, exportItemsOutputV1.items) &&
        Objects.equals(this.name, exportItemsOutputV1.name) &&
        Objects.equals(this.originalTimestampsEnabled, exportItemsOutputV1.originalTimestampsEnabled) &&
        Objects.equals(this.scopedTo, exportItemsOutputV1.scopedTo) &&
        Objects.equals(this.statusMessage, exportItemsOutputV1.statusMessage) &&
        Objects.equals(this.swapIn, exportItemsOutputV1.swapIn) &&
        Objects.equals(this.swapOut, exportItemsOutputV1.swapOut) &&
        Objects.equals(this.timeZone, exportItemsOutputV1.timeZone) &&
        Objects.equals(this.updatedAt, exportItemsOutputV1.updatedAt);
  }

  @Override
  public int hashCode() {
    return Objects.hash(autoupdateTimeRange, capsuleTime, chainView, createdAt, exportCapsules, exportName, gridEnabled, gridOrigin, gridSize, href, hrefLegacy, id, isArchived, items, name, originalTimestampsEnabled, scopedTo, statusMessage, swapIn, swapOut, timeZone, updatedAt);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class ExportItemsOutputV1 {\n");
    
    sb.append("    autoupdateTimeRange: ").append(toIndentedString(autoupdateTimeRange)).append("\n");
    sb.append("    capsuleTime: ").append(toIndentedString(capsuleTime)).append("\n");
    sb.append("    chainView: ").append(toIndentedString(chainView)).append("\n");
    sb.append("    createdAt: ").append(toIndentedString(createdAt)).append("\n");
    sb.append("    exportCapsules: ").append(toIndentedString(exportCapsules)).append("\n");
    sb.append("    exportName: ").append(toIndentedString(exportName)).append("\n");
    sb.append("    gridEnabled: ").append(toIndentedString(gridEnabled)).append("\n");
    sb.append("    gridOrigin: ").append(toIndentedString(gridOrigin)).append("\n");
    sb.append("    gridSize: ").append(toIndentedString(gridSize)).append("\n");
    sb.append("    href: ").append(toIndentedString(href)).append("\n");
    sb.append("    hrefLegacy: ").append(toIndentedString(hrefLegacy)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    isArchived: ").append(toIndentedString(isArchived)).append("\n");
    sb.append("    items: ").append(toIndentedString(items)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    originalTimestampsEnabled: ").append(toIndentedString(originalTimestampsEnabled)).append("\n");
    sb.append("    scopedTo: ").append(toIndentedString(scopedTo)).append("\n");
    sb.append("    statusMessage: ").append(toIndentedString(statusMessage)).append("\n");
    sb.append("    swapIn: ").append(toIndentedString(swapIn)).append("\n");
    sb.append("    swapOut: ").append(toIndentedString(swapOut)).append("\n");
    sb.append("    timeZone: ").append(toIndentedString(timeZone)).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