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; /** * 发布者曝光摘要(脱敏聚合) */ @Schema(name = "PublisherExposureSummary", description = "发布者曝光摘要(脱敏聚合)") @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 PublisherExposureSummary implements Serializable { private static final long serialVersionUID = 1L; private @Nullable String totalExposureRange; private @Nullable String totalClickRange; private @Nullable String totalAcquireRange; private @Nullable String blockedReason; public PublisherExposureSummary totalExposureRange(@Nullable String totalExposureRange) { this.totalExposureRange = totalExposureRange; return this; } /** * 总曝光次数区间(如 \"1K-5K\") * @return totalExposureRange */ @Schema(name = "totalExposureRange", description = "总曝光次数区间(如 \"1K-5K\")", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("totalExposureRange") public @Nullable String getTotalExposureRange() { return totalExposureRange; } @JsonProperty("totalExposureRange") public void setTotalExposureRange(@Nullable String totalExposureRange) { this.totalExposureRange = totalExposureRange; } public PublisherExposureSummary totalClickRange(@Nullable String totalClickRange) { this.totalClickRange = totalClickRange; return this; } /** * 总点击次数区间 * @return totalClickRange */ @Schema(name = "totalClickRange", description = "总点击次数区间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("totalClickRange") public @Nullable String getTotalClickRange() { return totalClickRange; } @JsonProperty("totalClickRange") public void setTotalClickRange(@Nullable String totalClickRange) { this.totalClickRange = totalClickRange; } public PublisherExposureSummary totalAcquireRange(@Nullable String totalAcquireRange) { this.totalAcquireRange = totalAcquireRange; return this; } /** * 总获取次数区间 * @return totalAcquireRange */ @Schema(name = "totalAcquireRange", description = "总获取次数区间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("totalAcquireRange") public @Nullable String getTotalAcquireRange() { return totalAcquireRange; } @JsonProperty("totalAcquireRange") public void setTotalAcquireRange(@Nullable String totalAcquireRange) { this.totalAcquireRange = totalAcquireRange; } public PublisherExposureSummary blockedReason(@Nullable String blockedReason) { this.blockedReason = blockedReason; return this; } /** * 下架屏蔽原因(如有) * @return blockedReason */ @Schema(name = "blockedReason", description = "下架屏蔽原因(如有)", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @JsonProperty("blockedReason") public @Nullable String getBlockedReason() { return blockedReason; } @JsonProperty("blockedReason") public void setBlockedReason(@Nullable String blockedReason) { this.blockedReason = blockedReason; } @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } PublisherExposureSummary publisherExposureSummary = (PublisherExposureSummary) o; return Objects.equals(this.totalExposureRange, publisherExposureSummary.totalExposureRange) && Objects.equals(this.totalClickRange, publisherExposureSummary.totalClickRange) && Objects.equals(this.totalAcquireRange, publisherExposureSummary.totalAcquireRange) && Objects.equals(this.blockedReason, publisherExposureSummary.blockedReason); } @Override public int hashCode() { return Objects.hash(totalExposureRange, totalClickRange, totalAcquireRange, blockedReason); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class PublisherExposureSummary {\n"); sb.append(" totalExposureRange: ").append(toIndentedString(totalExposureRange)).append("\n"); sb.append(" totalClickRange: ").append(toIndentedString(totalClickRange)).append("\n"); sb.append(" totalAcquireRange: ").append(toIndentedString(totalAcquireRange)).append("\n"); sb.append(" blockedReason: ").append(toIndentedString(blockedReason)).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 "); } }