113 lines
3.0 KiB
Java
113 lines
3.0 KiB
Java
package com.muse.dto;
|
|
|
|
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.springframework.lang.Nullable;
|
|
import java.io.Serializable;
|
|
import java.time.OffsetDateTime;
|
|
import jakarta.validation.Valid;
|
|
import jakarta.validation.constraints.*;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
|
|
|
import java.util.*;
|
|
import jakarta.annotation.Generated;
|
|
|
|
/**
|
|
* AdminRetrySourceEvent200ResponseAllOfData
|
|
*/
|
|
|
|
@JsonTypeName("adminRetrySourceEvent_200_response_allOf_data")
|
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", date = "2026-05-24T16:47:40.290595+08:00[Asia/Shanghai]", comments = "Generator version: 7.22.0")
|
|
public class AdminRetrySourceEvent200ResponseAllOfData implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
private @Nullable UUID jobId;
|
|
|
|
private @Nullable String status;
|
|
|
|
public AdminRetrySourceEvent200ResponseAllOfData jobId(@Nullable UUID jobId) {
|
|
this.jobId = jobId;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get jobId
|
|
* @return jobId
|
|
*/
|
|
@Valid
|
|
@Schema(name = "jobId", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("jobId")
|
|
public @Nullable UUID getJobId() {
|
|
return jobId;
|
|
}
|
|
|
|
@JsonProperty("jobId")
|
|
public void setJobId(@Nullable UUID jobId) {
|
|
this.jobId = jobId;
|
|
}
|
|
|
|
public AdminRetrySourceEvent200ResponseAllOfData status(@Nullable String status) {
|
|
this.status = status;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get status
|
|
* @return status
|
|
*/
|
|
|
|
@Schema(name = "status", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("status")
|
|
public @Nullable String getStatus() {
|
|
return status;
|
|
}
|
|
|
|
@JsonProperty("status")
|
|
public void setStatus(@Nullable String status) {
|
|
this.status = status;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object o) {
|
|
if (this == o) {
|
|
return true;
|
|
}
|
|
if (o == null || getClass() != o.getClass()) {
|
|
return false;
|
|
}
|
|
AdminRetrySourceEvent200ResponseAllOfData adminRetrySourceEvent200ResponseAllOfData = (AdminRetrySourceEvent200ResponseAllOfData) o;
|
|
return Objects.equals(this.jobId, adminRetrySourceEvent200ResponseAllOfData.jobId) &&
|
|
Objects.equals(this.status, adminRetrySourceEvent200ResponseAllOfData.status);
|
|
}
|
|
|
|
@Override
|
|
public int hashCode() {
|
|
return Objects.hash(jobId, status);
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("class AdminRetrySourceEvent200ResponseAllOfData {\n");
|
|
sb.append(" jobId: ").append(toIndentedString(jobId)).append("\n");
|
|
sb.append(" status: ").append(toIndentedString(status)).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(@Nullable Object o) {
|
|
return o == null ? "null" : o.toString().replace("\n", "\n ");
|
|
}
|
|
}
|
|
|