All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlan.model.workflow.WorkflowSearchResponse Maven / Gradle / Ivy

There is a newer version: 3.0.0
Show newest version
// Generated by delombok at Thu Oct 10 18:56:32 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
   Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.workflow;

import com.atlan.net.ApiResource;
import java.util.Map;

public class WorkflowSearchResponse extends ApiResource {
    private static final long serialVersionUID = 2L;
    Long took;
    WorkflowSearchHits hits;
    Map _shards;

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Long getTook() {
        return this.took;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public WorkflowSearchHits getHits() {
        return this.hits;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Map get_shards() {
        return this._shards;
    }

    @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 WorkflowSearchResponse)) return false;
        final WorkflowSearchResponse other = (WorkflowSearchResponse) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$took = this.getTook();
        final java.lang.Object other$took = other.getTook();
        if (this$took == null ? other$took != null : !this$took.equals(other$took)) 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;
        final java.lang.Object this$_shards = this.get_shards();
        final java.lang.Object other$_shards = other.get_shards();
        if (this$_shards == null ? other$_shards != null : !this$_shards.equals(other$_shards)) return false;
        return true;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    protected boolean canEqual(final java.lang.Object other) {
        return other instanceof WorkflowSearchResponse;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $took = this.getTook();
        result = result * PRIME + ($took == null ? 43 : $took.hashCode());
        final java.lang.Object $hits = this.getHits();
        result = result * PRIME + ($hits == null ? 43 : $hits.hashCode());
        final java.lang.Object $_shards = this.get_shards();
        result = result * PRIME + ($_shards == null ? 43 : $_shards.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public java.lang.String toString() {
        return "WorkflowSearchResponse(super=" + super.toString() + ", took=" + this.getTook() + ", hits=" + this.getHits() + ", _shards=" + this.get_shards() + ")";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy