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

dev.crashteam.openapi.uzumanalytics.model.Report Maven / Gradle / Ivy

Go to download

Generates jar artifact containing compiled openapi classes based on generated openapi yaml files

There is a newer version: 1.23-f484458-server
Show newest version
/*
 * CrashTeam Uzum Analytics API
 * CrashTeam Dev Uzum Analytics API 
 *
 * The version of the OpenAPI document: 0.0.1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


package dev.crashteam.openapi.uzumanalytics.model;

import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import com.fasterxml.jackson.annotation.JsonValue;
import java.time.OffsetDateTime;
import java.util.UUID;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonTypeName;

/**
 * История изменений товара
 */
@JsonPropertyOrder({
  Report.JSON_PROPERTY_REPORT_ID,
  Report.JSON_PROPERTY_JOB_ID,
  Report.JSON_PROPERTY_STATUS,
  Report.JSON_PROPERTY_INTERVAL,
  Report.JSON_PROPERTY_REPORT_TYPE,
  Report.JSON_PROPERTY_CREATED_AT,
  Report.JSON_PROPERTY_SELLER_LINK,
  Report.JSON_PROPERTY_CATEGORY_ID
})
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-21T16:53:18.489277710Z[Etc/UTC]")
public class Report {
  public static final String JSON_PROPERTY_REPORT_ID = "reportId";
  private String reportId;

  public static final String JSON_PROPERTY_JOB_ID = "jobId";
  private UUID jobId;

  public static final String JSON_PROPERTY_STATUS = "status";
  private String status;

  public static final String JSON_PROPERTY_INTERVAL = "interval";
  private Integer interval;

  public static final String JSON_PROPERTY_REPORT_TYPE = "reportType";
  private String reportType;

  public static final String JSON_PROPERTY_CREATED_AT = "createdAt";
  private OffsetDateTime createdAt;

  public static final String JSON_PROPERTY_SELLER_LINK = "sellerLink";
  private String sellerLink;

  public static final String JSON_PROPERTY_CATEGORY_ID = "categoryId";
  private Long categoryId;

  public Report() {
  }

  @JsonCreator
  public Report(
    @JsonProperty(JSON_PROPERTY_CATEGORY_ID) Long categoryId
  ) {
    this();
    this.categoryId = categoryId;
  }

  public Report reportId(String reportId) {
    
    this.reportId = reportId;
    return this;
  }

   /**
   * Идентификатор отчета
   * @return reportId
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_REPORT_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getReportId() {
    return reportId;
  }


  @JsonProperty(JSON_PROPERTY_REPORT_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setReportId(String reportId) {
    this.reportId = reportId;
  }


  public Report jobId(UUID jobId) {
    
    this.jobId = jobId;
    return this;
  }

   /**
   * Идентификатор асинхронной job
   * @return jobId
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_JOB_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public UUID getJobId() {
    return jobId;
  }


  @JsonProperty(JSON_PROPERTY_JOB_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setJobId(UUID jobId) {
    this.jobId = jobId;
  }


  public Report status(String status) {
    
    this.status = status;
    return this;
  }

   /**
   * Get status
   * @return status
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_STATUS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getStatus() {
    return status;
  }


  @JsonProperty(JSON_PROPERTY_STATUS)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setStatus(String status) {
    this.status = status;
  }


  public Report interval(Integer interval) {
    
    this.interval = interval;
    return this;
  }

   /**
   * Get interval
   * @return interval
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_INTERVAL)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Integer getInterval() {
    return interval;
  }


  @JsonProperty(JSON_PROPERTY_INTERVAL)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setInterval(Integer interval) {
    this.interval = interval;
  }


  public Report reportType(String reportType) {
    
    this.reportType = reportType;
    return this;
  }

   /**
   * Get reportType
   * @return reportType
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_REPORT_TYPE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getReportType() {
    return reportType;
  }


  @JsonProperty(JSON_PROPERTY_REPORT_TYPE)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setReportType(String reportType) {
    this.reportType = reportType;
  }


  public Report createdAt(OffsetDateTime createdAt) {
    
    this.createdAt = createdAt;
    return this;
  }

   /**
   * Get createdAt
   * @return createdAt
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_CREATED_AT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public OffsetDateTime getCreatedAt() {
    return createdAt;
  }


  @JsonProperty(JSON_PROPERTY_CREATED_AT)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setCreatedAt(OffsetDateTime createdAt) {
    this.createdAt = createdAt;
  }


  public Report sellerLink(String sellerLink) {
    
    this.sellerLink = sellerLink;
    return this;
  }

   /**
   * Get sellerLink
   * @return sellerLink
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_SELLER_LINK)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public String getSellerLink() {
    return sellerLink;
  }


  @JsonProperty(JSON_PROPERTY_SELLER_LINK)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
  public void setSellerLink(String sellerLink) {
    this.sellerLink = sellerLink;
  }


   /**
   * Идентификатор категории
   * @return categoryId
  **/
  @javax.annotation.Nullable
  @JsonProperty(JSON_PROPERTY_CATEGORY_ID)
  @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)

  public Long getCategoryId() {
    return categoryId;
  }



  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    Report report = (Report) o;
    return Objects.equals(this.reportId, report.reportId) &&
        Objects.equals(this.jobId, report.jobId) &&
        Objects.equals(this.status, report.status) &&
        Objects.equals(this.interval, report.interval) &&
        Objects.equals(this.reportType, report.reportType) &&
        Objects.equals(this.createdAt, report.createdAt) &&
        Objects.equals(this.sellerLink, report.sellerLink) &&
        Objects.equals(this.categoryId, report.categoryId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(reportId, jobId, status, interval, reportType, createdAt, sellerLink, categoryId);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class Report {\n");
    sb.append("    reportId: ").append(toIndentedString(reportId)).append("\n");
    sb.append("    jobId: ").append(toIndentedString(jobId)).append("\n");
    sb.append("    status: ").append(toIndentedString(status)).append("\n");
    sb.append("    interval: ").append(toIndentedString(interval)).append("\n");
    sb.append("    reportType: ").append(toIndentedString(reportType)).append("\n");
    sb.append("    createdAt: ").append(toIndentedString(createdAt)).append("\n");
    sb.append("    sellerLink: ").append(toIndentedString(sellerLink)).append("\n");
    sb.append("    categoryId: ").append(toIndentedString(categoryId)).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(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy