com.atlan.model.core.CustomMetadataAttributes Maven / Gradle / Ivy
// Generated by delombok at Wed Oct 16 22:16:04 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.core;
import java.util.Map;
/**
* Capture the attributes and values for a given set of custom metadata.
*/
@SuppressWarnings("cast")
public class CustomMetadataAttributes extends AtlanObject {
private static final long serialVersionUID = 2L;
/**
* Mapping of custom metadata attributes to values, all by human-readable names.
*/
private final Map attributes;
/**
* Mapping of archived custom metadata attributes to values, by human-readable names.
* Note that the names here will all be of the form {@code -archived-123456789}
*/
private final Map archivedAttributes;
/**
* Quickly check if there are any custom metadata attributes defined.
*
* @return true if there are no custom metadata attributes defined, false if there are custom metadata attributes defined
*/
public boolean isEmpty() {
return attributes.isEmpty();
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public static abstract class CustomMetadataAttributesBuilder> extends AtlanObject.AtlanObjectBuilder {
@java.lang.SuppressWarnings("all")
@lombok.Generated
private java.util.ArrayList attributes$key;
@java.lang.SuppressWarnings("all")
@lombok.Generated
private java.util.ArrayList