162 lines
5.3 KiB
Java
162 lines
5.3 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 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;
|
|
|
|
/**
|
|
* GetGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary
|
|
*/
|
|
|
|
@JsonTypeName("getGlobalKnowledgeBase_200_response_allOf_data_processingSummary")
|
|
@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 GetGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
private @Nullable Integer searchableCount;
|
|
|
|
private @Nullable Integer generativeCount;
|
|
|
|
private @Nullable Integer failedCount;
|
|
|
|
private @Nullable Integer processingCount;
|
|
|
|
public GetGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary searchableCount(@Nullable Integer searchableCount) {
|
|
this.searchableCount = searchableCount;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get searchableCount
|
|
* @return searchableCount
|
|
*/
|
|
|
|
@Schema(name = "searchableCount", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("searchableCount")
|
|
public @Nullable Integer getSearchableCount() {
|
|
return searchableCount;
|
|
}
|
|
|
|
@JsonProperty("searchableCount")
|
|
public void setSearchableCount(@Nullable Integer searchableCount) {
|
|
this.searchableCount = searchableCount;
|
|
}
|
|
|
|
public GetGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary generativeCount(@Nullable Integer generativeCount) {
|
|
this.generativeCount = generativeCount;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get generativeCount
|
|
* @return generativeCount
|
|
*/
|
|
|
|
@Schema(name = "generativeCount", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("generativeCount")
|
|
public @Nullable Integer getGenerativeCount() {
|
|
return generativeCount;
|
|
}
|
|
|
|
@JsonProperty("generativeCount")
|
|
public void setGenerativeCount(@Nullable Integer generativeCount) {
|
|
this.generativeCount = generativeCount;
|
|
}
|
|
|
|
public GetGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary failedCount(@Nullable Integer failedCount) {
|
|
this.failedCount = failedCount;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get failedCount
|
|
* @return failedCount
|
|
*/
|
|
|
|
@Schema(name = "failedCount", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("failedCount")
|
|
public @Nullable Integer getFailedCount() {
|
|
return failedCount;
|
|
}
|
|
|
|
@JsonProperty("failedCount")
|
|
public void setFailedCount(@Nullable Integer failedCount) {
|
|
this.failedCount = failedCount;
|
|
}
|
|
|
|
public GetGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary processingCount(@Nullable Integer processingCount) {
|
|
this.processingCount = processingCount;
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* Get processingCount
|
|
* @return processingCount
|
|
*/
|
|
|
|
@Schema(name = "processingCount", requiredMode = Schema.RequiredMode.NOT_REQUIRED)
|
|
@JsonProperty("processingCount")
|
|
public @Nullable Integer getProcessingCount() {
|
|
return processingCount;
|
|
}
|
|
|
|
@JsonProperty("processingCount")
|
|
public void setProcessingCount(@Nullable Integer processingCount) {
|
|
this.processingCount = processingCount;
|
|
}
|
|
|
|
@Override
|
|
public boolean equals(Object o) {
|
|
if (this == o) {
|
|
return true;
|
|
}
|
|
if (o == null || getClass() != o.getClass()) {
|
|
return false;
|
|
}
|
|
GetGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary getGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary = (GetGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary) o;
|
|
return Objects.equals(this.searchableCount, getGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary.searchableCount) &&
|
|
Objects.equals(this.generativeCount, getGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary.generativeCount) &&
|
|
Objects.equals(this.failedCount, getGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary.failedCount) &&
|
|
Objects.equals(this.processingCount, getGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary.processingCount);
|
|
}
|
|
|
|
@Override
|
|
public int hashCode() {
|
|
return Objects.hash(searchableCount, generativeCount, failedCount, processingCount);
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("class GetGlobalKnowledgeBase200ResponseAllOfDataProcessingSummary {\n");
|
|
sb.append(" searchableCount: ").append(toIndentedString(searchableCount)).append("\n");
|
|
sb.append(" generativeCount: ").append(toIndentedString(generativeCount)).append("\n");
|
|
sb.append(" failedCount: ").append(toIndentedString(failedCount)).append("\n");
|
|
sb.append(" processingCount: ").append(toIndentedString(processingCount)).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 ");
|
|
}
|
|
}
|
|
|