oh-my-muse/docs/api-contracts/generated/java/com/muse/dto/ExportImpactSummary.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;
/**
* ExportImpactSummary
*/
@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 ExportImpactSummary implements Serializable {
private static final long serialVersionUID = 1L;
private @Nullable Integer affectedExportPolicies;
private @Nullable Integer exportsWithFieldRemoved;
private @Nullable Integer exportsWithVisibilityChange;
public ExportImpactSummary affectedExportPolicies(@Nullable Integer affectedExportPolicies) {
this.affectedExportPolicies = affectedExportPolicies;
return this;
}
/**
* Get affectedExportPolicies
* @return affectedExportPolicies
*/
@Schema(name = "affectedExportPolicies", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("affectedExportPolicies")
public @Nullable Integer getAffectedExportPolicies() {
return affectedExportPolicies;
}
@JsonProperty("affectedExportPolicies")
public void setAffectedExportPolicies(@Nullable Integer affectedExportPolicies) {
this.affectedExportPolicies = affectedExportPolicies;
}
public ExportImpactSummary exportsWithFieldRemoved(@Nullable Integer exportsWithFieldRemoved) {
this.exportsWithFieldRemoved = exportsWithFieldRemoved;
return this;
}
/**
* Get exportsWithFieldRemoved
* @return exportsWithFieldRemoved
*/
@Schema(name = "exportsWithFieldRemoved", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("exportsWithFieldRemoved")
public @Nullable Integer getExportsWithFieldRemoved() {
return exportsWithFieldRemoved;
}
@JsonProperty("exportsWithFieldRemoved")
public void setExportsWithFieldRemoved(@Nullable Integer exportsWithFieldRemoved) {
this.exportsWithFieldRemoved = exportsWithFieldRemoved;
}
public ExportImpactSummary exportsWithVisibilityChange(@Nullable Integer exportsWithVisibilityChange) {
this.exportsWithVisibilityChange = exportsWithVisibilityChange;
return this;
}
/**
* Get exportsWithVisibilityChange
* @return exportsWithVisibilityChange
*/
@Schema(name = "exportsWithVisibilityChange", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
@JsonProperty("exportsWithVisibilityChange")
public @Nullable Integer getExportsWithVisibilityChange() {
return exportsWithVisibilityChange;
}
@JsonProperty("exportsWithVisibilityChange")
public void setExportsWithVisibilityChange(@Nullable Integer exportsWithVisibilityChange) {
this.exportsWithVisibilityChange = exportsWithVisibilityChange;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ExportImpactSummary exportImpactSummary = (ExportImpactSummary) o;
return Objects.equals(this.affectedExportPolicies, exportImpactSummary.affectedExportPolicies) &&
Objects.equals(this.exportsWithFieldRemoved, exportImpactSummary.exportsWithFieldRemoved) &&
Objects.equals(this.exportsWithVisibilityChange, exportImpactSummary.exportsWithVisibilityChange);
}
@Override
public int hashCode() {
return Objects.hash(affectedExportPolicies, exportsWithFieldRemoved, exportsWithVisibilityChange);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class ExportImpactSummary {\n");
sb.append(" affectedExportPolicies: ").append(toIndentedString(affectedExportPolicies)).append("\n");
sb.append(" exportsWithFieldRemoved: ").append(toIndentedString(exportsWithFieldRemoved)).append("\n");
sb.append(" exportsWithVisibilityChange: ").append(toIndentedString(exportsWithVisibilityChange)).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 ");
}
}