Package com.atlan.model.admin
Class AtlanTagPayload
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.admin.AtlanRequestPayload
com.atlan.model.admin.AtlanTagPayload
- All Implemented Interfaces:
Serializable
Captures the details of an Atlan tag in a request.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,
B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
Whether the Atlan tag should propagate.Whether removing the Atlan tag should also remove its propagations.Name of the Atlan tag.Unused.int
hashCode()
static AtlanTagPayload
Create a Atlan tag payload with the specified Atlan tag and defaults for propagation.static AtlanTagPayload
Create an Atlan tag payload with the specified details.toString()
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Method Details
-
of
Create a Atlan tag payload with the specified Atlan tag and defaults for propagation.- Parameters:
atlanTagName
- human-readable name of the Atlan tag- Returns:
- the Atlan tag payload with defaults for propagation
-
of
public static AtlanTagPayload of(String atlanTagName, boolean propagate, boolean removePropagationsOnDelete) Create an Atlan tag payload with the specified details.- Parameters:
atlanTagName
- human-readable name of the Atlan tagpropagate
- whether the Atlan tag should propagate (true) or not (false)removePropagationsOnDelete
- whether the propagated Atlan tags should be cascaded (true) or not (false)- Returns:
- the Atlan tag payload with the specified propagation settings
-
builder
-
toBuilder
-
getTypeName
Name of the Atlan tag. -
getPropagate
Whether the Atlan tag should propagate. -
getRemovePropagationsOnEntityDelete
Whether removing the Atlan tag should also remove its propagations. -
getValidityPeriods
Unused. -
equals
- Overrides:
equals
in classAtlanObject
-
canEqual
- Overrides:
canEqual
in classAtlanObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAtlanObject
-
toString
Description copied from class:AtlanObject
- Overrides:
toString
in classAtlanRequestPayload
-