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 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; /** * BindAgentSlot200ResponseAllOfData */ @JsonTypeName("bindAgentSlot_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 BindAgentSlot200ResponseAllOfData implements Serializable { private static final long serialVersionUID = 1L; private @Nullable Integer slotRevision; private @Nullable String sourceStatus; public BindAgentSlot200ResponseAllOfData slotRevision(@Nullable Integer slotRevision) { this.slotRevision = slotRevision; return this; } /** * 绑定后的新槽位 revision * @return slotRevision */ @Schema(name = "slotRevision", description = "绑定后的新槽位 revision", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("slotRevision") public @Nullable Integer getSlotRevision() { return slotRevision; } @JsonProperty("slotRevision") public void setSlotRevision(@Nullable Integer slotRevision) { this.slotRevision = slotRevision; } public BindAgentSlot200ResponseAllOfData sourceStatus(@Nullable String sourceStatus) { this.sourceStatus = sourceStatus; return this; } /** * 来源状态 * @return sourceStatus */ @Schema(name = "sourceStatus", description = "来源状态", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("sourceStatus") public @Nullable String getSourceStatus() { return sourceStatus; } @JsonProperty("sourceStatus") public void setSourceStatus(@Nullable String sourceStatus) { this.sourceStatus = sourceStatus; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } BindAgentSlot200ResponseAllOfData bindAgentSlot200ResponseAllOfData = (BindAgentSlot200ResponseAllOfData) o; return Objects.equals(this.slotRevision, bindAgentSlot200ResponseAllOfData.slotRevision) && Objects.equals(this.sourceStatus, bindAgentSlot200ResponseAllOfData.sourceStatus); } @Override public int hashCode() { return Objects.hash(slotRevision, sourceStatus); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class BindAgentSlot200ResponseAllOfData {\n"); sb.append(" slotRevision: ").append(toIndentedString(slotRevision)).append("\n"); sb.append(" sourceStatus: ").append(toIndentedString(sourceStatus)).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 "); } }