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

dev.crashteam.openapi.keanalytics.model.GetReportBySeller200Response Maven / Gradle / Ivy

Go to download

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

The newest version!
package dev.crashteam.openapi.keanalytics.model;

import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonTypeName;
import java.util.UUID;
import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime;
import javax.validation.Valid;
import javax.validation.constraints.*;
import io.swagger.v3.oas.annotations.media.Schema;


import java.util.*;
import javax.annotation.Generated;

/**
 * GetReportBySeller200Response
 */

@JsonTypeName("getReportBySeller_200_response")
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2024-03-26T08:59:12.399131532Z[Etc/UTC]")
public class GetReportBySeller200Response {

  private UUID jobId;

  private String reportId;

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

  /**
   * Идентификатор асинхронной job
   * @return jobId
  */
  @Valid 
  @Schema(name = "jobId", description = "Идентификатор асинхронной job", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("jobId")
  public UUID getJobId() {
    return jobId;
  }

  public void setJobId(UUID jobId) {
    this.jobId = jobId;
  }

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

  /**
   * Идентификатор отчета
   * @return reportId
  */
  
  @Schema(name = "reportId", example = "61dc6a6a453cd26524fd42b4", description = "Идентификатор отчета", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
  @JsonProperty("reportId")
  public String getReportId() {
    return reportId;
  }

  public void setReportId(String reportId) {
    this.reportId = reportId;
  }

  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    GetReportBySeller200Response getReportBySeller200Response = (GetReportBySeller200Response) o;
    return Objects.equals(this.jobId, getReportBySeller200Response.jobId) &&
        Objects.equals(this.reportId, getReportBySeller200Response.reportId);
  }

  @Override
  public int hashCode() {
    return Objects.hash(jobId, reportId);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class GetReportBySeller200Response {\n");
    sb.append("    jobId: ").append(toIndentedString(jobId)).append("\n");
    sb.append("    reportId: ").append(toIndentedString(reportId)).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 - 2024 Weber Informatics LLC | Privacy Policy