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

io.swagger.client.model.Report Maven / Gradle / Ivy

/*
 * DocxMerge
 * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
 *
 * OpenAPI spec version: v1
 * 
 *
 * 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 io.swagger.client.model;

import java.util.Objects;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.client.model.AppFile;
import io.swagger.client.model.TemplateVersionFile;
import io.swagger.client.model.Tenant;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.threeten.bp.OffsetDateTime;

/**
 * Report
 */

@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2018-12-11T02:42:35.962+01:00[Europe/Madrid]")public class Report {

  @SerializedName("data")
  private Map data = null;

  @SerializedName("templateFile")
  private AppFile templateFile = null;

  @SerializedName("templateFileId")
  private String templateFileId = null;

  @SerializedName("resultFile")
  private AppFile resultFile = null;

  @SerializedName("resultFileId")
  private String resultFileId = null;

  @SerializedName("templateVersionFile")
  private TemplateVersionFile templateVersionFile = null;

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

  @SerializedName("created")
  private OffsetDateTime created = null;

  @SerializedName("modified")
  private OffsetDateTime modified = null;

  @SerializedName("tenant")
  private Tenant tenant = null;

  @SerializedName("tenantId")
  private String tenantId = null;
  public Report data(Map data) {
    this.data = data;
    return this;
  }

  
  public Report putDataItem(String key, Object dataItem) {
    if (this.data == null) {
      this.data = new HashMap();
    }
    this.data.put(key, dataItem);
    return this;
  }
  /**
  * Get data
  * @return data
  **/
  @Schema(description = "")
  public Map getData() {
    return data;
  }
  public void setData(Map data) {
    this.data = data;
  }
  public Report templateFile(AppFile templateFile) {
    this.templateFile = templateFile;
    return this;
  }

  

  /**
  * Get templateFile
  * @return templateFile
  **/
  @Schema(description = "")
  public AppFile getTemplateFile() {
    return templateFile;
  }
  public void setTemplateFile(AppFile templateFile) {
    this.templateFile = templateFile;
  }
  public Report templateFileId(String templateFileId) {
    this.templateFileId = templateFileId;
    return this;
  }

  

  /**
  * Get templateFileId
  * @return templateFileId
  **/
  @Schema(description = "")
  public String getTemplateFileId() {
    return templateFileId;
  }
  public void setTemplateFileId(String templateFileId) {
    this.templateFileId = templateFileId;
  }
  public Report resultFile(AppFile resultFile) {
    this.resultFile = resultFile;
    return this;
  }

  

  /**
  * Get resultFile
  * @return resultFile
  **/
  @Schema(description = "")
  public AppFile getResultFile() {
    return resultFile;
  }
  public void setResultFile(AppFile resultFile) {
    this.resultFile = resultFile;
  }
  public Report resultFileId(String resultFileId) {
    this.resultFileId = resultFileId;
    return this;
  }

  

  /**
  * Get resultFileId
  * @return resultFileId
  **/
  @Schema(description = "")
  public String getResultFileId() {
    return resultFileId;
  }
  public void setResultFileId(String resultFileId) {
    this.resultFileId = resultFileId;
  }
  public Report templateVersionFile(TemplateVersionFile templateVersionFile) {
    this.templateVersionFile = templateVersionFile;
    return this;
  }

  

  /**
  * Get templateVersionFile
  * @return templateVersionFile
  **/
  @Schema(description = "")
  public TemplateVersionFile getTemplateVersionFile() {
    return templateVersionFile;
  }
  public void setTemplateVersionFile(TemplateVersionFile templateVersionFile) {
    this.templateVersionFile = templateVersionFile;
  }
  public Report id(String id) {
    this.id = id;
    return this;
  }

  

  /**
  * Get id
  * @return id
  **/
  @Schema(description = "")
  public String getId() {
    return id;
  }
  public void setId(String id) {
    this.id = id;
  }
  public Report created(OffsetDateTime created) {
    this.created = created;
    return this;
  }

  

  /**
  * Get created
  * @return created
  **/
  @Schema(description = "")
  public OffsetDateTime getCreated() {
    return created;
  }
  public void setCreated(OffsetDateTime created) {
    this.created = created;
  }
  public Report modified(OffsetDateTime modified) {
    this.modified = modified;
    return this;
  }

  

  /**
  * Get modified
  * @return modified
  **/
  @Schema(description = "")
  public OffsetDateTime getModified() {
    return modified;
  }
  public void setModified(OffsetDateTime modified) {
    this.modified = modified;
  }
  public Report tenant(Tenant tenant) {
    this.tenant = tenant;
    return this;
  }

  

  /**
  * Get tenant
  * @return tenant
  **/
  @Schema(description = "")
  public Tenant getTenant() {
    return tenant;
  }
  public void setTenant(Tenant tenant) {
    this.tenant = tenant;
  }
  public Report tenantId(String tenantId) {
    this.tenantId = tenantId;
    return this;
  }

  

  /**
  * Get tenantId
  * @return tenantId
  **/
  @Schema(required = true, description = "")
  public String getTenantId() {
    return tenantId;
  }
  public void setTenantId(String tenantId) {
    this.tenantId = tenantId;
  }
  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Report report = (Report) o;
    return Objects.equals(this.data, report.data) &&
        Objects.equals(this.templateFile, report.templateFile) &&
        Objects.equals(this.templateFileId, report.templateFileId) &&
        Objects.equals(this.resultFile, report.resultFile) &&
        Objects.equals(this.resultFileId, report.resultFileId) &&
        Objects.equals(this.templateVersionFile, report.templateVersionFile) &&
        Objects.equals(this.id, report.id) &&
        Objects.equals(this.created, report.created) &&
        Objects.equals(this.modified, report.modified) &&
        Objects.equals(this.tenant, report.tenant) &&
        Objects.equals(this.tenantId, report.tenantId);
  }

  @Override
  public int hashCode() {
    return java.util.Objects.hash(data, templateFile, templateFileId, resultFile, resultFileId, templateVersionFile, id, created, modified, tenant, tenantId);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Report {\n");
    
    sb.append("    data: ").append(toIndentedString(data)).append("\n");
    sb.append("    templateFile: ").append(toIndentedString(templateFile)).append("\n");
    sb.append("    templateFileId: ").append(toIndentedString(templateFileId)).append("\n");
    sb.append("    resultFile: ").append(toIndentedString(resultFile)).append("\n");
    sb.append("    resultFileId: ").append(toIndentedString(resultFileId)).append("\n");
    sb.append("    templateVersionFile: ").append(toIndentedString(templateVersionFile)).append("\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    created: ").append(toIndentedString(created)).append("\n");
    sb.append("    modified: ").append(toIndentedString(modified)).append("\n");
    sb.append("    tenant: ").append(toIndentedString(tenant)).append("\n");
    sb.append("    tenantId: ").append(toIndentedString(tenantId)).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 - 2025 Weber Informatics LLC | Privacy Policy