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

com.atlan.model.workflow.WorkflowSearchResultDetail 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.model.core.AtlanObject;

/**
 * Definition of a workflow in Atlan.
 */
public class WorkflowSearchResultDetail extends AtlanObject {
    private static final long serialVersionUID = 2L;
    /**
     * Type of workflow.
     */
    String kind;
    /**
     * Version of the kubernetes object.
     */
    String apiVersion;
    /**
     * Metadata that describes the workflow.
     */
    WorkflowMetadata metadata;
    /**
     * Definition of the workflow.
     */
    WorkflowSpec spec;
    /**
     * Status of the workflow (if run).
     */
    WorkflowSearchResultStatus status;

    /**
     * Type of workflow.
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getKind() {
        return this.kind;
    }

    /**
     * Version of the kubernetes object.
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getApiVersion() {
        return this.apiVersion;
    }

    /**
     * Metadata that describes the workflow.
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public WorkflowMetadata getMetadata() {
        return this.metadata;
    }

    /**
     * Definition of the workflow.
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public WorkflowSpec getSpec() {
        return this.spec;
    }

    /**
     * Status of the workflow (if run).
     */
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public WorkflowSearchResultStatus getStatus() {
        return this.status;
    }

    @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 WorkflowSearchResultDetail)) return false;
        final WorkflowSearchResultDetail other = (WorkflowSearchResultDetail) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$kind = this.getKind();
        final java.lang.Object other$kind = other.getKind();
        if (this$kind == null ? other$kind != null : !this$kind.equals(other$kind)) return false;
        final java.lang.Object this$apiVersion = this.getApiVersion();
        final java.lang.Object other$apiVersion = other.getApiVersion();
        if (this$apiVersion == null ? other$apiVersion != null : !this$apiVersion.equals(other$apiVersion)) return false;
        final java.lang.Object this$metadata = this.getMetadata();
        final java.lang.Object other$metadata = other.getMetadata();
        if (this$metadata == null ? other$metadata != null : !this$metadata.equals(other$metadata)) return false;
        final java.lang.Object this$spec = this.getSpec();
        final java.lang.Object other$spec = other.getSpec();
        if (this$spec == null ? other$spec != null : !this$spec.equals(other$spec)) return false;
        final java.lang.Object this$status = this.getStatus();
        final java.lang.Object other$status = other.getStatus();
        if (this$status == null ? other$status != null : !this$status.equals(other$status)) return false;
        return true;
    }

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $kind = this.getKind();
        result = result * PRIME + ($kind == null ? 43 : $kind.hashCode());
        final java.lang.Object $apiVersion = this.getApiVersion();
        result = result * PRIME + ($apiVersion == null ? 43 : $apiVersion.hashCode());
        final java.lang.Object $metadata = this.getMetadata();
        result = result * PRIME + ($metadata == null ? 43 : $metadata.hashCode());
        final java.lang.Object $spec = this.getSpec();
        result = result * PRIME + ($spec == null ? 43 : $spec.hashCode());
        final java.lang.Object $status = this.getStatus();
        result = result * PRIME + ($status == null ? 43 : $status.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public java.lang.String toString() {
        return "WorkflowSearchResultDetail(super=" + super.toString() + ", kind=" + this.getKind() + ", apiVersion=" + this.getApiVersion() + ", metadata=" + this.getMetadata() + ", spec=" + this.getSpec() + ", status=" + this.getStatus() + ")";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy