Class AtlanObject

java.lang.Object
com.atlan.model.core.AtlanObject
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractPolicy, AdminEvent, AdminEventRequest, AggregationBucketDetails, AggregationResult, ApiEventStreamResource, ApiResource, ApiToken, ApiToken.ApiTokenAttributes, ApiToken.ApiTokenPersona, AssetEndpoint.AtlanTagList, AtlanError, AtlanEvent, AtlanEventPayload, AtlanGroup, AtlanGroup.GroupAttributes, AtlanGroup.Persona, AtlanGroup.Purpose, AtlanRequest, AtlanRequestPayload, AtlanRole, AtlanStruct, AtlanTag, AtlanTagOptions, AtlanTask, AtlanUser, AtlanUser.Persona, AtlanUser.UserAttributes, AttributeDef, AttributeDefOptions, AuditSearchRequest, AuthDetails, AwsEventWrapper, AwsEventWrapper.AwsRequestContext, Constraint, CreateGroupResponse.UserStatus, Credential, CustomMetadataAttributes, CustomMetadataOptions, DataContractSpec, DataProductAssetsDSL, EntityAudit, EntityFilter, EnumDef.ElementDef, FilterList, GroupRequest, IndexSearchDSL, IndexSearchRequest, IndexSearchRequest.Metadata, KeycloakEvent, KeycloakEventRequest, LineageFilter, LineageListRequest, LineageRef, Meaning, MutatedAssets, NameValuePair, OpenLineageDataset, OpenLineageEvent, OpenLineageJob, OpenLineageRun, ParsedQuery.DatabaseColumn, ParsedQuery.DatabaseObject, ParsedQuery.ParseError, ParsedQuery.Relationship, ParsedQuery.RelationshipEndpoint, PlaybookAction, PlaybookActionConfig, PlaybookActionSchema, PlaybookRule, PlaybookRuleConfig, QueryParserRequest, QueryRequest, QueryResponse.AssetDetails, QueryResponse.ColumnDetails, QueryResponse.ColumnType, QueryResponse.QueryDetails, Reference, RelationshipAttributes, SearchLogEntry, SearchLogRequest, SearchParameters, Session, SSOMapping.Config, TaskSearchRequest, TypeDef, UniqueAttributes, UserRequest, Workflow, WorkflowDAG, WorkflowMetadata, WorkflowParameters, WorkflowSearchHits, WorkflowSearchResult, WorkflowSearchResultDetail, WorkflowSearchResultStatus, WorkflowSpec, WorkflowTask, WorkflowTemplate, WorkflowTemplateRef

public abstract class AtlanObject extends Object implements Serializable
See Also:
  • Field Details

    • rawJsonObject

      protected transient com.fasterxml.jackson.databind.JsonNode rawJsonObject
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toJson

      public String toJson(AtlanClient client)
      Serialize the object to a JSON string.
      Parameters:
      client - the client through which to serialize the object
      Returns:
      the serialized JSON string
    • getRawJsonObject

      public com.fasterxml.jackson.databind.JsonNode getRawJsonObject()
      Returns the raw JsonNode exposed by the Jackson library. This can be used to access properties that are not directly exposed by Atlan's Java library.

      Note: You should always prefer using the standard property accessors whenever possible. Because this method exposes Jackson's underlying API, it is not considered fully stable. Atlan's Java library might move off Jackson in the future and this method would be removed or change significantly.

      Returns:
      The raw JsonNode.
    • setRawJsonObject

      public void setRawJsonObject(com.fasterxml.jackson.databind.JsonNode rawJsonObject)
      Sets the raw response from the API. This is used to expose properties that are not directly exposed by Atlan's Java library.
      Parameters:
      rawJsonObject - the raw JSON from the API response
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object