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; /** * GetKnowledgeGraph200ResponseAllOfDataNodesInner */ @JsonTypeName("getKnowledgeGraph_200_response_allOf_data_nodes_inner") @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 GetKnowledgeGraph200ResponseAllOfDataNodesInner implements Serializable { private static final long serialVersionUID = 1L; private @Nullable String id; private @Nullable String name; private @Nullable String type; private @Nullable String status; public GetKnowledgeGraph200ResponseAllOfDataNodesInner id(@Nullable String id) { this.id = id; return this; } /** * Get id * @return id */ @Schema(name = "id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("id") public @Nullable String getId() { return id; } @JsonProperty("id") public void setId(@Nullable String id) { this.id = id; } public GetKnowledgeGraph200ResponseAllOfDataNodesInner name(@Nullable String name) { this.name = name; return this; } /** * Get name * @return name */ @Schema(name = "name", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("name") public @Nullable String getName() { return name; } @JsonProperty("name") public void setName(@Nullable String name) { this.name = name; } public GetKnowledgeGraph200ResponseAllOfDataNodesInner type(@Nullable String type) { this.type = type; return this; } /** * Get type * @return type */ @Schema(name = "type", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("type") public @Nullable String getType() { return type; } @JsonProperty("type") public void setType(@Nullable String type) { this.type = type; } public GetKnowledgeGraph200ResponseAllOfDataNodesInner 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; } GetKnowledgeGraph200ResponseAllOfDataNodesInner getKnowledgeGraph200ResponseAllOfDataNodesInner = (GetKnowledgeGraph200ResponseAllOfDataNodesInner) o; return Objects.equals(this.id, getKnowledgeGraph200ResponseAllOfDataNodesInner.id) && Objects.equals(this.name, getKnowledgeGraph200ResponseAllOfDataNodesInner.name) && Objects.equals(this.type, getKnowledgeGraph200ResponseAllOfDataNodesInner.type) && Objects.equals(this.status, getKnowledgeGraph200ResponseAllOfDataNodesInner.status); } @Override public int hashCode() { return Objects.hash(id, name, type, status); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class GetKnowledgeGraph200ResponseAllOfDataNodesInner {\n"); sb.append(" id: ").append(toIndentedString(id)).append("\n"); sb.append(" name: ").append(toIndentedString(name)).append("\n"); sb.append(" type: ").append(toIndentedString(type)).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 "); } }