135 lines
4.4 KiB
Java
135 lines
4.4 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 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;
|
|
|
|
/**
|
|
* AIContextImpactSummary
|
|
*/
|
|
|
|
@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 AIContextImpactSummary implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
private @Nullable Integer affectedAIContexts;
|
|
|
|
private @Nullable Integer contextsWithFieldRemoved;
|
|
|
|
private @Nullable Integer contextsWithVisibilityChange;
|
|
|
|
public AIContextImpactSummary affectedAIContexts(@Nullable Integer affectedAIContexts) {
|
|
this.affectedAIContexts = affectedAIContexts;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get affectedAIContexts
|
|
* @return affectedAIContexts
|
|
*/
|
|
|
|
@Schema(name = "affectedAIContexts", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("affectedAIContexts")
|
|
public @Nullable Integer getAffectedAIContexts() {
|
|
return affectedAIContexts;
|
|
}
|
|
|
|
@JsonProperty("affectedAIContexts")
|
|
public void setAffectedAIContexts(@Nullable Integer affectedAIContexts) {
|
|
this.affectedAIContexts = affectedAIContexts;
|
|
}
|
|
|
|
public AIContextImpactSummary contextsWithFieldRemoved(@Nullable Integer contextsWithFieldRemoved) {
|
|
this.contextsWithFieldRemoved = contextsWithFieldRemoved;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get contextsWithFieldRemoved
|
|
* @return contextsWithFieldRemoved
|
|
*/
|
|
|
|
@Schema(name = "contextsWithFieldRemoved", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("contextsWithFieldRemoved")
|
|
public @Nullable Integer getContextsWithFieldRemoved() {
|
|
return contextsWithFieldRemoved;
|
|
}
|
|
|
|
@JsonProperty("contextsWithFieldRemoved")
|
|
public void setContextsWithFieldRemoved(@Nullable Integer contextsWithFieldRemoved) {
|
|
this.contextsWithFieldRemoved = contextsWithFieldRemoved;
|
|
}
|
|
|
|
public AIContextImpactSummary contextsWithVisibilityChange(@Nullable Integer contextsWithVisibilityChange) {
|
|
this.contextsWithVisibilityChange = contextsWithVisibilityChange;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get contextsWithVisibilityChange
|
|
* @return contextsWithVisibilityChange
|
|
*/
|
|
|
|
@Schema(name = "contextsWithVisibilityChange", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("contextsWithVisibilityChange")
|
|
public @Nullable Integer getContextsWithVisibilityChange() {
|
|
return contextsWithVisibilityChange;
|
|
}
|
|
|
|
@JsonProperty("contextsWithVisibilityChange")
|
|
public void setContextsWithVisibilityChange(@Nullable Integer contextsWithVisibilityChange) {
|
|
this.contextsWithVisibilityChange = contextsWithVisibilityChange;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object o) {
|
|
if (this == o) {
|
|
return true;
|
|
}
|
|
if (o == null || getClass() != o.getClass()) {
|
|
return false;
|
|
}
|
|
AIContextImpactSummary aiContextImpactSummary = (AIContextImpactSummary) o;
|
|
return Objects.equals(this.affectedAIContexts, aiContextImpactSummary.affectedAIContexts) &&
|
|
Objects.equals(this.contextsWithFieldRemoved, aiContextImpactSummary.contextsWithFieldRemoved) &&
|
|
Objects.equals(this.contextsWithVisibilityChange, aiContextImpactSummary.contextsWithVisibilityChange);
|
|
}
|
|
|
|
@Override
|
|
public int hashCode() {
|
|
return Objects.hash(affectedAIContexts, contextsWithFieldRemoved, contextsWithVisibilityChange);
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("class AIContextImpactSummary {\n");
|
|
sb.append(" affectedAIContexts: ").append(toIndentedString(affectedAIContexts)).append("\n");
|
|
sb.append(" contextsWithFieldRemoved: ").append(toIndentedString(contextsWithFieldRemoved)).append("\n");
|
|
sb.append(" contextsWithVisibilityChange: ").append(toIndentedString(contextsWithVisibilityChange)).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 ");
|
|
}
|
|
}
|
|
|