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 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; /** * KnowledgeProjectionImpactSummary */ @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 KnowledgeProjectionImpactSummary implements Serializable { private static final long serialVersionUID = 1L; private @Nullable Integer affectedProjections; private @Nullable Integer projectionsNeedingRebuild; private @Nullable Integer projectionsWithVisibilityChange; public KnowledgeProjectionImpactSummary affectedProjections(@Nullable Integer affectedProjections) { this.affectedProjections = affectedProjections; return this; } /** * Get affectedProjections * @return affectedProjections */ @Schema(name = "affectedProjections", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("affectedProjections") public @Nullable Integer getAffectedProjections() { return affectedProjections; } @JsonProperty("affectedProjections") public void setAffectedProjections(@Nullable Integer affectedProjections) { this.affectedProjections = affectedProjections; } public KnowledgeProjectionImpactSummary projectionsNeedingRebuild(@Nullable Integer projectionsNeedingRebuild) { this.projectionsNeedingRebuild = projectionsNeedingRebuild; return this; } /** * Get projectionsNeedingRebuild * @return projectionsNeedingRebuild */ @Schema(name = "projectionsNeedingRebuild", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("projectionsNeedingRebuild") public @Nullable Integer getProjectionsNeedingRebuild() { return projectionsNeedingRebuild; } @JsonProperty("projectionsNeedingRebuild") public void setProjectionsNeedingRebuild(@Nullable Integer projectionsNeedingRebuild) { this.projectionsNeedingRebuild = projectionsNeedingRebuild; } public KnowledgeProjectionImpactSummary projectionsWithVisibilityChange(@Nullable Integer projectionsWithVisibilityChange) { this.projectionsWithVisibilityChange = projectionsWithVisibilityChange; return this; } /** * Get projectionsWithVisibilityChange * @return projectionsWithVisibilityChange */ @Schema(name = "projectionsWithVisibilityChange", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("projectionsWithVisibilityChange") public @Nullable Integer getProjectionsWithVisibilityChange() { return projectionsWithVisibilityChange; } @JsonProperty("projectionsWithVisibilityChange") public void setProjectionsWithVisibilityChange(@Nullable Integer projectionsWithVisibilityChange) { this.projectionsWithVisibilityChange = projectionsWithVisibilityChange; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } KnowledgeProjectionImpactSummary knowledgeProjectionImpactSummary = (KnowledgeProjectionImpactSummary) o; return Objects.equals(this.affectedProjections, knowledgeProjectionImpactSummary.affectedProjections) && Objects.equals(this.projectionsNeedingRebuild, knowledgeProjectionImpactSummary.projectionsNeedingRebuild) && Objects.equals(this.projectionsWithVisibilityChange, knowledgeProjectionImpactSummary.projectionsWithVisibilityChange); } @Override public int hashCode() { return Objects.hash(affectedProjections, projectionsNeedingRebuild, projectionsWithVisibilityChange); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class KnowledgeProjectionImpactSummary {\n"); sb.append(" affectedProjections: ").append(toIndentedString(affectedProjections)).append("\n"); sb.append(" projectionsNeedingRebuild: ").append(toIndentedString(projectionsNeedingRebuild)).append("\n"); sb.append(" projectionsWithVisibilityChange: ").append(toIndentedString(projectionsWithVisibilityChange)).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 "); } }