dev.crashteam.openapi.uzumanalytics.model.GetReportStateByJobId200Response Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-uzum-analytics Show documentation
Show all versions of openapi-uzum-analytics Show documentation
Generates jar artifact containing compiled openapi classes based on generated openapi yaml files
/*
* 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;
/**
* GetReportStateByJobId200Response
*/
@JsonPropertyOrder({
GetReportStateByJobId200Response.JSON_PROPERTY_REPORT_ID,
GetReportStateByJobId200Response.JSON_PROPERTY_JOB_ID,
GetReportStateByJobId200Response.JSON_PROPERTY_STATUS,
GetReportStateByJobId200Response.JSON_PROPERTY_INTERVAL,
GetReportStateByJobId200Response.JSON_PROPERTY_REPORT_TYPE,
GetReportStateByJobId200Response.JSON_PROPERTY_CREATED_AT,
GetReportStateByJobId200Response.JSON_PROPERTY_SELLER_LINK,
GetReportStateByJobId200Response.JSON_PROPERTY_CATEGORY_ID
})
@JsonTypeName("getReportStateByJobId_200_response")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-02-21T16:53:18.489277710Z[Etc/UTC]")
public class GetReportStateByJobId200Response {
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 GetReportStateByJobId200Response() {
}
@JsonCreator
public GetReportStateByJobId200Response(
@JsonProperty(JSON_PROPERTY_CATEGORY_ID) Long categoryId
) {
this();
this.categoryId = categoryId;
}
public GetReportStateByJobId200Response reportId(String reportId) {
this.reportId = reportId;
return this;
}
/**
* Идентификатор отчета
* @return reportId
**/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_REPORT_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getReportId() {
return reportId;
}
@JsonProperty(JSON_PROPERTY_REPORT_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setReportId(String reportId) {
this.reportId = reportId;
}
public GetReportStateByJobId200Response jobId(UUID jobId) {
this.jobId = jobId;
return this;
}
/**
* Идентификатор асинхронной job
* @return jobId
**/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_JOB_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public UUID getJobId() {
return jobId;
}
@JsonProperty(JSON_PROPERTY_JOB_ID)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setJobId(UUID jobId) {
this.jobId = jobId;
}
public GetReportStateByJobId200Response status(String status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getStatus() {
return status;
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setStatus(String status) {
this.status = status;
}
public GetReportStateByJobId200Response interval(Integer interval) {
this.interval = interval;
return this;
}
/**
* Get interval
* @return interval
**/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_INTERVAL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getInterval() {
return interval;
}
@JsonProperty(JSON_PROPERTY_INTERVAL)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setInterval(Integer interval) {
this.interval = interval;
}
public GetReportStateByJobId200Response reportType(String reportType) {
this.reportType = reportType;
return this;
}
/**
* Get reportType
* @return reportType
**/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_REPORT_TYPE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getReportType() {
return reportType;
}
@JsonProperty(JSON_PROPERTY_REPORT_TYPE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setReportType(String reportType) {
this.reportType = reportType;
}
public GetReportStateByJobId200Response createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Get createdAt
* @return createdAt
**/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_CREATED_AT)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public OffsetDateTime getCreatedAt() {
return createdAt;
}
@JsonProperty(JSON_PROPERTY_CREATED_AT)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setCreatedAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
}
public GetReportStateByJobId200Response sellerLink(String sellerLink) {
this.sellerLink = sellerLink;
return this;
}
/**
* Уникальная ссылка на магазин продавца
* @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;
}
GetReportStateByJobId200Response getReportStateByJobId200Response = (GetReportStateByJobId200Response) o;
return Objects.equals(this.reportId, getReportStateByJobId200Response.reportId) &&
Objects.equals(this.jobId, getReportStateByJobId200Response.jobId) &&
Objects.equals(this.status, getReportStateByJobId200Response.status) &&
Objects.equals(this.interval, getReportStateByJobId200Response.interval) &&
Objects.equals(this.reportType, getReportStateByJobId200Response.reportType) &&
Objects.equals(this.createdAt, getReportStateByJobId200Response.createdAt) &&
Objects.equals(this.sellerLink, getReportStateByJobId200Response.sellerLink) &&
Objects.equals(this.categoryId, getReportStateByJobId200Response.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 GetReportStateByJobId200Response {\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