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

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

There is a newer version: 4.2.1
Show newest version
// Generated by delombok at Tue Nov 26 17:04:58 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 com.atlan.model.enums.AtlanWorkflowPhase;
import com.fasterxml.jackson.annotation.JsonIgnore;
import java.util.List;
import java.util.Map;

public class WorkflowSearchResultStatus extends AtlanObject {
    private static final long serialVersionUID = 2L;
    @JsonIgnore
    Object artifactRepositoryRef;
    @JsonIgnore
    String compressedNodes;
    @JsonIgnore
    Object nodes;
    @JsonIgnore
    Object storedTemplates;
    @JsonIgnore
    Object storedWorkflowTemplateSpec;
    Long estimatedDuration;
    AtlanWorkflowPhase phase;
    WorkflowParameters outputs;
    String startedAt;
    String finishedAt;
    String message;
    String progress;
    List conditions;
    Map resourcesDuration;
    Map synchronization;

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Object getArtifactRepositoryRef() {
        return this.artifactRepositoryRef;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getCompressedNodes() {
        return this.compressedNodes;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Object getNodes() {
        return this.nodes;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Object getStoredTemplates() {
        return this.storedTemplates;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public Object getStoredWorkflowTemplateSpec() {
        return this.storedWorkflowTemplateSpec;
    }

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

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public AtlanWorkflowPhase getPhase() {
        return this.phase;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public WorkflowParameters getOutputs() {
        return this.outputs;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getStartedAt() {
        return this.startedAt;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getFinishedAt() {
        return this.finishedAt;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getMessage() {
        return this.message;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public String getProgress() {
        return this.progress;
    }

    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public List getConditions() {
        return this.conditions;
    }

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

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

    @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 WorkflowSearchResultStatus)) return false;
        final WorkflowSearchResultStatus other = (WorkflowSearchResultStatus) o;
        if (!other.canEqual((java.lang.Object) this)) return false;
        final java.lang.Object this$estimatedDuration = this.getEstimatedDuration();
        final java.lang.Object other$estimatedDuration = other.getEstimatedDuration();
        if (this$estimatedDuration == null ? other$estimatedDuration != null : !this$estimatedDuration.equals(other$estimatedDuration)) return false;
        final java.lang.Object this$artifactRepositoryRef = this.getArtifactRepositoryRef();
        final java.lang.Object other$artifactRepositoryRef = other.getArtifactRepositoryRef();
        if (this$artifactRepositoryRef == null ? other$artifactRepositoryRef != null : !this$artifactRepositoryRef.equals(other$artifactRepositoryRef)) return false;
        final java.lang.Object this$compressedNodes = this.getCompressedNodes();
        final java.lang.Object other$compressedNodes = other.getCompressedNodes();
        if (this$compressedNodes == null ? other$compressedNodes != null : !this$compressedNodes.equals(other$compressedNodes)) return false;
        final java.lang.Object this$nodes = this.getNodes();
        final java.lang.Object other$nodes = other.getNodes();
        if (this$nodes == null ? other$nodes != null : !this$nodes.equals(other$nodes)) return false;
        final java.lang.Object this$storedTemplates = this.getStoredTemplates();
        final java.lang.Object other$storedTemplates = other.getStoredTemplates();
        if (this$storedTemplates == null ? other$storedTemplates != null : !this$storedTemplates.equals(other$storedTemplates)) return false;
        final java.lang.Object this$storedWorkflowTemplateSpec = this.getStoredWorkflowTemplateSpec();
        final java.lang.Object other$storedWorkflowTemplateSpec = other.getStoredWorkflowTemplateSpec();
        if (this$storedWorkflowTemplateSpec == null ? other$storedWorkflowTemplateSpec != null : !this$storedWorkflowTemplateSpec.equals(other$storedWorkflowTemplateSpec)) return false;
        final java.lang.Object this$phase = this.getPhase();
        final java.lang.Object other$phase = other.getPhase();
        if (this$phase == null ? other$phase != null : !this$phase.equals(other$phase)) return false;
        final java.lang.Object this$outputs = this.getOutputs();
        final java.lang.Object other$outputs = other.getOutputs();
        if (this$outputs == null ? other$outputs != null : !this$outputs.equals(other$outputs)) return false;
        final java.lang.Object this$startedAt = this.getStartedAt();
        final java.lang.Object other$startedAt = other.getStartedAt();
        if (this$startedAt == null ? other$startedAt != null : !this$startedAt.equals(other$startedAt)) return false;
        final java.lang.Object this$finishedAt = this.getFinishedAt();
        final java.lang.Object other$finishedAt = other.getFinishedAt();
        if (this$finishedAt == null ? other$finishedAt != null : !this$finishedAt.equals(other$finishedAt)) return false;
        final java.lang.Object this$message = this.getMessage();
        final java.lang.Object other$message = other.getMessage();
        if (this$message == null ? other$message != null : !this$message.equals(other$message)) return false;
        final java.lang.Object this$progress = this.getProgress();
        final java.lang.Object other$progress = other.getProgress();
        if (this$progress == null ? other$progress != null : !this$progress.equals(other$progress)) return false;
        final java.lang.Object this$conditions = this.getConditions();
        final java.lang.Object other$conditions = other.getConditions();
        if (this$conditions == null ? other$conditions != null : !this$conditions.equals(other$conditions)) return false;
        final java.lang.Object this$resourcesDuration = this.getResourcesDuration();
        final java.lang.Object other$resourcesDuration = other.getResourcesDuration();
        if (this$resourcesDuration == null ? other$resourcesDuration != null : !this$resourcesDuration.equals(other$resourcesDuration)) return false;
        final java.lang.Object this$synchronization = this.getSynchronization();
        final java.lang.Object other$synchronization = other.getSynchronization();
        if (this$synchronization == null ? other$synchronization != null : !this$synchronization.equals(other$synchronization)) return false;
        return true;
    }

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

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final java.lang.Object $estimatedDuration = this.getEstimatedDuration();
        result = result * PRIME + ($estimatedDuration == null ? 43 : $estimatedDuration.hashCode());
        final java.lang.Object $artifactRepositoryRef = this.getArtifactRepositoryRef();
        result = result * PRIME + ($artifactRepositoryRef == null ? 43 : $artifactRepositoryRef.hashCode());
        final java.lang.Object $compressedNodes = this.getCompressedNodes();
        result = result * PRIME + ($compressedNodes == null ? 43 : $compressedNodes.hashCode());
        final java.lang.Object $nodes = this.getNodes();
        result = result * PRIME + ($nodes == null ? 43 : $nodes.hashCode());
        final java.lang.Object $storedTemplates = this.getStoredTemplates();
        result = result * PRIME + ($storedTemplates == null ? 43 : $storedTemplates.hashCode());
        final java.lang.Object $storedWorkflowTemplateSpec = this.getStoredWorkflowTemplateSpec();
        result = result * PRIME + ($storedWorkflowTemplateSpec == null ? 43 : $storedWorkflowTemplateSpec.hashCode());
        final java.lang.Object $phase = this.getPhase();
        result = result * PRIME + ($phase == null ? 43 : $phase.hashCode());
        final java.lang.Object $outputs = this.getOutputs();
        result = result * PRIME + ($outputs == null ? 43 : $outputs.hashCode());
        final java.lang.Object $startedAt = this.getStartedAt();
        result = result * PRIME + ($startedAt == null ? 43 : $startedAt.hashCode());
        final java.lang.Object $finishedAt = this.getFinishedAt();
        result = result * PRIME + ($finishedAt == null ? 43 : $finishedAt.hashCode());
        final java.lang.Object $message = this.getMessage();
        result = result * PRIME + ($message == null ? 43 : $message.hashCode());
        final java.lang.Object $progress = this.getProgress();
        result = result * PRIME + ($progress == null ? 43 : $progress.hashCode());
        final java.lang.Object $conditions = this.getConditions();
        result = result * PRIME + ($conditions == null ? 43 : $conditions.hashCode());
        final java.lang.Object $resourcesDuration = this.getResourcesDuration();
        result = result * PRIME + ($resourcesDuration == null ? 43 : $resourcesDuration.hashCode());
        final java.lang.Object $synchronization = this.getSynchronization();
        result = result * PRIME + ($synchronization == null ? 43 : $synchronization.hashCode());
        return result;
    }

    @java.lang.Override
    @java.lang.SuppressWarnings("all")
    @lombok.Generated
    public java.lang.String toString() {
        return "WorkflowSearchResultStatus(super=" + super.toString() + ", artifactRepositoryRef=" + this.getArtifactRepositoryRef() + ", compressedNodes=" + this.getCompressedNodes() + ", nodes=" + this.getNodes() + ", storedTemplates=" + this.getStoredTemplates() + ", storedWorkflowTemplateSpec=" + this.getStoredWorkflowTemplateSpec() + ", estimatedDuration=" + this.getEstimatedDuration() + ", phase=" + this.getPhase() + ", outputs=" + this.getOutputs() + ", startedAt=" + this.getStartedAt() + ", finishedAt=" + this.getFinishedAt() + ", message=" + this.getMessage() + ", progress=" + this.getProgress() + ", conditions=" + this.getConditions() + ", resourcesDuration=" + this.getResourcesDuration() + ", synchronization=" + this.getSynchronization() + ")";
    }
}