Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.atlan.model.admin.AtlanImage Maven / Gradle / Ivy
// Generated by delombok at Thu Oct 10 18:56:32 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2023 Atlan Pte. Ltd. */
package com.atlan.model.admin;
import com.atlan.net.ApiResource;
import lombok.*;
@com.fasterxml.jackson.databind.annotation.JsonDeserialize(builder = AtlanImage.AtlanImageBuilder.class)
public class AtlanImage extends ApiResource {
private static final long serialVersionUID = 2L;
/**
* Unique identifier (GUID) of the image.
*/
String id;
/**
* TBC
*/
String version;
/**
* Time at which the image was uploaded (epoch), in milliseconds.
*/
Long createdAt;
/**
* Time at which the image was last modified (epoch), in milliseconds.
*/
Long updatedAt;
/**
* Generated name of the image that was uploaded.
*/
String fileName;
/**
* Original name of the image that was uploaded.
*/
String rawName;
/**
* Generated name of the image that was uploaded.
*/
String key;
/**
* Filename extension for the image that was uploaded.
*/
String extension;
/**
* MIME type for the image that was uploaded.
*/
String contentType;
/**
* Size of the image that was uploaded, in bytes.
*/
Long fileSize;
/**
* Whether the image is encrypted (true) or not (false).
*/
Boolean isEncrypted;
/**
* TBC
*/
String redirectUrl;
/**
* TBC
*/
Boolean isUploaded;
/**
* TBC
*/
String uploadedAt;
/**
* Whether the image has been archived (true) or is still actively available (false)
*/
Boolean isArchived;
@java.lang.SuppressWarnings("all")
@lombok.Generated
AtlanImage(final String id, final String version, final Long createdAt, final Long updatedAt, final String fileName, final String rawName, final String key, final String extension, final String contentType, final Long fileSize, final Boolean isEncrypted, final String redirectUrl, final Boolean isUploaded, final String uploadedAt, final Boolean isArchived) {
this.id = id;
this.version = version;
this.createdAt = createdAt;
this.updatedAt = updatedAt;
this.fileName = fileName;
this.rawName = rawName;
this.key = key;
this.extension = extension;
this.contentType = contentType;
this.fileSize = fileSize;
this.isEncrypted = isEncrypted;
this.redirectUrl = redirectUrl;
this.isUploaded = isUploaded;
this.uploadedAt = uploadedAt;
this.isArchived = isArchived;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
@com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder(withPrefix = "", buildMethodName = "build")
public static class AtlanImageBuilder {
@java.lang.SuppressWarnings("all")
@lombok.Generated
private String id;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private String version;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private Long createdAt;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private Long updatedAt;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private String fileName;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private String rawName;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private String key;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private String extension;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private String contentType;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private Long fileSize;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private Boolean isEncrypted;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private String redirectUrl;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private Boolean isUploaded;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private String uploadedAt;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private Boolean isArchived;
@java.lang.SuppressWarnings("all")
@lombok.Generated
AtlanImageBuilder() {
}
/**
* Unique identifier (GUID) of the image.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder id(final String id) {
this.id = id;
return this;
}
/**
* TBC
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder version(final String version) {
this.version = version;
return this;
}
/**
* Time at which the image was uploaded (epoch), in milliseconds.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder createdAt(final Long createdAt) {
this.createdAt = createdAt;
return this;
}
/**
* Time at which the image was last modified (epoch), in milliseconds.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder updatedAt(final Long updatedAt) {
this.updatedAt = updatedAt;
return this;
}
/**
* Generated name of the image that was uploaded.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder fileName(final String fileName) {
this.fileName = fileName;
return this;
}
/**
* Original name of the image that was uploaded.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder rawName(final String rawName) {
this.rawName = rawName;
return this;
}
/**
* Generated name of the image that was uploaded.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder key(final String key) {
this.key = key;
return this;
}
/**
* Filename extension for the image that was uploaded.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder extension(final String extension) {
this.extension = extension;
return this;
}
/**
* MIME type for the image that was uploaded.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder contentType(final String contentType) {
this.contentType = contentType;
return this;
}
/**
* Size of the image that was uploaded, in bytes.
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder fileSize(final Long fileSize) {
this.fileSize = fileSize;
return this;
}
/**
* Whether the image is encrypted (true) or not (false).
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder isEncrypted(final Boolean isEncrypted) {
this.isEncrypted = isEncrypted;
return this;
}
/**
* TBC
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder redirectUrl(final String redirectUrl) {
this.redirectUrl = redirectUrl;
return this;
}
/**
* TBC
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder isUploaded(final Boolean isUploaded) {
this.isUploaded = isUploaded;
return this;
}
/**
* TBC
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder uploadedAt(final String uploadedAt) {
this.uploadedAt = uploadedAt;
return this;
}
/**
* Whether the image has been archived (true) or is still actively available (false)
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage.AtlanImageBuilder isArchived(final Boolean isArchived) {
this.isArchived = isArchived;
return this;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public AtlanImage build() {
return new AtlanImage(this.id, this.version, this.createdAt, this.updatedAt, this.fileName, this.rawName, this.key, this.extension, this.contentType, this.fileSize, this.isEncrypted, this.redirectUrl, this.isUploaded, this.uploadedAt, this.isArchived);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public java.lang.String toString() {
return "AtlanImage.AtlanImageBuilder(id=" + this.id + ", version=" + this.version + ", createdAt=" + this.createdAt + ", updatedAt=" + this.updatedAt + ", fileName=" + this.fileName + ", rawName=" + this.rawName + ", key=" + this.key + ", extension=" + this.extension + ", contentType=" + this.contentType + ", fileSize=" + this.fileSize + ", isEncrypted=" + this.isEncrypted + ", redirectUrl=" + this.redirectUrl + ", isUploaded=" + this.isUploaded + ", uploadedAt=" + this.uploadedAt + ", isArchived=" + this.isArchived + ")";
}
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public static AtlanImage.AtlanImageBuilder builder() {
return new AtlanImage.AtlanImageBuilder();
}
/**
* Unique identifier (GUID) of the image.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getId() {
return this.id;
}
/**
* TBC
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getVersion() {
return this.version;
}
/**
* Time at which the image was uploaded (epoch), in milliseconds.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Long getCreatedAt() {
return this.createdAt;
}
/**
* Time at which the image was last modified (epoch), in milliseconds.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Long getUpdatedAt() {
return this.updatedAt;
}
/**
* Generated name of the image that was uploaded.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getFileName() {
return this.fileName;
}
/**
* Original name of the image that was uploaded.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getRawName() {
return this.rawName;
}
/**
* Generated name of the image that was uploaded.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getKey() {
return this.key;
}
/**
* Filename extension for the image that was uploaded.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getExtension() {
return this.extension;
}
/**
* MIME type for the image that was uploaded.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getContentType() {
return this.contentType;
}
/**
* Size of the image that was uploaded, in bytes.
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Long getFileSize() {
return this.fileSize;
}
/**
* Whether the image is encrypted (true) or not (false).
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Boolean getIsEncrypted() {
return this.isEncrypted;
}
/**
* TBC
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getRedirectUrl() {
return this.redirectUrl;
}
/**
* TBC
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Boolean getIsUploaded() {
return this.isUploaded;
}
/**
* TBC
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getUploadedAt() {
return this.uploadedAt;
}
/**
* Whether the image has been archived (true) or is still actively available (false)
*/
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Boolean getIsArchived() {
return this.isArchived;
}
@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 AtlanImage)) return false;
final AtlanImage other = (AtlanImage) o;
if (!other.canEqual((java.lang.Object) this)) return false;
if (!super.equals(o)) return false;
final java.lang.Object this$createdAt = this.getCreatedAt();
final java.lang.Object other$createdAt = other.getCreatedAt();
if (this$createdAt == null ? other$createdAt != null : !this$createdAt.equals(other$createdAt)) return false;
final java.lang.Object this$updatedAt = this.getUpdatedAt();
final java.lang.Object other$updatedAt = other.getUpdatedAt();
if (this$updatedAt == null ? other$updatedAt != null : !this$updatedAt.equals(other$updatedAt)) return false;
final java.lang.Object this$fileSize = this.getFileSize();
final java.lang.Object other$fileSize = other.getFileSize();
if (this$fileSize == null ? other$fileSize != null : !this$fileSize.equals(other$fileSize)) return false;
final java.lang.Object this$isEncrypted = this.getIsEncrypted();
final java.lang.Object other$isEncrypted = other.getIsEncrypted();
if (this$isEncrypted == null ? other$isEncrypted != null : !this$isEncrypted.equals(other$isEncrypted)) return false;
final java.lang.Object this$isUploaded = this.getIsUploaded();
final java.lang.Object other$isUploaded = other.getIsUploaded();
if (this$isUploaded == null ? other$isUploaded != null : !this$isUploaded.equals(other$isUploaded)) return false;
final java.lang.Object this$isArchived = this.getIsArchived();
final java.lang.Object other$isArchived = other.getIsArchived();
if (this$isArchived == null ? other$isArchived != null : !this$isArchived.equals(other$isArchived)) return false;
final java.lang.Object this$id = this.getId();
final java.lang.Object other$id = other.getId();
if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false;
final java.lang.Object this$version = this.getVersion();
final java.lang.Object other$version = other.getVersion();
if (this$version == null ? other$version != null : !this$version.equals(other$version)) return false;
final java.lang.Object this$fileName = this.getFileName();
final java.lang.Object other$fileName = other.getFileName();
if (this$fileName == null ? other$fileName != null : !this$fileName.equals(other$fileName)) return false;
final java.lang.Object this$rawName = this.getRawName();
final java.lang.Object other$rawName = other.getRawName();
if (this$rawName == null ? other$rawName != null : !this$rawName.equals(other$rawName)) return false;
final java.lang.Object this$key = this.getKey();
final java.lang.Object other$key = other.getKey();
if (this$key == null ? other$key != null : !this$key.equals(other$key)) return false;
final java.lang.Object this$extension = this.getExtension();
final java.lang.Object other$extension = other.getExtension();
if (this$extension == null ? other$extension != null : !this$extension.equals(other$extension)) return false;
final java.lang.Object this$contentType = this.getContentType();
final java.lang.Object other$contentType = other.getContentType();
if (this$contentType == null ? other$contentType != null : !this$contentType.equals(other$contentType)) return false;
final java.lang.Object this$redirectUrl = this.getRedirectUrl();
final java.lang.Object other$redirectUrl = other.getRedirectUrl();
if (this$redirectUrl == null ? other$redirectUrl != null : !this$redirectUrl.equals(other$redirectUrl)) return false;
final java.lang.Object this$uploadedAt = this.getUploadedAt();
final java.lang.Object other$uploadedAt = other.getUploadedAt();
if (this$uploadedAt == null ? other$uploadedAt != null : !this$uploadedAt.equals(other$uploadedAt)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof AtlanImage;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = super.hashCode();
final java.lang.Object $createdAt = this.getCreatedAt();
result = result * PRIME + ($createdAt == null ? 43 : $createdAt.hashCode());
final java.lang.Object $updatedAt = this.getUpdatedAt();
result = result * PRIME + ($updatedAt == null ? 43 : $updatedAt.hashCode());
final java.lang.Object $fileSize = this.getFileSize();
result = result * PRIME + ($fileSize == null ? 43 : $fileSize.hashCode());
final java.lang.Object $isEncrypted = this.getIsEncrypted();
result = result * PRIME + ($isEncrypted == null ? 43 : $isEncrypted.hashCode());
final java.lang.Object $isUploaded = this.getIsUploaded();
result = result * PRIME + ($isUploaded == null ? 43 : $isUploaded.hashCode());
final java.lang.Object $isArchived = this.getIsArchived();
result = result * PRIME + ($isArchived == null ? 43 : $isArchived.hashCode());
final java.lang.Object $id = this.getId();
result = result * PRIME + ($id == null ? 43 : $id.hashCode());
final java.lang.Object $version = this.getVersion();
result = result * PRIME + ($version == null ? 43 : $version.hashCode());
final java.lang.Object $fileName = this.getFileName();
result = result * PRIME + ($fileName == null ? 43 : $fileName.hashCode());
final java.lang.Object $rawName = this.getRawName();
result = result * PRIME + ($rawName == null ? 43 : $rawName.hashCode());
final java.lang.Object $key = this.getKey();
result = result * PRIME + ($key == null ? 43 : $key.hashCode());
final java.lang.Object $extension = this.getExtension();
result = result * PRIME + ($extension == null ? 43 : $extension.hashCode());
final java.lang.Object $contentType = this.getContentType();
result = result * PRIME + ($contentType == null ? 43 : $contentType.hashCode());
final java.lang.Object $redirectUrl = this.getRedirectUrl();
result = result * PRIME + ($redirectUrl == null ? 43 : $redirectUrl.hashCode());
final java.lang.Object $uploadedAt = this.getUploadedAt();
result = result * PRIME + ($uploadedAt == null ? 43 : $uploadedAt.hashCode());
return result;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public java.lang.String toString() {
return "AtlanImage(super=" + super.toString() + ", id=" + this.getId() + ", version=" + this.getVersion() + ", createdAt=" + this.getCreatedAt() + ", updatedAt=" + this.getUpdatedAt() + ", fileName=" + this.getFileName() + ", rawName=" + this.getRawName() + ", key=" + this.getKey() + ", extension=" + this.getExtension() + ", contentType=" + this.getContentType() + ", fileSize=" + this.getFileSize() + ", isEncrypted=" + this.getIsEncrypted() + ", redirectUrl=" + this.getRedirectUrl() + ", isUploaded=" + this.getIsUploaded() + ", uploadedAt=" + this.getUploadedAt() + ", isArchived=" + this.getIsArchived() + ")";
}
}