
com.atlan.model.core.AssetResponse Maven / Gradle / Ivy
// Generated by delombok at Thu Oct 10 18:56:33 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.core;
import com.atlan.model.assets.Asset;
import com.atlan.net.ApiResource;
import com.fasterxml.jackson.annotation.JsonProperty;
public class AssetResponse extends ApiResource {
private static final long serialVersionUID = 2L;
/**
* Unused.
*/
Object referredEntities;
/**
* The retrieved entity.
*/
@JsonProperty("entity")
Asset asset;
/**
* Unused.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Object getReferredEntities() {
return this.referredEntities;
}
/**
* The retrieved entity.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Asset getAsset() {
return this.asset;
}
@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 AssetResponse)) return false;
final AssetResponse other = (AssetResponse) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$referredEntities = this.getReferredEntities();
final java.lang.Object other$referredEntities = other.getReferredEntities();
if (this$referredEntities == null ? other$referredEntities != null : !this$referredEntities.equals(other$referredEntities)) return false;
final java.lang.Object this$asset = this.getAsset();
final java.lang.Object other$asset = other.getAsset();
if (this$asset == null ? other$asset != null : !this$asset.equals(other$asset)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof AssetResponse;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $referredEntities = this.getReferredEntities();
result = result * PRIME + ($referredEntities == null ? 43 : $referredEntities.hashCode());
final java.lang.Object $asset = this.getAsset();
result = result * PRIME + ($asset == null ? 43 : $asset.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public java.lang.String toString() {
return "AssetResponse(super=" + super.toString() + ", referredEntities=" + this.getReferredEntities() + ", asset=" + this.getAsset() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy