com.atlan.model.workflow.WorkflowSearchHits Maven / Gradle / Ivy
// Generated by delombok at Wed Oct 16 22:16:02 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.workflow;
import com.atlan.model.core.AtlanObject;
import java.util.List;
import java.util.Map;
public class WorkflowSearchHits extends AtlanObject {
private static final long serialVersionUID = 2L;
Map total;
List hits;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Map getTotal() {
return this.total;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public List getHits() {
return this.hits;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof WorkflowSearchHits)) return false;
final WorkflowSearchHits other = (WorkflowSearchHits) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$total = this.getTotal();
final java.lang.Object other$total = other.getTotal();
if (this$total == null ? other$total != null : !this$total.equals(other$total)) return false;
final java.lang.Object this$hits = this.getHits();
final java.lang.Object other$hits = other.getHits();
if (this$hits == null ? other$hits != null : !this$hits.equals(other$hits)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof WorkflowSearchHits;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $total = this.getTotal();
result = result * PRIME + ($total == null ? 43 : $total.hashCode());
final java.lang.Object $hits = this.getHits();
result = result * PRIME + ($hits == null ? 43 : $hits.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public java.lang.String toString() {
return "WorkflowSearchHits(super=" + super.toString() + ", total=" + this.getTotal() + ", hits=" + this.getHits() + ")";
}
}