com.seeq.model.SyncProgress Maven / Gradle / Ivy
/*
* Seeq REST API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 60.1.3-v202304250417
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.seeq.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
/**
* Metadata sync progress and total items synced from an external datasource to Seeq
*/
@Schema(description = "Metadata sync progress and total items synced from an external datasource to Seeq")
public class SyncProgress {
@JsonProperty("assetCount")
private Long assetCount = null;
@JsonProperty("assetProgress")
private Long assetProgress = null;
@JsonProperty("conditionCount")
private Long conditionCount = null;
@JsonProperty("conditionProgress")
private Long conditionProgress = null;
@JsonProperty("relationshipCount")
private Long relationshipCount = null;
@JsonProperty("relationshipProgress")
private Long relationshipProgress = null;
@JsonProperty("scalarCount")
private Long scalarCount = null;
@JsonProperty("scalarProgress")
private Long scalarProgress = null;
@JsonProperty("signalCount")
private Long signalCount = null;
@JsonProperty("signalProgress")
private Long signalProgress = null;
@JsonProperty("userGroupCount")
private Long userGroupCount = null;
@JsonProperty("userGroupProgress")
private Long userGroupProgress = null;
public SyncProgress assetCount(Long assetCount) {
this.assetCount = assetCount;
return this;
}
/**
* Get assetCount
* @return assetCount
**/
@Schema(description = "")
public Long getAssetCount() {
return assetCount;
}
public void setAssetCount(Long assetCount) {
this.assetCount = assetCount;
}
public SyncProgress assetProgress(Long assetProgress) {
this.assetProgress = assetProgress;
return this;
}
/**
* Get assetProgress
* @return assetProgress
**/
@Schema(description = "")
public Long getAssetProgress() {
return assetProgress;
}
public void setAssetProgress(Long assetProgress) {
this.assetProgress = assetProgress;
}
public SyncProgress conditionCount(Long conditionCount) {
this.conditionCount = conditionCount;
return this;
}
/**
* Get conditionCount
* @return conditionCount
**/
@Schema(description = "")
public Long getConditionCount() {
return conditionCount;
}
public void setConditionCount(Long conditionCount) {
this.conditionCount = conditionCount;
}
public SyncProgress conditionProgress(Long conditionProgress) {
this.conditionProgress = conditionProgress;
return this;
}
/**
* Get conditionProgress
* @return conditionProgress
**/
@Schema(description = "")
public Long getConditionProgress() {
return conditionProgress;
}
public void setConditionProgress(Long conditionProgress) {
this.conditionProgress = conditionProgress;
}
public SyncProgress relationshipCount(Long relationshipCount) {
this.relationshipCount = relationshipCount;
return this;
}
/**
* Get relationshipCount
* @return relationshipCount
**/
@Schema(description = "")
public Long getRelationshipCount() {
return relationshipCount;
}
public void setRelationshipCount(Long relationshipCount) {
this.relationshipCount = relationshipCount;
}
public SyncProgress relationshipProgress(Long relationshipProgress) {
this.relationshipProgress = relationshipProgress;
return this;
}
/**
* Get relationshipProgress
* @return relationshipProgress
**/
@Schema(description = "")
public Long getRelationshipProgress() {
return relationshipProgress;
}
public void setRelationshipProgress(Long relationshipProgress) {
this.relationshipProgress = relationshipProgress;
}
public SyncProgress scalarCount(Long scalarCount) {
this.scalarCount = scalarCount;
return this;
}
/**
* Get scalarCount
* @return scalarCount
**/
@Schema(description = "")
public Long getScalarCount() {
return scalarCount;
}
public void setScalarCount(Long scalarCount) {
this.scalarCount = scalarCount;
}
public SyncProgress scalarProgress(Long scalarProgress) {
this.scalarProgress = scalarProgress;
return this;
}
/**
* Get scalarProgress
* @return scalarProgress
**/
@Schema(description = "")
public Long getScalarProgress() {
return scalarProgress;
}
public void setScalarProgress(Long scalarProgress) {
this.scalarProgress = scalarProgress;
}
public SyncProgress signalCount(Long signalCount) {
this.signalCount = signalCount;
return this;
}
/**
* Get signalCount
* @return signalCount
**/
@Schema(description = "")
public Long getSignalCount() {
return signalCount;
}
public void setSignalCount(Long signalCount) {
this.signalCount = signalCount;
}
public SyncProgress signalProgress(Long signalProgress) {
this.signalProgress = signalProgress;
return this;
}
/**
* Get signalProgress
* @return signalProgress
**/
@Schema(description = "")
public Long getSignalProgress() {
return signalProgress;
}
public void setSignalProgress(Long signalProgress) {
this.signalProgress = signalProgress;
}
public SyncProgress userGroupCount(Long userGroupCount) {
this.userGroupCount = userGroupCount;
return this;
}
/**
* Get userGroupCount
* @return userGroupCount
**/
@Schema(description = "")
public Long getUserGroupCount() {
return userGroupCount;
}
public void setUserGroupCount(Long userGroupCount) {
this.userGroupCount = userGroupCount;
}
public SyncProgress userGroupProgress(Long userGroupProgress) {
this.userGroupProgress = userGroupProgress;
return this;
}
/**
* Get userGroupProgress
* @return userGroupProgress
**/
@Schema(description = "")
public Long getUserGroupProgress() {
return userGroupProgress;
}
public void setUserGroupProgress(Long userGroupProgress) {
this.userGroupProgress = userGroupProgress;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SyncProgress syncProgress = (SyncProgress) o;
return Objects.equals(this.assetCount, syncProgress.assetCount) &&
Objects.equals(this.assetProgress, syncProgress.assetProgress) &&
Objects.equals(this.conditionCount, syncProgress.conditionCount) &&
Objects.equals(this.conditionProgress, syncProgress.conditionProgress) &&
Objects.equals(this.relationshipCount, syncProgress.relationshipCount) &&
Objects.equals(this.relationshipProgress, syncProgress.relationshipProgress) &&
Objects.equals(this.scalarCount, syncProgress.scalarCount) &&
Objects.equals(this.scalarProgress, syncProgress.scalarProgress) &&
Objects.equals(this.signalCount, syncProgress.signalCount) &&
Objects.equals(this.signalProgress, syncProgress.signalProgress) &&
Objects.equals(this.userGroupCount, syncProgress.userGroupCount) &&
Objects.equals(this.userGroupProgress, syncProgress.userGroupProgress);
}
@Override
public int hashCode() {
return Objects.hash(assetCount, assetProgress, conditionCount, conditionProgress, relationshipCount, relationshipProgress, scalarCount, scalarProgress, signalCount, signalProgress, userGroupCount, userGroupProgress);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class SyncProgress {\n");
sb.append(" assetCount: ").append(toIndentedString(assetCount)).append("\n");
sb.append(" assetProgress: ").append(toIndentedString(assetProgress)).append("\n");
sb.append(" conditionCount: ").append(toIndentedString(conditionCount)).append("\n");
sb.append(" conditionProgress: ").append(toIndentedString(conditionProgress)).append("\n");
sb.append(" relationshipCount: ").append(toIndentedString(relationshipCount)).append("\n");
sb.append(" relationshipProgress: ").append(toIndentedString(relationshipProgress)).append("\n");
sb.append(" scalarCount: ").append(toIndentedString(scalarCount)).append("\n");
sb.append(" scalarProgress: ").append(toIndentedString(scalarProgress)).append("\n");
sb.append(" signalCount: ").append(toIndentedString(signalCount)).append("\n");
sb.append(" signalProgress: ").append(toIndentedString(signalProgress)).append("\n");
sb.append(" userGroupCount: ").append(toIndentedString(userGroupCount)).append("\n");
sb.append(" userGroupProgress: ").append(toIndentedString(userGroupProgress)).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(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}