115 lines
3.2 KiB
Java
115 lines
3.2 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.time.OffsetDateTime;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
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;
|
|
|
|
/**
|
|
* UpdateEntity200ResponseAllOfData
|
|
*/
|
|
|
|
@JsonTypeName("updateEntity_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 UpdateEntity200ResponseAllOfData implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
private @Nullable String entityId;
|
|
|
|
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
|
|
private @Nullable OffsetDateTime updatedAt;
|
|
|
|
public UpdateEntity200ResponseAllOfData entityId(@Nullable String entityId) {
|
|
this.entityId = entityId;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get entityId
|
|
* @return entityId
|
|
*/
|
|
|
|
@Schema(name = "entityId", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("entityId")
|
|
public @Nullable String getEntityId() {
|
|
return entityId;
|
|
}
|
|
|
|
@JsonProperty("entityId")
|
|
public void setEntityId(@Nullable String entityId) {
|
|
this.entityId = entityId;
|
|
}
|
|
|
|
public UpdateEntity200ResponseAllOfData updatedAt(@Nullable OffsetDateTime updatedAt) {
|
|
this.updatedAt = updatedAt;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get updatedAt
|
|
* @return updatedAt
|
|
*/
|
|
@Valid
|
|
@Schema(name = "updatedAt", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("updatedAt")
|
|
public @Nullable OffsetDateTime getUpdatedAt() {
|
|
return updatedAt;
|
|
}
|
|
|
|
@JsonProperty("updatedAt")
|
|
public void setUpdatedAt(@Nullable OffsetDateTime updatedAt) {
|
|
this.updatedAt = updatedAt;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object o) {
|
|
if (this == o) {
|
|
return true;
|
|
}
|
|
if (o == null || getClass() != o.getClass()) {
|
|
return false;
|
|
}
|
|
UpdateEntity200ResponseAllOfData updateEntity200ResponseAllOfData = (UpdateEntity200ResponseAllOfData) o;
|
|
return Objects.equals(this.entityId, updateEntity200ResponseAllOfData.entityId) &&
|
|
Objects.equals(this.updatedAt, updateEntity200ResponseAllOfData.updatedAt);
|
|
}
|
|
|
|
@Override
|
|
public int hashCode() {
|
|
return Objects.hash(entityId, updatedAt);
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("class UpdateEntity200ResponseAllOfData {\n");
|
|
sb.append(" entityId: ").append(toIndentedString(entityId)).append("\n");
|
|
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).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 ");
|
|
}
|
|
}
|
|
|