diff --git a/sdk/src/main/java/com/atlan/model/assets/Agent.java b/sdk/src/main/java/com/atlan/model/assets/Agent.java index d08255e0ef..388f7ef4ed 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Agent.java +++ b/sdk/src/main/java/com/atlan/model/assets/Agent.java @@ -9,6 +9,7 @@ import com.atlan.exception.NotFoundException; import com.atlan.model.enums.AgentType; import com.atlan.model.enums.AgenticLifecycleStatus; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.fields.AtlanField; @@ -58,6 +59,10 @@ public class Agent extends Asset implements IAgent, IAgentic, ICatalog, IAsset, @Attribute String agentMcpServers; + /** JSON-serialized agent schedule configuration, including kickoff message, cron expression, timezone, version policy, status, and Temporal schedule identifier. */ + @Attribute + String agentSchedules; + /** Denormalized list of names of the skills bound to this agent version. */ @Attribute @Singular @@ -89,6 +94,10 @@ public class Agent extends Asset implements IAgent, IAgentic, ICatalog, IAsset, @Attribute AgentType agentType; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; @@ -97,6 +106,10 @@ public class Agent extends Asset implements IAgent, IAgentic, ICatalog, IAsset, @Attribute String catalogDatasetGuid; + /** Context repository that produced this agent. */ + @Attribute + IContextRepository contextSourceRepository; + /** Tasks to which this asset provides input. */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/Agentic.java b/sdk/src/main/java/com/atlan/model/assets/Agentic.java index 2f9603e489..9c48f64a5e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Agentic.java +++ b/sdk/src/main/java/com/atlan/model/assets/Agentic.java @@ -7,6 +7,7 @@ import com.atlan.exception.ErrorCode; import com.atlan.exception.InvalidRequestException; import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.fields.AtlanField; @@ -48,6 +49,10 @@ public class Agentic extends Asset implements IAgentic, ICatalog, IAsset, IRefer @Builder.Default String typeName = TYPE_NAME; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; diff --git a/sdk/src/main/java/com/atlan/model/assets/AirflowDag.java b/sdk/src/main/java/com/atlan/model/assets/AirflowDag.java index 8a39edb686..71b9c6ace8 100644 --- a/sdk/src/main/java/com/atlan/model/assets/AirflowDag.java +++ b/sdk/src/main/java/com/atlan/model/assets/AirflowDag.java @@ -62,6 +62,10 @@ public class AirflowDag extends Asset implements IAirflowDag, IAirflow, ICatalog @Date Long airflowRunEndTime; + /** Error message of the run in Airflow, populated when the run fails. */ + @Attribute + String airflowRunErrorMessage; + /** Name of the run. */ @Attribute String airflowRunName; diff --git a/sdk/src/main/java/com/atlan/model/assets/AirflowTask.java b/sdk/src/main/java/com/atlan/model/assets/AirflowTask.java index 1af7dff8b4..4588fc1e52 100644 --- a/sdk/src/main/java/com/atlan/model/assets/AirflowTask.java +++ b/sdk/src/main/java/com/atlan/model/assets/AirflowTask.java @@ -66,6 +66,10 @@ public class AirflowTask extends Asset implements IAirflowTask, IAirflow, ICatal @Date Long airflowRunEndTime; + /** Error message of the run in Airflow, populated when the run fails. */ + @Attribute + String airflowRunErrorMessage; + /** Name of the run. */ @Attribute String airflowRunName; diff --git a/sdk/src/main/java/com/atlan/model/assets/AppWorkflowRun.java b/sdk/src/main/java/com/atlan/model/assets/AppWorkflowRun.java index aa6ca12499..9f191cadfc 100644 --- a/sdk/src/main/java/com/atlan/model/assets/AppWorkflowRun.java +++ b/sdk/src/main/java/com/atlan/model/assets/AppWorkflowRun.java @@ -86,6 +86,10 @@ public class AppWorkflowRun extends Asset implements IAppWorkflowRun, ICatalog, @Attribute String appWorkflowRunDag; + /** SDR deployment this run executed under, denormalized from the parent workflow so a deployment's run history can be filtered directly. Without it, filtering requires two queries — resolve the deployment's workflow slugs, then match runs by parent slug — because Elasticsearch cannot join across entity types. Null for runs on Atlan-managed infrastructure (DISTR-832). */ + @Attribute + String appWorkflowRunDeploymentName; + /** Error handling strategy for the workflow run. */ @Attribute AtlanAppErrorHandling appWorkflowRunErrorHandling; diff --git a/sdk/src/main/java/com/atlan/model/assets/Artifact.java b/sdk/src/main/java/com/atlan/model/assets/Artifact.java index 8a26367f5c..d20f7d646b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Artifact.java +++ b/sdk/src/main/java/com/atlan/model/assets/Artifact.java @@ -7,6 +7,7 @@ import com.atlan.exception.ErrorCode; import com.atlan.exception.InvalidRequestException; import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.enums.FileType; @@ -49,6 +50,10 @@ public class Artifact extends Asset implements IArtifact, IAgentic, IResource, I @Builder.Default String typeName = TYPE_NAME; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; diff --git a/sdk/src/main/java/com/atlan/model/assets/Asset.java b/sdk/src/main/java/com/atlan/model/assets/Asset.java index a7feb96e40..e20f5d9260 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Asset.java +++ b/sdk/src/main/java/com/atlan/model/assets/Asset.java @@ -535,6 +535,10 @@ public abstract class Asset extends Reference implements IAsset, IReferenceable @Attribute Double assetInternalPopularityScore; + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + @Attribute + String assetManagedBy; + /** List of unique Monte Carlo alert names attached to this asset. */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/AtlanAppDeployment.java b/sdk/src/main/java/com/atlan/model/assets/AtlanAppDeployment.java index d12af83546..b1f4607856 100644 --- a/sdk/src/main/java/com/atlan/model/assets/AtlanAppDeployment.java +++ b/sdk/src/main/java/com/atlan/model/assets/AtlanAppDeployment.java @@ -55,7 +55,7 @@ public class AtlanAppDeployment extends Asset @Attribute String appId; - /** Target deployment environment where the app is installed (e.g. "atlan" for Atlan-managed infra, or a customer SDR deployment name for customer-managed infra). */ + /** Target deployment environment where the app is installed, for example atlan (Atlan-managed infra) or a customer SDR deployment name (customer-managed infra). */ @Attribute String atlanAppDeploymentName; diff --git a/sdk/src/main/java/com/atlan/model/assets/AtlanAppInstalled.java b/sdk/src/main/java/com/atlan/model/assets/AtlanAppInstalled.java index f06a993d3f..ffb0c93dad 100644 --- a/sdk/src/main/java/com/atlan/model/assets/AtlanAppInstalled.java +++ b/sdk/src/main/java/com/atlan/model/assets/AtlanAppInstalled.java @@ -65,7 +65,7 @@ public class AtlanAppInstalled extends Asset @Attribute String atlanAppDeploymentConfig; - /** Target deployment environment where the app is installed (e.g. "atlan" for Atlan-managed infra, or a customer SDR deployment name for customer-managed infra). */ + /** Target deployment environment where the app is installed, for example atlan (Atlan-managed infra) or a customer SDR deployment name (customer-managed infra). */ @Attribute String atlanAppDeploymentName; diff --git a/sdk/src/main/java/com/atlan/model/assets/AtlanAppWorkflow.java b/sdk/src/main/java/com/atlan/model/assets/AtlanAppWorkflow.java index ab0c246b6b..50dc872618 100644 --- a/sdk/src/main/java/com/atlan/model/assets/AtlanAppWorkflow.java +++ b/sdk/src/main/java/com/atlan/model/assets/AtlanAppWorkflow.java @@ -9,6 +9,7 @@ import com.atlan.exception.NotFoundException; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanAppWorkflowOwnership; +import com.atlan.model.enums.AtlanAppWorkflowRuntimeMode; import com.atlan.model.enums.AtlanAppWorkflowSource; import com.atlan.model.enums.AtlanAppWorkflowStatus; import com.atlan.model.enums.CertificateStatus; @@ -78,10 +79,18 @@ public class AtlanAppWorkflow extends Asset @Singular SortedSet atlanAppTools; + /** Name of the SDR agent this workflow's runs are routed to (the atlan-prefixed task queue's agent). Indexed so an agent's runs can be filtered server-side by joining runs to their parent workflow (DISTR-832). */ + @Attribute + String atlanAppWorkflowAgentName; + /** Map of all activity steps for the workflow (escaped JSON string). */ @Attribute String atlanAppWorkflowDag; + /** SDR deployment name this workflow's runs execute under. Denormalized from the run-time config for run-history filtering and metric labels. */ + @Attribute + String atlanAppWorkflowDeploymentName; + /** Error handling strategy for the workflow. */ @Attribute AtlanAppErrorHandling atlanAppWorkflowErrorHandling; @@ -95,6 +104,10 @@ public class AtlanAppWorkflow extends Asset @Singular SortedSet atlanAppWorkflowRuns; + /** Execution runtime for this workflow's runs (SDR or DIRECT). Set at workflow save and constant across the workflow's runs. */ + @Attribute + AtlanAppWorkflowRuntimeMode atlanAppWorkflowRuntimeMode; + /** Slug of the workflow. */ @Attribute String atlanAppWorkflowSlug; @@ -174,6 +187,11 @@ public class AtlanAppWorkflow extends Asset @Singular SortedSet partialChildObjects; + /** Notifications raised about this workflow. */ + @Attribute + @Singular + SortedSet workflowNotificationNotifications; + /** * Builds the minimal object necessary to create a relationship to a AtlanAppWorkflow, from a potentially * more-complete AtlanAppWorkflow object. diff --git a/sdk/src/main/java/com/atlan/model/assets/AuthPolicy.java b/sdk/src/main/java/com/atlan/model/assets/AuthPolicy.java index f564eb61c6..72b57319cd 100644 --- a/sdk/src/main/java/com/atlan/model/assets/AuthPolicy.java +++ b/sdk/src/main/java/com/atlan/model/assets/AuthPolicy.java @@ -69,6 +69,11 @@ public class AuthPolicy extends Asset implements IAuthPolicy, IAsset, IReference @Attribute Boolean isPolicyEnabled; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** TBC */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/AuthService.java b/sdk/src/main/java/com/atlan/model/assets/AuthService.java index 78f1cae37a..c2c6f062bb 100644 --- a/sdk/src/main/java/com/atlan/model/assets/AuthService.java +++ b/sdk/src/main/java/com/atlan/model/assets/AuthService.java @@ -79,6 +79,11 @@ public class AuthService extends Asset implements IAuthService, IAsset, IReferen @Singular SortedSet gcpDataplexAspectTypeMetadataEntities; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** TBC */ @Attribute String tagService; diff --git a/sdk/src/main/java/com/atlan/model/assets/BIProcess.java b/sdk/src/main/java/com/atlan/model/assets/BIProcess.java index 2dbe2c36d4..65e0f432db 100644 --- a/sdk/src/main/java/com/atlan/model/assets/BIProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/BIProcess.java @@ -10,6 +10,7 @@ import com.atlan.model.enums.AIDatasetType; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.fields.AtlanField; import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; @@ -71,7 +72,7 @@ public class BIProcess extends Asset implements IBIProcess, ILineageProcess, IAs @Attribute String ast; - /** TBC */ + /** Routines used by this process. */ @Attribute @Singular SortedSet bigqueryRoutines; @@ -126,6 +127,10 @@ public class BIProcess extends Asset implements IBIProcess, ILineageProcess, IAs @Attribute IPowerBIDataflow powerBIDataflow; + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + @Attribute + ProcessLineageDerivation processDerivation; + /** TBC */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/Badge.java b/sdk/src/main/java/com/atlan/model/assets/Badge.java index f3be4cbeac..6ca8192760 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Badge.java +++ b/sdk/src/main/java/com/atlan/model/assets/Badge.java @@ -89,6 +89,11 @@ public class Badge extends Asset implements IBadge, IResource, ICatalog, IAsset, @Attribute Boolean isGlobal; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** URL to the resource. */ @Attribute String link; diff --git a/sdk/src/main/java/com/atlan/model/assets/BigqueryRoutine.java b/sdk/src/main/java/com/atlan/model/assets/BigqueryRoutine.java index bfb6428818..57284b69d4 100644 --- a/sdk/src/main/java/com/atlan/model/assets/BigqueryRoutine.java +++ b/sdk/src/main/java/com/atlan/model/assets/BigqueryRoutine.java @@ -95,6 +95,10 @@ public class BigqueryRoutine extends Asset @Attribute String catalogDatasetGuid; + /** Cosmos collection in which this procedure exists. */ + @Attribute + ICosmosMongoDBCollection cosmosMongoDBCollection; + /** Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ @Attribute String databaseName; diff --git a/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyException.java b/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyException.java index 7642e2166b..156bb803c0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyException.java +++ b/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyException.java @@ -130,6 +130,11 @@ public class BusinessPolicyException extends Asset @Singular SortedSet gcpDataplexAspectTypeMetadataEntities; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** BusinessPolicy that have the same (or relatable) compliance */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyIncident.java b/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyIncident.java index e8e93d4158..cd57faccfe 100644 --- a/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyIncident.java +++ b/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyIncident.java @@ -126,6 +126,11 @@ public class BusinessPolicyIncident extends Asset @Attribute IncidentSeverity incidentSeverity; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** BusinessPolicy that have the same (or relatable) compliance */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyLog.java b/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyLog.java index c784737081..89d2a253b1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyLog.java +++ b/sdk/src/main/java/com/atlan/model/assets/BusinessPolicyLog.java @@ -123,6 +123,11 @@ public class BusinessPolicyLog extends Asset implements IBusinessPolicyLog, IBus @Attribute Long governedAssetsCount; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** number of non compliant assets in the policy */ @Attribute Long nonCompliantAssetsCount; diff --git a/sdk/src/main/java/com/atlan/model/assets/ColumnProcess.java b/sdk/src/main/java/com/atlan/model/assets/ColumnProcess.java index 9f6b059335..8e739414fa 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ColumnProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/ColumnProcess.java @@ -10,6 +10,7 @@ import com.atlan.model.enums.AIDatasetType; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.fields.AtlanField; import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; @@ -71,7 +72,7 @@ public class ColumnProcess extends Asset implements IColumnProcess, ILineageProc @Attribute String ast; - /** TBC */ + /** Routines used by this process. */ @Attribute @Singular SortedSet bigqueryRoutines; @@ -130,6 +131,10 @@ public class ColumnProcess extends Asset implements IColumnProcess, ILineageProc @Attribute ILineageProcess process; + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + @Attribute + ProcessLineageDerivation processDerivation; + /** TBC */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/Connection.java b/sdk/src/main/java/com/atlan/model/assets/Connection.java index dae7062442..879e1d92d7 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Connection.java +++ b/sdk/src/main/java/com/atlan/model/assets/Connection.java @@ -102,6 +102,11 @@ public class Connection extends Asset implements IConnection, IAsset, IReference @Attribute Boolean connectionIsDQEnabled; + /** Time (epoch) at which popularity insights were last computed for this connection, in milliseconds. Marks the end of the popularity window; the start is this value minus popularityInsightsTimeframe days. */ + @Attribute + @Date + Long connectionPopularityInsightsComputedAt; + /** Strategy configuration for reverse-sync operations on this connection, stored as a stringified JSON array. Each element specifies a source entity type and whether reverse-sync is enabled for it, e.g. [{"source_entity": "Aspects", "enabled": true}]. */ @Attribute String connectionReverseSyncStrategy; @@ -110,6 +115,10 @@ public class Connection extends Asset implements IConnection, IAsset, IReference @Attribute String connectionSSOCredentialGuid; + /** Identifier of the source account this connection points to, expressed in the source's own namespace (for example 'MYORG.MYACCOUNT' for Snowflake). Distinct from the credential host, which uses a different namespace and does not convert. */ + @Attribute + String connectionSourceAccountIdentifier; + /** Configuration for a workflow run. */ @Attribute @Singular("putConnectionWorkflowConfiguration") diff --git a/sdk/src/main/java/com/atlan/model/assets/ConnectionProcess.java b/sdk/src/main/java/com/atlan/model/assets/ConnectionProcess.java index d576cef65c..c7844eb319 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ConnectionProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/ConnectionProcess.java @@ -10,6 +10,7 @@ import com.atlan.model.enums.AIDatasetType; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.fields.AtlanField; import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; @@ -71,7 +72,7 @@ public class ConnectionProcess extends Asset implements IConnectionProcess, ILin @Attribute String ast; - /** TBC */ + /** Routines used by this process. */ @Attribute @Singular SortedSet bigqueryRoutines; @@ -117,6 +118,11 @@ public class ConnectionProcess extends Asset implements IConnectionProcess, ILin @Attribute Boolean isPassThrough; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** Matillion component that contains the logic for this lineage process. */ @Attribute IMatillionComponent matillionComponent; @@ -136,6 +142,10 @@ public class ConnectionProcess extends Asset implements IConnectionProcess, ILin @Attribute IPowerBIDataflow powerBIDataflow; + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + @Attribute + ProcessLineageDerivation processDerivation; + /** TBC */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/Context.java b/sdk/src/main/java/com/atlan/model/assets/Context.java index 91756e4231..4635cf5d1a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Context.java +++ b/sdk/src/main/java/com/atlan/model/assets/Context.java @@ -7,6 +7,7 @@ import com.atlan.exception.ErrorCode; import com.atlan.exception.InvalidRequestException; import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.fields.AtlanField; @@ -48,6 +49,10 @@ public class Context extends Asset implements IContext, IAgentic, ICatalog, IAss @Builder.Default String typeName = TYPE_NAME; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; diff --git a/sdk/src/main/java/com/atlan/model/assets/ContextArtifact.java b/sdk/src/main/java/com/atlan/model/assets/ContextArtifact.java index baaa48ed39..9985fe8cb5 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ContextArtifact.java +++ b/sdk/src/main/java/com/atlan/model/assets/ContextArtifact.java @@ -7,6 +7,7 @@ import com.atlan.exception.ErrorCode; import com.atlan.exception.InvalidRequestException; import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.enums.FileType; @@ -50,6 +51,10 @@ public class ContextArtifact extends Asset @Builder.Default String typeName = TYPE_NAME; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; diff --git a/sdk/src/main/java/com/atlan/model/assets/ContextRepository.java b/sdk/src/main/java/com/atlan/model/assets/ContextRepository.java index 3baa851a11..befca0e3b7 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ContextRepository.java +++ b/sdk/src/main/java/com/atlan/model/assets/ContextRepository.java @@ -7,6 +7,7 @@ import com.atlan.exception.ErrorCode; import com.atlan.exception.InvalidRequestException; import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.enums.ContextLifecycleStatus; @@ -50,6 +51,10 @@ public class ContextRepository extends Asset @Builder.Default String typeName = TYPE_NAME; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; @@ -68,6 +73,11 @@ public class ContextRepository extends Asset @Singular SortedSet contextInputAssets; + /** Agents produced by this context repository. */ + @Attribute + @Singular + SortedSet contextOutputAgents; + /** Skill produced by this context repository. */ @Attribute ISkill contextOutputSkill; diff --git a/sdk/src/main/java/com/atlan/model/assets/CosmosMongoDBCollection.java b/sdk/src/main/java/com/atlan/model/assets/CosmosMongoDBCollection.java index 685bc7d63b..223f75567d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/CosmosMongoDBCollection.java +++ b/sdk/src/main/java/com/atlan/model/assets/CosmosMongoDBCollection.java @@ -93,6 +93,16 @@ public class CosmosMongoDBCollection extends Asset @Attribute String cosmosMongoDBDatabaseQualifiedName; + /** User-defined functions that exist within this collection. */ + @Attribute + @Singular + SortedSet cosmosMongoDBFunctions; + + /** Stored procedures and triggers that exist within this collection. */ + @Attribute + @Singular + SortedSet cosmosMongoDBStoredProcedures; + /** Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ @Attribute String databaseName; diff --git a/sdk/src/main/java/com/atlan/model/assets/DatabricksDashboard.java b/sdk/src/main/java/com/atlan/model/assets/DatabricksDashboard.java new file mode 100644 index 0000000000..eb30a5bfca --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/DatabricksDashboard.java @@ -0,0 +1,790 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DatabricksDashboardLifecycleState; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Instance of a Databricks AI/BI dashboard in Atlan. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class DatabricksDashboard extends Asset + implements IDatabricksDashboard, IBI, IDatabricks, ICatalog, IAsset, IReferenceable, ISQL { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "DatabricksDashboard"; + + /** Fixed typeName for DatabricksDashboards. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + @Attribute + String calculationViewName; + + /** Unique name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + @Attribute + String calculationViewQualifiedName; + + /** Unique identifier of the dataset this asset belongs to. */ + @Attribute + String catalogDatasetGuid; + + /** Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + @Attribute + String databaseName; + + /** Unique name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + @Attribute + String databaseQualifiedName; + + /** Entity tag used as a change token for the dashboard. */ + @Attribute + String databricksDashboardEtag; + + /** Whether a Genie space is enabled for the dashboard. */ + @Attribute + Boolean databricksDashboardIsGenieSpaceEnabled; + + /** Lifecycle state of the dashboard. */ + @Attribute + DatabricksDashboardLifecycleState databricksDashboardLifecycleState; + + /** Workspace path of the dashboard asset, including its file name. The parent folder path can be derived by dropping the last path segment. */ + @Attribute + String databricksDashboardPath; + + /** Identifier of the SQL warehouse backing the dashboard. */ + @Attribute + String databricksDashboardWarehouseId; + + /** Identifier of the workspace containing the dashboard. */ + @Attribute + String databricksDashboardWorkspaceId; + + /** (Deprecated) Model containing the assets. */ + @Attribute + @Singular + SortedSet dbtModels; + + /** DBT seeds that materialize the SQL asset. */ + @Attribute + @Singular + SortedSet dbtSeedAssets; + + /** Source containing the assets. */ + @Attribute + @Singular + SortedSet dbtSources; + + /** Tests related to this asset. */ + @Attribute + @Singular + SortedSet dbtTests; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Whether this asset has been profiled (true) or not (false). */ + @Attribute + Boolean isProfiled; + + /** Time (epoch) at which this asset was last profiled, in milliseconds. */ + @Attribute + @Date + Long lastProfiledAt; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** Number of times this asset has been queried. */ + @Attribute + Long queryCount; + + /** Time (epoch) at which the query count was last updated, in milliseconds. */ + @Attribute + @Date + Long queryCountUpdatedAt; + + /** Number of unique users who have queried this asset. */ + @Attribute + Long queryUserCount; + + /** Map of unique users who have queried this asset to the number of times they have queried it. */ + @Attribute + @Singular("putQueryUserMap") + Map queryUserMap; + + /** Simple name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + @Attribute + String schemaName; + + /** Unique name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + @Attribute + String schemaQualifiedName; + + /** Unique name of the context in which the model versions exist, or empty if it does not exist within an AI model context. */ + @Attribute + String sqlAIModelContextQualifiedName; + + /** Time (epoch) at which this asset was last analyzed for AI insights, in milliseconds. */ + @Attribute + @Date + Long sqlAiInsightsLastAnalyzedAt; + + /** Number of popular business questions associated with this asset. */ + @Attribute + Integer sqlAiInsightsPopularBusinessQuestionCount; + + /** Number of popular filter patterns associated with this asset. */ + @Attribute + Integer sqlAiInsightsPopularFilterCount; + + /** Number of popular join patterns associated with this asset. */ + @Attribute + Integer sqlAiInsightsPopularJoinCount; + + /** Number of relationship insights associated with this asset. */ + @Attribute + Integer sqlAiInsightsRelationshipCount; + + /** Identifier of the Coalesce environment. */ + @Attribute + String sqlCoalesceEnvironmentId; + + /** Name of the Coalesce environment. */ + @Attribute + String sqlCoalesceEnvironmentName; + + /** Time (epoch) at which the Coalesce node that materialized this asset last ran, in milliseconds. */ + @Attribute + @Date + Long sqlCoalesceLastRunAt; + + /** Status of the Coalesce run. One of: success, failure, cancelled, or skipped. */ + @Attribute + String sqlCoalesceLastRunStatus; + + /** Status of the Coalesce node for a given run. */ + @Attribute + String sqlCoalesceNodeStatus; + + /** Type of the Coalesce node. */ + @Attribute + String sqlCoalesceNodeType; + + /** Identifier of the Coalesce project. */ + @Attribute + String sqlCoalesceProjectId; + + /** Name of the Coalesce project. */ + @Attribute + String sqlCoalesceProjectName; + + /** Sources related to this asset. */ + @Attribute + @Singular + SortedSet sqlDBTSources; + + /** Assets related to the model. */ + @Attribute + @Singular + SortedSet sqlDbtModels; + + /** Whether this asset has any AI insights data available. */ + @Attribute + Boolean sqlHasAiInsights; + + /** Whether this asset is secure (true) or not (false). */ + @Attribute + Boolean sqlIsSecure; + + /** Qualified names of data shares this asset is granted to. */ + @Attribute + @Singular + SortedSet sqlShareQualifiedNames; + + /** Simple name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + @Attribute + String tableName; + + /** Unique name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + @Attribute + String tableQualifiedName; + + /** Simple name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + @Attribute + String viewName; + + /** Unique name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + @Attribute + String viewQualifiedName; + + /** + * Builds the minimal object necessary to create a relationship to a DatabricksDashboard, from a potentially + * more-complete DatabricksDashboard object. + * + * @return the minimal object necessary to relate to the DatabricksDashboard + * @throws InvalidRequestException if any of the minimal set of required properties for a DatabricksDashboard relationship are not found in the initial object + */ + @Override + public DatabricksDashboard trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all DatabricksDashboard assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) DatabricksDashboard assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all DatabricksDashboard assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all DatabricksDashboard assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) DatabricksDashboards will be included + * @return a fluent search that includes all DatabricksDashboard assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a DatabricksDashboard by GUID. Use this to create a relationship to this DatabricksDashboard, + * where the relationship should be replaced. + * + * @param guid the GUID of the DatabricksDashboard to reference + * @return reference to a DatabricksDashboard that can be used for defining a relationship to a DatabricksDashboard + */ + public static DatabricksDashboard refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a DatabricksDashboard by GUID. Use this to create a relationship to this DatabricksDashboard, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the DatabricksDashboard to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a DatabricksDashboard that can be used for defining a relationship to a DatabricksDashboard + */ + public static DatabricksDashboard refByGuid(String guid, Reference.SaveSemantic semantic) { + return DatabricksDashboard._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a DatabricksDashboard by qualifiedName. Use this to create a relationship to this DatabricksDashboard, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the DatabricksDashboard to reference + * @return reference to a DatabricksDashboard that can be used for defining a relationship to a DatabricksDashboard + */ + public static DatabricksDashboard refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a DatabricksDashboard by qualifiedName. Use this to create a relationship to this DatabricksDashboard, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the DatabricksDashboard to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a DatabricksDashboard that can be used for defining a relationship to a DatabricksDashboard + */ + public static DatabricksDashboard refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return DatabricksDashboard._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a DatabricksDashboard by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the DatabricksDashboard to retrieve, either its GUID or its full qualifiedName + * @return the requested full DatabricksDashboard, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the DatabricksDashboard does not exist or the provided GUID is not a DatabricksDashboard + */ + @JsonIgnore + public static DatabricksDashboard get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a DatabricksDashboard by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the DatabricksDashboard to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full DatabricksDashboard, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the DatabricksDashboard does not exist or the provided GUID is not a DatabricksDashboard + */ + @JsonIgnore + public static DatabricksDashboard get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof DatabricksDashboard) { + return (DatabricksDashboard) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof DatabricksDashboard) { + return (DatabricksDashboard) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a DatabricksDashboard by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the DatabricksDashboard to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the DatabricksDashboard, including any relationships + * @return the requested DatabricksDashboard, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the DatabricksDashboard does not exist or the provided GUID is not a DatabricksDashboard + */ + @JsonIgnore + public static DatabricksDashboard get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a DatabricksDashboard by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the DatabricksDashboard to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the DatabricksDashboard, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the DatabricksDashboard + * @return the requested DatabricksDashboard, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the DatabricksDashboard does not exist or the provided GUID is not a DatabricksDashboard + */ + @JsonIgnore + public static DatabricksDashboard get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = DatabricksDashboard.select(client) + .where(DatabricksDashboard.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof DatabricksDashboard) { + return (DatabricksDashboard) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = DatabricksDashboard.select(client) + .where(DatabricksDashboard.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof DatabricksDashboard) { + return (DatabricksDashboard) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) DatabricksDashboard to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the DatabricksDashboard + * @return true if the DatabricksDashboard is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a DatabricksDashboard. + * + * @param qualifiedName of the DatabricksDashboard + * @param name of the DatabricksDashboard + * @return the minimal request necessary to update the DatabricksDashboard, as a builder + */ + public static DatabricksDashboardBuilder updater(String qualifiedName, String name) { + return DatabricksDashboard._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a DatabricksDashboard, + * from a potentially more-complete DatabricksDashboard object. + * + * @return the minimal object necessary to update the DatabricksDashboard, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a DatabricksDashboard are not present in the initial object + */ + @Override + public DatabricksDashboardBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class DatabricksDashboardBuilder< + C extends DatabricksDashboard, B extends DatabricksDashboardBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a DatabricksDashboard. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the DatabricksDashboard + * @param name of the DatabricksDashboard + * @return the updated DatabricksDashboard, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static DatabricksDashboard removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (DatabricksDashboard) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a DatabricksDashboard. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the DatabricksDashboard + * @param name of the DatabricksDashboard + * @return the updated DatabricksDashboard, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static DatabricksDashboard removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (DatabricksDashboard) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a DatabricksDashboard. + * + * @param client connectivity to the Atlan tenant from which to remove the DatabricksDashboard's owners + * @param qualifiedName of the DatabricksDashboard + * @param name of the DatabricksDashboard + * @return the updated DatabricksDashboard, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static DatabricksDashboard removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (DatabricksDashboard) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a DatabricksDashboard. + * + * @param client connectivity to the Atlan tenant on which to update the DatabricksDashboard's certificate + * @param qualifiedName of the DatabricksDashboard + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated DatabricksDashboard, or null if the update failed + * @throws AtlanException on any API problems + */ + public static DatabricksDashboard updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (DatabricksDashboard) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a DatabricksDashboard. + * + * @param client connectivity to the Atlan tenant from which to remove the DatabricksDashboard's certificate + * @param qualifiedName of the DatabricksDashboard + * @param name of the DatabricksDashboard + * @return the updated DatabricksDashboard, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static DatabricksDashboard removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (DatabricksDashboard) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a DatabricksDashboard. + * + * @param client connectivity to the Atlan tenant on which to update the DatabricksDashboard's announcement + * @param qualifiedName of the DatabricksDashboard + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static DatabricksDashboard updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (DatabricksDashboard) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a DatabricksDashboard. + * + * @param client connectivity to the Atlan client from which to remove the DatabricksDashboard's announcement + * @param qualifiedName of the DatabricksDashboard + * @param name of the DatabricksDashboard + * @return the updated DatabricksDashboard, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static DatabricksDashboard removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (DatabricksDashboard) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the DatabricksDashboard. + * + * @param client connectivity to the Atlan tenant on which to replace the DatabricksDashboard's assigned terms + * @param qualifiedName for the DatabricksDashboard + * @param name human-readable name of the DatabricksDashboard + * @param terms the list of terms to replace on the DatabricksDashboard, or null to remove all terms from the DatabricksDashboard + * @return the DatabricksDashboard that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static DatabricksDashboard replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (DatabricksDashboard) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the DatabricksDashboard, without replacing existing terms linked to the DatabricksDashboard. + * Note: this operation must make two API calls — one to retrieve the DatabricksDashboard's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the DatabricksDashboard + * @param qualifiedName for the DatabricksDashboard + * @param terms the list of terms to append to the DatabricksDashboard + * @return the DatabricksDashboard that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static DatabricksDashboard appendTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (DatabricksDashboard) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a DatabricksDashboard, without replacing all existing terms linked to the DatabricksDashboard. + * Note: this operation must make two API calls — one to retrieve the DatabricksDashboard's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the DatabricksDashboard + * @param qualifiedName for the DatabricksDashboard + * @param terms the list of terms to remove from the DatabricksDashboard, which must be referenced by GUID + * @return the DatabricksDashboard that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static DatabricksDashboard removeTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (DatabricksDashboard) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a DatabricksDashboard, without replacing existing Atlan tags linked to the DatabricksDashboard. + * Note: this operation must make two API calls — one to retrieve the DatabricksDashboard's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the DatabricksDashboard + * @param qualifiedName of the DatabricksDashboard + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated DatabricksDashboard + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static DatabricksDashboard appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (DatabricksDashboard) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a DatabricksDashboard, without replacing existing Atlan tags linked to the DatabricksDashboard. + * Note: this operation must make two API calls — one to retrieve the DatabricksDashboard's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the DatabricksDashboard + * @param qualifiedName of the DatabricksDashboard + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated DatabricksDashboard + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static DatabricksDashboard appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (DatabricksDashboard) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a DatabricksDashboard. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a DatabricksDashboard + * @param qualifiedName of the DatabricksDashboard + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the DatabricksDashboard + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/DatabricksGenieAgent.java b/sdk/src/main/java/com/atlan/model/assets/DatabricksGenieAgent.java new file mode 100644 index 0000000000..05a9c5ed3a --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/DatabricksGenieAgent.java @@ -0,0 +1,839 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AgentType; +import com.atlan.model.enums.AgenticLifecycleStatus; +import com.atlan.model.enums.AgenticSource; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Instance of a Databricks Genie space in Atlan. A Genie space is a curated natural-language interface over a set of Databricks tables, published here as an agent asset for governance and discovery. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class DatabricksGenieAgent extends Asset + implements IDatabricksGenieAgent, IAgent, IDatabricks, IAgentic, ICatalog, IAsset, IReferenceable, ISQL { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "DatabricksGenieAgent"; + + /** Fixed typeName for DatabricksGenieAgents. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** JSON-serialized LLMConfig (model, temperature, maxTokens, maxTurns, baseUrl). */ + @Attribute + String agentLlmConfig; + + /** JSON list of MCPServerConfig entries (name, url, headers, enabled). */ + @Attribute + String agentMcpServers; + + /** JSON-serialized agent schedule configuration, including kickoff message, cron expression, timezone, version policy, status, and Temporal schedule identifier. */ + @Attribute + String agentSchedules; + + /** Denormalized list of names of the skills bound to this agent version. */ + @Attribute + @Singular + SortedSet agentSkillNames; + + /** Denormalized list of qualifiedNames of the skills bound to this agent version. */ + @Attribute + @Singular + SortedSet agentSkillQualifiedNames; + + /** Skills bound to this agent. */ + @Attribute + @Singular + SortedSet agentSkills; + + /** URL-safe unique identifier for this agent (for example, my-data-agent). */ + @Attribute + String agentSlug; + + /** Lifecycle status of this agent version (draft or published). */ + @Attribute + AgenticLifecycleStatus agentStatus; + + /** System prompt for this agent version. */ + @Attribute + String agentSystemPrompt; + + /** Origin type of this agent — system-provided or custom user-created. */ + @Attribute + AgentType agentType; + + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ + @Attribute + Long agenticVersion; + + /** Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + @Attribute + String calculationViewName; + + /** Unique name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + @Attribute + String calculationViewQualifiedName; + + /** Unique identifier of the dataset this asset belongs to. */ + @Attribute + String catalogDatasetGuid; + + /** Context repository that produced this agent. */ + @Attribute + IContextRepository contextSourceRepository; + + /** Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + @Attribute + String databaseName; + + /** Unique name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + @Attribute + String databaseQualifiedName; + + /** Entity tag used as a change token for the Genie space. It is populated only by an enabled serialized-detail read, so it is null when that read is disabled, denied, or omitted by the source. */ + @Attribute + String databricksGenieAgentEtag; + + /** Workspace folder path containing the Genie space. It is descriptive only and creates no containment or hierarchy edge. */ + @Attribute + String databricksGenieAgentParentPath; + + /** Identifier of the SQL warehouse backing the Genie space. */ + @Attribute + String databricksGenieAgentWarehouseId; + + /** Identifier of the workspace containing the Genie space. */ + @Attribute + String databricksGenieAgentWorkspaceId; + + /** (Deprecated) Model containing the assets. */ + @Attribute + @Singular + SortedSet dbtModels; + + /** DBT seeds that materialize the SQL asset. */ + @Attribute + @Singular + SortedSet dbtSeedAssets; + + /** Source containing the assets. */ + @Attribute + @Singular + SortedSet dbtSources; + + /** Tests related to this asset. */ + @Attribute + @Singular + SortedSet dbtTests; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Whether this asset has been profiled (true) or not (false). */ + @Attribute + Boolean isProfiled; + + /** Time (epoch) at which this asset was last profiled, in milliseconds. */ + @Attribute + @Date + Long lastProfiledAt; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** Number of times this asset has been queried. */ + @Attribute + Long queryCount; + + /** Time (epoch) at which the query count was last updated, in milliseconds. */ + @Attribute + @Date + Long queryCountUpdatedAt; + + /** Number of unique users who have queried this asset. */ + @Attribute + Long queryUserCount; + + /** Map of unique users who have queried this asset to the number of times they have queried it. */ + @Attribute + @Singular("putQueryUserMap") + Map queryUserMap; + + /** Simple name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + @Attribute + String schemaName; + + /** Unique name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + @Attribute + String schemaQualifiedName; + + /** Unique name of the context in which the model versions exist, or empty if it does not exist within an AI model context. */ + @Attribute + String sqlAIModelContextQualifiedName; + + /** Time (epoch) at which this asset was last analyzed for AI insights, in milliseconds. */ + @Attribute + @Date + Long sqlAiInsightsLastAnalyzedAt; + + /** Number of popular business questions associated with this asset. */ + @Attribute + Integer sqlAiInsightsPopularBusinessQuestionCount; + + /** Number of popular filter patterns associated with this asset. */ + @Attribute + Integer sqlAiInsightsPopularFilterCount; + + /** Number of popular join patterns associated with this asset. */ + @Attribute + Integer sqlAiInsightsPopularJoinCount; + + /** Number of relationship insights associated with this asset. */ + @Attribute + Integer sqlAiInsightsRelationshipCount; + + /** Identifier of the Coalesce environment. */ + @Attribute + String sqlCoalesceEnvironmentId; + + /** Name of the Coalesce environment. */ + @Attribute + String sqlCoalesceEnvironmentName; + + /** Time (epoch) at which the Coalesce node that materialized this asset last ran, in milliseconds. */ + @Attribute + @Date + Long sqlCoalesceLastRunAt; + + /** Status of the Coalesce run. One of: success, failure, cancelled, or skipped. */ + @Attribute + String sqlCoalesceLastRunStatus; + + /** Status of the Coalesce node for a given run. */ + @Attribute + String sqlCoalesceNodeStatus; + + /** Type of the Coalesce node. */ + @Attribute + String sqlCoalesceNodeType; + + /** Identifier of the Coalesce project. */ + @Attribute + String sqlCoalesceProjectId; + + /** Name of the Coalesce project. */ + @Attribute + String sqlCoalesceProjectName; + + /** Sources related to this asset. */ + @Attribute + @Singular + SortedSet sqlDBTSources; + + /** Assets related to the model. */ + @Attribute + @Singular + SortedSet sqlDbtModels; + + /** Whether this asset has any AI insights data available. */ + @Attribute + Boolean sqlHasAiInsights; + + /** Whether this asset is secure (true) or not (false). */ + @Attribute + Boolean sqlIsSecure; + + /** Qualified names of data shares this asset is granted to. */ + @Attribute + @Singular + SortedSet sqlShareQualifiedNames; + + /** Simple name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + @Attribute + String tableName; + + /** Unique name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + @Attribute + String tableQualifiedName; + + /** Simple name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + @Attribute + String viewName; + + /** Unique name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + @Attribute + String viewQualifiedName; + + /** + * Builds the minimal object necessary to create a relationship to a DatabricksGenieAgent, from a potentially + * more-complete DatabricksGenieAgent object. + * + * @return the minimal object necessary to relate to the DatabricksGenieAgent + * @throws InvalidRequestException if any of the minimal set of required properties for a DatabricksGenieAgent relationship are not found in the initial object + */ + @Override + public DatabricksGenieAgent trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all DatabricksGenieAgent assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) DatabricksGenieAgent assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all DatabricksGenieAgent assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all DatabricksGenieAgent assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) DatabricksGenieAgents will be included + * @return a fluent search that includes all DatabricksGenieAgent assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a DatabricksGenieAgent by GUID. Use this to create a relationship to this DatabricksGenieAgent, + * where the relationship should be replaced. + * + * @param guid the GUID of the DatabricksGenieAgent to reference + * @return reference to a DatabricksGenieAgent that can be used for defining a relationship to a DatabricksGenieAgent + */ + public static DatabricksGenieAgent refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a DatabricksGenieAgent by GUID. Use this to create a relationship to this DatabricksGenieAgent, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the DatabricksGenieAgent to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a DatabricksGenieAgent that can be used for defining a relationship to a DatabricksGenieAgent + */ + public static DatabricksGenieAgent refByGuid(String guid, Reference.SaveSemantic semantic) { + return DatabricksGenieAgent._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a DatabricksGenieAgent by qualifiedName. Use this to create a relationship to this DatabricksGenieAgent, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the DatabricksGenieAgent to reference + * @return reference to a DatabricksGenieAgent that can be used for defining a relationship to a DatabricksGenieAgent + */ + public static DatabricksGenieAgent refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a DatabricksGenieAgent by qualifiedName. Use this to create a relationship to this DatabricksGenieAgent, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the DatabricksGenieAgent to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a DatabricksGenieAgent that can be used for defining a relationship to a DatabricksGenieAgent + */ + public static DatabricksGenieAgent refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return DatabricksGenieAgent._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a DatabricksGenieAgent by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the DatabricksGenieAgent to retrieve, either its GUID or its full qualifiedName + * @return the requested full DatabricksGenieAgent, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the DatabricksGenieAgent does not exist or the provided GUID is not a DatabricksGenieAgent + */ + @JsonIgnore + public static DatabricksGenieAgent get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a DatabricksGenieAgent by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the DatabricksGenieAgent to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full DatabricksGenieAgent, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the DatabricksGenieAgent does not exist or the provided GUID is not a DatabricksGenieAgent + */ + @JsonIgnore + public static DatabricksGenieAgent get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof DatabricksGenieAgent) { + return (DatabricksGenieAgent) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof DatabricksGenieAgent) { + return (DatabricksGenieAgent) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a DatabricksGenieAgent by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the DatabricksGenieAgent to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the DatabricksGenieAgent, including any relationships + * @return the requested DatabricksGenieAgent, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the DatabricksGenieAgent does not exist or the provided GUID is not a DatabricksGenieAgent + */ + @JsonIgnore + public static DatabricksGenieAgent get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a DatabricksGenieAgent by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the DatabricksGenieAgent to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the DatabricksGenieAgent, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the DatabricksGenieAgent + * @return the requested DatabricksGenieAgent, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the DatabricksGenieAgent does not exist or the provided GUID is not a DatabricksGenieAgent + */ + @JsonIgnore + public static DatabricksGenieAgent get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = DatabricksGenieAgent.select(client) + .where(DatabricksGenieAgent.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof DatabricksGenieAgent) { + return (DatabricksGenieAgent) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = DatabricksGenieAgent.select(client) + .where(DatabricksGenieAgent.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof DatabricksGenieAgent) { + return (DatabricksGenieAgent) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) DatabricksGenieAgent to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the DatabricksGenieAgent + * @return true if the DatabricksGenieAgent is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a DatabricksGenieAgent. + * + * @param qualifiedName of the DatabricksGenieAgent + * @param name of the DatabricksGenieAgent + * @return the minimal request necessary to update the DatabricksGenieAgent, as a builder + */ + public static DatabricksGenieAgentBuilder updater(String qualifiedName, String name) { + return DatabricksGenieAgent._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a DatabricksGenieAgent, + * from a potentially more-complete DatabricksGenieAgent object. + * + * @return the minimal object necessary to update the DatabricksGenieAgent, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a DatabricksGenieAgent are not present in the initial object + */ + @Override + public DatabricksGenieAgentBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class DatabricksGenieAgentBuilder< + C extends DatabricksGenieAgent, B extends DatabricksGenieAgentBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a DatabricksGenieAgent. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the DatabricksGenieAgent + * @param name of the DatabricksGenieAgent + * @return the updated DatabricksGenieAgent, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static DatabricksGenieAgent removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (DatabricksGenieAgent) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a DatabricksGenieAgent. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the DatabricksGenieAgent + * @param name of the DatabricksGenieAgent + * @return the updated DatabricksGenieAgent, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static DatabricksGenieAgent removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (DatabricksGenieAgent) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a DatabricksGenieAgent. + * + * @param client connectivity to the Atlan tenant from which to remove the DatabricksGenieAgent's owners + * @param qualifiedName of the DatabricksGenieAgent + * @param name of the DatabricksGenieAgent + * @return the updated DatabricksGenieAgent, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static DatabricksGenieAgent removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (DatabricksGenieAgent) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a DatabricksGenieAgent. + * + * @param client connectivity to the Atlan tenant on which to update the DatabricksGenieAgent's certificate + * @param qualifiedName of the DatabricksGenieAgent + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated DatabricksGenieAgent, or null if the update failed + * @throws AtlanException on any API problems + */ + public static DatabricksGenieAgent updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (DatabricksGenieAgent) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a DatabricksGenieAgent. + * + * @param client connectivity to the Atlan tenant from which to remove the DatabricksGenieAgent's certificate + * @param qualifiedName of the DatabricksGenieAgent + * @param name of the DatabricksGenieAgent + * @return the updated DatabricksGenieAgent, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static DatabricksGenieAgent removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (DatabricksGenieAgent) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a DatabricksGenieAgent. + * + * @param client connectivity to the Atlan tenant on which to update the DatabricksGenieAgent's announcement + * @param qualifiedName of the DatabricksGenieAgent + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static DatabricksGenieAgent updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (DatabricksGenieAgent) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a DatabricksGenieAgent. + * + * @param client connectivity to the Atlan client from which to remove the DatabricksGenieAgent's announcement + * @param qualifiedName of the DatabricksGenieAgent + * @param name of the DatabricksGenieAgent + * @return the updated DatabricksGenieAgent, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static DatabricksGenieAgent removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (DatabricksGenieAgent) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the DatabricksGenieAgent. + * + * @param client connectivity to the Atlan tenant on which to replace the DatabricksGenieAgent's assigned terms + * @param qualifiedName for the DatabricksGenieAgent + * @param name human-readable name of the DatabricksGenieAgent + * @param terms the list of terms to replace on the DatabricksGenieAgent, or null to remove all terms from the DatabricksGenieAgent + * @return the DatabricksGenieAgent that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static DatabricksGenieAgent replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (DatabricksGenieAgent) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the DatabricksGenieAgent, without replacing existing terms linked to the DatabricksGenieAgent. + * Note: this operation must make two API calls — one to retrieve the DatabricksGenieAgent's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the DatabricksGenieAgent + * @param qualifiedName for the DatabricksGenieAgent + * @param terms the list of terms to append to the DatabricksGenieAgent + * @return the DatabricksGenieAgent that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static DatabricksGenieAgent appendTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (DatabricksGenieAgent) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a DatabricksGenieAgent, without replacing all existing terms linked to the DatabricksGenieAgent. + * Note: this operation must make two API calls — one to retrieve the DatabricksGenieAgent's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the DatabricksGenieAgent + * @param qualifiedName for the DatabricksGenieAgent + * @param terms the list of terms to remove from the DatabricksGenieAgent, which must be referenced by GUID + * @return the DatabricksGenieAgent that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static DatabricksGenieAgent removeTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (DatabricksGenieAgent) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a DatabricksGenieAgent, without replacing existing Atlan tags linked to the DatabricksGenieAgent. + * Note: this operation must make two API calls — one to retrieve the DatabricksGenieAgent's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the DatabricksGenieAgent + * @param qualifiedName of the DatabricksGenieAgent + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated DatabricksGenieAgent + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static DatabricksGenieAgent appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (DatabricksGenieAgent) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a DatabricksGenieAgent, without replacing existing Atlan tags linked to the DatabricksGenieAgent. + * Note: this operation must make two API calls — one to retrieve the DatabricksGenieAgent's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the DatabricksGenieAgent + * @param qualifiedName of the DatabricksGenieAgent + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated DatabricksGenieAgent + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static DatabricksGenieAgent appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (DatabricksGenieAgent) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a DatabricksGenieAgent. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a DatabricksGenieAgent + * @param qualifiedName of the DatabricksGenieAgent + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the DatabricksGenieAgent + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/DbtColumnProcess.java b/sdk/src/main/java/com/atlan/model/assets/DbtColumnProcess.java index a948590ea8..e40527ed28 100644 --- a/sdk/src/main/java/com/atlan/model/assets/DbtColumnProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/DbtColumnProcess.java @@ -10,6 +10,7 @@ import com.atlan.model.enums.AIDatasetType; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.fields.AtlanField; import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; @@ -73,7 +74,7 @@ public class DbtColumnProcess extends Asset @Attribute String ast; - /** TBC */ + /** Routines used by this process. */ @Attribute @Singular SortedSet bigqueryRoutines; @@ -270,6 +271,10 @@ public class DbtColumnProcess extends Asset @Attribute ILineageProcess process; + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + @Attribute + ProcessLineageDerivation processDerivation; + /** TBC */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/DbtProcess.java b/sdk/src/main/java/com/atlan/model/assets/DbtProcess.java index 39ec1e6fd1..cbda09a1ad 100644 --- a/sdk/src/main/java/com/atlan/model/assets/DbtProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/DbtProcess.java @@ -10,6 +10,7 @@ import com.atlan.model.enums.AIDatasetType; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.fields.AtlanField; import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; @@ -73,7 +74,7 @@ public class DbtProcess extends Asset implements IDbtProcess, ILineageProcess, I @Attribute String ast; - /** TBC */ + /** Routines used by this process. */ @Attribute @Singular SortedSet bigqueryRoutines; @@ -271,6 +272,10 @@ public class DbtProcess extends Asset implements IDbtProcess, ILineageProcess, I @Attribute IPowerBIDataflow powerBIDataflow; + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + @Attribute + ProcessLineageDerivation processDerivation; + /** TBC */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelMeasure.java b/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelMeasure.java new file mode 100644 index 0000000000..fd36981e19 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelMeasure.java @@ -0,0 +1,653 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Instance of a Microsoft Fabric semantic model measure in Atlan. Measures define DAX calculations within a semantic model table. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class FabricSemanticModelMeasure extends Asset + implements IFabricSemanticModelMeasure, IFabric, IBI, ICatalog, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "FabricSemanticModelMeasure"; + + /** Fixed typeName for FabricSemanticModelMeasures. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Unique identifier of the dataset this asset belongs to. */ + @Attribute + String catalogDatasetGuid; + + /** Number of columns in this asset. */ + @Attribute + Integer fabricColumnCount; + + /** Data type of this asset. */ + @Attribute + String fabricDataType; + + /** Display folder in which this measure is grouped within its table. */ + @Attribute + String fabricDisplayFolder; + + /** Format string applied to the values of this measure. */ + @Attribute + String fabricFormatString; + + /** Whether this measure is an external measure (true) or defined within the semantic model (false). */ + @Attribute + Boolean fabricIsExternalMeasure; + + /** Whether this measure is hidden in the semantic model (true) or visible (false). */ + @Attribute + Boolean fabricIsHidden; + + /** DAX expression for this measure. */ + @Attribute + String fabricMeasureExpression; + + /** Order/position of this asset within its parent. */ + @Attribute + Integer fabricOrdinal; + + /** Unique name of the Fabric semantic model that contains this asset. */ + @Attribute + String fabricSemanticModelQualifiedName; + + /** Semantic model table containing the measure. */ + @Attribute + IFabricSemanticModelTable fabricSemanticModelTable; + + /** Semantic model table columns referenced by the DAX expression of this measure. */ + @Attribute + @Singular + SortedSet fabricSemanticModelTableColumns; + + /** Name of the Fabric semantic model table that contains this asset. */ + @Attribute + String fabricSemanticModelTableName; + + /** Unique name of the Fabric semantic model table that contains this asset. */ + @Attribute + String fabricSemanticModelTableQualifiedName; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** + * Builds the minimal object necessary to create a relationship to a FabricSemanticModelMeasure, from a potentially + * more-complete FabricSemanticModelMeasure object. + * + * @return the minimal object necessary to relate to the FabricSemanticModelMeasure + * @throws InvalidRequestException if any of the minimal set of required properties for a FabricSemanticModelMeasure relationship are not found in the initial object + */ + @Override + public FabricSemanticModelMeasure trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all FabricSemanticModelMeasure assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) FabricSemanticModelMeasure assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all FabricSemanticModelMeasure assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all FabricSemanticModelMeasure assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) FabricSemanticModelMeasures will be included + * @return a fluent search that includes all FabricSemanticModelMeasure assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a FabricSemanticModelMeasure by GUID. Use this to create a relationship to this FabricSemanticModelMeasure, + * where the relationship should be replaced. + * + * @param guid the GUID of the FabricSemanticModelMeasure to reference + * @return reference to a FabricSemanticModelMeasure that can be used for defining a relationship to a FabricSemanticModelMeasure + */ + public static FabricSemanticModelMeasure refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a FabricSemanticModelMeasure by GUID. Use this to create a relationship to this FabricSemanticModelMeasure, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the FabricSemanticModelMeasure to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a FabricSemanticModelMeasure that can be used for defining a relationship to a FabricSemanticModelMeasure + */ + public static FabricSemanticModelMeasure refByGuid(String guid, Reference.SaveSemantic semantic) { + return FabricSemanticModelMeasure._internal() + .guid(guid) + .semantic(semantic) + .build(); + } + + /** + * Reference to a FabricSemanticModelMeasure by qualifiedName. Use this to create a relationship to this FabricSemanticModelMeasure, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the FabricSemanticModelMeasure to reference + * @return reference to a FabricSemanticModelMeasure that can be used for defining a relationship to a FabricSemanticModelMeasure + */ + public static FabricSemanticModelMeasure refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a FabricSemanticModelMeasure by qualifiedName. Use this to create a relationship to this FabricSemanticModelMeasure, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the FabricSemanticModelMeasure to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a FabricSemanticModelMeasure that can be used for defining a relationship to a FabricSemanticModelMeasure + */ + public static FabricSemanticModelMeasure refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return FabricSemanticModelMeasure._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a FabricSemanticModelMeasure by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the FabricSemanticModelMeasure to retrieve, either its GUID or its full qualifiedName + * @return the requested full FabricSemanticModelMeasure, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the FabricSemanticModelMeasure does not exist or the provided GUID is not a FabricSemanticModelMeasure + */ + @JsonIgnore + public static FabricSemanticModelMeasure get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a FabricSemanticModelMeasure by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the FabricSemanticModelMeasure to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full FabricSemanticModelMeasure, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the FabricSemanticModelMeasure does not exist or the provided GUID is not a FabricSemanticModelMeasure + */ + @JsonIgnore + public static FabricSemanticModelMeasure get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof FabricSemanticModelMeasure) { + return (FabricSemanticModelMeasure) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof FabricSemanticModelMeasure) { + return (FabricSemanticModelMeasure) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a FabricSemanticModelMeasure by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the FabricSemanticModelMeasure to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the FabricSemanticModelMeasure, including any relationships + * @return the requested FabricSemanticModelMeasure, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the FabricSemanticModelMeasure does not exist or the provided GUID is not a FabricSemanticModelMeasure + */ + @JsonIgnore + public static FabricSemanticModelMeasure get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a FabricSemanticModelMeasure by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the FabricSemanticModelMeasure to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the FabricSemanticModelMeasure, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the FabricSemanticModelMeasure + * @return the requested FabricSemanticModelMeasure, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the FabricSemanticModelMeasure does not exist or the provided GUID is not a FabricSemanticModelMeasure + */ + @JsonIgnore + public static FabricSemanticModelMeasure get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = FabricSemanticModelMeasure.select(client) + .where(FabricSemanticModelMeasure.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof FabricSemanticModelMeasure) { + return (FabricSemanticModelMeasure) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = FabricSemanticModelMeasure.select(client) + .where(FabricSemanticModelMeasure.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof FabricSemanticModelMeasure) { + return (FabricSemanticModelMeasure) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) FabricSemanticModelMeasure to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the FabricSemanticModelMeasure + * @return true if the FabricSemanticModelMeasure is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a FabricSemanticModelMeasure. + * + * @param qualifiedName of the FabricSemanticModelMeasure + * @param name of the FabricSemanticModelMeasure + * @return the minimal request necessary to update the FabricSemanticModelMeasure, as a builder + */ + public static FabricSemanticModelMeasureBuilder updater(String qualifiedName, String name) { + return FabricSemanticModelMeasure._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a FabricSemanticModelMeasure, + * from a potentially more-complete FabricSemanticModelMeasure object. + * + * @return the minimal object necessary to update the FabricSemanticModelMeasure, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a FabricSemanticModelMeasure are not present in the initial object + */ + @Override + public FabricSemanticModelMeasureBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class FabricSemanticModelMeasureBuilder< + C extends FabricSemanticModelMeasure, B extends FabricSemanticModelMeasureBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a FabricSemanticModelMeasure. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the FabricSemanticModelMeasure + * @param name of the FabricSemanticModelMeasure + * @return the updated FabricSemanticModelMeasure, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static FabricSemanticModelMeasure removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (FabricSemanticModelMeasure) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a FabricSemanticModelMeasure. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the FabricSemanticModelMeasure + * @param name of the FabricSemanticModelMeasure + * @return the updated FabricSemanticModelMeasure, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static FabricSemanticModelMeasure removeUserDescription( + AtlanClient client, String qualifiedName, String name) throws AtlanException { + return (FabricSemanticModelMeasure) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a FabricSemanticModelMeasure. + * + * @param client connectivity to the Atlan tenant from which to remove the FabricSemanticModelMeasure's owners + * @param qualifiedName of the FabricSemanticModelMeasure + * @param name of the FabricSemanticModelMeasure + * @return the updated FabricSemanticModelMeasure, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static FabricSemanticModelMeasure removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (FabricSemanticModelMeasure) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a FabricSemanticModelMeasure. + * + * @param client connectivity to the Atlan tenant on which to update the FabricSemanticModelMeasure's certificate + * @param qualifiedName of the FabricSemanticModelMeasure + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated FabricSemanticModelMeasure, or null if the update failed + * @throws AtlanException on any API problems + */ + public static FabricSemanticModelMeasure updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (FabricSemanticModelMeasure) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a FabricSemanticModelMeasure. + * + * @param client connectivity to the Atlan tenant from which to remove the FabricSemanticModelMeasure's certificate + * @param qualifiedName of the FabricSemanticModelMeasure + * @param name of the FabricSemanticModelMeasure + * @return the updated FabricSemanticModelMeasure, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static FabricSemanticModelMeasure removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (FabricSemanticModelMeasure) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a FabricSemanticModelMeasure. + * + * @param client connectivity to the Atlan tenant on which to update the FabricSemanticModelMeasure's announcement + * @param qualifiedName of the FabricSemanticModelMeasure + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static FabricSemanticModelMeasure updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (FabricSemanticModelMeasure) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a FabricSemanticModelMeasure. + * + * @param client connectivity to the Atlan client from which to remove the FabricSemanticModelMeasure's announcement + * @param qualifiedName of the FabricSemanticModelMeasure + * @param name of the FabricSemanticModelMeasure + * @return the updated FabricSemanticModelMeasure, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static FabricSemanticModelMeasure removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (FabricSemanticModelMeasure) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the FabricSemanticModelMeasure. + * + * @param client connectivity to the Atlan tenant on which to replace the FabricSemanticModelMeasure's assigned terms + * @param qualifiedName for the FabricSemanticModelMeasure + * @param name human-readable name of the FabricSemanticModelMeasure + * @param terms the list of terms to replace on the FabricSemanticModelMeasure, or null to remove all terms from the FabricSemanticModelMeasure + * @return the FabricSemanticModelMeasure that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static FabricSemanticModelMeasure replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (FabricSemanticModelMeasure) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the FabricSemanticModelMeasure, without replacing existing terms linked to the FabricSemanticModelMeasure. + * Note: this operation must make two API calls — one to retrieve the FabricSemanticModelMeasure's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the FabricSemanticModelMeasure + * @param qualifiedName for the FabricSemanticModelMeasure + * @param terms the list of terms to append to the FabricSemanticModelMeasure + * @return the FabricSemanticModelMeasure that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static FabricSemanticModelMeasure appendTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (FabricSemanticModelMeasure) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a FabricSemanticModelMeasure, without replacing all existing terms linked to the FabricSemanticModelMeasure. + * Note: this operation must make two API calls — one to retrieve the FabricSemanticModelMeasure's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the FabricSemanticModelMeasure + * @param qualifiedName for the FabricSemanticModelMeasure + * @param terms the list of terms to remove from the FabricSemanticModelMeasure, which must be referenced by GUID + * @return the FabricSemanticModelMeasure that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static FabricSemanticModelMeasure removeTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (FabricSemanticModelMeasure) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a FabricSemanticModelMeasure, without replacing existing Atlan tags linked to the FabricSemanticModelMeasure. + * Note: this operation must make two API calls — one to retrieve the FabricSemanticModelMeasure's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the FabricSemanticModelMeasure + * @param qualifiedName of the FabricSemanticModelMeasure + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated FabricSemanticModelMeasure + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static FabricSemanticModelMeasure appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (FabricSemanticModelMeasure) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a FabricSemanticModelMeasure, without replacing existing Atlan tags linked to the FabricSemanticModelMeasure. + * Note: this operation must make two API calls — one to retrieve the FabricSemanticModelMeasure's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the FabricSemanticModelMeasure + * @param qualifiedName of the FabricSemanticModelMeasure + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated FabricSemanticModelMeasure + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static FabricSemanticModelMeasure appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (FabricSemanticModelMeasure) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a FabricSemanticModelMeasure. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a FabricSemanticModelMeasure + * @param qualifiedName of the FabricSemanticModelMeasure + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the FabricSemanticModelMeasure + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelTable.java b/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelTable.java index 2c66b13bba..6fc68c0ad6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelTable.java @@ -69,6 +69,11 @@ public class FabricSemanticModelTable extends Asset @Attribute IFabricSemanticModel fabricSemanticModel; + /** Individual semantic model measures contained in the semantic model table. */ + @Attribute + @Singular + SortedSet fabricSemanticModelMeasures; + /** Unique name of the Fabric semantic model that contains this asset. */ @Attribute String fabricSemanticModelQualifiedName; diff --git a/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelTableColumn.java b/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelTableColumn.java index c7b15cb1ce..f149a9f491 100644 --- a/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelTableColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/FabricSemanticModelTableColumn.java @@ -65,6 +65,11 @@ public class FabricSemanticModelTableColumn extends Asset @Attribute Integer fabricOrdinal; + /** Semantic model measures whose DAX expressions reference this column. */ + @Attribute + @Singular + SortedSet fabricSemanticModelMeasures; + /** Semantic model table containing the column. */ @Attribute IFabricSemanticModelTable fabricSemanticModelTable; diff --git a/sdk/src/main/java/com/atlan/model/assets/FlowDatasetOperation.java b/sdk/src/main/java/com/atlan/model/assets/FlowDatasetOperation.java index 3b0405d9bf..b7d4660d6b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/FlowDatasetOperation.java +++ b/sdk/src/main/java/com/atlan/model/assets/FlowDatasetOperation.java @@ -10,6 +10,7 @@ import com.atlan.model.enums.AIDatasetType; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.fields.AtlanField; import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; @@ -72,7 +73,7 @@ public class FlowDatasetOperation extends Asset @Attribute String ast; - /** TBC */ + /** Routines used by this process. */ @Attribute @Singular SortedSet bigqueryRoutines; @@ -190,6 +191,10 @@ public class FlowDatasetOperation extends Asset @Attribute IPowerBIDataflow powerBIDataflow; + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + @Attribute + ProcessLineageDerivation processDerivation; + /** TBC */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/FlowFieldOperation.java b/sdk/src/main/java/com/atlan/model/assets/FlowFieldOperation.java index 5758825cb1..58c3d4d6df 100644 --- a/sdk/src/main/java/com/atlan/model/assets/FlowFieldOperation.java +++ b/sdk/src/main/java/com/atlan/model/assets/FlowFieldOperation.java @@ -10,6 +10,7 @@ import com.atlan.model.enums.AIDatasetType; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.fields.AtlanField; import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; @@ -72,7 +73,7 @@ public class FlowFieldOperation extends Asset @Attribute String ast; - /** TBC */ + /** Routines used by this process. */ @Attribute @Singular SortedSet bigqueryRoutines; @@ -190,6 +191,10 @@ public class FlowFieldOperation extends Asset @Attribute ILineageProcess process; + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + @Attribute + ProcessLineageDerivation processDerivation; + /** TBC */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/Function.java b/sdk/src/main/java/com/atlan/model/assets/Function.java index a981bcb59d..d613ec450b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Function.java +++ b/sdk/src/main/java/com/atlan/model/assets/Function.java @@ -60,6 +60,10 @@ public class Function extends Asset implements IFunction, ISQL, ICatalog, IAsset @Attribute String catalogDatasetGuid; + /** Cosmos collection in which this function exists. */ + @Attribute + ICosmosMongoDBCollection cosmosMongoDBCollection; + /** Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ @Attribute String databaseName; diff --git a/sdk/src/main/java/com/atlan/model/assets/GCPDataplex.java b/sdk/src/main/java/com/atlan/model/assets/GCPDataplex.java index a035acbbbe..23a477b9eb 100644 --- a/sdk/src/main/java/com/atlan/model/assets/GCPDataplex.java +++ b/sdk/src/main/java/com/atlan/model/assets/GCPDataplex.java @@ -23,7 +23,6 @@ import java.util.List; import java.util.Map; import java.util.Optional; -import java.util.SortedSet; import java.util.concurrent.ThreadLocalRandom; import javax.annotation.processing.Generated; import lombok.*; @@ -40,7 +39,7 @@ @ToString(callSuper = true) @Slf4j @SuppressWarnings({"cast", "serial"}) -public class GCPDataplex extends Asset implements IGCPDataplex, ICatalog, IGoogle, IAsset, IReferenceable, ICloud { +public class GCPDataplex extends Asset implements IGCPDataplex, IGoogle, IAsset, IReferenceable, ICloud { private static final long serialVersionUID = 2L; public static final String TYPE_NAME = "GCPDataplex"; @@ -50,10 +49,6 @@ public class GCPDataplex extends Asset implements IGCPDataplex, ICatalog, IGoogl @Builder.Default String typeName = TYPE_NAME; - /** Unique identifier of the dataset this asset belongs to. */ - @Attribute - String catalogDatasetGuid; - /** Uniform resource name (URN) for the asset: AWS ARN, Google Cloud URI, Azure resource ID, Oracle OCID, and so on. */ @Attribute String cloudUniformResourceName; @@ -92,56 +87,6 @@ public class GCPDataplex extends Asset implements IGCPDataplex, ICatalog, IGoogl @Singular List googleTags; - /** Tasks to which this asset provides input. */ - @Attribute - @Singular - SortedSet inputToAirflowTasks; - - /** Processes to which this asset provides input. */ - @Attribute - @Singular - SortedSet inputToProcesses; - - /** TBC */ - @Attribute - @Singular - SortedSet inputToSparkJobs; - - /** Attributes implemented by this asset. */ - @Attribute - @Singular - SortedSet modelImplementedAttributes; - - /** Entities implemented by this asset. */ - @Attribute - @Singular - SortedSet modelImplementedEntities; - - /** Tasks from which this asset is output. */ - @Attribute - @Singular - SortedSet outputFromAirflowTasks; - - /** Processes from which this asset is produced as output. */ - @Attribute - @Singular - SortedSet outputFromProcesses; - - /** TBC */ - @Attribute - @Singular - SortedSet outputFromSparkJobs; - - /** Partial fields contained in the asset. */ - @Attribute - @Singular - SortedSet partialChildFields; - - /** Partial objects contained in the asset. */ - @Attribute - @Singular - SortedSet partialChildObjects; - /** * Builds the minimal object necessary to create a relationship to a GCPDataplex, from a potentially * more-complete GCPDataplex object. diff --git a/sdk/src/main/java/com/atlan/model/assets/GCPDataplexAspectType.java b/sdk/src/main/java/com/atlan/model/assets/GCPDataplexAspectType.java index 57bcf4d937..2235ea86d3 100644 --- a/sdk/src/main/java/com/atlan/model/assets/GCPDataplexAspectType.java +++ b/sdk/src/main/java/com/atlan/model/assets/GCPDataplexAspectType.java @@ -41,7 +41,7 @@ @Slf4j @SuppressWarnings({"cast", "serial"}) public class GCPDataplexAspectType extends Asset - implements IGCPDataplexAspectType, IGCPDataplex, ICatalog, IGoogle, IAsset, IReferenceable, ICloud { + implements IGCPDataplexAspectType, IGCPDataplex, IGoogle, IAsset, IReferenceable, ICloud { private static final long serialVersionUID = 2L; public static final String TYPE_NAME = "GCPDataplexAspectType"; @@ -51,10 +51,6 @@ public class GCPDataplexAspectType extends Asset @Builder.Default String typeName = TYPE_NAME; - /** Unique identifier of the dataset this asset belongs to. */ - @Attribute - String catalogDatasetGuid; - /** Uniform resource name (URN) for the asset: AWS ARN, Google Cloud URI, Azure resource ID, Oracle OCID, and so on. */ @Attribute String cloudUniformResourceName; @@ -81,7 +77,7 @@ public class GCPDataplexAspectType extends Asset @Attribute String gcpDataplexAspectTypeProject; - /** Full GCP resource name of this Aspect Type (e.g. projects/{project}/locations/{location}/aspectTypes/{id}). Used to match against assetGCPDataplexAspectType on BigQuery entry assets. */ + /** Full GCP resource name of this Aspect Type, for example: projects/{project}/locations/{location}/aspectTypes/{id}. Used to match against assetGCPDataplexAspectType on BigQuery entry assets. */ @Attribute String gcpDataplexAspectTypeResourceName; @@ -119,56 +115,6 @@ public class GCPDataplexAspectType extends Asset @Singular List googleTags; - /** Tasks to which this asset provides input. */ - @Attribute - @Singular - SortedSet inputToAirflowTasks; - - /** Processes to which this asset provides input. */ - @Attribute - @Singular - SortedSet inputToProcesses; - - /** TBC */ - @Attribute - @Singular - SortedSet inputToSparkJobs; - - /** Attributes implemented by this asset. */ - @Attribute - @Singular - SortedSet modelImplementedAttributes; - - /** Entities implemented by this asset. */ - @Attribute - @Singular - SortedSet modelImplementedEntities; - - /** Tasks from which this asset is output. */ - @Attribute - @Singular - SortedSet outputFromAirflowTasks; - - /** Processes from which this asset is produced as output. */ - @Attribute - @Singular - SortedSet outputFromProcesses; - - /** TBC */ - @Attribute - @Singular - SortedSet outputFromSparkJobs; - - /** Partial fields contained in the asset. */ - @Attribute - @Singular - SortedSet partialChildFields; - - /** Partial objects contained in the asset. */ - @Attribute - @Singular - SortedSet partialChildObjects; - /** * Builds the minimal object necessary to create a relationship to a GCPDataplexAspectType, from a potentially * more-complete GCPDataplexAspectType object. diff --git a/sdk/src/main/java/com/atlan/model/assets/Glossary.java b/sdk/src/main/java/com/atlan/model/assets/Glossary.java index 8a6ac01714..9c1cf82f23 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Glossary.java +++ b/sdk/src/main/java/com/atlan/model/assets/Glossary.java @@ -80,6 +80,11 @@ public class Glossary extends Asset implements IGlossary, IAsset, IReferenceable @Attribute AtlasGlossaryType glossaryType; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** Unused. Language of the glossary's contents. */ @Attribute String language; diff --git a/sdk/src/main/java/com/atlan/model/assets/GlossaryCategory.java b/sdk/src/main/java/com/atlan/model/assets/GlossaryCategory.java index f8db7b9dc7..30a4b0ddf4 100644 --- a/sdk/src/main/java/com/atlan/model/assets/GlossaryCategory.java +++ b/sdk/src/main/java/com/atlan/model/assets/GlossaryCategory.java @@ -79,6 +79,11 @@ public class GlossaryCategory extends Asset implements IGlossaryCategory, IAsset @Singular SortedSet gcpDataplexAspectTypeMetadataEntities; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** Unused. Detailed description of the category. See 'readme' instead. */ @Attribute String longDescription; diff --git a/sdk/src/main/java/com/atlan/model/assets/GlossaryTerm.java b/sdk/src/main/java/com/atlan/model/assets/GlossaryTerm.java index 0241b2970f..36b01787f1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/GlossaryTerm.java +++ b/sdk/src/main/java/com/atlan/model/assets/GlossaryTerm.java @@ -103,6 +103,11 @@ public class GlossaryTerm extends Asset implements IGlossaryTerm, IAsset, IRefer @Singular("isATerm") SortedSet isA; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** Unused. Detailed definition of the term. See 'readme' instead. */ @Attribute String longDescription; diff --git a/sdk/src/main/java/com/atlan/model/assets/IADF.java b/sdk/src/main/java/com/atlan/model/assets/IADF.java index dc22629268..0f60a111cb 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IADF.java +++ b/sdk/src/main/java/com/atlan/model/assets/IADF.java @@ -377,6 +377,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IADLS.java b/sdk/src/main/java/com/atlan/model/assets/IADLS.java index acea6533e6..342b6fe9e7 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IADLS.java +++ b/sdk/src/main/java/com/atlan/model/assets/IADLS.java @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IADLSAccount.java b/sdk/src/main/java/com/atlan/model/assets/IADLSAccount.java index c9292abc89..338531657a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IADLSAccount.java +++ b/sdk/src/main/java/com/atlan/model/assets/IADLSAccount.java @@ -455,6 +455,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IADLSContainer.java b/sdk/src/main/java/com/atlan/model/assets/IADLSContainer.java index 537c79ed14..9e62949fc1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IADLSContainer.java +++ b/sdk/src/main/java/com/atlan/model/assets/IADLSContainer.java @@ -436,6 +436,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IADLSObject.java b/sdk/src/main/java/com/atlan/model/assets/IADLSObject.java index 64e5895ed2..6eb4786187 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IADLSObject.java +++ b/sdk/src/main/java/com/atlan/model/assets/IADLSObject.java @@ -513,6 +513,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAI.java b/sdk/src/main/java/com/atlan/model/assets/IAI.java index 7cf4051c98..0925677454 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAI.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAI.java @@ -398,6 +398,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAIApplication.java b/sdk/src/main/java/com/atlan/model/assets/IAIApplication.java index 703795c865..9e7e351aca 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAIApplication.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAIApplication.java @@ -390,6 +390,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAIModel.java b/sdk/src/main/java/com/atlan/model/assets/IAIModel.java index c0451e1d44..5db04b4442 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAIModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAIModel.java @@ -409,6 +409,9 @@ default SortedSet getApplications() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAIModelVersion.java b/sdk/src/main/java/com/atlan/model/assets/IAIModelVersion.java index 373c435191..8289dfd0b4 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAIModelVersion.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAIModelVersion.java @@ -400,6 +400,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAPI.java b/sdk/src/main/java/com/atlan/model/assets/IAPI.java index d3f9f55b96..76044cf3b5 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAPI.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAPI.java @@ -416,6 +416,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAPIField.java b/sdk/src/main/java/com/atlan/model/assets/IAPIField.java index 1bf016b127..5c26c51558 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAPIField.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAPIField.java @@ -425,6 +425,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAPIObject.java b/sdk/src/main/java/com/atlan/model/assets/IAPIObject.java index 22c8268976..17599b6e3c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAPIObject.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAPIObject.java @@ -404,6 +404,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAPIPath.java b/sdk/src/main/java/com/atlan/model/assets/IAPIPath.java index 3f60f71872..6743095980 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAPIPath.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAPIPath.java @@ -439,6 +439,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAPIQuery.java b/sdk/src/main/java/com/atlan/model/assets/IAPIQuery.java index 2c71453789..46cfd27310 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAPIQuery.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAPIQuery.java @@ -418,6 +418,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAPISpec.java b/sdk/src/main/java/com/atlan/model/assets/IAPISpec.java index a8460b1dfd..17a723fa2e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAPISpec.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAPISpec.java @@ -454,6 +454,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAWS.java b/sdk/src/main/java/com/atlan/model/assets/IAWS.java index aac5b4630c..68ff70f3d7 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAWS.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAWS.java @@ -394,6 +394,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAccessControl.java b/sdk/src/main/java/com/atlan/model/assets/IAccessControl.java index 2f09fcf9e8..b980bf5c37 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAccessControl.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAccessControl.java @@ -406,6 +406,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAdfActivity.java b/sdk/src/main/java/com/atlan/model/assets/IAdfActivity.java index 85884ee7d4..83621876da 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAdfActivity.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAdfActivity.java @@ -530,6 +530,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAdfDataflow.java b/sdk/src/main/java/com/atlan/model/assets/IAdfDataflow.java index 519ae9e3e8..e9b69b1255 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAdfDataflow.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAdfDataflow.java @@ -422,6 +422,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAdfDataset.java b/sdk/src/main/java/com/atlan/model/assets/IAdfDataset.java index bb82f5bed6..ea16133dd6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAdfDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAdfDataset.java @@ -471,6 +471,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAdfLinkedservice.java b/sdk/src/main/java/com/atlan/model/assets/IAdfLinkedservice.java index 83f1ab51b2..8d471c5c59 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAdfLinkedservice.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAdfLinkedservice.java @@ -504,6 +504,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAdfPipeline.java b/sdk/src/main/java/com/atlan/model/assets/IAdfPipeline.java index b7effb3e14..ed8246ce31 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAdfPipeline.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAdfPipeline.java @@ -424,6 +424,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAgent.java b/sdk/src/main/java/com/atlan/model/assets/IAgent.java index 545cb475eb..0e0402f6f2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAgent.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAgent.java @@ -4,6 +4,7 @@ import com.atlan.model.enums.AgentType; import com.atlan.model.enums.AgenticLifecycleStatus; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -51,6 +52,9 @@ public interface IAgent { /** JSON list of MCPServerConfig entries (name, url, headers, enabled). */ KeywordField AGENT_MCP_SERVERS = new KeywordField("agentMcpServers", "agentMcpServers"); + /** JSON-serialized agent schedule configuration, including kickoff message, cron expression, timezone, version policy, status, and Temporal schedule identifier. */ + TextField AGENT_SCHEDULES = new TextField("agentSchedules", "agentSchedules"); + /** Denormalized list of names of the skills bound to this agent version. */ KeywordField AGENT_SKILL_NAMES = new KeywordField("agentSkillNames", "agentSkillNames"); @@ -87,6 +91,9 @@ public interface IAgent { /** JSON list of MCPServerConfig entries (name, url, headers, enabled). */ String getAgentMcpServers(); + /** JSON-serialized agent schedule configuration, including kickoff message, cron expression, timezone, version policy, status, and Temporal schedule identifier. */ + String getAgentSchedules(); + /** Denormalized list of names of the skills bound to this agent version. */ SortedSet getAgentSkillNames(); @@ -110,6 +117,9 @@ default SortedSet getAgentSkills() { /** Origin type of this agent — system-provided or custom user-created. */ AgentType getAgentType(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -428,6 +438,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAgentic.java b/sdk/src/main/java/com/atlan/model/assets/IAgentic.java index 266081b02c..a06255f7ef 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAgentic.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAgentic.java @@ -2,6 +2,7 @@ Copyright 2023 Atlan Pte. Ltd. */ package com.atlan.model.assets; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -13,6 +14,7 @@ import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.KeywordField; import com.atlan.model.fields.NumericField; import com.atlan.model.relations.RelationshipAttributes; import com.atlan.model.relations.UniqueAttributes; @@ -41,6 +43,9 @@ public interface IAgentic { public static final String TYPE_NAME = "Agentic"; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + KeywordField AGENTIC_SOURCE = new KeywordField("agenticSource", "agenticSource"); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ NumericField AGENTIC_VERSION = new NumericField("agenticVersion", "agenticVersion"); @@ -53,6 +58,9 @@ public interface IAgentic { /** List of users who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminUsers(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -371,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAirflow.java b/sdk/src/main/java/com/atlan/model/assets/IAirflow.java index 5e31206339..c47c8c67f1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAirflow.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAirflow.java @@ -48,6 +48,9 @@ public interface IAirflow { /** End time of the run. */ NumericField AIRFLOW_RUN_END_TIME = new NumericField("airflowRunEndTime", "airflowRunEndTime"); + /** Error message of the run in Airflow, populated when the run fails. */ + KeywordField AIRFLOW_RUN_ERROR_MESSAGE = new KeywordField("airflowRunErrorMessage", "airflowRunErrorMessage"); + /** Name of the run. */ KeywordField AIRFLOW_RUN_NAME = new KeywordField("airflowRunName", "airflowRunName"); @@ -86,6 +89,9 @@ public interface IAirflow { /** End time of the run. */ Long getAirflowRunEndTime(); + /** Error message of the run in Airflow, populated when the run fails. */ + String getAirflowRunErrorMessage(); + /** Name of the run. */ String getAirflowRunName(); @@ -422,6 +428,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAirflowDag.java b/sdk/src/main/java/com/atlan/model/assets/IAirflowDag.java index 147622030d..f71e7a4b4e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAirflowDag.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAirflowDag.java @@ -71,6 +71,9 @@ public interface IAirflowDag { /** End time of the run. */ Long getAirflowRunEndTime(); + /** Error message of the run in Airflow, populated when the run fails. */ + String getAirflowRunErrorMessage(); + /** Name of the run. */ String getAirflowRunName(); @@ -412,6 +415,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAirflowTask.java b/sdk/src/main/java/com/atlan/model/assets/IAirflowTask.java index 65870a6fdd..d9e22f7c12 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAirflowTask.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAirflowTask.java @@ -121,6 +121,9 @@ default IAirflowDag getAirflowDag() { /** End time of the run. */ Long getAirflowRunEndTime(); + /** Error message of the run in Airflow, populated when the run fails. */ + String getAirflowRunErrorMessage(); + /** Name of the run. */ String getAirflowRunName(); @@ -487,6 +490,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplan.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplan.java index d2041c2484..9cd11eb52d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplan.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplan.java @@ -410,6 +410,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplanApp.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplanApp.java index 749f2f5db8..0d98cd9ce5 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplanApp.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplanApp.java @@ -394,6 +394,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplanDimension.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplanDimension.java index d274103a09..5be5360f72 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplanDimension.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplanDimension.java @@ -426,6 +426,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplanLineItem.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplanLineItem.java index 623e0355e4..b052c7d06e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplanLineItem.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplanLineItem.java @@ -417,6 +417,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplanList.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplanList.java index 7807b09e5a..8701b3c609 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplanList.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplanList.java @@ -409,6 +409,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplanModel.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplanModel.java index 8cb6ad6a71..4fb3842eec 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplanModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplanModel.java @@ -426,6 +426,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplanModule.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplanModule.java index 73d5a331f7..d2f84616fd 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplanModule.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplanModule.java @@ -410,6 +410,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplanPage.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplanPage.java index 77f82ab086..7596536830 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplanPage.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplanPage.java @@ -421,6 +421,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplanSystemDimension.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplanSystemDimension.java index c0b8267bf2..91517e7d09 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplanSystemDimension.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplanSystemDimension.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplanView.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplanView.java index 3edd23b1ad..302052c073 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplanView.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplanView.java @@ -418,6 +418,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnaplanWorkspace.java b/sdk/src/main/java/com/atlan/model/assets/IAnaplanWorkspace.java index b2b97172c4..ded2b8158a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnaplanWorkspace.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnaplanWorkspace.java @@ -409,6 +409,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnomalo.java b/sdk/src/main/java/com/atlan/model/assets/IAnomalo.java index 0e895c8048..04e5db7003 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnomalo.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnomalo.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAnomaloCheck.java b/sdk/src/main/java/com/atlan/model/assets/IAnomaloCheck.java index 94e7b0348b..9ebb9c3533 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAnomaloCheck.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAnomaloCheck.java @@ -450,6 +450,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IApp.java b/sdk/src/main/java/com/atlan/model/assets/IApp.java index 10007e8a87..0a0d4447a1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IApp.java +++ b/sdk/src/main/java/com/atlan/model/assets/IApp.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAppWorkflowRun.java b/sdk/src/main/java/com/atlan/model/assets/IAppWorkflowRun.java index 3802daf869..2d81c2dbf6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAppWorkflowRun.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAppWorkflowRun.java @@ -79,6 +79,10 @@ public interface IAppWorkflowRun { /** Map of all activity steps for the workflow run (escaped JSON string). */ TextField APP_WORKFLOW_RUN_DAG = new TextField("appWorkflowRunDag", "appWorkflowRunDag"); + /** SDR deployment this run executed under, denormalized from the parent workflow so a deployment's run history can be filtered directly. Without it, filtering requires two queries — resolve the deployment's workflow slugs, then match runs by parent slug — because Elasticsearch cannot join across entity types. Null for runs on Atlan-managed infrastructure (DISTR-832). */ + KeywordField APP_WORKFLOW_RUN_DEPLOYMENT_NAME = + new KeywordField("appWorkflowRunDeploymentName", "appWorkflowRunDeploymentName"); + /** Error handling strategy for the workflow run. */ KeywordField APP_WORKFLOW_RUN_ERROR_HANDLING = new KeywordField("appWorkflowRunErrorHandling", "appWorkflowRunErrorHandling"); @@ -171,6 +175,9 @@ default SortedSet getAnomaloChecks() { /** Map of all activity steps for the workflow run (escaped JSON string). */ String getAppWorkflowRunDag(); + /** SDR deployment this run executed under, denormalized from the parent workflow so a deployment's run history can be filtered directly. Without it, filtering requires two queries — resolve the deployment's workflow slugs, then match runs by parent slug — because Elasticsearch cannot join across entity types. Null for runs on Atlan-managed infrastructure (DISTR-832). */ + String getAppWorkflowRunDeploymentName(); + /** Error handling strategy for the workflow run. */ AtlanAppErrorHandling getAppWorkflowRunErrorHandling(); @@ -502,6 +509,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IApplication.java b/sdk/src/main/java/com/atlan/model/assets/IApplication.java index b7351fbaf7..47be6b3535 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IApplication.java +++ b/sdk/src/main/java/com/atlan/model/assets/IApplication.java @@ -384,6 +384,9 @@ default SortedSet getApplicationOwnedAssets() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IApplicationField.java b/sdk/src/main/java/com/atlan/model/assets/IApplicationField.java index 7be5d3211a..42fe4ad016 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IApplicationField.java +++ b/sdk/src/main/java/com/atlan/model/assets/IApplicationField.java @@ -392,6 +392,9 @@ default IApplication getApplicationParent() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IArtifact.java b/sdk/src/main/java/com/atlan/model/assets/IArtifact.java index 395d68cf49..94fb822420 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IArtifact.java +++ b/sdk/src/main/java/com/atlan/model/assets/IArtifact.java @@ -2,6 +2,7 @@ Copyright 2023 Atlan Pte. Ltd. */ package com.atlan.model.assets; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -54,6 +55,9 @@ public interface IArtifact { /** List of users who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminUsers(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -375,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAsset.java b/sdk/src/main/java/com/atlan/model/assets/IAsset.java index bd6cb07b7a..b9fdbbb078 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAsset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAsset.java @@ -64,7 +64,8 @@ public interface IAsset { TextField ANNOUNCEMENT_MESSAGE = new TextField("announcementMessage", "announcementMessage"); /** Brief title for the announcement on this asset. Required when announcementType is specified. */ - TextField ANNOUNCEMENT_TITLE = new TextField("announcementTitle", "announcementTitle"); + KeywordTextField ANNOUNCEMENT_TITLE = + new KeywordTextField("announcementTitle", "announcementTitle.keyword", "announcementTitle"); /** Type of announcement on this asset. */ KeywordField ANNOUNCEMENT_TYPE = new KeywordField("announcementType", "announcementType"); @@ -437,6 +438,9 @@ public interface IAsset { "assetInternalPopularityScore", "assetInternalPopularityScore.rank_feature"); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + KeywordField ASSET_MANAGED_BY = new KeywordField("assetManagedBy", "assetManagedBy"); + /** List of unique Monte Carlo alert names attached to this asset. */ KeywordTextField ASSET_MC_ALERT_QUALIFIED_NAMES = new KeywordTextField( "assetMcAlertQualifiedNames", "assetMcAlertQualifiedNames", "assetMcAlertQualifiedNames.text"); @@ -1137,6 +1141,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAssetGrouping.java b/sdk/src/main/java/com/atlan/model/assets/IAssetGrouping.java index 84c8abdc58..0f7d0f2048 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAssetGrouping.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAssetGrouping.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAssetGroupingCollection.java b/sdk/src/main/java/com/atlan/model/assets/IAssetGroupingCollection.java index b6460a2c4c..0933fc7a1a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAssetGroupingCollection.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAssetGroupingCollection.java @@ -389,6 +389,9 @@ default IAssetGroupingStrategy getAssetGroupingStrategy() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAssetGroupingStrategy.java b/sdk/src/main/java/com/atlan/model/assets/IAssetGroupingStrategy.java index fb43bbc48b..4338dc02e0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAssetGroupingStrategy.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAssetGroupingStrategy.java @@ -412,6 +412,9 @@ default SortedSet getAssetGroupingCollections() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAtlanApp.java b/sdk/src/main/java/com/atlan/model/assets/IAtlanApp.java index a1534b66b0..c26487e50e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAtlanApp.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAtlanApp.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAtlanAppDeployment.java b/sdk/src/main/java/com/atlan/model/assets/IAtlanAppDeployment.java index 067e80e816..ea77c3158c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAtlanAppDeployment.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAtlanAppDeployment.java @@ -44,7 +44,7 @@ public interface IAtlanAppDeployment { public static final String TYPE_NAME = "AtlanAppDeployment"; - /** Target deployment environment where the app is installed (e.g. "atlan" for Atlan-managed infra, or a customer SDR deployment name for customer-managed infra). */ + /** Target deployment environment where the app is installed, for example atlan (Atlan-managed infra) or a customer SDR deployment name (customer-managed infra). */ KeywordField ATLAN_APP_DEPLOYMENT_NAME = new KeywordField("atlanAppDeploymentName", "atlanAppDeploymentName"); /** Detailed error message explaining why the deployment failed. Should only be populated when status = FAILED. */ @@ -389,6 +389,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -505,7 +508,7 @@ default SortedSet getAssignedTerms() { return null; } - /** Target deployment environment where the app is installed (e.g. "atlan" for Atlan-managed infra, or a customer SDR deployment name for customer-managed infra). */ + /** Target deployment environment where the app is installed, for example atlan (Atlan-managed infra) or a customer SDR deployment name (customer-managed infra). */ String getAtlanAppDeploymentName(); /** Detailed error message explaining why the deployment failed. Should only be populated when status = FAILED. */ diff --git a/sdk/src/main/java/com/atlan/model/assets/IAtlanAppInstalled.java b/sdk/src/main/java/com/atlan/model/assets/IAtlanAppInstalled.java index d9f590e593..c745012e63 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAtlanAppInstalled.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAtlanAppInstalled.java @@ -53,7 +53,7 @@ public interface IAtlanAppInstalled { /** Configuration settings used by the atlan application. */ KeywordField ATLAN_APP_DEPLOYMENT_CONFIG = new KeywordField("atlanAppDeploymentConfig", "atlanAppDeploymentConfig"); - /** Target deployment environment where the app is installed (e.g. "atlan" for Atlan-managed infra, or a customer SDR deployment name for customer-managed infra). */ + /** Target deployment environment where the app is installed, for example atlan (Atlan-managed infra) or a customer SDR deployment name (customer-managed infra). */ KeywordField ATLAN_APP_DEPLOYMENT_NAME = new KeywordField("atlanAppDeploymentName", "atlanAppDeploymentName"); /** List of groups who administer this asset. (This is only used for certain asset types.) */ @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -508,7 +511,7 @@ default SortedSet getAssignedTerms() { /** Configuration settings used by the atlan application. */ String getAtlanAppDeploymentConfig(); - /** Target deployment environment where the app is installed (e.g. "atlan" for Atlan-managed infra, or a customer SDR deployment name for customer-managed infra). */ + /** Target deployment environment where the app is installed, for example atlan (Atlan-managed infra) or a customer SDR deployment name (customer-managed infra). */ String getAtlanAppDeploymentName(); /** Metadata for the Atlan application (escaped JSON string). */ diff --git a/sdk/src/main/java/com/atlan/model/assets/IAtlanAppTool.java b/sdk/src/main/java/com/atlan/model/assets/IAtlanAppTool.java index aa0fb94b94..256edd2aec 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAtlanAppTool.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAtlanAppTool.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAtlanAppWorkflow.java b/sdk/src/main/java/com/atlan/model/assets/IAtlanAppWorkflow.java index ab94979fca..4cb2624102 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAtlanAppWorkflow.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAtlanAppWorkflow.java @@ -5,6 +5,7 @@ import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanAppWorkflowOwnership; +import com.atlan.model.enums.AtlanAppWorkflowRuntimeMode; import com.atlan.model.enums.AtlanAppWorkflowSource; import com.atlan.model.enums.AtlanAppWorkflowStatus; import com.atlan.model.enums.AtlanConnectorType; @@ -50,9 +51,17 @@ public interface IAtlanAppWorkflow { /** Atlan application containing the workflow. */ RelationField ATLAN_APP = new RelationField("atlanApp"); + /** Name of the SDR agent this workflow's runs are routed to (the atlan-prefixed task queue's agent). Indexed so an agent's runs can be filtered server-side by joining runs to their parent workflow (DISTR-832). */ + KeywordField ATLAN_APP_WORKFLOW_AGENT_NAME = + new KeywordField("atlanAppWorkflowAgentName", "atlanAppWorkflowAgentName"); + /** Map of all activity steps for the workflow (escaped JSON string). */ TextField ATLAN_APP_WORKFLOW_DAG = new TextField("atlanAppWorkflowDag", "atlanAppWorkflowDag"); + /** SDR deployment name this workflow's runs execute under. Denormalized from the run-time config for run-history filtering and metric labels. */ + KeywordField ATLAN_APP_WORKFLOW_DEPLOYMENT_NAME = + new KeywordField("atlanAppWorkflowDeploymentName", "atlanAppWorkflowDeploymentName"); + /** Error handling strategy for the workflow. */ KeywordField ATLAN_APP_WORKFLOW_ERROR_HANDLING = new KeywordField("atlanAppWorkflowErrorHandling", "atlanAppWorkflowErrorHandling"); @@ -64,6 +73,10 @@ public interface IAtlanAppWorkflow { /** The workflow runs contained within the workflow. */ RelationField ATLAN_APP_WORKFLOW_RUNS = new RelationField("atlanAppWorkflowRuns"); + /** Execution runtime for this workflow's runs (SDR or DIRECT). Set at workflow save and constant across the workflow's runs. */ + KeywordField ATLAN_APP_WORKFLOW_RUNTIME_MODE = + new KeywordField("atlanAppWorkflowRuntimeMode", "atlanAppWorkflowRuntimeMode"); + /** Slug of the workflow. */ KeywordField ATLAN_APP_WORKFLOW_SLUG = new KeywordField("atlanAppWorkflowSlug", "atlanAppWorkflowSlug"); @@ -406,6 +419,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -541,9 +557,15 @@ default SortedSet getAtlanAppTools() { return null; } + /** Name of the SDR agent this workflow's runs are routed to (the atlan-prefixed task queue's agent). Indexed so an agent's runs can be filtered server-side by joining runs to their parent workflow (DISTR-832). */ + String getAtlanAppWorkflowAgentName(); + /** Map of all activity steps for the workflow (escaped JSON string). */ String getAtlanAppWorkflowDag(); + /** SDR deployment name this workflow's runs execute under. Denormalized from the run-time config for run-history filtering and metric labels. */ + String getAtlanAppWorkflowDeploymentName(); + /** Error handling strategy for the workflow. */ AtlanAppErrorHandling getAtlanAppWorkflowErrorHandling(); @@ -555,6 +577,9 @@ default SortedSet getAtlanAppWorkflowRuns() { return null; } + /** Execution runtime for this workflow's runs (SDR or DIRECT). Set at workflow save and constant across the workflow's runs. */ + AtlanAppWorkflowRuntimeMode getAtlanAppWorkflowRuntimeMode(); + /** Slug of the workflow. */ String getAtlanAppWorkflowSlug(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAtlanCollection.java b/sdk/src/main/java/com/atlan/model/assets/IAtlanCollection.java index baf004cbc0..3b4177fffe 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAtlanCollection.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAtlanCollection.java @@ -373,6 +373,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAtlanQuery.java b/sdk/src/main/java/com/atlan/model/assets/IAtlanQuery.java index 53fa302c96..ccde63ebfe 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAtlanQuery.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAtlanQuery.java @@ -420,6 +420,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAuthPolicy.java b/sdk/src/main/java/com/atlan/model/assets/IAuthPolicy.java index 7767330217..90938d8944 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAuthPolicy.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAuthPolicy.java @@ -438,6 +438,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAuthService.java b/sdk/src/main/java/com/atlan/model/assets/IAuthService.java index d109420534..d954589488 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAuthService.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAuthService.java @@ -389,6 +389,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAzure.java b/sdk/src/main/java/com/atlan/model/assets/IAzure.java index 1689a17ddd..95cee22ac3 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAzure.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAzure.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAzureEventHub.java b/sdk/src/main/java/com/atlan/model/assets/IAzureEventHub.java index 01a8ad1623..d5a94138a1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAzureEventHub.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAzureEventHub.java @@ -370,6 +370,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAzureEventHubConsumerGroup.java b/sdk/src/main/java/com/atlan/model/assets/IAzureEventHubConsumerGroup.java index 76b6255971..573157b22a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAzureEventHubConsumerGroup.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAzureEventHubConsumerGroup.java @@ -366,6 +366,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBus.java b/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBus.java index f07e29b255..d3b26e191f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBus.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBus.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusNamespace.java b/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusNamespace.java index bf74e18062..b051510fcc 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusNamespace.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusNamespace.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusSchema.java b/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusSchema.java index c4aec3b92f..7760be4cad 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusSchema.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusSchema.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusTopic.java b/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusTopic.java index a2cb3f7813..bbbab11582 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusTopic.java +++ b/sdk/src/main/java/com/atlan/model/assets/IAzureServiceBusTopic.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IBI.java b/sdk/src/main/java/com/atlan/model/assets/IBI.java index 940e5bb843..47de51e1b1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IBI.java +++ b/sdk/src/main/java/com/atlan/model/assets/IBI.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IBIProcess.java b/sdk/src/main/java/com/atlan/model/assets/IBIProcess.java index 192fafacd6..7d0e6b6d02 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IBIProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/IBIProcess.java @@ -13,6 +13,7 @@ import com.atlan.model.enums.DataQualityResult; import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.relations.RelationshipAttributes; import com.atlan.model.relations.UniqueAttributes; @@ -381,6 +382,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -693,6 +697,9 @@ default IPowerBIDataflow getPowerBIDataflow() { return null; } + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + ProcessLineageDerivation getProcessDerivation(); + /** Array of product guids linked to this asset */ SortedSet getProductGUIDs(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IBadge.java b/sdk/src/main/java/com/atlan/model/assets/IBadge.java index 7236ed3ca1..f9667015a8 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IBadge.java +++ b/sdk/src/main/java/com/atlan/model/assets/IBadge.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IBigquery.java b/sdk/src/main/java/com/atlan/model/assets/IBigquery.java index f354fde512..0c5a730db2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IBigquery.java +++ b/sdk/src/main/java/com/atlan/model/assets/IBigquery.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IBigqueryRoutine.java b/sdk/src/main/java/com/atlan/model/assets/IBigqueryRoutine.java index d4c4caf136..7a13881f7b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IBigqueryRoutine.java +++ b/sdk/src/main/java/com/atlan/model/assets/IBigqueryRoutine.java @@ -48,6 +48,12 @@ public interface IBigqueryRoutine { /** Schema in which this routine exists. */ RelationField BIGQUERY_ATLAN_SCHEMA = new RelationField("bigqueryAtlanSchema"); + /** Schema in which this routine exists. */ + RelationField BIGQUERY_ATLAN_SCHEMA = new RelationField("bigqueryAtlanSchema"); + + /** Processes that utilize this routine. */ + RelationField BIGQUERY_PROCESSES = new RelationField("bigqueryProcesses"); + /** Processes that utilize this routine. */ RelationField BIGQUERY_PROCESSES = new RelationField("bigqueryProcesses"); @@ -392,6 +398,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IBigqueryTag.java b/sdk/src/main/java/com/atlan/model/assets/IBigqueryTag.java index 0d57442ff0..5f9224a257 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IBigqueryTag.java +++ b/sdk/src/main/java/com/atlan/model/assets/IBigqueryTag.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicy.java b/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicy.java index 7af4077568..d43bfccd8c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicy.java +++ b/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicy.java @@ -409,6 +409,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyException.java b/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyException.java index 27aed1151a..78654b737a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyException.java +++ b/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyException.java @@ -388,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyIncident.java b/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyIncident.java index 0fcf79829e..a34ba4cb0a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyIncident.java +++ b/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyIncident.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyLog.java b/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyLog.java index 34e511766c..713fb6dd50 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyLog.java +++ b/sdk/src/main/java/com/atlan/model/assets/IBusinessPolicyLog.java @@ -386,6 +386,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICalculationView.java b/sdk/src/main/java/com/atlan/model/assets/ICalculationView.java index 0a0ee2e6a5..93729ec3f0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICalculationView.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICalculationView.java @@ -390,6 +390,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICassandra.java b/sdk/src/main/java/com/atlan/model/assets/ICassandra.java index 80506e320e..e3b7405cc9 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICassandra.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICassandra.java @@ -382,6 +382,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICassandraColumn.java b/sdk/src/main/java/com/atlan/model/assets/ICassandraColumn.java index dc5e3fa54a..ed546d5401 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICassandraColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICassandraColumn.java @@ -400,6 +400,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICassandraIndex.java b/sdk/src/main/java/com/atlan/model/assets/ICassandraIndex.java index 3282537323..93c1f974ce 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICassandraIndex.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICassandraIndex.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICassandraKeyspace.java b/sdk/src/main/java/com/atlan/model/assets/ICassandraKeyspace.java index 48acb9627e..0d47076d01 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICassandraKeyspace.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICassandraKeyspace.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICassandraTable.java b/sdk/src/main/java/com/atlan/model/assets/ICassandraTable.java index 569f760a3e..ec214e88ce 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICassandraTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICassandraTable.java @@ -441,6 +441,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICassandraView.java b/sdk/src/main/java/com/atlan/model/assets/ICassandraView.java index 74d5cac9b5..0e738454db 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICassandraView.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICassandraView.java @@ -435,6 +435,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICatalog.java b/sdk/src/main/java/com/atlan/model/assets/ICatalog.java index 166739076f..2ec012faef 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICatalog.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICatalog.java @@ -337,12 +337,18 @@ public static ICatalog getLineageReference(String typeName, String qualifiedName case DatabricksAIModelVersion.TYPE_NAME: ref = DatabricksAIModelVersion.refByQualifiedName(qualifiedName); break; + case DatabricksDashboard.TYPE_NAME: + ref = DatabricksDashboard.refByQualifiedName(qualifiedName); + break; case DatabricksExternalLocation.TYPE_NAME: ref = DatabricksExternalLocation.refByQualifiedName(qualifiedName); break; case DatabricksExternalLocationPath.TYPE_NAME: ref = DatabricksExternalLocationPath.refByQualifiedName(qualifiedName); break; + case DatabricksGenieAgent.TYPE_NAME: + ref = DatabricksGenieAgent.refByQualifiedName(qualifiedName); + break; case DatabricksMetricView.TYPE_NAME: ref = DatabricksMetricView.refByQualifiedName(qualifiedName); break; @@ -466,6 +472,9 @@ public static ICatalog getLineageReference(String typeName, String qualifiedName case FabricSemanticModel.TYPE_NAME: ref = FabricSemanticModel.refByQualifiedName(qualifiedName); break; + case FabricSemanticModelMeasure.TYPE_NAME: + ref = FabricSemanticModelMeasure.refByQualifiedName(qualifiedName); + break; case FabricSemanticModelTable.TYPE_NAME: ref = FabricSemanticModelTable.refByQualifiedName(qualifiedName); break; @@ -487,9 +496,6 @@ public static ICatalog getLineageReference(String typeName, String qualifiedName case Function.TYPE_NAME: ref = Function.refByQualifiedName(qualifiedName); break; - case GCPDataplexAspectType.TYPE_NAME: - ref = GCPDataplexAspectType.refByQualifiedName(qualifiedName); - break; case GCSBucket.TYPE_NAME: ref = GCSBucket.refByQualifiedName(qualifiedName); break; @@ -517,6 +523,9 @@ public static ICatalog getLineageReference(String typeName, String qualifiedName case KafkaField.TYPE_NAME: ref = KafkaField.refByQualifiedName(qualifiedName); break; + case KafkaTag.TYPE_NAME: + ref = KafkaTag.refByQualifiedName(qualifiedName); + break; case KafkaTopic.TYPE_NAME: ref = KafkaTopic.refByQualifiedName(qualifiedName); break; @@ -742,6 +751,9 @@ public static ICatalog getLineageReference(String typeName, String qualifiedName case QuickSightAnalysis.TYPE_NAME: ref = QuickSightAnalysis.refByQualifiedName(qualifiedName); break; + case QuickSightAnalysisField.TYPE_NAME: + ref = QuickSightAnalysisField.refByQualifiedName(qualifiedName); + break; case QuickSightAnalysisVisual.TYPE_NAME: ref = QuickSightAnalysisVisual.refByQualifiedName(qualifiedName); break; @@ -889,6 +901,21 @@ public static ICatalog getLineageReference(String typeName, String qualifiedName case SalesforceReport.TYPE_NAME: ref = SalesforceReport.refByQualifiedName(qualifiedName); break; + case SapAnalyticsCloudColumn.TYPE_NAME: + ref = SapAnalyticsCloudColumn.refByQualifiedName(qualifiedName); + break; + case SapAnalyticsCloudFolder.TYPE_NAME: + ref = SapAnalyticsCloudFolder.refByQualifiedName(qualifiedName); + break; + case SapAnalyticsCloudModel.TYPE_NAME: + ref = SapAnalyticsCloudModel.refByQualifiedName(qualifiedName); + break; + case SapAnalyticsCloudStory.TYPE_NAME: + ref = SapAnalyticsCloudStory.refByQualifiedName(qualifiedName); + break; + case SapDatasphereReplicationFlow.TYPE_NAME: + ref = SapDatasphereReplicationFlow.refByQualifiedName(qualifiedName); + break; case SapErpAbapProgram.TYPE_NAME: ref = SapErpAbapProgram.refByQualifiedName(qualifiedName); break; @@ -1445,6 +1472,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICloud.java b/sdk/src/main/java/com/atlan/model/assets/ICloud.java index ea7987238a..4836226610 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICloud.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICloud.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognite.java b/sdk/src/main/java/com/atlan/model/assets/ICognite.java index ab5c8bf240..00de3da38b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognite.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognite.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognite3DModel.java b/sdk/src/main/java/com/atlan/model/assets/ICognite3DModel.java index aaafc435eb..1f53370da6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognite3DModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognite3DModel.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICogniteAsset.java b/sdk/src/main/java/com/atlan/model/assets/ICogniteAsset.java index c6465bc5e9..f118d8385d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICogniteAsset.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICogniteAsset.java @@ -380,6 +380,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICogniteEvent.java b/sdk/src/main/java/com/atlan/model/assets/ICogniteEvent.java index fac986ed6d..3f7d01899b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICogniteEvent.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICogniteEvent.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICogniteFile.java b/sdk/src/main/java/com/atlan/model/assets/ICogniteFile.java index 95c8425ae4..472b1d86b9 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICogniteFile.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICogniteFile.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICogniteSequence.java b/sdk/src/main/java/com/atlan/model/assets/ICogniteSequence.java index 82f0bf73e5..3819914978 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICogniteSequence.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICogniteSequence.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICogniteTimeSeries.java b/sdk/src/main/java/com/atlan/model/assets/ICogniteTimeSeries.java index c0ee983e49..fef515ca96 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICogniteTimeSeries.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICogniteTimeSeries.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognos.java b/sdk/src/main/java/com/atlan/model/assets/ICognos.java index 00c04c1c63..8def24f22c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognos.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognos.java @@ -397,6 +397,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognosColumn.java b/sdk/src/main/java/com/atlan/model/assets/ICognosColumn.java index 6c10ba316f..861d6f7ea1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognosColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognosColumn.java @@ -394,6 +394,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognosDashboard.java b/sdk/src/main/java/com/atlan/model/assets/ICognosDashboard.java index c96ad27298..7ad1e5885b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognosDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognosDashboard.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognosDataset.java b/sdk/src/main/java/com/atlan/model/assets/ICognosDataset.java index 868c91a37e..fef38baaac 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognosDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognosDataset.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognosDatasource.java b/sdk/src/main/java/com/atlan/model/assets/ICognosDatasource.java index 648626cb1f..b787a3df8d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognosDatasource.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognosDatasource.java @@ -369,6 +369,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognosExploration.java b/sdk/src/main/java/com/atlan/model/assets/ICognosExploration.java index 4500b291e7..029bee18b5 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognosExploration.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognosExploration.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognosFile.java b/sdk/src/main/java/com/atlan/model/assets/ICognosFile.java index 3c1ab5b3e2..31a6e67e46 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognosFile.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognosFile.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognosFolder.java b/sdk/src/main/java/com/atlan/model/assets/ICognosFolder.java index 44734a5f21..3bb0be5bbf 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognosFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognosFolder.java @@ -401,6 +401,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognosModule.java b/sdk/src/main/java/com/atlan/model/assets/ICognosModule.java index c7bdf53243..de8e09997a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognosModule.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognosModule.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognosPackage.java b/sdk/src/main/java/com/atlan/model/assets/ICognosPackage.java index 531069fef0..37f4a48b07 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognosPackage.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognosPackage.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICognosReport.java b/sdk/src/main/java/com/atlan/model/assets/ICognosReport.java index 4bbfefabd4..80b5ce42df 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICognosReport.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICognosReport.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IColumn.java b/sdk/src/main/java/com/atlan/model/assets/IColumn.java index 583b7bcc07..d7dfa81a3b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IColumn.java @@ -677,6 +677,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IColumnProcess.java b/sdk/src/main/java/com/atlan/model/assets/IColumnProcess.java index 536841871e..983753260d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IColumnProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/IColumnProcess.java @@ -13,6 +13,7 @@ import com.atlan.model.enums.DataQualityResult; import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.fields.RelationField; import com.atlan.model.relations.RelationshipAttributes; @@ -385,6 +386,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -702,6 +706,9 @@ default ILineageProcess getProcess() { return null; } + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + ProcessLineageDerivation getProcessDerivation(); + /** Array of product guids linked to this asset */ SortedSet getProductGUIDs(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IConnection.java b/sdk/src/main/java/com/atlan/model/assets/IConnection.java index 8cf8acd32c..908ad401e1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IConnection.java +++ b/sdk/src/main/java/com/atlan/model/assets/IConnection.java @@ -88,6 +88,10 @@ public interface IConnection { /** Whether data quality is enabled for this connection (true) or not (false). */ BooleanField CONNECTION_IS_DQ_ENABLED = new BooleanField("connectionIsDQEnabled", "connectionIsDQEnabled"); + /** Time (epoch) at which popularity insights were last computed for this connection, in milliseconds. Marks the end of the popularity window; the start is this value minus popularityInsightsTimeframe days. */ + NumericField CONNECTION_POPULARITY_INSIGHTS_COMPUTED_AT = + new NumericField("connectionPopularityInsightsComputedAt", "connectionPopularityInsightsComputedAt"); + /** Strategy configuration for reverse-sync operations on this connection, stored as a stringified JSON array. Each element specifies a source entity type and whether reverse-sync is enabled for it, e.g. [{"source_entity": "Aspects", "enabled": true}]. */ KeywordField CONNECTION_REVERSE_SYNC_STRATEGY = new KeywordField("connectionReverseSyncStrategy", "connectionReverseSyncStrategy"); @@ -96,6 +100,10 @@ public interface IConnection { KeywordField CONNECTION_SSO_CREDENTIAL_GUID = new KeywordField("connectionSSOCredentialGuid", "connectionSSOCredentialGuid"); + /** Identifier of the source account this connection points to, expressed in the source's own namespace (for example 'MYORG.MYACCOUNT' for Snowflake). Distinct from the credential host, which uses a different namespace and does not convert. */ + KeywordField CONNECTION_SOURCE_ACCOUNT_IDENTIFIER = + new KeywordField("connectionSourceAccountIdentifier", "connectionSourceAccountIdentifier"); + /** Configuration for a workflow run. */ KeywordField CONNECTION_WORKFLOW_CONFIGURATION = new KeywordField("connectionWorkflowConfiguration", "connectionWorkflowConfiguration"); @@ -511,6 +519,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -669,6 +680,9 @@ default SortedSet getAssignedTerms() { /** Simple name of the connection through which this asset is accessible. */ String getConnectionName(); + /** Time (epoch) at which popularity insights were last computed for this connection, in milliseconds. Marks the end of the popularity window; the start is this value minus popularityInsightsTimeframe days. */ + Long getConnectionPopularityInsightsComputedAt(); + /** Unique name of the connection through which this asset is accessible. */ String getConnectionQualifiedName(); @@ -678,6 +692,9 @@ default SortedSet getAssignedTerms() { /** Unique identifier (GUID) for the SSO credentials to use for this connection. */ String getConnectionSSOCredentialGuid(); + /** Identifier of the source account this connection points to, expressed in the source's own namespace (for example 'MYORG.MYACCOUNT' for Snowflake). Distinct from the credential host, which uses a different namespace and does not convert. */ + String getConnectionSourceAccountIdentifier(); + /** Configuration for a workflow run. */ Map getConnectionWorkflowConfiguration(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IConnectionProcess.java b/sdk/src/main/java/com/atlan/model/assets/IConnectionProcess.java index 0a005b7196..866df8842e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IConnectionProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/IConnectionProcess.java @@ -13,6 +13,7 @@ import com.atlan.model.enums.DataQualityResult; import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.fields.RelationField; import com.atlan.model.relations.RelationshipAttributes; @@ -388,6 +389,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -700,6 +704,9 @@ default IPowerBIDataflow getPowerBIDataflow() { return null; } + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + ProcessLineageDerivation getProcessDerivation(); + /** Array of product guids linked to this asset */ SortedSet getProductGUIDs(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IContext.java b/sdk/src/main/java/com/atlan/model/assets/IContext.java index 63507a9ad1..ec4d88c61d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IContext.java +++ b/sdk/src/main/java/com/atlan/model/assets/IContext.java @@ -2,6 +2,7 @@ Copyright 2023 Atlan Pte. Ltd. */ package com.atlan.model.assets; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -54,6 +55,9 @@ public interface IContext { /** List of users who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminUsers(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -372,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IContextArtifact.java b/sdk/src/main/java/com/atlan/model/assets/IContextArtifact.java index 4afeb61cf8..fa31e1d089 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IContextArtifact.java +++ b/sdk/src/main/java/com/atlan/model/assets/IContextArtifact.java @@ -2,6 +2,7 @@ Copyright 2023 Atlan Pte. Ltd. */ package com.atlan.model.assets; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -54,6 +55,9 @@ public interface IContextArtifact { /** List of users who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminUsers(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -375,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IContextRepository.java b/sdk/src/main/java/com/atlan/model/assets/IContextRepository.java index e7b72f6d9c..03ea33a332 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IContextRepository.java +++ b/sdk/src/main/java/com/atlan/model/assets/IContextRepository.java @@ -2,6 +2,7 @@ Copyright 2023 Atlan Pte. Ltd. */ package com.atlan.model.assets; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -50,6 +51,9 @@ public interface IContextRepository { /** Assets that serve as input context for this repository. */ RelationField CONTEXT_INPUT_ASSETS = new RelationField("contextInputAssets"); + /** Agents produced by this context repository. */ + RelationField CONTEXT_OUTPUT_AGENTS = new RelationField("contextOutputAgents"); + /** Skill produced by this context repository. */ RelationField CONTEXT_OUTPUT_SKILL = new RelationField("contextOutputSkill"); @@ -74,6 +78,9 @@ public interface IContextRepository { /** List of users who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminUsers(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -392,6 +399,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -542,6 +552,11 @@ default SortedSet getContextInputAssets() { return null; } + /** Agents produced by this context repository. */ + default SortedSet getContextOutputAgents() { + return null; + } + /** Skill produced by this context repository. */ default ISkill getContextOutputSkill() { return null; diff --git a/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDB.java b/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDB.java index 33a2ea6573..7086d2059b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDB.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDB.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBAccount.java b/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBAccount.java index b8804f9c05..cd9a19548b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBAccount.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBAccount.java @@ -436,6 +436,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBCollection.java b/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBCollection.java index ffe71bf463..3c9c3654ff 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBCollection.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBCollection.java @@ -55,6 +55,12 @@ public interface ICosmosMongoDBCollection { "cosmosMongoDBDatabaseQualifiedName", "cosmosMongoDBDatabaseQualifiedName.text"); + /** User-defined functions that exist within this collection. */ + RelationField COSMOS_MONGO_DB_FUNCTIONS = new RelationField("cosmosMongoDBFunctions"); + + /** Stored procedures and triggers that exist within this collection. */ + RelationField COSMOS_MONGO_DB_STORED_PROCEDURES = new RelationField("cosmosMongoDBStoredProcedures"); + /** List of groups who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminGroups(); @@ -382,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -544,6 +553,16 @@ default ICosmosMongoDBDatabase getCosmosMongoDBDatabase() { /** Unique name of the database in which this collection exists. */ String getCosmosMongoDBDatabaseQualifiedName(); + /** User-defined functions that exist within this collection. */ + default SortedSet getCosmosMongoDBFunctions() { + return null; + } + + /** Stored procedures and triggers that exist within this collection. */ + default SortedSet getCosmosMongoDBStoredProcedures() { + return null; + } + /** Latest version of the data contract (in any status) for this asset. */ default IDataContract getDataContractLatest() { return null; diff --git a/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBDatabase.java b/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBDatabase.java index 02375c30b8..9aa88acc54 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBDatabase.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICosmosMongoDBDatabase.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICube.java b/sdk/src/main/java/com/atlan/model/assets/ICube.java index 856d3e3acc..91afdf24fc 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICube.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICube.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICubeDimension.java b/sdk/src/main/java/com/atlan/model/assets/ICubeDimension.java index 02b6debc7c..0860d97c61 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICubeDimension.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICubeDimension.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICubeField.java b/sdk/src/main/java/com/atlan/model/assets/ICubeField.java index 087dcebde7..dac5c9f88c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICubeField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICubeField.java @@ -398,6 +398,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICubeHierarchy.java b/sdk/src/main/java/com/atlan/model/assets/ICubeHierarchy.java index 3d5a7b89bd..aeb22f5c0f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICubeHierarchy.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICubeHierarchy.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICustom.java b/sdk/src/main/java/com/atlan/model/assets/ICustom.java index 90b32cad09..c574fb7410 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICustom.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICustom.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ICustomEntity.java b/sdk/src/main/java/com/atlan/model/assets/ICustomEntity.java index 9b019a4d4a..892df2bcbf 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ICustomEntity.java +++ b/sdk/src/main/java/com/atlan/model/assets/ICustomEntity.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataContract.java b/sdk/src/main/java/com/atlan/model/assets/IDataContract.java index fb5aa317fc..e34a57959e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataContract.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataContract.java @@ -392,6 +392,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataDomain.java b/sdk/src/main/java/com/atlan/model/assets/IDataDomain.java index bcaad1ac48..45df84d599 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataDomain.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataDomain.java @@ -377,6 +377,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataMesh.java b/sdk/src/main/java/com/atlan/model/assets/IDataMesh.java index 5a8b48f76b..c5fab47f48 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataMesh.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataMesh.java @@ -373,6 +373,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataMeshDataset.java b/sdk/src/main/java/com/atlan/model/assets/IDataMeshDataset.java index ecd5208150..f801fecbe6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataMeshDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataMeshDataset.java @@ -373,6 +373,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataProduct.java b/sdk/src/main/java/com/atlan/model/assets/IDataProduct.java index 514ab4109b..fc602a94b7 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataProduct.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataProduct.java @@ -438,6 +438,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataQuality.java b/sdk/src/main/java/com/atlan/model/assets/IDataQuality.java index 58683a4512..f7a86cf451 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataQuality.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataQuality.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataQualityRule.java b/sdk/src/main/java/com/atlan/model/assets/IDataQualityRule.java index a9cfaca602..538706033e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataQualityRule.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataQualityRule.java @@ -480,6 +480,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataQualityRuleTemplate.java b/sdk/src/main/java/com/atlan/model/assets/IDataQualityRuleTemplate.java index 9c62ec3f83..a3bc38874b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataQualityRuleTemplate.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataQualityRuleTemplate.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataStudio.java b/sdk/src/main/java/com/atlan/model/assets/IDataStudio.java index 337c03c4e2..2814af707a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataStudio.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataStudio.java @@ -366,6 +366,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataStudioAsset.java b/sdk/src/main/java/com/atlan/model/assets/IDataStudioAsset.java index b0e4c3bb47..5a9d84d099 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataStudioAsset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataStudioAsset.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabase.java b/sdk/src/main/java/com/atlan/model/assets/IDatabase.java index 0a7c5015ea..1241549e7d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabase.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabase.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricks.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricks.java index 8215cd386e..1d267c352c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabricks.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricks.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksAIModelContext.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksAIModelContext.java index c479fd35f5..e190bcc8b4 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabricksAIModelContext.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksAIModelContext.java @@ -403,6 +403,9 @@ default SortedSet getApplications() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksAIModelVersion.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksAIModelVersion.java index 8fc56860c2..75a30b7ab0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabricksAIModelVersion.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksAIModelVersion.java @@ -441,6 +441,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksDashboard.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksDashboard.java new file mode 100644 index 0000000000..f81f57a2ae --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksDashboard.java @@ -0,0 +1,1033 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.DatabricksDashboardLifecycleState; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.BooleanField; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Instance of a Databricks AI/BI dashboard in Atlan. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface IDatabricksDashboard { + + public static final String TYPE_NAME = "DatabricksDashboard"; + + /** Entity tag used as a change token for the dashboard. */ + KeywordField DATABRICKS_DASHBOARD_ETAG = new KeywordField("databricksDashboardEtag", "databricksDashboardEtag"); + + /** Whether a Genie space is enabled for the dashboard. */ + BooleanField DATABRICKS_DASHBOARD_IS_GENIE_SPACE_ENABLED = + new BooleanField("databricksDashboardIsGenieSpaceEnabled", "databricksDashboardIsGenieSpaceEnabled"); + + /** Lifecycle state of the dashboard. */ + KeywordField DATABRICKS_DASHBOARD_LIFECYCLE_STATE = + new KeywordField("databricksDashboardLifecycleState", "databricksDashboardLifecycleState"); + + /** Workspace path of the dashboard asset, including its file name. The parent folder path can be derived by dropping the last path segment. */ + KeywordField DATABRICKS_DASHBOARD_PATH = new KeywordField("databricksDashboardPath", "databricksDashboardPath"); + + /** Identifier of the SQL warehouse backing the dashboard. */ + KeywordField DATABRICKS_DASHBOARD_WAREHOUSE_ID = + new KeywordField("databricksDashboardWarehouseId", "databricksDashboardWarehouseId"); + + /** Identifier of the workspace containing the dashboard. */ + KeywordField DATABRICKS_DASHBOARD_WORKSPACE_ID = + new KeywordField("databricksDashboardWorkspaceId", "databricksDashboardWorkspaceId"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + String getCalculationViewName(); + + /** Unique name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + String getCalculationViewQualifiedName(); + + /** Unique identifier of the dataset this asset belongs to. */ + String getCatalogDatasetGuid(); + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + String getDatabaseName(); + + /** Unique name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + String getDatabaseQualifiedName(); + + /** Entity tag used as a change token for the dashboard. */ + String getDatabricksDashboardEtag(); + + /** Whether a Genie space is enabled for the dashboard. */ + Boolean getDatabricksDashboardIsGenieSpaceEnabled(); + + /** Lifecycle state of the dashboard. */ + DatabricksDashboardLifecycleState getDatabricksDashboardLifecycleState(); + + /** Workspace path of the dashboard asset, including its file name. The parent folder path can be derived by dropping the last path segment. */ + String getDatabricksDashboardPath(); + + /** Identifier of the SQL warehouse backing the dashboard. */ + String getDatabricksDashboardWarehouseId(); + + /** Identifier of the workspace containing the dashboard. */ + String getDatabricksDashboardWorkspaceId(); + + /** (Deprecated) Model containing the assets. */ + default SortedSet getDbtModels() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** DBT seeds that materialize the SQL asset. */ + default SortedSet getDbtSeedAssets() { + return null; + } + + /** Source containing the assets. */ + default SortedSet getDbtSources() { + return null; + } + + /** Tests related to this asset. */ + default SortedSet getDbtTests() { + return null; + } + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Whether this asset has been profiled (true) or not (false). */ + Boolean getIsProfiled(); + + /** Time (epoch) at which this asset was last profiled, in milliseconds. */ + Long getLastProfiledAt(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** Number of times this asset has been queried. */ + Long getQueryCount(); + + /** Time (epoch) at which the query count was last updated, in milliseconds. */ + Long getQueryCountUpdatedAt(); + + /** Number of unique users who have queried this asset. */ + Long getQueryUserCount(); + + /** Map of unique users who have queried this asset to the number of times they have queried it. */ + Map getQueryUserMap(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** Simple name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + String getSchemaName(); + + /** Unique name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + String getSchemaQualifiedName(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Unique name of the context in which the model versions exist, or empty if it does not exist within an AI model context. */ + String getSqlAIModelContextQualifiedName(); + + /** Time (epoch) at which this asset was last analyzed for AI insights, in milliseconds. */ + Long getSqlAiInsightsLastAnalyzedAt(); + + /** Number of popular business questions associated with this asset. */ + Integer getSqlAiInsightsPopularBusinessQuestionCount(); + + /** Number of popular filter patterns associated with this asset. */ + Integer getSqlAiInsightsPopularFilterCount(); + + /** Number of popular join patterns associated with this asset. */ + Integer getSqlAiInsightsPopularJoinCount(); + + /** Number of relationship insights associated with this asset. */ + Integer getSqlAiInsightsRelationshipCount(); + + /** Identifier of the Coalesce environment. */ + String getSqlCoalesceEnvironmentId(); + + /** Name of the Coalesce environment. */ + String getSqlCoalesceEnvironmentName(); + + /** Time (epoch) at which the Coalesce node that materialized this asset last ran, in milliseconds. */ + Long getSqlCoalesceLastRunAt(); + + /** Status of the Coalesce run. One of: success, failure, cancelled, or skipped. */ + String getSqlCoalesceLastRunStatus(); + + /** Status of the Coalesce node for a given run. */ + String getSqlCoalesceNodeStatus(); + + /** Type of the Coalesce node. */ + String getSqlCoalesceNodeType(); + + /** Identifier of the Coalesce project. */ + String getSqlCoalesceProjectId(); + + /** Name of the Coalesce project. */ + String getSqlCoalesceProjectName(); + + /** Sources related to this asset. */ + default SortedSet getSqlDBTSources() { + return null; + } + + /** Assets related to the model. */ + default SortedSet getSqlDbtModels() { + return null; + } + + /** Whether this asset has any AI insights data available. */ + Boolean getSqlHasAiInsights(); + + /** Whether this asset is secure (true) or not (false). */ + Boolean getSqlIsSecure(); + + /** Qualified names of data shares this asset is granted to. */ + SortedSet getSqlShareQualifiedNames(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Simple name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + String getTableName(); + + /** Unique name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + String getTableQualifiedName(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** Simple name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + String getViewName(); + + /** Unique name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + String getViewQualifiedName(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksExternalLocation.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksExternalLocation.java index d277fe85cb..9eff9e633a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabricksExternalLocation.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksExternalLocation.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksExternalLocationPath.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksExternalLocationPath.java index 5e0b5b6408..bf5faa7e49 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabricksExternalLocationPath.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksExternalLocationPath.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksGenieAgent.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksGenieAgent.java new file mode 100644 index 0000000000..2c2801a9ba --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksGenieAgent.java @@ -0,0 +1,1054 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AgentType; +import com.atlan.model.enums.AgenticLifecycleStatus; +import com.atlan.model.enums.AgenticSource; +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Instance of a Databricks Genie space in Atlan. A Genie space is a curated natural-language interface over a set of Databricks tables, published here as an agent asset for governance and discovery. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface IDatabricksGenieAgent { + + public static final String TYPE_NAME = "DatabricksGenieAgent"; + + /** Entity tag used as a change token for the Genie space. It is populated only by an enabled serialized-detail read, so it is null when that read is disabled, denied, or omitted by the source. */ + KeywordField DATABRICKS_GENIE_AGENT_ETAG = new KeywordField("databricksGenieAgentEtag", "databricksGenieAgentEtag"); + + /** Workspace folder path containing the Genie space. It is descriptive only and creates no containment or hierarchy edge. */ + KeywordField DATABRICKS_GENIE_AGENT_PARENT_PATH = + new KeywordField("databricksGenieAgentParentPath", "databricksGenieAgentParentPath"); + + /** Identifier of the SQL warehouse backing the Genie space. */ + KeywordField DATABRICKS_GENIE_AGENT_WAREHOUSE_ID = + new KeywordField("databricksGenieAgentWarehouseId", "databricksGenieAgentWarehouseId"); + + /** Identifier of the workspace containing the Genie space. */ + KeywordField DATABRICKS_GENIE_AGENT_WORKSPACE_ID = + new KeywordField("databricksGenieAgentWorkspaceId", "databricksGenieAgentWorkspaceId"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** JSON-serialized LLMConfig (model, temperature, maxTokens, maxTurns, baseUrl). */ + String getAgentLlmConfig(); + + /** JSON list of MCPServerConfig entries (name, url, headers, enabled). */ + String getAgentMcpServers(); + + /** JSON-serialized agent schedule configuration, including kickoff message, cron expression, timezone, version policy, status, and Temporal schedule identifier. */ + String getAgentSchedules(); + + /** Denormalized list of names of the skills bound to this agent version. */ + SortedSet getAgentSkillNames(); + + /** Denormalized list of qualifiedNames of the skills bound to this agent version. */ + SortedSet getAgentSkillQualifiedNames(); + + /** URL-safe unique identifier for this agent (for example, my-data-agent). */ + String getAgentSlug(); + + /** Lifecycle status of this agent version (draft or published). */ + AgenticLifecycleStatus getAgentStatus(); + + /** System prompt for this agent version. */ + String getAgentSystemPrompt(); + + /** Origin type of this agent — system-provided or custom user-created. */ + AgentType getAgentType(); + + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ + Long getAgenticVersion(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + String getCalculationViewName(); + + /** Unique name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + String getCalculationViewQualifiedName(); + + /** Unique identifier of the dataset this asset belongs to. */ + String getCatalogDatasetGuid(); + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + String getDatabaseName(); + + /** Unique name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + String getDatabaseQualifiedName(); + + /** Entity tag used as a change token for the Genie space. It is populated only by an enabled serialized-detail read, so it is null when that read is disabled, denied, or omitted by the source. */ + String getDatabricksGenieAgentEtag(); + + /** Workspace folder path containing the Genie space. It is descriptive only and creates no containment or hierarchy edge. */ + String getDatabricksGenieAgentParentPath(); + + /** Identifier of the SQL warehouse backing the Genie space. */ + String getDatabricksGenieAgentWarehouseId(); + + /** Identifier of the workspace containing the Genie space. */ + String getDatabricksGenieAgentWorkspaceId(); + + /** (Deprecated) Model containing the assets. */ + default SortedSet getDbtModels() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** DBT seeds that materialize the SQL asset. */ + default SortedSet getDbtSeedAssets() { + return null; + } + + /** Source containing the assets. */ + default SortedSet getDbtSources() { + return null; + } + + /** Tests related to this asset. */ + default SortedSet getDbtTests() { + return null; + } + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Whether this asset has been profiled (true) or not (false). */ + Boolean getIsProfiled(); + + /** Time (epoch) at which this asset was last profiled, in milliseconds. */ + Long getLastProfiledAt(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** Number of times this asset has been queried. */ + Long getQueryCount(); + + /** Time (epoch) at which the query count was last updated, in milliseconds. */ + Long getQueryCountUpdatedAt(); + + /** Number of unique users who have queried this asset. */ + Long getQueryUserCount(); + + /** Map of unique users who have queried this asset to the number of times they have queried it. */ + Map getQueryUserMap(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** Simple name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + String getSchemaName(); + + /** Unique name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + String getSchemaQualifiedName(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Unique name of the context in which the model versions exist, or empty if it does not exist within an AI model context. */ + String getSqlAIModelContextQualifiedName(); + + /** Time (epoch) at which this asset was last analyzed for AI insights, in milliseconds. */ + Long getSqlAiInsightsLastAnalyzedAt(); + + /** Number of popular business questions associated with this asset. */ + Integer getSqlAiInsightsPopularBusinessQuestionCount(); + + /** Number of popular filter patterns associated with this asset. */ + Integer getSqlAiInsightsPopularFilterCount(); + + /** Number of popular join patterns associated with this asset. */ + Integer getSqlAiInsightsPopularJoinCount(); + + /** Number of relationship insights associated with this asset. */ + Integer getSqlAiInsightsRelationshipCount(); + + /** Identifier of the Coalesce environment. */ + String getSqlCoalesceEnvironmentId(); + + /** Name of the Coalesce environment. */ + String getSqlCoalesceEnvironmentName(); + + /** Time (epoch) at which the Coalesce node that materialized this asset last ran, in milliseconds. */ + Long getSqlCoalesceLastRunAt(); + + /** Status of the Coalesce run. One of: success, failure, cancelled, or skipped. */ + String getSqlCoalesceLastRunStatus(); + + /** Status of the Coalesce node for a given run. */ + String getSqlCoalesceNodeStatus(); + + /** Type of the Coalesce node. */ + String getSqlCoalesceNodeType(); + + /** Identifier of the Coalesce project. */ + String getSqlCoalesceProjectId(); + + /** Name of the Coalesce project. */ + String getSqlCoalesceProjectName(); + + /** Sources related to this asset. */ + default SortedSet getSqlDBTSources() { + return null; + } + + /** Assets related to the model. */ + default SortedSet getSqlDbtModels() { + return null; + } + + /** Whether this asset has any AI insights data available. */ + Boolean getSqlHasAiInsights(); + + /** Whether this asset is secure (true) or not (false). */ + Boolean getSqlIsSecure(); + + /** Qualified names of data shares this asset is granted to. */ + SortedSet getSqlShareQualifiedNames(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Simple name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + String getTableName(); + + /** Unique name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + String getTableQualifiedName(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** Simple name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + String getViewName(); + + /** Unique name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + String getViewQualifiedName(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksMetricView.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksMetricView.java index 42aab92fd5..c0bcda1a46 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabricksMetricView.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksMetricView.java @@ -367,6 +367,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksNotebook.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksNotebook.java index 65a1a045e0..91a838d197 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabricksNotebook.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksNotebook.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksUnityCatalogTag.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksUnityCatalogTag.java index 0647ec04e8..2cedff689b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabricksUnityCatalogTag.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksUnityCatalogTag.java @@ -365,6 +365,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksVolume.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksVolume.java index dfdebc8d37..f080615a90 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabricksVolume.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksVolume.java @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDatabricksVolumePath.java b/sdk/src/main/java/com/atlan/model/assets/IDatabricksVolumePath.java index 7b3d973b46..9433585647 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDatabricksVolumePath.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDatabricksVolumePath.java @@ -380,6 +380,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataverse.java b/sdk/src/main/java/com/atlan/model/assets/IDataverse.java index fca4f09308..dce2dc791d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataverse.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataverse.java @@ -374,6 +374,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataverseAttribute.java b/sdk/src/main/java/com/atlan/model/assets/IDataverseAttribute.java index 7d17ded429..bdc6f33ecb 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataverseAttribute.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataverseAttribute.java @@ -389,6 +389,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDataverseEntity.java b/sdk/src/main/java/com/atlan/model/assets/IDataverseEntity.java index 6899acd55d..d79ba8236c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDataverseEntity.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDataverseEntity.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbt.java b/sdk/src/main/java/com/atlan/model/assets/IDbt.java index b05ce73547..97a509b93f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbt.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbt.java @@ -434,6 +434,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtColumnProcess.java b/sdk/src/main/java/com/atlan/model/assets/IDbtColumnProcess.java index f8a779bae1..11b7a0c5f8 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtColumnProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtColumnProcess.java @@ -13,6 +13,7 @@ import com.atlan.model.enums.DataQualityResult; import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.fields.KeywordField; import com.atlan.model.relations.RelationshipAttributes; @@ -387,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -817,6 +821,9 @@ default ILineageProcess getProcess() { return null; } + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + ProcessLineageDerivation getProcessDerivation(); + /** Array of product guids linked to this asset */ SortedSet getProductGUIDs(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtDimension.java b/sdk/src/main/java/com/atlan/model/assets/IDbtDimension.java index 82768195b7..ca88bcf793 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtDimension.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtDimension.java @@ -374,6 +374,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtEntity.java b/sdk/src/main/java/com/atlan/model/assets/IDbtEntity.java index 2bcaf76e0d..8e52132bd0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtEntity.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtEntity.java @@ -370,6 +370,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtMeasure.java b/sdk/src/main/java/com/atlan/model/assets/IDbtMeasure.java index 62e1d2b5e3..a12e6fb247 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtMeasure.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtMeasure.java @@ -370,6 +370,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtMetric.java b/sdk/src/main/java/com/atlan/model/assets/IDbtMetric.java index 37e2db2aa3..1e0027eaa7 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtMetric.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtMetric.java @@ -391,6 +391,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtModel.java b/sdk/src/main/java/com/atlan/model/assets/IDbtModel.java index 69749a1146..9052c33042 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtModel.java @@ -427,6 +427,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtModelColumn.java b/sdk/src/main/java/com/atlan/model/assets/IDbtModelColumn.java index c845aadd48..0dca660ef6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtModelColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtModelColumn.java @@ -394,6 +394,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtProcess.java b/sdk/src/main/java/com/atlan/model/assets/IDbtProcess.java index 33092989ce..0a3ce4ea02 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtProcess.java @@ -13,6 +13,7 @@ import com.atlan.model.enums.DataQualityResult; import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.fields.KeywordField; import com.atlan.model.relations.RelationshipAttributes; @@ -390,6 +391,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -818,6 +822,9 @@ default IPowerBIDataflow getPowerBIDataflow() { return null; } + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + ProcessLineageDerivation getProcessDerivation(); + /** Array of product guids linked to this asset */ SortedSet getProductGUIDs(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtSeed.java b/sdk/src/main/java/com/atlan/model/assets/IDbtSeed.java index d933cc50e3..1598606a3d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtSeed.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtSeed.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtSemanticModel.java b/sdk/src/main/java/com/atlan/model/assets/IDbtSemanticModel.java index d26695a4d0..413593573f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtSemanticModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtSemanticModel.java @@ -365,6 +365,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtSource.java b/sdk/src/main/java/com/atlan/model/assets/IDbtSource.java index f51ba8ebda..f912bbdc27 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtSource.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtSource.java @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtTag.java b/sdk/src/main/java/com/atlan/model/assets/IDbtTag.java index c8b9368e7b..565eb00770 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtTag.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtTag.java @@ -366,6 +366,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDbtTest.java b/sdk/src/main/java/com/atlan/model/assets/IDbtTest.java index bb7fd8fd6f..daa2a54790 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDbtTest.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDbtTest.java @@ -404,6 +404,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDocumentDB.java b/sdk/src/main/java/com/atlan/model/assets/IDocumentDB.java index 68bb1c8de6..e2ed81f05c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDocumentDB.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDocumentDB.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDocumentDBCollection.java b/sdk/src/main/java/com/atlan/model/assets/IDocumentDBCollection.java index 908588b8af..6c9080d8d0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDocumentDBCollection.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDocumentDBCollection.java @@ -424,6 +424,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDocumentDBDatabase.java b/sdk/src/main/java/com/atlan/model/assets/IDocumentDBDatabase.java index c7df653e1f..948ca2489d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDocumentDBDatabase.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDocumentDBDatabase.java @@ -373,6 +373,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDomo.java b/sdk/src/main/java/com/atlan/model/assets/IDomo.java index 6eb4747dfc..20b1a89ffd 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDomo.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDomo.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDomoCard.java b/sdk/src/main/java/com/atlan/model/assets/IDomoCard.java index 6c2f0ee0bb..084e16f3ed 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDomoCard.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDomoCard.java @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDomoDashboard.java b/sdk/src/main/java/com/atlan/model/assets/IDomoDashboard.java index 424897dc6f..e657e39358 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDomoDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDomoDashboard.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDomoDataset.java b/sdk/src/main/java/com/atlan/model/assets/IDomoDataset.java index bb762e2928..7ce5958aac 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDomoDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDomoDataset.java @@ -390,6 +390,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDomoDatasetColumn.java b/sdk/src/main/java/com/atlan/model/assets/IDomoDatasetColumn.java index 180e613815..7d0cfbbae4 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDomoDatasetColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDomoDatasetColumn.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDremio.java b/sdk/src/main/java/com/atlan/model/assets/IDremio.java index faa44323ed..f889b6d26f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDremio.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDremio.java @@ -391,6 +391,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDremioColumn.java b/sdk/src/main/java/com/atlan/model/assets/IDremioColumn.java index 1226abbd2d..5bf7cab40e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDremioColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDremioColumn.java @@ -367,6 +367,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDremioFolder.java b/sdk/src/main/java/com/atlan/model/assets/IDremioFolder.java index b664101f2e..13b7fa01fd 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDremioFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDremioFolder.java @@ -388,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDremioPhysicalDataset.java b/sdk/src/main/java/com/atlan/model/assets/IDremioPhysicalDataset.java index 3a0b132570..696ca230ba 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDremioPhysicalDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDremioPhysicalDataset.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDremioSource.java b/sdk/src/main/java/com/atlan/model/assets/IDremioSource.java index 3b35e0d7ff..db80bffa3a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDremioSource.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDremioSource.java @@ -394,6 +394,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDremioSpace.java b/sdk/src/main/java/com/atlan/model/assets/IDremioSpace.java index 888c181dbf..bbca0dd051 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDremioSpace.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDremioSpace.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDremioVirtualDataset.java b/sdk/src/main/java/com/atlan/model/assets/IDremioVirtualDataset.java index 7b71343c57..a5042c994a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDremioVirtualDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDremioVirtualDataset.java @@ -374,6 +374,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDynamoDB.java b/sdk/src/main/java/com/atlan/model/assets/IDynamoDB.java index 356cbc853c..1d3242f565 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDynamoDB.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDynamoDB.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDynamoDBAttribute.java b/sdk/src/main/java/com/atlan/model/assets/IDynamoDBAttribute.java index 0d23576962..9d9800d555 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDynamoDBAttribute.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDynamoDBAttribute.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDynamoDBGlobalSecondaryIndex.java b/sdk/src/main/java/com/atlan/model/assets/IDynamoDBGlobalSecondaryIndex.java index f8931e500d..680edb3db3 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDynamoDBGlobalSecondaryIndex.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDynamoDBGlobalSecondaryIndex.java @@ -374,6 +374,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDynamoDBLocalSecondaryIndex.java b/sdk/src/main/java/com/atlan/model/assets/IDynamoDBLocalSecondaryIndex.java index 3e1dc0d702..0e128cf860 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDynamoDBLocalSecondaryIndex.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDynamoDBLocalSecondaryIndex.java @@ -374,6 +374,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDynamoDBSecondaryIndex.java b/sdk/src/main/java/com/atlan/model/assets/IDynamoDBSecondaryIndex.java index 41ddff0eb9..8c460d89a6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDynamoDBSecondaryIndex.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDynamoDBSecondaryIndex.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IDynamoDBTable.java b/sdk/src/main/java/com/atlan/model/assets/IDynamoDBTable.java index c368284392..de82d1a34d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IDynamoDBTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/IDynamoDBTable.java @@ -386,6 +386,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IEventStore.java b/sdk/src/main/java/com/atlan/model/assets/IEventStore.java index 1cac23d73c..1222eed8a1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IEventStore.java +++ b/sdk/src/main/java/com/atlan/model/assets/IEventStore.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabric.java b/sdk/src/main/java/com/atlan/model/assets/IFabric.java index df198b41f8..b9ccaf347b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabric.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabric.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricActivity.java b/sdk/src/main/java/com/atlan/model/assets/IFabricActivity.java index be039774a1..b2cbf53fbb 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricActivity.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricActivity.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricDashboard.java b/sdk/src/main/java/com/atlan/model/assets/IFabricDashboard.java index 8b4e715667..cbffc24d64 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricDashboard.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricDataPipeline.java b/sdk/src/main/java/com/atlan/model/assets/IFabricDataPipeline.java index 4ade8b0f64..fd205bc93a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricDataPipeline.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricDataPipeline.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricDataflow.java b/sdk/src/main/java/com/atlan/model/assets/IFabricDataflow.java index 2a690dfc1a..53eca8f9d5 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricDataflow.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricDataflow.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricDataflowEntityColumn.java b/sdk/src/main/java/com/atlan/model/assets/IFabricDataflowEntityColumn.java index 96b61c5f5c..85c687b7cf 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricDataflowEntityColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricDataflowEntityColumn.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricPage.java b/sdk/src/main/java/com/atlan/model/assets/IFabricPage.java index c60a22f33a..3ee3d7ee64 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricPage.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricPage.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricReport.java b/sdk/src/main/java/com/atlan/model/assets/IFabricReport.java index b5d2d8bbd9..1187d5bf16 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricReport.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricReport.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModel.java b/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModel.java index 4977ef0c46..3ca030dcfc 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModel.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelMeasure.java b/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelMeasure.java new file mode 100644 index 0000000000..689ea1d32b --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelMeasure.java @@ -0,0 +1,941 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.BooleanField; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.fields.RelationField; +import com.atlan.model.fields.TextField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Instance of a Microsoft Fabric semantic model measure in Atlan. Measures define DAX calculations within a semantic model table. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface IFabricSemanticModelMeasure { + + public static final String TYPE_NAME = "FabricSemanticModelMeasure"; + + /** Display folder in which this measure is grouped within its table. */ + KeywordField FABRIC_DISPLAY_FOLDER = new KeywordField("fabricDisplayFolder", "fabricDisplayFolder"); + + /** Format string applied to the values of this measure. */ + KeywordField FABRIC_FORMAT_STRING = new KeywordField("fabricFormatString", "fabricFormatString"); + + /** Whether this measure is an external measure (true) or defined within the semantic model (false). */ + BooleanField FABRIC_IS_EXTERNAL_MEASURE = new BooleanField("fabricIsExternalMeasure", "fabricIsExternalMeasure"); + + /** Whether this measure is hidden in the semantic model (true) or visible (false). */ + BooleanField FABRIC_IS_HIDDEN = new BooleanField("fabricIsHidden", "fabricIsHidden"); + + /** DAX expression for this measure. */ + TextField FABRIC_MEASURE_EXPRESSION = new TextField("fabricMeasureExpression", "fabricMeasureExpression"); + + /** Unique name of the Fabric semantic model that contains this asset. */ + KeywordField FABRIC_SEMANTIC_MODEL_QUALIFIED_NAME = + new KeywordField("fabricSemanticModelQualifiedName", "fabricSemanticModelQualifiedName"); + + /** Semantic model table containing the measure. */ + RelationField FABRIC_SEMANTIC_MODEL_TABLE = new RelationField("fabricSemanticModelTable"); + + /** Semantic model table columns referenced by the DAX expression of this measure. */ + RelationField FABRIC_SEMANTIC_MODEL_TABLE_COLUMNS = new RelationField("fabricSemanticModelTableColumns"); + + /** Name of the Fabric semantic model table that contains this asset. */ + KeywordField FABRIC_SEMANTIC_MODEL_TABLE_NAME = + new KeywordField("fabricSemanticModelTableName", "fabricSemanticModelTableName"); + + /** Unique name of the Fabric semantic model table that contains this asset. */ + KeywordField FABRIC_SEMANTIC_MODEL_TABLE_QUALIFIED_NAME = + new KeywordField("fabricSemanticModelTableQualifiedName", "fabricSemanticModelTableQualifiedName"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Unique identifier of the dataset this asset belongs to. */ + String getCatalogDatasetGuid(); + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** Number of columns in this asset. */ + Integer getFabricColumnCount(); + + /** Data type of this asset. */ + String getFabricDataType(); + + /** Display folder in which this measure is grouped within its table. */ + String getFabricDisplayFolder(); + + /** Format string applied to the values of this measure. */ + String getFabricFormatString(); + + /** Whether this measure is an external measure (true) or defined within the semantic model (false). */ + Boolean getFabricIsExternalMeasure(); + + /** Whether this measure is hidden in the semantic model (true) or visible (false). */ + Boolean getFabricIsHidden(); + + /** DAX expression for this measure. */ + String getFabricMeasureExpression(); + + /** Order/position of this asset within its parent. */ + Integer getFabricOrdinal(); + + /** Unique name of the Fabric semantic model that contains this asset. */ + String getFabricSemanticModelQualifiedName(); + + /** Semantic model table containing the measure. */ + default IFabricSemanticModelTable getFabricSemanticModelTable() { + return null; + } + + /** Semantic model table columns referenced by the DAX expression of this measure. */ + default SortedSet getFabricSemanticModelTableColumns() { + return null; + } + + /** Name of the Fabric semantic model table that contains this asset. */ + String getFabricSemanticModelTableName(); + + /** Unique name of the Fabric semantic model table that contains this asset. */ + String getFabricSemanticModelTableQualifiedName(); + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelTable.java b/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelTable.java index 3d484d3ece..8d7eb4400a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelTable.java @@ -45,6 +45,9 @@ public interface IFabricSemanticModelTable { /** Semantic model containing the table. */ RelationField FABRIC_SEMANTIC_MODEL = new RelationField("fabricSemanticModel"); + /** Individual semantic model measures contained in the semantic model table. */ + RelationField FABRIC_SEMANTIC_MODEL_MEASURES = new RelationField("fabricSemanticModelMeasures"); + /** Unique name of the Fabric semantic model that contains this asset. */ KeywordField FABRIC_SEMANTIC_MODEL_QUALIFIED_NAME = new KeywordField("fabricSemanticModelQualifiedName", "fabricSemanticModelQualifiedName"); @@ -376,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -562,6 +568,11 @@ default IFabricSemanticModel getFabricSemanticModel() { return null; } + /** Individual semantic model measures contained in the semantic model table. */ + default SortedSet getFabricSemanticModelMeasures() { + return null; + } + /** Unique name of the Fabric semantic model that contains this asset. */ String getFabricSemanticModelQualifiedName(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelTableColumn.java b/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelTableColumn.java index 2e98237c65..e4e83876a1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelTableColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricSemanticModelTableColumn.java @@ -42,6 +42,9 @@ public interface IFabricSemanticModelTableColumn { public static final String TYPE_NAME = "FabricSemanticModelTableColumn"; + /** Semantic model measures whose DAX expressions reference this column. */ + RelationField FABRIC_SEMANTIC_MODEL_MEASURES = new RelationField("fabricSemanticModelMeasures"); + /** Semantic model table containing the column. */ RelationField FABRIC_SEMANTIC_MODEL_TABLE = new RelationField("fabricSemanticModelTable"); @@ -377,6 +380,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -558,6 +564,11 @@ default SortedSet getDqReferenceDatasetRules() { /** Order/position of this asset within its parent. */ Integer getFabricOrdinal(); + /** Semantic model measures whose DAX expressions reference this column. */ + default SortedSet getFabricSemanticModelMeasures() { + return null; + } + /** Semantic model table containing the column. */ default IFabricSemanticModelTable getFabricSemanticModelTable() { return null; diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricVisual.java b/sdk/src/main/java/com/atlan/model/assets/IFabricVisual.java index a62c44bb5c..bb0c67941c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricVisual.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricVisual.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFabricWorkspace.java b/sdk/src/main/java/com/atlan/model/assets/IFabricWorkspace.java index 374a2a1ee0..09855d9a16 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFabricWorkspace.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFabricWorkspace.java @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFile.java b/sdk/src/main/java/com/atlan/model/assets/IFile.java index b4df18d86b..d2e53ba3e4 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFile.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFile.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFivetran.java b/sdk/src/main/java/com/atlan/model/assets/IFivetran.java index dd697470dd..4a6cb5e54e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFivetran.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFivetran.java @@ -377,6 +377,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFivetranConnector.java b/sdk/src/main/java/com/atlan/model/assets/IFivetranConnector.java index f62fdb3a0a..4e79337282 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFivetranConnector.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFivetranConnector.java @@ -531,6 +531,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFlow.java b/sdk/src/main/java/com/atlan/model/assets/IFlow.java index f9625888c4..28b3280b23 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFlow.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFlow.java @@ -413,6 +413,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFlowControlOperation.java b/sdk/src/main/java/com/atlan/model/assets/IFlowControlOperation.java index a6ead3ad9c..2c971cc6d0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFlowControlOperation.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFlowControlOperation.java @@ -380,6 +380,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFlowDataset.java b/sdk/src/main/java/com/atlan/model/assets/IFlowDataset.java index 7cb78bd898..41c8e79480 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFlowDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFlowDataset.java @@ -388,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFlowDatasetOperation.java b/sdk/src/main/java/com/atlan/model/assets/IFlowDatasetOperation.java index 69cf583d90..92b93378f1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFlowDatasetOperation.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFlowDatasetOperation.java @@ -13,6 +13,7 @@ import com.atlan.model.enums.DataQualityResult; import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.fields.RelationField; import com.atlan.model.relations.RelationshipAttributes; @@ -385,6 +386,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -744,6 +748,9 @@ default IPowerBIDataflow getPowerBIDataflow() { return null; } + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + ProcessLineageDerivation getProcessDerivation(); + /** Array of product guids linked to this asset */ SortedSet getProductGUIDs(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFlowField.java b/sdk/src/main/java/com/atlan/model/assets/IFlowField.java index c72488c8eb..acc1f24a6f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFlowField.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFlowField.java @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFlowFieldOperation.java b/sdk/src/main/java/com/atlan/model/assets/IFlowFieldOperation.java index 14d033402d..c5e978790d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFlowFieldOperation.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFlowFieldOperation.java @@ -13,6 +13,7 @@ import com.atlan.model.enums.DataQualityResult; import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.relations.RelationshipAttributes; import com.atlan.model.relations.UniqueAttributes; @@ -381,6 +382,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -740,6 +744,9 @@ default ILineageProcess getProcess() { return null; } + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + ProcessLineageDerivation getProcessDerivation(); + /** Array of product guids linked to this asset */ SortedSet getProductGUIDs(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFlowFolder.java b/sdk/src/main/java/com/atlan/model/assets/IFlowFolder.java index 72f0c900b1..ef123e8bd0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFlowFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFlowFolder.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFlowProject.java b/sdk/src/main/java/com/atlan/model/assets/IFlowProject.java index 45bd2bbe12..a22ff9ccaa 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFlowProject.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFlowProject.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFlowReusableUnit.java b/sdk/src/main/java/com/atlan/model/assets/IFlowReusableUnit.java index d593284333..08dbdac65d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFlowReusableUnit.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFlowReusableUnit.java @@ -382,6 +382,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFolder.java b/sdk/src/main/java/com/atlan/model/assets/IFolder.java index 2260410d70..03ef38a972 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFolder.java @@ -377,6 +377,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IForm.java b/sdk/src/main/java/com/atlan/model/assets/IForm.java index e8670ba626..8bde2f38c9 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IForm.java +++ b/sdk/src/main/java/com/atlan/model/assets/IForm.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IFunction.java b/sdk/src/main/java/com/atlan/model/assets/IFunction.java index f710582ea4..756ffa87ac 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IFunction.java +++ b/sdk/src/main/java/com/atlan/model/assets/IFunction.java @@ -420,6 +420,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IGCPDataplex.java b/sdk/src/main/java/com/atlan/model/assets/IGCPDataplex.java index 5dc1eee29b..9a75568233 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IGCPDataplex.java +++ b/sdk/src/main/java/com/atlan/model/assets/IGCPDataplex.java @@ -366,6 +366,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -482,9 +485,6 @@ default SortedSet getAssignedTerms() { return null; } - /** Unique identifier of the dataset this asset belongs to. */ - String getCatalogDatasetGuid(); - /** Status of this asset's certification. */ CertificateStatus getCertificateStatus(); @@ -581,21 +581,6 @@ default SortedSet getInputPortDataProducts() { return null; } - /** Tasks to which this asset provides input. */ - default SortedSet getInputToAirflowTasks() { - return null; - } - - /** Processes to which this asset provides input. */ - default SortedSet getInputToProcesses() { - return null; - } - - /** TBC */ - default SortedSet getInputToSparkJobs() { - return null; - } - /** TBC */ Boolean getIsAIGenerated(); @@ -643,37 +628,12 @@ default SortedSet getMetrics() { return null; } - /** Attributes implemented by this asset. */ - default SortedSet getModelImplementedAttributes() { - return null; - } - - /** Entities implemented by this asset. */ - default SortedSet getModelImplementedEntities() { - return null; - } - /** Name of this asset. Fallback for display purposes, if displayName is empty. */ String getName(); /** Array of policy ids non-compliant to this asset */ SortedSet getNonCompliantAssetPolicyGUIDs(); - /** Tasks from which this asset is output. */ - default SortedSet getOutputFromAirflowTasks() { - return null; - } - - /** Processes from which this asset is produced as output. */ - default SortedSet getOutputFromProcesses() { - return null; - } - - /** TBC */ - default SortedSet getOutputFromSparkJobs() { - return null; - } - /** Data products for which this asset is an output port. */ default SortedSet getOutputPortDataProducts() { return null; @@ -688,16 +648,6 @@ default SortedSet getOutputPortDataProducts() { /** List of users who own this asset. */ SortedSet getOwnerUsers(); - /** Partial fields contained in the asset. */ - default SortedSet getPartialChildFields() { - return null; - } - - /** Partial objects contained in the asset. */ - default SortedSet getPartialChildObjects() { - return null; - } - /** Popularity score for this asset. */ Double getPopularityScore(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IGCPDataplexAspectType.java b/sdk/src/main/java/com/atlan/model/assets/IGCPDataplexAspectType.java index 3cf70c37bf..4b136bff38 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IGCPDataplexAspectType.java +++ b/sdk/src/main/java/com/atlan/model/assets/IGCPDataplexAspectType.java @@ -63,7 +63,7 @@ public interface IGCPDataplexAspectType { KeywordField GCP_DATAPLEX_ASPECT_TYPE_PROJECT = new KeywordField("gcpDataplexAspectTypeProject", "gcpDataplexAspectTypeProject"); - /** Full GCP resource name of this Aspect Type (e.g. projects/{project}/locations/{location}/aspectTypes/{id}). Used to match against assetGCPDataplexAspectType on BigQuery entry assets. */ + /** Full GCP resource name of this Aspect Type, for example: projects/{project}/locations/{location}/aspectTypes/{id}. Used to match against assetGCPDataplexAspectType on BigQuery entry assets. */ KeywordField GCP_DATAPLEX_ASPECT_TYPE_RESOURCE_NAME = new KeywordField("gcpDataplexAspectTypeResourceName", "gcpDataplexAspectTypeResourceName"); @@ -391,6 +391,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -507,9 +510,6 @@ default SortedSet getAssignedTerms() { return null; } - /** Unique identifier of the dataset this asset belongs to. */ - String getCatalogDatasetGuid(); - /** Status of this asset's certification. */ CertificateStatus getCertificateStatus(); @@ -588,7 +588,7 @@ default SortedSet getGcpDataplexAspectTypeEntries() { /** GCP project in which this Aspect Type is defined. */ String getGcpDataplexAspectTypeProject(); - /** Full GCP resource name of this Aspect Type (e.g. projects/{project}/locations/{location}/aspectTypes/{id}). Used to match against assetGCPDataplexAspectType on BigQuery entry assets. */ + /** Full GCP resource name of this Aspect Type, for example: projects/{project}/locations/{location}/aspectTypes/{id}. Used to match against assetGCPDataplexAspectType on BigQuery entry assets. */ String getGcpDataplexAspectTypeResourceName(); /** List of labels that have been applied to the asset in Google. */ @@ -626,21 +626,6 @@ default SortedSet getInputPortDataProducts() { return null; } - /** Tasks to which this asset provides input. */ - default SortedSet getInputToAirflowTasks() { - return null; - } - - /** Processes to which this asset provides input. */ - default SortedSet getInputToProcesses() { - return null; - } - - /** TBC */ - default SortedSet getInputToSparkJobs() { - return null; - } - /** TBC */ Boolean getIsAIGenerated(); @@ -688,37 +673,12 @@ default SortedSet getMetrics() { return null; } - /** Attributes implemented by this asset. */ - default SortedSet getModelImplementedAttributes() { - return null; - } - - /** Entities implemented by this asset. */ - default SortedSet getModelImplementedEntities() { - return null; - } - /** Name of this asset. Fallback for display purposes, if displayName is empty. */ String getName(); /** Array of policy ids non-compliant to this asset */ SortedSet getNonCompliantAssetPolicyGUIDs(); - /** Tasks from which this asset is output. */ - default SortedSet getOutputFromAirflowTasks() { - return null; - } - - /** Processes from which this asset is produced as output. */ - default SortedSet getOutputFromProcesses() { - return null; - } - - /** TBC */ - default SortedSet getOutputFromSparkJobs() { - return null; - } - /** Data products for which this asset is an output port. */ default SortedSet getOutputPortDataProducts() { return null; @@ -733,16 +693,6 @@ default SortedSet getOutputPortDataProducts() { /** List of users who own this asset. */ SortedSet getOwnerUsers(); - /** Partial fields contained in the asset. */ - default SortedSet getPartialChildFields() { - return null; - } - - /** Partial objects contained in the asset. */ - default SortedSet getPartialChildObjects() { - return null; - } - /** Popularity score for this asset. */ Double getPopularityScore(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IGCS.java b/sdk/src/main/java/com/atlan/model/assets/IGCS.java index 4b10401483..765c87bc21 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IGCS.java +++ b/sdk/src/main/java/com/atlan/model/assets/IGCS.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IGCSBucket.java b/sdk/src/main/java/com/atlan/model/assets/IGCSBucket.java index 7eaa777eb9..0846e5b325 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IGCSBucket.java +++ b/sdk/src/main/java/com/atlan/model/assets/IGCSBucket.java @@ -396,6 +396,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IGCSObject.java b/sdk/src/main/java/com/atlan/model/assets/IGCSObject.java index 20f96a522c..ab7f9a33dc 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IGCSObject.java +++ b/sdk/src/main/java/com/atlan/model/assets/IGCSObject.java @@ -423,6 +423,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IGlossary.java b/sdk/src/main/java/com/atlan/model/assets/IGlossary.java index 54560e1b20..6665da002f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IGlossary.java +++ b/sdk/src/main/java/com/atlan/model/assets/IGlossary.java @@ -395,6 +395,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IGlossaryCategory.java b/sdk/src/main/java/com/atlan/model/assets/IGlossaryCategory.java index 2386c264a8..f1ccae4985 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IGlossaryCategory.java +++ b/sdk/src/main/java/com/atlan/model/assets/IGlossaryCategory.java @@ -400,6 +400,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IGlossaryTerm.java b/sdk/src/main/java/com/atlan/model/assets/IGlossaryTerm.java index 025569ebf4..8e893cac01 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IGlossaryTerm.java +++ b/sdk/src/main/java/com/atlan/model/assets/IGlossaryTerm.java @@ -453,6 +453,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IGoogle.java b/sdk/src/main/java/com/atlan/model/assets/IGoogle.java index 7faceff744..80fd182e80 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IGoogle.java +++ b/sdk/src/main/java/com/atlan/model/assets/IGoogle.java @@ -395,6 +395,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IIceberg.java b/sdk/src/main/java/com/atlan/model/assets/IIceberg.java index f75d36d625..63faf5295a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IIceberg.java +++ b/sdk/src/main/java/com/atlan/model/assets/IIceberg.java @@ -373,6 +373,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IIcebergCatalog.java b/sdk/src/main/java/com/atlan/model/assets/IIcebergCatalog.java index 851e7b8ad2..e0196d21af 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IIcebergCatalog.java +++ b/sdk/src/main/java/com/atlan/model/assets/IIcebergCatalog.java @@ -380,6 +380,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IIcebergColumn.java b/sdk/src/main/java/com/atlan/model/assets/IIcebergColumn.java index 5ee5bbe819..b597690005 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IIcebergColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IIcebergColumn.java @@ -367,6 +367,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IIcebergNamespace.java b/sdk/src/main/java/com/atlan/model/assets/IIcebergNamespace.java index cbb5e1ff14..d33fd7211a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IIcebergNamespace.java +++ b/sdk/src/main/java/com/atlan/model/assets/IIcebergNamespace.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IIcebergTable.java b/sdk/src/main/java/com/atlan/model/assets/IIcebergTable.java index 9e4a32bcf0..41bd810176 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IIcebergTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/IIcebergTable.java @@ -386,6 +386,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IIncident.java b/sdk/src/main/java/com/atlan/model/assets/IIncident.java index 9c602bd87d..f215a6daca 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IIncident.java +++ b/sdk/src/main/java/com/atlan/model/assets/IIncident.java @@ -369,6 +369,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IInsight.java b/sdk/src/main/java/com/atlan/model/assets/IInsight.java index c427b8c4e4..d79dab2bfe 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IInsight.java +++ b/sdk/src/main/java/com/atlan/model/assets/IInsight.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IKafka.java b/sdk/src/main/java/com/atlan/model/assets/IKafka.java index 9d0f20edcd..b96bf192d5 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IKafka.java +++ b/sdk/src/main/java/com/atlan/model/assets/IKafka.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IKafkaCluster.java b/sdk/src/main/java/com/atlan/model/assets/IKafkaCluster.java index c8e13565b5..0e9d94c184 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IKafkaCluster.java +++ b/sdk/src/main/java/com/atlan/model/assets/IKafkaCluster.java @@ -398,6 +398,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IKafkaConsumerGroup.java b/sdk/src/main/java/com/atlan/model/assets/IKafkaConsumerGroup.java index 0a72b88a0b..95f9b553d0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IKafkaConsumerGroup.java +++ b/sdk/src/main/java/com/atlan/model/assets/IKafkaConsumerGroup.java @@ -393,6 +393,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IKafkaField.java b/sdk/src/main/java/com/atlan/model/assets/IKafkaField.java index 2fe94b15a9..d0f414af80 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IKafkaField.java +++ b/sdk/src/main/java/com/atlan/model/assets/IKafkaField.java @@ -18,6 +18,7 @@ import com.atlan.model.fields.KeywordTextField; import com.atlan.model.fields.NumericField; import com.atlan.model.fields.RelationField; +import com.atlan.model.fields.TextField; import com.atlan.model.relations.RelationshipAttributes; import com.atlan.model.relations.UniqueAttributes; import com.atlan.model.structs.AssetExternalDQMetadata; @@ -52,9 +53,19 @@ public interface IKafkaField { /** Default value for this field if one is defined in the schema. */ KeywordField KAFKA_FIELD_DEFAULT_VALUE = new KeywordField("kafkaFieldDefaultValue", "kafkaFieldDefaultValue"); + /** Level of nesting of this field (1 = direct child of topic schema, 2 = nested one level, etc.). */ + NumericField KAFKA_FIELD_DEPTH_LEVEL = new NumericField("kafkaFieldDepthLevel", "kafkaFieldDepthLevel"); + + /** List of top-level upstream nested fields. */ + KeywordField KAFKA_FIELD_HIERARCHIES = new KeywordField("kafkaFieldHierarchies", "kafkaFieldHierarchies"); + /** Whether this field is optional (true) or required (false) in the schema. */ BooleanField KAFKA_FIELD_IS_OPTIONAL = new BooleanField("kafkaFieldIsOptional", "kafkaFieldIsOptional"); + /** Order (position) in which this field appears within its parent nested field, as a dotted ordinal path such as '1.2.10'. Carries the same value as kafkaNestedFieldOrder, which it supersedes; sortable in schema-declaration order via its version sub-field. */ + KeywordTextField KAFKA_FIELD_NESTED_ORDER = + new KeywordTextField("kafkaFieldNestedOrder", "kafkaFieldNestedOrder.keyword", "kafkaFieldNestedOrder"); + /** Position (0-based) of this field in the schema definition. */ NumericField KAFKA_FIELD_ORDER = new NumericField("kafkaFieldOrder", "kafkaFieldOrder"); @@ -65,6 +76,25 @@ public interface IKafkaField { KeywordField KAFKA_FIELD_VERSION_INTRODUCED = new KeywordField("kafkaFieldVersionIntroduced", "kafkaFieldVersionIntroduced"); + /** Number of KafkaField assets directly nested within this field. */ + NumericField KAFKA_NESTED_FIELD_COUNT = new NumericField("kafkaNestedFieldCount", "kafkaNestedFieldCount"); + + /** Order (position) in which this field appears within its parent nested field (nest level starts at 1). */ + TextField KAFKA_NESTED_FIELD_ORDER = new TextField("kafkaNestedFieldOrder", "kafkaNestedFieldOrder"); + + /** KafkaField assets nested within this field. */ + RelationField KAFKA_NESTED_FIELDS = new RelationField("kafkaNestedFields"); + + /** Parent KafkaField containing this nested field. */ + RelationField KAFKA_PARENT_FIELD = new RelationField("kafkaParentField"); + + /** Simple name of the parent KafkaField in which this field is nested. */ + TextField KAFKA_PARENT_FIELD_NAME = new TextField("kafkaParentFieldName", "kafkaParentFieldName"); + + /** Unique name of the parent KafkaField in which this field is nested. */ + TextField KAFKA_PARENT_FIELD_QUALIFIED_NAME = + new TextField("kafkaParentFieldQualifiedName", "kafkaParentFieldQualifiedName"); + /** Kafka topic in which this field is defined. */ RelationField KAFKA_TOPIC = new RelationField("kafkaTopic"); @@ -395,6 +425,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -616,9 +649,18 @@ default SortedSet getInputToSparkJobs() { /** Default value for this field if one is defined in the schema. */ String getKafkaFieldDefaultValue(); + /** Level of nesting of this field (1 = direct child of topic schema, 2 = nested one level, etc.). */ + Integer getKafkaFieldDepthLevel(); + + /** List of top-level upstream nested fields. */ + List> getKafkaFieldHierarchies(); + /** Whether this field is optional (true) or required (false) in the schema. */ Boolean getKafkaFieldIsOptional(); + /** Order (position) in which this field appears within its parent nested field, as a dotted ordinal path such as '1.2.10'. Carries the same value as kafkaNestedFieldOrder, which it supersedes; sortable in schema-declaration order via its version sub-field. */ + String getKafkaFieldNestedOrder(); + /** Position (0-based) of this field in the schema definition. */ Integer getKafkaFieldOrder(); @@ -628,6 +670,28 @@ default SortedSet getInputToSparkJobs() { /** Schema version in which this field was first introduced. */ String getKafkaFieldVersionIntroduced(); + /** Number of KafkaField assets directly nested within this field. */ + Integer getKafkaNestedFieldCount(); + + /** Order (position) in which this field appears within its parent nested field (nest level starts at 1). */ + String getKafkaNestedFieldOrder(); + + /** KafkaField assets nested within this field. */ + default SortedSet getKafkaNestedFields() { + return null; + } + + /** Parent KafkaField containing this nested field. */ + default IKafkaField getKafkaParentField() { + return null; + } + + /** Simple name of the parent KafkaField in which this field is nested. */ + String getKafkaParentFieldName(); + + /** Unique name of the parent KafkaField in which this field is nested. */ + String getKafkaParentFieldQualifiedName(); + /** Kafka topic in which this field is defined. */ default IKafkaTopic getKafkaTopic() { return null; diff --git a/sdk/src/main/java/com/atlan/model/assets/IKafkaTag.java b/sdk/src/main/java/com/atlan/model/assets/IKafkaTag.java new file mode 100644 index 0000000000..32a10f0780 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/IKafkaTag.java @@ -0,0 +1,874 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.SourceTagAttribute; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Instance of a Confluent Stream Catalog tag in Atlan. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface IKafkaTag { + + public static final String TYPE_NAME = "KafkaTag"; + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Unique identifier of the dataset this asset belongs to. */ + String getCatalogDatasetGuid(); + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** Name of the classification in Atlan that is mapped to this tag. */ + String getMappedAtlanTagName(); + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Allowed values for the tag in the source system. These are denormalized from tagAttributes for ease of querying. */ + SortedSet getTagAllowedValues(); + + /** Attributes associated with the tag in the source system. */ + List getTagAttributes(); + + /** Unique identifier of the tag in the source system. */ + String getTagId(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/IKafkaTopic.java b/sdk/src/main/java/com/atlan/model/assets/IKafkaTopic.java index c2f3be579f..e97826b61e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IKafkaTopic.java +++ b/sdk/src/main/java/com/atlan/model/assets/IKafkaTopic.java @@ -432,6 +432,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IKnowledge.java b/sdk/src/main/java/com/atlan/model/assets/IKnowledge.java index 4bc0b63e47..8a619f4ea5 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IKnowledge.java +++ b/sdk/src/main/java/com/atlan/model/assets/IKnowledge.java @@ -2,6 +2,7 @@ Copyright 2023 Atlan Pte. Ltd. */ package com.atlan.model.assets; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -49,6 +50,9 @@ public interface IKnowledge { /** List of users who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminUsers(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -367,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IKnowledgeFile.java b/sdk/src/main/java/com/atlan/model/assets/IKnowledgeFile.java index b14c3582d1..5287a8daae 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IKnowledgeFile.java +++ b/sdk/src/main/java/com/atlan/model/assets/IKnowledgeFile.java @@ -2,6 +2,7 @@ Copyright 2023 Atlan Pte. Ltd. */ package com.atlan.model.assets; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -56,6 +57,9 @@ public interface IKnowledgeFile { /** Knowledge folders in which this file exists. */ RelationField KNOWLEDGE_FOLDERS = new RelationField("knowledgeFolders"); + /** Assets this knowledge file is linked to. */ + RelationField KNOWLEDGE_LINKED_ASSETS = new RelationField("knowledgeLinkedAssets"); + /** List of groups who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminGroups(); @@ -65,6 +69,9 @@ public interface IKnowledgeFile { /** List of users who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminUsers(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -383,6 +390,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -621,6 +631,11 @@ default SortedSet getKnowledgeFolders() { return null; } + /** Assets this knowledge file is linked to. */ + default SortedSet getKnowledgeLinkedAssets() { + return null; + } + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ Long getLastRowChangedAt(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IKnowledgeFolder.java b/sdk/src/main/java/com/atlan/model/assets/IKnowledgeFolder.java index 9edd32bd29..36818c3862 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IKnowledgeFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/IKnowledgeFolder.java @@ -2,6 +2,7 @@ Copyright 2023 Atlan Pte. Ltd. */ package com.atlan.model.assets; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -58,6 +59,9 @@ public interface IKnowledgeFolder { /** List of users who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminUsers(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -376,6 +380,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILineageProcess.java b/sdk/src/main/java/com/atlan/model/assets/ILineageProcess.java index e23375a065..3316276106 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILineageProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILineageProcess.java @@ -13,6 +13,7 @@ import com.atlan.model.enums.DataQualityResult; import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.fields.BooleanField; import com.atlan.model.fields.KeywordField; @@ -97,6 +98,9 @@ public interface ILineageProcess { /** TBC */ RelationField POWER_BI_DATAFLOW = new RelationField("powerBIDataflow"); + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + KeywordField PROCESS_DERIVATION = new KeywordField("processDerivation", "processDerivation"); + /** TBC */ RelationField SPARK_JOBS = new RelationField("sparkJobs"); @@ -446,6 +450,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -758,6 +765,9 @@ default IPowerBIDataflow getPowerBIDataflow() { return null; } + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + ProcessLineageDerivation getProcessDerivation(); + /** Array of product guids linked to this asset */ SortedSet getProductGUIDs(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILink.java b/sdk/src/main/java/com/atlan/model/assets/ILink.java index 6fe6d9f9d1..b60a4384db 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILink.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILink.java @@ -382,6 +382,9 @@ default IAsset getAsset() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILooker.java b/sdk/src/main/java/com/atlan/model/assets/ILooker.java index fa2df80f87..66c908f678 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILooker.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILooker.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILookerDashboard.java b/sdk/src/main/java/com/atlan/model/assets/ILookerDashboard.java index 8070a92a46..3a1104f9e7 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILookerDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILookerDashboard.java @@ -400,6 +400,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILookerExplore.java b/sdk/src/main/java/com/atlan/model/assets/ILookerExplore.java index 5c90ef1266..c83fd461a2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILookerExplore.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILookerExplore.java @@ -391,6 +391,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILookerField.java b/sdk/src/main/java/com/atlan/model/assets/ILookerField.java index 3b7cc64522..c08d998796 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILookerField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILookerField.java @@ -437,6 +437,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILookerFolder.java b/sdk/src/main/java/com/atlan/model/assets/ILookerFolder.java index 8bce852ace..8cc3003822 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILookerFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILookerFolder.java @@ -390,6 +390,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILookerLook.java b/sdk/src/main/java/com/atlan/model/assets/ILookerLook.java index 3ab22397dc..900a6d6b2e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILookerLook.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILookerLook.java @@ -416,6 +416,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILookerModel.java b/sdk/src/main/java/com/atlan/model/assets/ILookerModel.java index bba0fbbf10..ac843e15ed 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILookerModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILookerModel.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILookerProject.java b/sdk/src/main/java/com/atlan/model/assets/ILookerProject.java index 2fb6d2955f..18b3e68538 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILookerProject.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILookerProject.java @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILookerQuery.java b/sdk/src/main/java/com/atlan/model/assets/ILookerQuery.java index e9ae50f979..1a043df330 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILookerQuery.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILookerQuery.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILookerTile.java b/sdk/src/main/java/com/atlan/model/assets/ILookerTile.java index 32457d80b3..c4cc4e0149 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILookerTile.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILookerTile.java @@ -403,6 +403,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ILookerView.java b/sdk/src/main/java/com/atlan/model/assets/ILookerView.java index e9f842b475..e176e0b387 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ILookerView.java +++ b/sdk/src/main/java/com/atlan/model/assets/ILookerView.java @@ -382,6 +382,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMCIncident.java b/sdk/src/main/java/com/atlan/model/assets/IMCIncident.java index 531aa9885a..6cb0d4ee2c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMCIncident.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMCIncident.java @@ -393,6 +393,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMCMonitor.java b/sdk/src/main/java/com/atlan/model/assets/IMCMonitor.java index 3594b3db9a..32dde00014 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMCMonitor.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMCMonitor.java @@ -447,6 +447,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMaterializedView.java b/sdk/src/main/java/com/atlan/model/assets/IMaterializedView.java index bcdf788cea..fe9b45e6ce 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMaterializedView.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMaterializedView.java @@ -414,6 +414,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMatillion.java b/sdk/src/main/java/com/atlan/model/assets/IMatillion.java index c6a72a12ef..133eabe3da 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMatillion.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMatillion.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMatillionComponent.java b/sdk/src/main/java/com/atlan/model/assets/IMatillionComponent.java index 2588b4b01d..02b4f27b15 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMatillionComponent.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMatillionComponent.java @@ -404,6 +404,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMatillionGroup.java b/sdk/src/main/java/com/atlan/model/assets/IMatillionGroup.java index 453ae5f1c2..69db40ccb8 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMatillionGroup.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMatillionGroup.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMatillionJob.java b/sdk/src/main/java/com/atlan/model/assets/IMatillionJob.java index b117aad122..ab19e74b8d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMatillionJob.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMatillionJob.java @@ -397,6 +397,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMatillionProject.java b/sdk/src/main/java/com/atlan/model/assets/IMatillionProject.java index 497f9951ae..405bc65305 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMatillionProject.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMatillionProject.java @@ -391,6 +391,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMetabase.java b/sdk/src/main/java/com/atlan/model/assets/IMetabase.java index 3fed346178..d918ebde50 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMetabase.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMetabase.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMetabaseCollection.java b/sdk/src/main/java/com/atlan/model/assets/IMetabaseCollection.java index 3715825bf4..744f4d851b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMetabaseCollection.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMetabaseCollection.java @@ -388,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMetabaseDashboard.java b/sdk/src/main/java/com/atlan/model/assets/IMetabaseDashboard.java index f0f7474177..416ef1d3d1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMetabaseDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMetabaseDashboard.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMetabaseQuestion.java b/sdk/src/main/java/com/atlan/model/assets/IMetabaseQuestion.java index a56f8d7961..0e8079c8a6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMetabaseQuestion.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMetabaseQuestion.java @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMetric.java b/sdk/src/main/java/com/atlan/model/assets/IMetric.java index 47184bf770..7860a8e862 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMetric.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMetric.java @@ -388,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategy.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategy.java index da7a27dd7a..033da520a2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategy.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategy.java @@ -410,6 +410,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyAttribute.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyAttribute.java index 0b257e33ee..6072042870 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyAttribute.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyAttribute.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyColumn.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyColumn.java index 6c75658f8d..b500b1939b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyColumn.java @@ -446,6 +446,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyCube.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyCube.java index c45a43a3a5..3280cc2bbc 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyCube.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyCube.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyDocument.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyDocument.java index fd8362fe53..6ed8ed568a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyDocument.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyDocument.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyDossier.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyDossier.java index ddb2f32bd1..3629b8d035 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyDossier.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyDossier.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyFact.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyFact.java index 2f201a56f7..21b232b8c0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyFact.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyFact.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyMetric.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyMetric.java index a52cd3a4b7..97277bff85 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyMetric.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyMetric.java @@ -427,6 +427,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyProject.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyProject.java index 67912a7178..65bc7d0b33 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyProject.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyProject.java @@ -389,6 +389,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyReport.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyReport.java index db52d4c39e..2d0c083c1d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyReport.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyReport.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyVisualization.java b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyVisualization.java index 12ce3910fb..4da79144aa 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyVisualization.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMicroStrategyVisualization.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMode.java b/sdk/src/main/java/com/atlan/model/assets/IMode.java index 3790d69cd5..d411b18687 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMode.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMode.java @@ -399,6 +399,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModeChart.java b/sdk/src/main/java/com/atlan/model/assets/IModeChart.java index bbc8cc95b3..97d97cc175 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModeChart.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModeChart.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModeCollection.java b/sdk/src/main/java/com/atlan/model/assets/IModeCollection.java index 5c3119d5fb..2327c74aca 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModeCollection.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModeCollection.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModeQuery.java b/sdk/src/main/java/com/atlan/model/assets/IModeQuery.java index 09b59f7ebe..9f258a8be9 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModeQuery.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModeQuery.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModeReport.java b/sdk/src/main/java/com/atlan/model/assets/IModeReport.java index d689e4fa16..713fe89dca 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModeReport.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModeReport.java @@ -399,6 +399,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModeWorkspace.java b/sdk/src/main/java/com/atlan/model/assets/IModeWorkspace.java index fc06b3c7c1..12d53bf930 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModeWorkspace.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModeWorkspace.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModel.java b/sdk/src/main/java/com/atlan/model/assets/IModel.java index a3203c0258..d6be66279b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModel.java @@ -515,6 +515,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModelAttribute.java b/sdk/src/main/java/com/atlan/model/assets/IModelAttribute.java index 00682311f4..929e1bec3e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModelAttribute.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModelAttribute.java @@ -411,6 +411,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModelAttributeAssociation.java b/sdk/src/main/java/com/atlan/model/assets/IModelAttributeAssociation.java index 4651bc04a1..9dd579823c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModelAttributeAssociation.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModelAttributeAssociation.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModelDataModel.java b/sdk/src/main/java/com/atlan/model/assets/IModelDataModel.java index 7b29e5c043..9bbd085b1c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModelDataModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModelDataModel.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModelEntity.java b/sdk/src/main/java/com/atlan/model/assets/IModelEntity.java index f26361f165..677276a038 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModelEntity.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModelEntity.java @@ -410,6 +410,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModelEntityAssociation.java b/sdk/src/main/java/com/atlan/model/assets/IModelEntityAssociation.java index bb4c36e36b..c072f821cf 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModelEntityAssociation.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModelEntityAssociation.java @@ -414,6 +414,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IModelVersion.java b/sdk/src/main/java/com/atlan/model/assets/IModelVersion.java index f94da8d6a1..ce0f7c6b24 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IModelVersion.java +++ b/sdk/src/main/java/com/atlan/model/assets/IModelVersion.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMongoDB.java b/sdk/src/main/java/com/atlan/model/assets/IMongoDB.java index 2440836863..0f670bc05a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMongoDB.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMongoDB.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMongoDBCollection.java b/sdk/src/main/java/com/atlan/model/assets/IMongoDBCollection.java index 28ae436343..13b48464df 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMongoDBCollection.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMongoDBCollection.java @@ -428,6 +428,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMongoDBDatabase.java b/sdk/src/main/java/com/atlan/model/assets/IMongoDBDatabase.java index 794ee3adc1..abd81bc71c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMongoDBDatabase.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMongoDBDatabase.java @@ -373,6 +373,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMonteCarlo.java b/sdk/src/main/java/com/atlan/model/assets/IMonteCarlo.java index 6003b5aff5..bdc8bf38bf 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMonteCarlo.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMonteCarlo.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IMultiDimensionalDataset.java b/sdk/src/main/java/com/atlan/model/assets/IMultiDimensionalDataset.java index 5424f7f98c..44dba3fce1 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IMultiDimensionalDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IMultiDimensionalDataset.java @@ -410,6 +410,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/INamespace.java b/sdk/src/main/java/com/atlan/model/assets/INamespace.java index ebae3a1915..877542a8c3 100644 --- a/sdk/src/main/java/com/atlan/model/assets/INamespace.java +++ b/sdk/src/main/java/com/atlan/model/assets/INamespace.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/INoSQL.java b/sdk/src/main/java/com/atlan/model/assets/INoSQL.java index 99f910a4a1..10b1805639 100644 --- a/sdk/src/main/java/com/atlan/model/assets/INoSQL.java +++ b/sdk/src/main/java/com/atlan/model/assets/INoSQL.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/INotebook.java b/sdk/src/main/java/com/atlan/model/assets/INotebook.java index 445ef86811..ca47094fbc 100644 --- a/sdk/src/main/java/com/atlan/model/assets/INotebook.java +++ b/sdk/src/main/java/com/atlan/model/assets/INotebook.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/INotification.java b/sdk/src/main/java/com/atlan/model/assets/INotification.java new file mode 100644 index 0000000000..dca5fdd83b --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/INotification.java @@ -0,0 +1,868 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.NotificationState; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.fields.KeywordTextField; +import com.atlan.model.fields.NumericField; +import com.atlan.model.fields.TextField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.NotificationExternalReference; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Base class for a durable, queryable notification record. Never instantiated: only a subtype is ever created, the way nothing creates a bare Catalog. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface INotification { + + public static final String TYPE_NAME = "Notification"; + + /** Where this notification also lives outside Atlan, one entry per surface. This is what lets an action taken in the inbox go back and update the message it came from. */ + KeywordField NOTIFICATION_EXTERNAL_REFERENCES = + new KeywordField("notificationExternalReferences", "notificationExternalReferences"); + + /** When a person last moved the state. Read against the creation timestamp this gives time to resolution. */ + NumericField NOTIFICATION_LAST_ACTED_AT = new NumericField("notificationLastActedAt", "notificationLastActedAt"); + + /** Username of the person who last moved the state. Declared separately because the write is service-mediated, so the entity's own modifier records the service and not the person. */ + KeywordTextField NOTIFICATION_LAST_ACTED_BY = new KeywordTextField( + "notificationLastActedBy", "notificationLastActedBy.keyword", "notificationLastActedBy"); + + /** Reason or note the person gave for the last action. Mandatory for some actions and optional for others, so it is free text rather than a code. */ + TextField NOTIFICATION_LAST_ACTED_REASON = + new TextField("notificationLastActedReason", "notificationLastActedReason"); + + /** Identifiers of the Atlan groups the notification is meant for. A group outlives its members, so a rule addressing a group stays generic as people join and leave. */ + KeywordTextField NOTIFICATION_RECIPIENT_GROUPS = new KeywordTextField( + "notificationRecipientGroups", "notificationRecipientGroups.keyword", "notificationRecipientGroups"); + + /** Identifiers of the Atlan roles that need to see the notification. Resolved to individuals by the interface at read time rather than stored. */ + KeywordTextField NOTIFICATION_RECIPIENT_ROLES = new KeywordTextField( + "notificationRecipientRoles", "notificationRecipientRoles.keyword", "notificationRecipientRoles"); + + /** Usernames the notification was addressed to. Drives the assigned-to-me view together with the group and role recipients. */ + KeywordTextField NOTIFICATION_RECIPIENT_USERS = new KeywordTextField( + "notificationRecipientUsers", "notificationRecipientUsers.keyword", "notificationRecipientUsers"); + + /** Where the notification is in its lifecycle. Also how a check decides whether a live notification already exists before raising another. */ + KeywordField NOTIFICATION_STATE = new KeywordField("notificationState", "notificationState"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Where this notification also lives outside Atlan, one entry per surface. This is what lets an action taken in the inbox go back and update the message it came from. */ + List getNotificationExternalReferences(); + + /** When a person last moved the state. Read against the creation timestamp this gives time to resolution. */ + Long getNotificationLastActedAt(); + + /** Username of the person who last moved the state. Declared separately because the write is service-mediated, so the entity's own modifier records the service and not the person. */ + String getNotificationLastActedBy(); + + /** Reason or note the person gave for the last action. Mandatory for some actions and optional for others, so it is free text rather than a code. */ + String getNotificationLastActedReason(); + + /** Identifiers of the Atlan groups the notification is meant for. A group outlives its members, so a rule addressing a group stays generic as people join and leave. */ + SortedSet getNotificationRecipientGroups(); + + /** Identifiers of the Atlan roles that need to see the notification. Resolved to individuals by the interface at read time rather than stored. */ + SortedSet getNotificationRecipientRoles(); + + /** Usernames the notification was addressed to. Drives the assigned-to-me view together with the group and role recipients. */ + SortedSet getNotificationRecipientUsers(); + + /** Where the notification is in its lifecycle. Also how a check decides whether a live notification already exists before raising another. */ + NotificationState getNotificationState(); + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/IObjectStore.java b/sdk/src/main/java/com/atlan/model/assets/IObjectStore.java index 791888064b..7f0fc0057c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IObjectStore.java +++ b/sdk/src/main/java/com/atlan/model/assets/IObjectStore.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPartial.java b/sdk/src/main/java/com/atlan/model/assets/IPartial.java index 5d5fa3b0a6..fdfe3826ad 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPartial.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPartial.java @@ -382,6 +382,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPartialField.java b/sdk/src/main/java/com/atlan/model/assets/IPartialField.java index ddbc1d00d9..06df59f019 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPartialField.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPartialField.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPartialObject.java b/sdk/src/main/java/com/atlan/model/assets/IPartialObject.java index 574f2f02c3..1d62cbd060 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPartialObject.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPartialObject.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPersona.java b/sdk/src/main/java/com/atlan/model/assets/IPersona.java index 444ad64940..1a5538e5c2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPersona.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPersona.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBI.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBI.java index d495ff4355..170ef4720c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBI.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBI.java @@ -389,6 +389,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIApp.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIApp.java index 72e7d4f53b..d90186f438 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIApp.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIApp.java @@ -382,6 +382,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIColumn.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIColumn.java index f36fe29f2a..fa630b624a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIColumn.java @@ -396,6 +396,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIDashboard.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIDashboard.java index ab1ec6f1f6..530497683d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIDashboard.java @@ -388,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataflow.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataflow.java index f848989233..93cd9adf93 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataflow.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataflow.java @@ -412,6 +412,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataflowEntityColumn.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataflowEntityColumn.java index c3fb5727cb..12d1f67a9c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataflowEntityColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataflowEntityColumn.java @@ -386,6 +386,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataset.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataset.java index 814898319c..04ae056925 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIDataset.java @@ -393,6 +393,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIDatasource.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIDatasource.java index e11874c2f9..c596e04f03 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIDatasource.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIDatasource.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIMeasure.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIMeasure.java index d8ec08df1e..c676698929 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIMeasure.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIMeasure.java @@ -389,6 +389,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIPage.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIPage.java index 9c95e43bcf..e3b24cd60a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIPage.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIPage.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIReport.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIReport.java index e1b17409a2..d45272b102 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIReport.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIReport.java @@ -397,6 +397,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBITable.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBITable.java index a868750f4f..55740cc87a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBITable.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBITable.java @@ -403,6 +403,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBITile.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBITile.java index 90b017d0d5..e80041fef0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBITile.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBITile.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPowerBIWorkspace.java b/sdk/src/main/java/com/atlan/model/assets/IPowerBIWorkspace.java index 2c4939654c..37cb79c05a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPowerBIWorkspace.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPowerBIWorkspace.java @@ -395,6 +395,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPreset.java b/sdk/src/main/java/com/atlan/model/assets/IPreset.java index 738dc816e7..6b84bdcdaf 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPreset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPreset.java @@ -380,6 +380,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPresetChart.java b/sdk/src/main/java/com/atlan/model/assets/IPresetChart.java index f96d43a834..cd3f468638 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPresetChart.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPresetChart.java @@ -377,6 +377,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPresetDashboard.java b/sdk/src/main/java/com/atlan/model/assets/IPresetDashboard.java index bfe021c5fb..b87b9fbaa2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPresetDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPresetDashboard.java @@ -405,6 +405,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPresetDataset.java b/sdk/src/main/java/com/atlan/model/assets/IPresetDataset.java index be51567655..534b07a6c0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPresetDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPresetDataset.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPresetWorkspace.java b/sdk/src/main/java/com/atlan/model/assets/IPresetWorkspace.java index ee93893c68..3695be99bf 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPresetWorkspace.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPresetWorkspace.java @@ -406,6 +406,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IProcedure.java b/sdk/src/main/java/com/atlan/model/assets/IProcedure.java index ef80c47573..39d7a32e1c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IProcedure.java +++ b/sdk/src/main/java/com/atlan/model/assets/IProcedure.java @@ -415,6 +415,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IPurpose.java b/sdk/src/main/java/com/atlan/model/assets/IPurpose.java index fe413f12d2..7338103856 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IPurpose.java +++ b/sdk/src/main/java/com/atlan/model/assets/IPurpose.java @@ -370,6 +370,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQlik.java b/sdk/src/main/java/com/atlan/model/assets/IQlik.java index c9831d335b..77f55e20c2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQlik.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQlik.java @@ -393,6 +393,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQlikApp.java b/sdk/src/main/java/com/atlan/model/assets/IQlikApp.java index 69a608ed48..e58cb443ca 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQlikApp.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQlikApp.java @@ -389,6 +389,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQlikChart.java b/sdk/src/main/java/com/atlan/model/assets/IQlikChart.java index 11b47cdd5b..7855cabcfb 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQlikChart.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQlikChart.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQlikColumn.java b/sdk/src/main/java/com/atlan/model/assets/IQlikColumn.java index c211a2fc99..087349ae6d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQlikColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQlikColumn.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQlikDataset.java b/sdk/src/main/java/com/atlan/model/assets/IQlikDataset.java index 46df1e2609..3994e1a080 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQlikDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQlikDataset.java @@ -390,6 +390,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQlikSheet.java b/sdk/src/main/java/com/atlan/model/assets/IQlikSheet.java index 78109ef79b..ac31f7784d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQlikSheet.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQlikSheet.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQlikSpace.java b/sdk/src/main/java/com/atlan/model/assets/IQlikSpace.java index 72c3d2d3f7..3b95245178 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQlikSpace.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQlikSpace.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQlikStream.java b/sdk/src/main/java/com/atlan/model/assets/IQlikStream.java index 7545e35ecd..1fe88518a6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQlikStream.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQlikStream.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQuickSight.java b/sdk/src/main/java/com/atlan/model/assets/IQuickSight.java index e3e985d55e..1f5086ebc3 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQuickSight.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQuickSight.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysis.java b/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysis.java index 30a475d3d7..bb41f28adf 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysis.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysis.java @@ -52,7 +52,7 @@ public interface IQuickSightAnalysis { TextField QUICK_SIGHT_ANALYSIS_FILTER_GROUPS = new TextField("quickSightAnalysisFilterGroups", "quickSightAnalysisFilterGroups"); - /** TBC */ + /** Folders that contain this analysis. */ RelationField QUICK_SIGHT_ANALYSIS_FOLDERS = new RelationField("quickSightAnalysisFolders"); /** List of parameters used for this analysis. */ @@ -389,6 +389,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -709,7 +712,7 @@ default SortedSet getPartialChildObjects() { /** List of filter groups used for this analysis. */ SortedSet getQuickSightAnalysisFilterGroups(); - /** TBC */ + /** Folders that contain this analysis. */ default SortedSet getQuickSightAnalysisFolders() { return null; } diff --git a/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysisField.java b/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysisField.java new file mode 100644 index 0000000000..9aeadc393d --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysisField.java @@ -0,0 +1,909 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.fields.RelationField; +import com.atlan.model.fields.TextField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Instance of a QuickSight analysis field in Atlan. These represent the dataset columns and calculated fields used by an analysis visual. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface IQuickSightAnalysisField { + + public static final String TYPE_NAME = "QuickSightAnalysisField"; + + /** Identifier of the analysis dataset this field belongs to. */ + KeywordField QUICK_SIGHT_ANALYSIS_FIELD_DATA_SET_IDENTIFIER = + new KeywordField("quickSightAnalysisFieldDataSetIdentifier", "quickSightAnalysisFieldDataSetIdentifier"); + + /** Formula of this field, when it is a calculated field. */ + TextField QUICK_SIGHT_ANALYSIS_FIELD_EXPRESSION = + new TextField("quickSightAnalysisFieldExpression", "quickSightAnalysisFieldExpression"); + + /** Unique name of the QuickSight analysis that contains this field's visual. */ + KeywordField QUICK_SIGHT_ANALYSIS_QUALIFIED_NAME = + new KeywordField("quickSightAnalysisQualifiedName", "quickSightAnalysisQualifiedName"); + + /** Analysis visual that uses this field. */ + RelationField QUICK_SIGHT_ANALYSIS_VISUAL = new RelationField("quickSightAnalysisVisual"); + + /** Unique name of the QuickSight analysis visual that uses this field. */ + KeywordField QUICK_SIGHT_ANALYSIS_VISUAL_QUALIFIED_NAME = + new KeywordField("quickSightAnalysisVisualQualifiedName", "quickSightAnalysisVisualQualifiedName"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Unique identifier of the dataset this asset belongs to. */ + String getCatalogDatasetGuid(); + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** Identifier of the analysis dataset this field belongs to. */ + String getQuickSightAnalysisFieldDataSetIdentifier(); + + /** Formula of this field, when it is a calculated field. */ + String getQuickSightAnalysisFieldExpression(); + + /** Unique name of the QuickSight analysis that contains this field's visual. */ + String getQuickSightAnalysisQualifiedName(); + + /** Analysis visual that uses this field. */ + default IQuickSightAnalysisVisual getQuickSightAnalysisVisual() { + return null; + } + + /** Unique name of the QuickSight analysis visual that uses this field. */ + String getQuickSightAnalysisVisualQualifiedName(); + + /** Unique identifier for the QuickSight asset. */ + String getQuickSightId(); + + /** Unique identifier for the QuickSight sheet. */ + String getQuickSightSheetId(); + + /** Name of the QuickSight sheet. */ + String getQuickSightSheetName(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysisVisual.java b/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysisVisual.java index a595cf31fa..b4b3dafe01 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysisVisual.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQuickSightAnalysisVisual.java @@ -45,6 +45,9 @@ public interface IQuickSightAnalysisVisual { /** Analysis in which this visual exists. */ RelationField QUICK_SIGHT_ANALYSIS = new RelationField("quickSightAnalysis"); + /** Fields used by this analysis visual. */ + RelationField QUICK_SIGHT_ANALYSIS_FIELDS = new RelationField("quickSightAnalysisFields"); + /** Unique name of the QuickSight analysis in which this visual exists. */ KeywordTextField QUICK_SIGHT_ANALYSIS_QUALIFIED_NAME = new KeywordTextField( "quickSightAnalysisQualifiedName", @@ -375,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -694,6 +700,11 @@ default IQuickSightAnalysis getQuickSightAnalysis() { return null; } + /** Fields used by this analysis visual. */ + default SortedSet getQuickSightAnalysisFields() { + return null; + } + /** Unique name of the QuickSight analysis in which this visual exists. */ String getQuickSightAnalysisQualifiedName(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQuickSightDashboard.java b/sdk/src/main/java/com/atlan/model/assets/IQuickSightDashboard.java index fc7392a84c..0df871ce62 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQuickSightDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQuickSightDashboard.java @@ -42,7 +42,7 @@ public interface IQuickSightDashboard { public static final String TYPE_NAME = "QuickSightDashboard"; - /** TBC */ + /** Folders that contain this dashboard. */ RelationField QUICK_SIGHT_DASHBOARD_FOLDERS = new RelationField("quickSightDashboardFolders"); /** Time (epoch) at which this dashboard was last published, in milliseconds. */ @@ -380,6 +380,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -694,7 +697,7 @@ default SortedSet getPartialChildObjects() { /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ String getQualifiedName(); - /** TBC */ + /** Folders that contain this dashboard. */ default SortedSet getQuickSightDashboardFolders() { return null; } diff --git a/sdk/src/main/java/com/atlan/model/assets/IQuickSightDashboardVisual.java b/sdk/src/main/java/com/atlan/model/assets/IQuickSightDashboardVisual.java index f8d353d5de..dd23f43647 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQuickSightDashboardVisual.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQuickSightDashboardVisual.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQuickSightDataset.java b/sdk/src/main/java/com/atlan/model/assets/IQuickSightDataset.java index 5a1104519d..6bf1ae7b99 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQuickSightDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQuickSightDataset.java @@ -51,7 +51,7 @@ public interface IQuickSightDataset { /** Fields that exist within this dataset. */ RelationField QUICK_SIGHT_DATASET_FIELDS = new RelationField("quickSightDatasetFields"); - /** TBC */ + /** Folders that contain this dataset. */ RelationField QUICK_SIGHT_DATASET_FOLDERS = new RelationField("quickSightDatasetFolders"); /** Import mode for this dataset, for example: SPICE or DIRECT_QUERY. */ @@ -382,6 +382,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -704,7 +707,7 @@ default SortedSet getQuickSightDatasetFields() { return null; } - /** TBC */ + /** Folders that contain this dataset. */ default SortedSet getQuickSightDatasetFolders() { return null; } diff --git a/sdk/src/main/java/com/atlan/model/assets/IQuickSightDatasetField.java b/sdk/src/main/java/com/atlan/model/assets/IQuickSightDatasetField.java index d1039e9f42..4839729815 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQuickSightDatasetField.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQuickSightDatasetField.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IQuickSightFolder.java b/sdk/src/main/java/com/atlan/model/assets/IQuickSightFolder.java index 8aa9bac225..604a0dee77 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IQuickSightFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/IQuickSightFolder.java @@ -43,13 +43,13 @@ public interface IQuickSightFolder { public static final String TYPE_NAME = "QuickSightFolder"; - /** TBC */ + /** Analyses contained in this folder. */ RelationField QUICK_SIGHT_ANALYSES = new RelationField("quickSightAnalyses"); - /** TBC */ + /** Dashboards contained in this folder. */ RelationField QUICK_SIGHT_DASHBOARDS = new RelationField("quickSightDashboards"); - /** TBC */ + /** Datasets contained in this folder. */ RelationField QUICK_SIGHT_DATASETS = new RelationField("quickSightDatasets"); /** Detailed path of this folder. */ @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -697,17 +700,17 @@ default SortedSet getPartialChildObjects() { /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ String getQualifiedName(); - /** TBC */ + /** Analyses contained in this folder. */ default SortedSet getQuickSightAnalyses() { return null; } - /** TBC */ + /** Dashboards contained in this folder. */ default SortedSet getQuickSightDashboards() { return null; } - /** TBC */ + /** Datasets contained in this folder. */ default SortedSet getQuickSightDatasets() { return null; } diff --git a/sdk/src/main/java/com/atlan/model/assets/IReadme.java b/sdk/src/main/java/com/atlan/model/assets/IReadme.java index 1544decc94..2df9acc75f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IReadme.java +++ b/sdk/src/main/java/com/atlan/model/assets/IReadme.java @@ -376,6 +376,9 @@ default IAsset getAsset() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IReadmeTemplate.java b/sdk/src/main/java/com/atlan/model/assets/IReadmeTemplate.java index beed8dcb63..15fb0e1d63 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IReadmeTemplate.java +++ b/sdk/src/main/java/com/atlan/model/assets/IReadmeTemplate.java @@ -373,6 +373,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IRedash.java b/sdk/src/main/java/com/atlan/model/assets/IRedash.java index c3993c8226..2de36d83eb 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IRedash.java +++ b/sdk/src/main/java/com/atlan/model/assets/IRedash.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IRedashDashboard.java b/sdk/src/main/java/com/atlan/model/assets/IRedashDashboard.java index 40d76b968d..a622f3ffd0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IRedashDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/IRedashDashboard.java @@ -369,6 +369,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IRedashQuery.java b/sdk/src/main/java/com/atlan/model/assets/IRedashQuery.java index bbd69affb4..4b37c3a083 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IRedashQuery.java +++ b/sdk/src/main/java/com/atlan/model/assets/IRedashQuery.java @@ -393,6 +393,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IRedashVisualization.java b/sdk/src/main/java/com/atlan/model/assets/IRedashVisualization.java index 9741dca3c5..8db9ed512e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IRedashVisualization.java +++ b/sdk/src/main/java/com/atlan/model/assets/IRedashVisualization.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IResource.java b/sdk/src/main/java/com/atlan/model/assets/IResource.java index 65d18b9127..541445de48 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IResource.java +++ b/sdk/src/main/java/com/atlan/model/assets/IResource.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IResponse.java b/sdk/src/main/java/com/atlan/model/assets/IResponse.java index f29861a849..74de6a706f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IResponse.java +++ b/sdk/src/main/java/com/atlan/model/assets/IResponse.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IS3.java b/sdk/src/main/java/com/atlan/model/assets/IS3.java index aa0840b31b..11bff00ce2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IS3.java +++ b/sdk/src/main/java/com/atlan/model/assets/IS3.java @@ -390,6 +390,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IS3Bucket.java b/sdk/src/main/java/com/atlan/model/assets/IS3Bucket.java index 3e9ee58387..ddb5cce138 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IS3Bucket.java +++ b/sdk/src/main/java/com/atlan/model/assets/IS3Bucket.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IS3Object.java b/sdk/src/main/java/com/atlan/model/assets/IS3Object.java index 17c2c4ea17..e2a5e132b5 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IS3Object.java +++ b/sdk/src/main/java/com/atlan/model/assets/IS3Object.java @@ -415,6 +415,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IS3Prefix.java b/sdk/src/main/java/com/atlan/model/assets/IS3Prefix.java index 962309ae55..8f99feeea6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IS3Prefix.java +++ b/sdk/src/main/java/com/atlan/model/assets/IS3Prefix.java @@ -392,6 +392,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAP.java b/sdk/src/main/java/com/atlan/model/assets/ISAP.java index fd599b66ae..939fa479ad 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAP.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAP.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBW.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBW.java index 0f51aa5b79..246b7183c2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBW.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBW.java @@ -386,6 +386,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWADSO.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWADSO.java index 9bf257297d..eeee229991 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWADSO.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWADSO.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWADSOField.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWADSOField.java index bff4f35ccf..f0c8892c35 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWADSOField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWADSOField.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWCompositeProvider.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWCompositeProvider.java index 25f7c4ab7b..d91f86d100 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWCompositeProvider.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWCompositeProvider.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWCompositeProviderField.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWCompositeProviderField.java index 08474a7cea..40e2c18275 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWCompositeProviderField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWCompositeProviderField.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWDTP.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWDTP.java index d59e69965d..eba8f5f448 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWDTP.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWDTP.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWDataSource.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWDataSource.java index be3abfa31d..1732e241d3 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWDataSource.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWDataSource.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWDataSourceField.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWDataSourceField.java index ee2893d7e2..158493179c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWDataSourceField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWDataSourceField.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoArea.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoArea.java index 980f61ca3a..b0c35c5385 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoArea.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoArea.java @@ -386,6 +386,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoObject.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoObject.java index cfd64d4152..9cb5871aee 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoObject.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoObject.java @@ -393,6 +393,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoSource.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoSource.java index 1106ca4d1f..c3ba128b3e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoSource.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoSource.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoSourceField.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoSourceField.java index c4ecb18861..db40605699 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoSourceField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWInfoSourceField.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWQuery.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWQuery.java index 7aa3eba794..daf36db822 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWQuery.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWQuery.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWQueryElement.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWQueryElement.java index 64dfe81fa2..d5fb80e255 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWQueryElement.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWQueryElement.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPBWTransformation.java b/sdk/src/main/java/com/atlan/model/assets/ISAPBWTransformation.java index d9a4715bad..54c449da26 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPBWTransformation.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPBWTransformation.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPColumnProcess.java b/sdk/src/main/java/com/atlan/model/assets/ISAPColumnProcess.java index b95cc36c22..74db6a8f76 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPColumnProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPColumnProcess.java @@ -13,6 +13,7 @@ import com.atlan.model.enums.DataQualityResult; import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.relations.RelationshipAttributes; import com.atlan.model.relations.UniqueAttributes; @@ -371,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -691,6 +695,9 @@ default SortedSet getPartialChildObjects() { /** Popularity score for this asset. */ Double getPopularityScore(); + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + ProcessLineageDerivation getProcessDerivation(); + /** Array of product guids linked to this asset */ SortedSet getProductGUIDs(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISAPProcess.java b/sdk/src/main/java/com/atlan/model/assets/ISAPProcess.java index d284eb2448..0fb53df8c0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISAPProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISAPProcess.java @@ -13,6 +13,7 @@ import com.atlan.model.enums.DataQualityResult; import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.relations.RelationshipAttributes; import com.atlan.model.relations.UniqueAttributes; @@ -371,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -691,6 +695,9 @@ default SortedSet getPartialChildObjects() { /** Popularity score for this asset. */ Double getPopularityScore(); + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + ProcessLineageDerivation getProcessDerivation(); + /** Array of product guids linked to this asset */ SortedSet getProductGUIDs(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISQL.java b/sdk/src/main/java/com/atlan/model/assets/ISQL.java index b88a7ec7bb..76a8682f63 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISQL.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISQL.java @@ -497,6 +497,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISSRS.java b/sdk/src/main/java/com/atlan/model/assets/ISSRS.java index 1981e4d961..ed6cb86dbf 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISSRS.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISSRS.java @@ -408,6 +408,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISSRSDataSet.java b/sdk/src/main/java/com/atlan/model/assets/ISSRSDataSet.java index 1019ae6fd1..80a8298186 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISSRSDataSet.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISSRSDataSet.java @@ -422,6 +422,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISSRSField.java b/sdk/src/main/java/com/atlan/model/assets/ISSRSField.java index da43a9e36d..b17f6e49b3 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISSRSField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISSRSField.java @@ -409,6 +409,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISSRSFolder.java b/sdk/src/main/java/com/atlan/model/assets/ISSRSFolder.java index 1d081ec5ca..b80167a1f7 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISSRSFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISSRSFolder.java @@ -374,6 +374,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISSRSReport.java b/sdk/src/main/java/com/atlan/model/assets/ISSRSReport.java index 4a02cfe782..1702b04d08 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISSRSReport.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISSRSReport.java @@ -392,6 +392,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISaaS.java b/sdk/src/main/java/com/atlan/model/assets/ISaaS.java index 7a310fdf0b..d64879a4ce 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISaaS.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISaaS.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMaker.java b/sdk/src/main/java/com/atlan/model/assets/ISageMaker.java index d37c8cb757..cc392f7e10 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMaker.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMaker.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerFeature.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerFeature.java index 9ed6072720..ae28cd7a48 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerFeature.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerFeature.java @@ -394,6 +394,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerFeatureGroup.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerFeatureGroup.java index 68dabe70fb..093926db1b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerFeatureGroup.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerFeatureGroup.java @@ -398,6 +398,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerModel.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerModel.java index 110a290ff3..100b909788 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerModel.java @@ -417,6 +417,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerModelDeployment.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerModelDeployment.java index b8caace642..cf24a0ad00 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerModelDeployment.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerModelDeployment.java @@ -393,6 +393,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerModelGroup.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerModelGroup.java index b0274aec5d..3d3888c43b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerModelGroup.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerModelGroup.java @@ -401,6 +401,9 @@ default SortedSet getApplications() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudio.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudio.java index 9020d12eb9..e0059a96ae 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudio.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudio.java @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioAsset.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioAsset.java index 90c193380b..85620539a9 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioAsset.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioAsset.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioAssetSchema.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioAssetSchema.java index 0821999322..271e4648f6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioAssetSchema.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioAssetSchema.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioProject.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioProject.java index 09cd49eaff..b9f8cb3c25 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioProject.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioProject.java @@ -53,7 +53,7 @@ public interface ISageMakerUnifiedStudioProject { /** Amazon S3 location of the SageMaker Unified Studio project. */ KeywordField SMUS_PROJECT_S3LOCATION = new KeywordField("smusProjectS3Location", "smusProjectS3Location"); - /** SSO users associated with the SageMaker Unified Studio project, sourced from the source system. Each entry has `email` and `role` fields. */ + /** SSO users associated with the SageMaker Unified Studio project, sourced from the source system. Each entry has `email`, `role` and optional `fullName` fields. */ KeywordField SMUS_PROJECT_SSO_USERS = new KeywordField("smusProjectSsoUsers", "smusProjectSsoUsers"); /** Status of the SageMaker Unified Studio project. */ @@ -389,6 +389,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -743,7 +746,7 @@ default SortedSet getSchemaRegistrySubjects() { /** Amazon S3 location of the SageMaker Unified Studio project. */ String getSmusProjectS3Location(); - /** SSO users associated with the SageMaker Unified Studio project, sourced from the source system. Each entry has `email` and `role` fields. */ + /** SSO users associated with the SageMaker Unified Studio project, sourced from the source system. Each entry has `email`, `role` and optional `fullName` fields. */ List getSmusProjectSsoUsers(); /** Status of the SageMaker Unified Studio project. */ diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioPublishedAsset.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioPublishedAsset.java index 63e852a070..2bc0e7cabb 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioPublishedAsset.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioPublishedAsset.java @@ -15,6 +15,7 @@ import com.atlan.model.enums.SourceCostUnitType; import com.atlan.model.fields.NumericField; import com.atlan.model.fields.RelationField; +import com.atlan.model.fields.TextField; import com.atlan.model.relations.RelationshipAttributes; import com.atlan.model.relations.UniqueAttributes; import com.atlan.model.structs.AssetExternalDQMetadata; @@ -45,6 +46,9 @@ public interface ISageMakerUnifiedStudioPublishedAsset { /** Project containing the published asset. */ RelationField SMUS_PROJECT = new RelationField("smusProject"); + /** Asset filters configured for the published asset in SageMaker Unified Studio, as a JSON-serialized array. Each entry represents a row-level or column-level access restriction (id, name, description, effectiveRowFilter, effectiveColumnNames). */ + TextField SMUS_PUBLISHED_ASSET_FILTERS = new TextField("smusPublishedAssetFilters", "smusPublishedAssetFilters"); + /** Number of subscriptions for the published asset. */ NumericField SMUS_PUBLISHED_ASSET_SUBSCRIPTIONS_COUNT = new NumericField("smusPublishedAssetSubscriptionsCount", "smusPublishedAssetSubscriptionsCount"); @@ -376,6 +380,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -746,6 +753,9 @@ default ISageMakerUnifiedStudioProject getSmusProject() { /** Unique identifier of the SageMaker Unified Studio project. */ String getSmusProjectId(); + /** Asset filters configured for the published asset in SageMaker Unified Studio, as a JSON-serialized array. Each entry represents a row-level or column-level access restriction (id, name, description, effectiveRowFilter, effectiveColumnNames). */ + String getSmusPublishedAssetFilters(); + /** Number of subscriptions for the published asset. */ Long getSmusPublishedAssetSubscriptionsCount(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioSubscribedAsset.java b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioSubscribedAsset.java index e3f4e76ce6..9a22a93f30 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioSubscribedAsset.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISageMakerUnifiedStudioSubscribedAsset.java @@ -405,6 +405,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISalesforce.java b/sdk/src/main/java/com/atlan/model/assets/ISalesforce.java index 5e2c505c32..82553c9bc7 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISalesforce.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISalesforce.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISalesforceDashboard.java b/sdk/src/main/java/com/atlan/model/assets/ISalesforceDashboard.java index 0389209046..cca0112c3d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISalesforceDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISalesforceDashboard.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISalesforceField.java b/sdk/src/main/java/com/atlan/model/assets/ISalesforceField.java index a2c405a241..6f0cdf2912 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISalesforceField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISalesforceField.java @@ -427,6 +427,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISalesforceObject.java b/sdk/src/main/java/com/atlan/model/assets/ISalesforceObject.java index 18e05b299c..6ade4ea89c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISalesforceObject.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISalesforceObject.java @@ -391,6 +391,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISalesforceOrganization.java b/sdk/src/main/java/com/atlan/model/assets/ISalesforceOrganization.java index d0c54721c0..e72ef9dc14 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISalesforceOrganization.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISalesforceOrganization.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISalesforceReport.java b/sdk/src/main/java/com/atlan/model/assets/ISalesforceReport.java index e22d322af0..df186d7c68 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISalesforceReport.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISalesforceReport.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloud.java b/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloud.java new file mode 100644 index 0000000000..172bf9c66f --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloud.java @@ -0,0 +1,932 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Base class for SAP Analytics Cloud assets. Inherits the SAP-wide attributes (technicalName, logicalName, packageName, componentName, dataType, fieldCount, fieldOrder) so cross-SAP queries traverse SAP Analytics Cloud alongside SAP ERP, SAP BW and SAP Datasphere. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface ISapAnalyticsCloud { + + public static final String TYPE_NAME = "SapAnalyticsCloud"; + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + KeywordField SAP_ANALYTICS_CLOUD_OBJECT_ID = + new KeywordField("sapAnalyticsCloudObjectId", "sapAnalyticsCloudObjectId"); + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + KeywordField SAP_ANALYTICS_CLOUD_PARENT_FOLDER_NAME = + new KeywordField("sapAnalyticsCloudParentFolderName", "sapAnalyticsCloudParentFolderName"); + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + KeywordField SAP_ANALYTICS_CLOUD_PARENT_FOLDER_QUALIFIED_NAME = new KeywordField( + "sapAnalyticsCloudParentFolderQualifiedName", "sapAnalyticsCloudParentFolderQualifiedName"); + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + KeywordField SAP_ANALYTICS_CLOUD_REPOSITORY_PARTITION = + new KeywordField("sapAnalyticsCloudRepositoryPartition", "sapAnalyticsCloudRepositoryPartition"); + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + KeywordField SAP_ANALYTICS_CLOUD_RESOURCE_ID = + new KeywordField("sapAnalyticsCloudResourceId", "sapAnalyticsCloudResourceId"); + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + KeywordField SAP_ANALYTICS_CLOUD_WORKSPACE_ID = + new KeywordField("sapAnalyticsCloudWorkspaceId", "sapAnalyticsCloudWorkspaceId"); + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + KeywordField SAP_ANALYTICS_CLOUD_WORKSPACE_NAME = + new KeywordField("sapAnalyticsCloudWorkspaceName", "sapAnalyticsCloudWorkspaceName"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Unique identifier of the dataset this asset belongs to. */ + String getCatalogDatasetGuid(); + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + String getSapAnalyticsCloudObjectId(); + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + String getSapAnalyticsCloudParentFolderName(); + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + String getSapAnalyticsCloudParentFolderQualifiedName(); + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + String getSapAnalyticsCloudRepositoryPartition(); + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + String getSapAnalyticsCloudResourceId(); + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + String getSapAnalyticsCloudWorkspaceId(); + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + String getSapAnalyticsCloudWorkspaceName(); + + /** Name of the SAP component, representing a specific functional area in SAP. */ + String getSapComponentName(); + + /** SAP-specific data types. */ + String getSapDataType(); + + /** Represents the total number of fields, columns, or child assets present in a given SAP asset. */ + Long getSapFieldCount(); + + /** Indicates the sequential position of a field, column, or child asset within its parent SAP asset, starting from 1. */ + Integer getSapFieldOrder(); + + /** Logical, business-friendly identifier for SAP data objects, aligned with business terminology and concepts. */ + String getSapLogicalName(); + + /** Name of the SAP package, representing a logical grouping of related SAP data objects. */ + String getSapPackageName(); + + /** Technical identifier for SAP data objects, used for integration and internal reference. */ + String getSapTechnicalName(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudColumn.java b/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudColumn.java new file mode 100644 index 0000000000..92fd99faec --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudColumn.java @@ -0,0 +1,1251 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.fields.RelationField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetHistogram; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.ColumnValueFrequencyMap; +import com.atlan.model.structs.Histogram; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Column of a SAP Analytics Cloud model. Depending on its role a column is the fact table itself, a measure or dimension of that fact table, or an attribute or hierarchy level of a dimension. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface ISapAnalyticsCloudColumn { + + public static final String TYPE_NAME = "SapAnalyticsCloudColumn"; + + /** Model in which this column is defined. */ + RelationField SAP_ANALYTICS_CLOUD_MODEL = new RelationField("sapAnalyticsCloudModel"); + + /** Simple name of the SAP Analytics Cloud model in which this column exists. */ + KeywordField SAP_ANALYTICS_CLOUD_MODEL_NAME = + new KeywordField("sapAnalyticsCloudModelName", "sapAnalyticsCloudModelName"); + + /** Unique name of the SAP Analytics Cloud model in which this column exists. */ + KeywordField SAP_ANALYTICS_CLOUD_MODEL_QUALIFIED_NAME = + new KeywordField("sapAnalyticsCloudModelQualifiedName", "sapAnalyticsCloudModelQualifiedName"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + String getCalculationViewName(); + + /** Unique name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + String getCalculationViewQualifiedName(); + + /** Unique identifier of the dataset this asset belongs to. */ + String getCatalogDatasetGuid(); + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Type of dimension as classified by AI analysis, for example: time, categorical, geographic. */ + String getColumnAiInsightsDimensionType(); + + /** Qualified name of the column in another table that this column likely references as a foreign key, inferred by AI analysis of query patterns. */ + String getColumnAiInsightsForeignKeyColumnQualifiedName(); + + /** When true, this column is identified as a dimension by AI analysis of query patterns. */ + Boolean getColumnAiInsightsIsDimension(); + + /** When true, this column is identified as a measure/calculated column by AI analysis of query patterns. */ + Boolean getColumnAiInsightsIsMeasure(); + + /** Type of measure/calculated column as classified by AI analysis, for example: base, calculated, derived. */ + String getColumnAiInsightsMeasureType(); + + /** Average value in this column. */ + Double getColumnAverage(); + + /** Average length of values in a string column. */ + Double getColumnAverageLength(); + + /** Average length of values in a string column. */ + Double getColumnAverageLengthValue(); + + /** Average value in this column. */ + Double getColumnAverageValue(); + + /** Compression type of this column. */ + String getColumnCompression(); + + /** Level of nesting of this column, used for STRUCT and NESTED columns. */ + Integer getColumnDepthLevel(); + + /** Number of rows that contain distinct values. */ + Integer getColumnDistinctValuesCount(); + + /** Number of rows that contain distinct values. */ + Long getColumnDistinctValuesCountLong(); + + /** Percentage of rows in a column that contain distinct values. */ + Double getColumnDistinctValuesPercentage(); + + /** Detailed information representing a histogram of values for a column. */ + AssetHistogram getColumnDistributionHistogram(); + + /** Number of rows that contain duplicate values. */ + Integer getColumnDuplicateValuesCount(); + + /** Number of rows that contain duplicate values. */ + Long getColumnDuplicateValuesCountLong(); + + /** Encoding type of this column. */ + String getColumnEncoding(); + + /** List of top-level upstream nested columns. */ + List> getColumnHierarchy(); + + /** List of values in a histogram that represents the contents of this column. */ + Histogram getColumnHistogram(); + + /** When true, this column is of type measure/calculated. */ + Boolean getColumnIsMeasure(); + + /** Greatest value in a numeric column. */ + Double getColumnMax(); + + /** Greatest value in a numeric column. */ + Double getColumnMaxValue(); + + /** Length of the longest value in a string column. */ + Integer getColumnMaximumStringLength(); + + /** List of the greatest values in a column. */ + SortedSet getColumnMaxs(); + + /** Arithmetic mean of the values in a numeric column. */ + Double getColumnMean(); + + /** Arithmetic mean of the values in a numeric column. */ + Double getColumnMeanValue(); + + /** The type of measure/calculated column this is, eg: base, calculated, derived. */ + String getColumnMeasureType(); + + /** Calculated median of the values in a numeric column. */ + Double getColumnMedian(); + + /** Calculated median of the values in a numeric column. */ + Double getColumnMedianValue(); + + /** Least value in a numeric column. */ + Double getColumnMin(); + + /** Least value in a numeric column. */ + Double getColumnMinValue(); + + /** Length of the shortest value in a string column. */ + Integer getColumnMinimumStringLength(); + + /** List of the least values in a column. */ + SortedSet getColumnMins(); + + /** Number of rows in a column that do not contain content. */ + Integer getColumnMissingValuesCount(); + + /** Number of rows in a column that do not contain content. */ + Long getColumnMissingValuesCountLong(); + + /** Percentage of rows in a column that do not contain content. */ + Double getColumnMissingValuesPercentage(); + + /** Calculated standard deviation of the values in a numeric column. */ + Double getColumnStandardDeviation(); + + /** Calculated standard deviation of the values in a numeric column. */ + Double getColumnStandardDeviationValue(); + + /** Calculated sum of the values in a numeric column. */ + Double getColumnSum(); + + /** Calculated sum of the values in a numeric column. */ + Double getColumnSumValue(); + + /** List of top values in this column. */ + List getColumnTopValues(); + + /** Number of rows in which a value in this column appears only once. */ + Integer getColumnUniqueValuesCount(); + + /** Number of rows in which a value in this column appears only once. */ + Long getColumnUniqueValuesCountLong(); + + /** Ratio indicating how unique data in this column is: 0 indicates that all values are the same, 100 indicates that all values in this column are unique. */ + Double getColumnUniquenessPercentage(); + + /** Calculated variance of the values in a numeric column. */ + Double getColumnVariance(); + + /** Calculated variance of the values in a numeric column. */ + Double getColumnVarianceValue(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Data type of values in this column. */ + String getDataType(); + + /** Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + String getDatabaseName(); + + /** Unique name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + String getDatabaseQualifiedName(); + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Default value for this column. */ + String getDefaultValue(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this column is a clustered column (true) or not (false). */ + Boolean getIsClustered(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this column is a distribution column (true) or not (false). */ + Boolean getIsDist(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** When true, this column is a foreign key to another table. NOTE: this must be true when using the foreignKeyTo relationship to specify columns that refer to this column as a foreign key. */ + Boolean getIsForeign(); + + /** When true, this column is indexed in the database. */ + Boolean getIsIndexed(); + + /** When true, the values in this column can be null. */ + Boolean getIsNullable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Whether this column is a partition column (true) or not (false). */ + Boolean getIsPartition(); + + /** Whether this column is pinned (true) or not (false). */ + Boolean getIsPinned(); + + /** When true, this column is the primary key for the table. */ + Boolean getIsPrimary(); + + /** Whether this asset has been profiled (true) or not (false). */ + Boolean getIsProfiled(); + + /** Whether this column is a sort column (true) or not (false). */ + Boolean getIsSort(); + + /** Time (epoch) at which this asset was last profiled, in milliseconds. */ + Long getLastProfiledAt(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** Maximum length of a value in this column. */ + Long getMaxLength(); + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Number of columns nested within this (STRUCT or NESTED) column. */ + Integer getNestedColumnCount(); + + /** Order (position) in which this column appears in the nested Column (nest level starts at 1). */ + String getNestedColumnOrder(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Simple name of the cosmos/mongo collection in which this SQL asset (column) exists, or empty if it does not exist within a cosmos/mongo collection. */ + String getNosqlCollectionName(); + + /** Unique name of the cosmos/mongo collection in which this SQL asset (column) exists, or empty if it does not exist within a cosmos/mongo collection. */ + String getNosqlCollectionQualifiedName(); + + /** Number of digits allowed to the right of the decimal point. */ + Double getNumericScale(); + + /** Order (position) in which this column appears in the table (starting at 1). */ + Integer getOrder(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Simple name of the column this column is nested within, for STRUCT and NESTED columns. */ + String getParentColumnName(); + + /** Unique name of the column this column is nested within, for STRUCT and NESTED columns. */ + String getParentColumnQualifiedName(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Order (position) of this partition column in the table. */ + Integer getPartitionOrder(); + + /** Time (epoch) at which this column was pinned, in milliseconds. */ + Long getPinnedAt(); + + /** User who pinned this column. */ + String getPinnedBy(); + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Total number of digits allowed, when the dataType is numeric. */ + Integer getPrecision(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** Number of times this asset has been queried. */ + Long getQueryCount(); + + /** Time (epoch) at which the query count was last updated, in milliseconds. */ + Long getQueryCountUpdatedAt(); + + /** Number of unique users who have queried this asset. */ + Long getQueryUserCount(); + + /** Map of unique users who have queried this asset to the number of times they have queried it. */ + Map getQueryUserMap(); + + /** Raw data type definition of this column. */ + String getRawDataTypeDefinition(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** Model in which this column is defined. */ + default ISapAnalyticsCloudModel getSapAnalyticsCloudModel() { + return null; + } + + /** Simple name of the SAP Analytics Cloud model in which this column exists. */ + String getSapAnalyticsCloudModelName(); + + /** Unique name of the SAP Analytics Cloud model in which this column exists. */ + String getSapAnalyticsCloudModelQualifiedName(); + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + String getSapAnalyticsCloudObjectId(); + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + String getSapAnalyticsCloudParentFolderName(); + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + String getSapAnalyticsCloudParentFolderQualifiedName(); + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + String getSapAnalyticsCloudRepositoryPartition(); + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + String getSapAnalyticsCloudResourceId(); + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + String getSapAnalyticsCloudWorkspaceId(); + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + String getSapAnalyticsCloudWorkspaceName(); + + /** Name of the SAP component, representing a specific functional area in SAP. */ + String getSapComponentName(); + + /** SAP-specific data types. */ + String getSapDataType(); + + /** Represents the total number of fields, columns, or child assets present in a given SAP asset. */ + Long getSapFieldCount(); + + /** Indicates the sequential position of a field, column, or child asset within its parent SAP asset, starting from 1. */ + Integer getSapFieldOrder(); + + /** Logical, business-friendly identifier for SAP data objects, aligned with business terminology and concepts. */ + String getSapLogicalName(); + + /** Name of the SAP package, representing a logical grouping of related SAP data objects. */ + String getSapPackageName(); + + /** Technical identifier for SAP data objects, used for integration and internal reference. */ + String getSapTechnicalName(); + + /** Simple name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + String getSchemaName(); + + /** Unique name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + String getSchemaQualifiedName(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Unique name of the context in which the model versions exist, or empty if it does not exist within an AI model context. */ + String getSqlAIModelContextQualifiedName(); + + /** Time (epoch) at which this asset was last analyzed for AI insights, in milliseconds. */ + Long getSqlAiInsightsLastAnalyzedAt(); + + /** Number of popular business questions associated with this asset. */ + Integer getSqlAiInsightsPopularBusinessQuestionCount(); + + /** Number of popular filter patterns associated with this asset. */ + Integer getSqlAiInsightsPopularFilterCount(); + + /** Number of popular join patterns associated with this asset. */ + Integer getSqlAiInsightsPopularJoinCount(); + + /** Number of relationship insights associated with this asset. */ + Integer getSqlAiInsightsRelationshipCount(); + + /** Identifier of the Coalesce environment. */ + String getSqlCoalesceEnvironmentId(); + + /** Name of the Coalesce environment. */ + String getSqlCoalesceEnvironmentName(); + + /** Time (epoch) at which the Coalesce node that materialized this asset last ran, in milliseconds. */ + Long getSqlCoalesceLastRunAt(); + + /** Status of the Coalesce run. One of: success, failure, cancelled, or skipped. */ + String getSqlCoalesceLastRunStatus(); + + /** Status of the Coalesce node for a given run. */ + String getSqlCoalesceNodeStatus(); + + /** Type of the Coalesce node. */ + String getSqlCoalesceNodeType(); + + /** Identifier of the Coalesce project. */ + String getSqlCoalesceProjectId(); + + /** Name of the Coalesce project. */ + String getSqlCoalesceProjectName(); + + /** Whether this asset has any AI insights data available. */ + Boolean getSqlHasAiInsights(); + + /** Whether this asset is secure (true) or not (false). */ + Boolean getSqlIsSecure(); + + /** Qualified names of data shares this asset is granted to. */ + SortedSet getSqlShareQualifiedNames(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Sub-data type of this column. */ + String getSubDataType(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Simple name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + String getTableName(); + + /** Unique name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + String getTableQualifiedName(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** Validations for this column. */ + Map getValidations(); + + /** Simple name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + String getViewName(); + + /** Unique name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + String getViewQualifiedName(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudFolder.java b/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudFolder.java new file mode 100644 index 0000000000..3a09dd6165 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudFolder.java @@ -0,0 +1,936 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.RelationField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Folder in the SAP Analytics Cloud file repository. Folders nest to arbitrary depth and are the organizational container for stories and models. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface ISapAnalyticsCloudFolder { + + public static final String TYPE_NAME = "SapAnalyticsCloudFolder"; + + /** Models held in this folder. */ + RelationField SAP_ANALYTICS_CLOUD_MODELS = new RelationField("sapAnalyticsCloudModels"); + + /** Folder containing this folder. */ + RelationField SAP_ANALYTICS_CLOUD_PARENT_FOLDER = new RelationField("sapAnalyticsCloudParentFolder"); + + /** Stories held in this folder. */ + RelationField SAP_ANALYTICS_CLOUD_STORIES = new RelationField("sapAnalyticsCloudStories"); + + /** Folders nested within this folder. */ + RelationField SAP_ANALYTICS_CLOUD_SUB_FOLDERS = new RelationField("sapAnalyticsCloudSubFolders"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Unique identifier of the dataset this asset belongs to. */ + String getCatalogDatasetGuid(); + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** Models held in this folder. */ + default SortedSet getSapAnalyticsCloudModels() { + return null; + } + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + String getSapAnalyticsCloudObjectId(); + + /** Folder containing this folder. */ + default ISapAnalyticsCloudFolder getSapAnalyticsCloudParentFolder() { + return null; + } + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + String getSapAnalyticsCloudParentFolderName(); + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + String getSapAnalyticsCloudParentFolderQualifiedName(); + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + String getSapAnalyticsCloudRepositoryPartition(); + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + String getSapAnalyticsCloudResourceId(); + + /** Stories held in this folder. */ + default SortedSet getSapAnalyticsCloudStories() { + return null; + } + + /** Folders nested within this folder. */ + default SortedSet getSapAnalyticsCloudSubFolders() { + return null; + } + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + String getSapAnalyticsCloudWorkspaceId(); + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + String getSapAnalyticsCloudWorkspaceName(); + + /** Name of the SAP component, representing a specific functional area in SAP. */ + String getSapComponentName(); + + /** SAP-specific data types. */ + String getSapDataType(); + + /** Represents the total number of fields, columns, or child assets present in a given SAP asset. */ + Long getSapFieldCount(); + + /** Indicates the sequential position of a field, column, or child asset within its parent SAP asset, starting from 1. */ + Integer getSapFieldOrder(); + + /** Logical, business-friendly identifier for SAP data objects, aligned with business terminology and concepts. */ + String getSapLogicalName(); + + /** Name of the SAP package, representing a logical grouping of related SAP data objects. */ + String getSapPackageName(); + + /** Technical identifier for SAP data objects, used for integration and internal reference. */ + String getSapTechnicalName(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudModel.java b/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudModel.java new file mode 100644 index 0000000000..20c755119e --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudModel.java @@ -0,0 +1,1006 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.fields.NumericField; +import com.atlan.model.fields.RelationField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Analytic or planning model in SAP Analytics Cloud. A model is a multidimensional object composed of a fact table, measures, dimensions and hierarchies, whose data is either imported into SAP Analytics Cloud or queried live from a remote system. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface ISapAnalyticsCloudModel { + + public static final String TYPE_NAME = "SapAnalyticsCloudModel"; + + /** Columns defined within this model. */ + RelationField SAP_ANALYTICS_CLOUD_COLUMNS = new RelationField("sapAnalyticsCloudColumns"); + + /** How this model reaches its data, as reported by the source. IMPORT when the data is acquired into SAP Analytics Cloud and stored there, LIVE when it stays in a remote system and is queried live over a connection. */ + KeywordField SAP_ANALYTICS_CLOUD_DATA_ACCESS_MODE = + new KeywordField("sapAnalyticsCloudDataAccessMode", "sapAnalyticsCloudDataAccessMode"); + + /** Folder containing this model. */ + RelationField SAP_ANALYTICS_CLOUD_FOLDER = new RelationField("sapAnalyticsCloudFolder"); + + /** Host of the remote system a live model reads from. Empty for imported models. */ + KeywordField SAP_ANALYTICS_CLOUD_LIVE_CONNECTION_HOST = + new KeywordField("sapAnalyticsCloudLiveConnectionHost", "sapAnalyticsCloudLiveConnectionHost"); + + /** Identifier of the remote connection a live model reads from. Empty for imported models. */ + KeywordField SAP_ANALYTICS_CLOUD_LIVE_CONNECTION_ID = + new KeywordField("sapAnalyticsCloudLiveConnectionId", "sapAnalyticsCloudLiveConnectionId"); + + /** Simple name of the remote connection a live model reads from. Empty for imported models. */ + KeywordField SAP_ANALYTICS_CLOUD_LIVE_CONNECTION_NAME = + new KeywordField("sapAnalyticsCloudLiveConnectionName", "sapAnalyticsCloudLiveConnectionName"); + + /** Port of the remote system a live model reads from. Empty for imported models. */ + NumericField SAP_ANALYTICS_CLOUD_LIVE_CONNECTION_PORT = + new NumericField("sapAnalyticsCloudLiveConnectionPort", "sapAnalyticsCloudLiveConnectionPort"); + + /** Protocol used to reach the remote system a live model reads from, such as HTTPS. Empty for imported models. */ + KeywordField SAP_ANALYTICS_CLOUD_LIVE_CONNECTION_PROTOCOL = + new KeywordField("sapAnalyticsCloudLiveConnectionProtocol", "sapAnalyticsCloudLiveConnectionProtocol"); + + /** Type of the remote system a live model reads from, such as DWC for SAP Datasphere. Empty for imported models. */ + KeywordField SAP_ANALYTICS_CLOUD_LIVE_CONNECTION_SYSTEM_TYPE = + new KeywordField("sapAnalyticsCloudLiveConnectionSystemType", "sapAnalyticsCloudLiveConnectionSystemType"); + + /** Type of the remote connection a live model reads from, such as DIRECT. Empty for imported models. */ + KeywordField SAP_ANALYTICS_CLOUD_LIVE_CONNECTION_TYPE = + new KeywordField("sapAnalyticsCloudLiveConnectionType", "sapAnalyticsCloudLiveConnectionType"); + + /** Model identifier reported by the SAP Analytics Cloud tenant APIs, which differs from the file-repository resource identifier for live models. */ + KeywordField SAP_ANALYTICS_CLOUD_MODEL_ID = + new KeywordField("sapAnalyticsCloudModelId", "sapAnalyticsCloudModelId"); + + /** Whether this model is an analytic model or a planning model, as reported by the source. ANALYTIC for a read-only model used for analysis and reporting, PLANNING for a model that supports write-back, versions and planning operations. */ + KeywordField SAP_ANALYTICS_CLOUD_MODEL_KIND = + new KeywordField("sapAnalyticsCloudModelKind", "sapAnalyticsCloudModelKind"); + + /** Identifier of the OData provider that exposes this model's metadata. This is the key that joins a model to its columns. */ + KeywordField SAP_ANALYTICS_CLOUD_PROVIDER_ID = + new KeywordField("sapAnalyticsCloudProviderId", "sapAnalyticsCloudProviderId"); + + /** Number of SAP Analytics Cloud stories that consume this model, as reported by the source. */ + NumericField SAP_ANALYTICS_CLOUD_STORY_COUNT = + new NumericField("sapAnalyticsCloudStoryCount", "sapAnalyticsCloudStoryCount"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Unique identifier of the dataset this asset belongs to. */ + String getCatalogDatasetGuid(); + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** Columns defined within this model. */ + default SortedSet getSapAnalyticsCloudColumns() { + return null; + } + + /** How this model reaches its data, as reported by the source. IMPORT when the data is acquired into SAP Analytics Cloud and stored there, LIVE when it stays in a remote system and is queried live over a connection. */ + String getSapAnalyticsCloudDataAccessMode(); + + /** Folder containing this model. */ + default ISapAnalyticsCloudFolder getSapAnalyticsCloudFolder() { + return null; + } + + /** Host of the remote system a live model reads from. Empty for imported models. */ + String getSapAnalyticsCloudLiveConnectionHost(); + + /** Identifier of the remote connection a live model reads from. Empty for imported models. */ + String getSapAnalyticsCloudLiveConnectionId(); + + /** Simple name of the remote connection a live model reads from. Empty for imported models. */ + String getSapAnalyticsCloudLiveConnectionName(); + + /** Port of the remote system a live model reads from. Empty for imported models. */ + Integer getSapAnalyticsCloudLiveConnectionPort(); + + /** Protocol used to reach the remote system a live model reads from, such as HTTPS. Empty for imported models. */ + String getSapAnalyticsCloudLiveConnectionProtocol(); + + /** Type of the remote system a live model reads from, such as DWC for SAP Datasphere. Empty for imported models. */ + String getSapAnalyticsCloudLiveConnectionSystemType(); + + /** Type of the remote connection a live model reads from, such as DIRECT. Empty for imported models. */ + String getSapAnalyticsCloudLiveConnectionType(); + + /** Model identifier reported by the SAP Analytics Cloud tenant APIs, which differs from the file-repository resource identifier for live models. */ + String getSapAnalyticsCloudModelId(); + + /** Whether this model is an analytic model or a planning model, as reported by the source. ANALYTIC for a read-only model used for analysis and reporting, PLANNING for a model that supports write-back, versions and planning operations. */ + String getSapAnalyticsCloudModelKind(); + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + String getSapAnalyticsCloudObjectId(); + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + String getSapAnalyticsCloudParentFolderName(); + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + String getSapAnalyticsCloudParentFolderQualifiedName(); + + /** Identifier of the OData provider that exposes this model's metadata. This is the key that joins a model to its columns. */ + String getSapAnalyticsCloudProviderId(); + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + String getSapAnalyticsCloudRepositoryPartition(); + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + String getSapAnalyticsCloudResourceId(); + + /** Number of SAP Analytics Cloud stories that consume this model, as reported by the source. */ + Long getSapAnalyticsCloudStoryCount(); + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + String getSapAnalyticsCloudWorkspaceId(); + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + String getSapAnalyticsCloudWorkspaceName(); + + /** Name of the SAP component, representing a specific functional area in SAP. */ + String getSapComponentName(); + + /** SAP-specific data types. */ + String getSapDataType(); + + /** Represents the total number of fields, columns, or child assets present in a given SAP asset. */ + Long getSapFieldCount(); + + /** Indicates the sequential position of a field, column, or child asset within its parent SAP asset, starting from 1. */ + Integer getSapFieldOrder(); + + /** Logical, business-friendly identifier for SAP data objects, aligned with business terminology and concepts. */ + String getSapLogicalName(); + + /** Name of the SAP package, representing a logical grouping of related SAP data objects. */ + String getSapPackageName(); + + /** Technical identifier for SAP data objects, used for integration and internal reference. */ + String getSapTechnicalName(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudStory.java b/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudStory.java new file mode 100644 index 0000000000..f42ccc06be --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/ISapAnalyticsCloudStory.java @@ -0,0 +1,928 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.BooleanField; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.fields.RelationField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Story in SAP Analytics Cloud. A story is an interactive presentation built over one or more models, and can itself be composed of other stories or act as a template for new ones. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface ISapAnalyticsCloudStory { + + public static final String TYPE_NAME = "SapAnalyticsCloudStory"; + + /** Folder containing this story. */ + RelationField SAP_ANALYTICS_CLOUD_FOLDER = new RelationField("sapAnalyticsCloudFolder"); + + /** Whether this story is one of the samples shipped with SAP Analytics Cloud rather than tenant content. */ + BooleanField SAP_ANALYTICS_CLOUD_IS_SAMPLE = + new BooleanField("sapAnalyticsCloudIsSample", "sapAnalyticsCloudIsSample"); + + /** Subtype of this story as reported by the source, such as COMPOSITE for a story that embeds other stories or TEMPLATE for a story used as the starting point for new ones. Empty for an ordinary story. */ + KeywordField SAP_ANALYTICS_CLOUD_STORY_KIND = + new KeywordField("sapAnalyticsCloudStoryKind", "sapAnalyticsCloudStoryKind"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Unique identifier of the dataset this asset belongs to. */ + String getCatalogDatasetGuid(); + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** Folder containing this story. */ + default ISapAnalyticsCloudFolder getSapAnalyticsCloudFolder() { + return null; + } + + /** Whether this story is one of the samples shipped with SAP Analytics Cloud rather than tenant content. */ + Boolean getSapAnalyticsCloudIsSample(); + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + String getSapAnalyticsCloudObjectId(); + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + String getSapAnalyticsCloudParentFolderName(); + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + String getSapAnalyticsCloudParentFolderQualifiedName(); + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + String getSapAnalyticsCloudRepositoryPartition(); + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + String getSapAnalyticsCloudResourceId(); + + /** Subtype of this story as reported by the source, such as COMPOSITE for a story that embeds other stories or TEMPLATE for a story used as the starting point for new ones. Empty for an ordinary story. */ + String getSapAnalyticsCloudStoryKind(); + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + String getSapAnalyticsCloudWorkspaceId(); + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + String getSapAnalyticsCloudWorkspaceName(); + + /** Name of the SAP component, representing a specific functional area in SAP. */ + String getSapComponentName(); + + /** SAP-specific data types. */ + String getSapDataType(); + + /** Represents the total number of fields, columns, or child assets present in a given SAP asset. */ + Long getSapFieldCount(); + + /** Indicates the sequential position of a field, column, or child asset within its parent SAP asset, starting from 1. */ + Integer getSapFieldOrder(); + + /** Logical, business-friendly identifier for SAP data objects, aligned with business terminology and concepts. */ + String getSapLogicalName(); + + /** Name of the SAP package, representing a logical grouping of related SAP data objects. */ + String getSapPackageName(); + + /** Technical identifier for SAP data objects, used for integration and internal reference. */ + String getSapTechnicalName(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapDatasphereReplicationFlow.java b/sdk/src/main/java/com/atlan/model/assets/ISapDatasphereReplicationFlow.java new file mode 100644 index 0000000000..5604a8602c --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/ISapDatasphereReplicationFlow.java @@ -0,0 +1,956 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.fields.KeywordTextField; +import com.atlan.model.fields.NumericField; +import com.atlan.model.fields.RelationField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * Instance of a SAP Datasphere replication flow in Atlan. A replication flow is a trigger that moves data from sources outside Datasphere (such as S/4HANA, SAP ECC, SAP BW, or S3) into tables created within a Datasphere space, which is modelled as a SQL Schema in Atlan. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface ISapDatasphereReplicationFlow { + + public static final String TYPE_NAME = "SapDatasphereReplicationFlow"; + + /** Number of datasets moved by this replication flow. */ + NumericField SAP_DATASPHERE_REPLICATION_FLOW_DATASET_COUNT = + new NumericField("sapDatasphereReplicationFlowDatasetCount", "sapDatasphereReplicationFlowDatasetCount"); + + /** Type of load performed by this replication flow, such as INITIAL or INITIAL_AND_DELTA. */ + KeywordField SAP_DATASPHERE_REPLICATION_FLOW_LOAD_TYPE = + new KeywordField("sapDatasphereReplicationFlowLoadType", "sapDatasphereReplicationFlowLoadType"); + + /** Name of the source connection from which this replication flow reads data, such as an S/4HANA, SAP ECC, SAP BW, or S3 connection outside Datasphere. */ + KeywordField SAP_DATASPHERE_REPLICATION_FLOW_SOURCE_CONNECTION = new KeywordField( + "sapDatasphereReplicationFlowSourceConnection", "sapDatasphereReplicationFlowSourceConnection"); + + /** Simple name of the Datasphere space in which this replication flow runs and creates its target tables. */ + KeywordTextField SAP_DATASPHERE_REPLICATION_FLOW_SPACE_NAME = new KeywordTextField( + "sapDatasphereReplicationFlowSpaceName", + "sapDatasphereReplicationFlowSpaceName.keyword", + "sapDatasphereReplicationFlowSpaceName"); + + /** Unique name of the Datasphere space in which this replication flow runs and creates its target tables. */ + KeywordField SAP_DATASPHERE_REPLICATION_FLOW_SPACE_QUALIFIED_NAME = new KeywordField( + "sapDatasphereReplicationFlowSpaceQualifiedName", "sapDatasphereReplicationFlowSpaceQualifiedName"); + + /** Name of the target connection into which this replication flow writes data, such as the local Datasphere repository. */ + KeywordField SAP_DATASPHERE_REPLICATION_FLOW_TARGET_CONNECTION = new KeywordField( + "sapDatasphereReplicationFlowTargetConnection", "sapDatasphereReplicationFlowTargetConnection"); + + /** Schema (Datasphere space) in which this replication flow creates its target tables. */ + RelationField SAP_DATASPHERE_SCHEMA = new RelationField("sapDatasphereSchema"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Optional error message of the flow run. */ + String getFlowErrorMessage(); + + /** Date and time at which this point in the data processing or orchestration finished. */ + Long getFlowFinishedAt(); + + /** Simple name of the folder in which this asset is contained. */ + String getFlowFolderName(); + + /** Unique name of the folder in which this asset is contained. */ + String getFlowFolderQualifiedName(); + + /** Unique ID for this flow asset, which will remain constant throughout the lifecycle of the asset. */ + String getFlowId(); + + /** Input parameters for the flow run. */ + Map getFlowInputParameters(); + + /** Simple name of the project in which this asset is contained. */ + String getFlowProjectName(); + + /** Unique name of the project in which this asset is contained. */ + String getFlowProjectQualifiedName(); + + /** Simple name of the reusable grouping of operations in which this ephemeral data is contained. */ + String getFlowReusableUnitName(); + + /** Unique name of the reusable grouping of operations in which this ephemeral data is contained. */ + String getFlowReusableUnitQualifiedName(); + + /** Unique ID of the flow run, which could change on subsequent runs of the same flow. */ + String getFlowRunId(); + + /** Schedule for this point in the data processing or orchestration. */ + String getFlowSchedule(); + + /** Date and time at which this point in the data processing or orchestration started. */ + Long getFlowStartedAt(); + + /** Overall status of this point in the data processing or orchestration. */ + String getFlowStatus(); + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** Tasks to which this asset provides input. */ + default SortedSet getInputToAirflowTasks() { + return null; + } + + /** Processes to which this asset provides input. */ + default SortedSet getInputToProcesses() { + return null; + } + + /** TBC */ + default SortedSet getInputToSparkJobs() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Attributes implemented by this asset. */ + default SortedSet getModelImplementedAttributes() { + return null; + } + + /** Entities implemented by this asset. */ + default SortedSet getModelImplementedEntities() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Tasks from which this asset is output. */ + default SortedSet getOutputFromAirflowTasks() { + return null; + } + + /** Processes from which this asset is produced as output. */ + default SortedSet getOutputFromProcesses() { + return null; + } + + /** TBC */ + default SortedSet getOutputFromSparkJobs() { + return null; + } + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Partial fields contained in the asset. */ + default SortedSet getPartialChildFields() { + return null; + } + + /** Partial objects contained in the asset. */ + default SortedSet getPartialChildObjects() { + return null; + } + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** Number of datasets moved by this replication flow. */ + Long getSapDatasphereReplicationFlowDatasetCount(); + + /** Type of load performed by this replication flow, such as INITIAL or INITIAL_AND_DELTA. */ + String getSapDatasphereReplicationFlowLoadType(); + + /** Name of the source connection from which this replication flow reads data, such as an S/4HANA, SAP ECC, SAP BW, or S3 connection outside Datasphere. */ + String getSapDatasphereReplicationFlowSourceConnection(); + + /** Simple name of the Datasphere space in which this replication flow runs and creates its target tables. */ + String getSapDatasphereReplicationFlowSpaceName(); + + /** Unique name of the Datasphere space in which this replication flow runs and creates its target tables. */ + String getSapDatasphereReplicationFlowSpaceQualifiedName(); + + /** Name of the target connection into which this replication flow writes data, such as the local Datasphere repository. */ + String getSapDatasphereReplicationFlowTargetConnection(); + + /** Schema (Datasphere space) in which this replication flow creates its target tables. */ + default ISchema getSapDatasphereSchema() { + return null; + } + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapErpAbapProgram.java b/sdk/src/main/java/com/atlan/model/assets/ISapErpAbapProgram.java index 267234be8e..1c8893e983 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISapErpAbapProgram.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISapErpAbapProgram.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapErpCdsView.java b/sdk/src/main/java/com/atlan/model/assets/ISapErpCdsView.java index 787727f750..fbc8806925 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISapErpCdsView.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISapErpCdsView.java @@ -382,6 +382,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapErpColumn.java b/sdk/src/main/java/com/atlan/model/assets/ISapErpColumn.java index ad4d7c98b8..61c5aee7fe 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISapErpColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISapErpColumn.java @@ -431,6 +431,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapErpComponent.java b/sdk/src/main/java/com/atlan/model/assets/ISapErpComponent.java index 69ebfe01c4..35a8ee41c9 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISapErpComponent.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISapErpComponent.java @@ -392,6 +392,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapErpFioriApp.java b/sdk/src/main/java/com/atlan/model/assets/ISapErpFioriApp.java index 5b944f094f..7f3ca2f8a0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISapErpFioriApp.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISapErpFioriApp.java @@ -395,6 +395,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapErpFunctionModule.java b/sdk/src/main/java/com/atlan/model/assets/ISapErpFunctionModule.java index 53d67dbce0..f2cf5bfd2a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISapErpFunctionModule.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISapErpFunctionModule.java @@ -401,6 +401,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapErpTable.java b/sdk/src/main/java/com/atlan/model/assets/ISapErpTable.java index 1ad708ae2d..b60651a873 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISapErpTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISapErpTable.java @@ -48,6 +48,9 @@ public interface ISapErpTable { /** SAP ERP Tables that are associated with this SAP ERP Component. */ RelationField SAP_ERP_COMPONENT = new RelationField("sapErpComponent"); + /** SAP ERP Tables that are related to this SAP ERP Table. */ + RelationField SAP_ERP_RELATED_TABLES = new RelationField("sapErpRelatedTables"); + /** Defines the delivery class of the SAP ERP table, determining how the table's data is transported and managed during system updates. */ KeywordField SAP_ERP_TABLE_DELIVERY_CLASS = new KeywordField("sapErpTableDeliveryClass", "sapErpTableDeliveryClass"); @@ -379,6 +382,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -717,6 +723,11 @@ default ISapErpComponent getSapErpComponent() { return null; } + /** SAP ERP Tables that are related to this SAP ERP Table. */ + default SortedSet getSapErpRelatedTables() { + return null; + } + /** Defines the delivery class of the SAP ERP table, determining how the table's data is transported and managed during system updates. */ String getSapErpTableDeliveryClass(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapErpTransactionCode.java b/sdk/src/main/java/com/atlan/model/assets/ISapErpTransactionCode.java index 02e5b9ce09..cd0e79068d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISapErpTransactionCode.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISapErpTransactionCode.java @@ -371,6 +371,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISapErpView.java b/sdk/src/main/java/com/atlan/model/assets/ISapErpView.java index 73c86a7593..d56cc2cd86 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISapErpView.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISapErpView.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISchema.java b/sdk/src/main/java/com/atlan/model/assets/ISchema.java index 81210d6a26..b7d5325243 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISchema.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISchema.java @@ -431,6 +431,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistry.java b/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistry.java index 3b875fc3b5..6d9b0883c3 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistry.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistry.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistrySubject.java b/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistrySubject.java index 7b7c2d5383..7af290721d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistrySubject.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistrySubject.java @@ -400,6 +400,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistryVersion.java b/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistryVersion.java index 068e02c2db..4185e42272 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistryVersion.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISchemaRegistryVersion.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISemantic.java b/sdk/src/main/java/com/atlan/model/assets/ISemantic.java index 00122b2f40..145817b095 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISemantic.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISemantic.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISemanticDimension.java b/sdk/src/main/java/com/atlan/model/assets/ISemanticDimension.java index 5e7ea2aab7..a3203dee48 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISemanticDimension.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISemanticDimension.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISemanticEntity.java b/sdk/src/main/java/com/atlan/model/assets/ISemanticEntity.java index eb544055f4..81bb2f8940 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISemanticEntity.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISemanticEntity.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISemanticField.java b/sdk/src/main/java/com/atlan/model/assets/ISemanticField.java index 11c30abc7f..1b6938a52c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISemanticField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISemanticField.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISemanticMeasure.java b/sdk/src/main/java/com/atlan/model/assets/ISemanticMeasure.java index 7c765872dd..98e49ed6c6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISemanticMeasure.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISemanticMeasure.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISemanticModel.java b/sdk/src/main/java/com/atlan/model/assets/ISemanticModel.java index c5b0efaec5..5855588a3b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISemanticModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISemanticModel.java @@ -374,6 +374,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISigma.java b/sdk/src/main/java/com/atlan/model/assets/ISigma.java index 75eed5c450..611401b406 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISigma.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISigma.java @@ -388,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISigmaDataElement.java b/sdk/src/main/java/com/atlan/model/assets/ISigmaDataElement.java index aa3e41bbbe..3a3586f13a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISigmaDataElement.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISigmaDataElement.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISigmaDataElementField.java b/sdk/src/main/java/com/atlan/model/assets/ISigmaDataElementField.java index c839c14455..c9e97b4817 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISigmaDataElementField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISigmaDataElementField.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISigmaDataModel.java b/sdk/src/main/java/com/atlan/model/assets/ISigmaDataModel.java index 331d877a36..2de4953523 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISigmaDataModel.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISigmaDataModel.java @@ -397,6 +397,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISigmaDataModelColumn.java b/sdk/src/main/java/com/atlan/model/assets/ISigmaDataModelColumn.java index 6d0b8e9b27..7805580007 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISigmaDataModelColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISigmaDataModelColumn.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISigmaDataset.java b/sdk/src/main/java/com/atlan/model/assets/ISigmaDataset.java index 92e569faab..363bcfc847 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISigmaDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISigmaDataset.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISigmaDatasetColumn.java b/sdk/src/main/java/com/atlan/model/assets/ISigmaDatasetColumn.java index a4968ce5ed..f466f948fe 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISigmaDatasetColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISigmaDatasetColumn.java @@ -377,6 +377,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISigmaPage.java b/sdk/src/main/java/com/atlan/model/assets/ISigmaPage.java index 0592d30eb2..55244e332c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISigmaPage.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISigmaPage.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISigmaWorkbook.java b/sdk/src/main/java/com/atlan/model/assets/ISigmaWorkbook.java index 2849526fa0..12d72a0979 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISigmaWorkbook.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISigmaWorkbook.java @@ -372,6 +372,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISisense.java b/sdk/src/main/java/com/atlan/model/assets/ISisense.java index ac756fc669..a5793806e9 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISisense.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISisense.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISisenseDashboard.java b/sdk/src/main/java/com/atlan/model/assets/ISisenseDashboard.java index 9d0e9df7aa..1d21aa8e0f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISisenseDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISisenseDashboard.java @@ -386,6 +386,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISisenseDatamodel.java b/sdk/src/main/java/com/atlan/model/assets/ISisenseDatamodel.java index 424a4742b7..0880496da2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISisenseDatamodel.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISisenseDatamodel.java @@ -402,6 +402,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISisenseDatamodelTable.java b/sdk/src/main/java/com/atlan/model/assets/ISisenseDatamodelTable.java index 714cebf072..52c47af669 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISisenseDatamodelTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISisenseDatamodelTable.java @@ -408,6 +408,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISisenseFolder.java b/sdk/src/main/java/com/atlan/model/assets/ISisenseFolder.java index e29a4807b6..678c390f57 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISisenseFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISisenseFolder.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISisenseWidget.java b/sdk/src/main/java/com/atlan/model/assets/ISisenseWidget.java index a4d61f5b99..ab2f3db60d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISisenseWidget.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISisenseWidget.java @@ -398,6 +398,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISkill.java b/sdk/src/main/java/com/atlan/model/assets/ISkill.java index bd9d288cb9..8685ce1417 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISkill.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISkill.java @@ -3,6 +3,7 @@ package com.atlan.model.assets; import com.atlan.model.enums.AgenticLifecycleStatus; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -88,6 +89,9 @@ public interface ISkill { /** List of users who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminUsers(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -406,6 +410,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISkillArtifact.java b/sdk/src/main/java/com/atlan/model/assets/ISkillArtifact.java index 694e5737d6..ad4160e881 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISkillArtifact.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISkillArtifact.java @@ -2,6 +2,7 @@ Copyright 2023 Atlan Pte. Ltd. */ package com.atlan.model.assets; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AssetDQRunStatus; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.AtlanConnectorType; @@ -54,6 +55,9 @@ public interface ISkillArtifact { /** List of users who administer this asset. (This is only used for certain asset types.) */ SortedSet getAdminUsers(); + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + AgenticSource getAgenticSource(); + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ Long getAgenticVersion(); @@ -375,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflake.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflake.java index e6cd656428..0488e81d16 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflake.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflake.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeAIModelContext.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeAIModelContext.java index 42b71cc329..9a6e001320 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeAIModelContext.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeAIModelContext.java @@ -398,6 +398,9 @@ default SortedSet getApplications() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeAIModelVersion.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeAIModelVersion.java index e408d9683f..5cec4d47ed 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeAIModelVersion.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeAIModelVersion.java @@ -411,6 +411,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeDynamicTable.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeDynamicTable.java index e2a5d58195..659b87d5b6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeDynamicTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeDynamicTable.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeListing.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeListing.java index cbcebb4ef8..bea3c8d79f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeListing.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeListing.java @@ -429,6 +429,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakePipe.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakePipe.java index 4a72c1fa54..dcf491d8a8 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakePipe.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakePipe.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticDimension.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticDimension.java index adff340019..bc907ad723 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticDimension.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticDimension.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticFact.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticFact.java index e1191c22d6..4e7eb98358 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticFact.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticFact.java @@ -385,6 +385,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticLogicalTable.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticLogicalTable.java index 8c07a857f9..7b197c5118 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticLogicalTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticLogicalTable.java @@ -401,6 +401,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticMetric.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticMetric.java index 9b0edd3b42..c706492bd4 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticMetric.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticMetric.java @@ -397,6 +397,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticView.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticView.java index 0aa5bfb490..544221b76e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticView.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeSemanticView.java @@ -13,8 +13,8 @@ import com.atlan.model.enums.DataQualityScheduleType; import com.atlan.model.enums.DataQualitySourceSyncStatus; import com.atlan.model.enums.SourceCostUnitType; -import com.atlan.model.fields.KeywordField; import com.atlan.model.fields.RelationField; +import com.atlan.model.fields.TextField; import com.atlan.model.relations.RelationshipAttributes; import com.atlan.model.relations.UniqueAttributes; import com.atlan.model.structs.AssetExternalDQMetadata; @@ -43,7 +43,7 @@ public interface ISnowflakeSemanticView { public static final String TYPE_NAME = "SnowflakeSemanticView"; /** DDL definition of the semantic view (via GET_DDL). */ - KeywordField SNOWFLAKE_DEFINITION = new KeywordField("snowflakeDefinition", "snowflakeDefinition"); + TextField SNOWFLAKE_DEFINITION = new TextField("snowflakeDefinition", "snowflakeDefinition"); /** Logical tables contained in the semantic view. */ RelationField SNOWFLAKE_SEMANTIC_LOGICAL_TABLES = new RelationField("snowflakeSemanticLogicalTables"); @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeShare.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeShare.java index 2b12dd07e3..ad59ed5513 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeShare.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeShare.java @@ -390,6 +390,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeStage.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeStage.java index d81dd53808..c6b4c6a7cd 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeStage.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeStage.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeStream.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeStream.java index dab9297518..2ec0900c6e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeStream.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeStream.java @@ -388,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeTag.java b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeTag.java index 6ee8e1edd5..f8c081f7c8 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISnowflakeTag.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISnowflakeTag.java @@ -369,6 +369,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISoda.java b/sdk/src/main/java/com/atlan/model/assets/ISoda.java index 7fd31847ca..a73b5274be 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISoda.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISoda.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISodaCheck.java b/sdk/src/main/java/com/atlan/model/assets/ISodaCheck.java index 0d5e57fe78..864b358b8d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISodaCheck.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISodaCheck.java @@ -394,6 +394,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISourceTag.java b/sdk/src/main/java/com/atlan/model/assets/ISourceTag.java index 4d0093123c..93c05eed23 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISourceTag.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISourceTag.java @@ -369,6 +369,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISpark.java b/sdk/src/main/java/com/atlan/model/assets/ISpark.java index cd0e16737b..fe47eff08a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISpark.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISpark.java @@ -388,6 +388,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISparkJob.java b/sdk/src/main/java/com/atlan/model/assets/ISparkJob.java index e866a6a92c..465c07324d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISparkJob.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISparkJob.java @@ -383,6 +383,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISqlInsight.java b/sdk/src/main/java/com/atlan/model/assets/ISqlInsight.java index 0504c8416d..bcbd595cb2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISqlInsight.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISqlInsight.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISqlInsightBusinessQuestion.java b/sdk/src/main/java/com/atlan/model/assets/ISqlInsightBusinessQuestion.java index dca7cfe944..620d767f90 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISqlInsightBusinessQuestion.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISqlInsightBusinessQuestion.java @@ -47,6 +47,14 @@ public interface ISqlInsightBusinessQuestion { KeywordField SQL_INSIGHT_BUSINESS_QUESTION_CANONICAL_SQL = new KeywordField("sqlInsightBusinessQuestionCanonicalSQL", "sqlInsightBusinessQuestionCanonicalSQL"); + /** Qualified name of the dataset this business question relates to. */ + KeywordField SQL_INSIGHT_BUSINESS_QUESTION_DATASET_QUALIFIED_NAME = new KeywordField( + "sqlInsightBusinessQuestionDatasetQualifiedName", "sqlInsightBusinessQuestionDatasetQualifiedName"); + + /** Example SQL queries that demonstrate this business question, with usage details. */ + KeywordField SQL_INSIGHT_BUSINESS_QUESTION_EXAMPLE_QUERIES = + new KeywordField("sqlInsightBusinessQuestionExampleQueries", "sqlInsightBusinessQuestionExampleQueries"); + /** Time (epoch) at which this question was last observed, in milliseconds. */ NumericField SQL_INSIGHT_BUSINESS_QUESTION_LAST_SEEN_AT = new NumericField("sqlInsightBusinessQuestionLastSeenAt", "sqlInsightBusinessQuestionLastSeenAt"); @@ -390,6 +398,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); @@ -791,6 +802,12 @@ default SortedSet getSodaChecks() { /** Canonical SQL query that answers this business question. */ String getSqlInsightBusinessQuestionCanonicalSQL(); + /** Qualified name of the dataset this business question relates to. */ + String getSqlInsightBusinessQuestionDatasetQualifiedName(); + + /** Example SQL queries that demonstrate this business question, with usage details. */ + List getSqlInsightBusinessQuestionExampleQueries(); + /** Time (epoch) at which this question was last observed, in milliseconds. */ Long getSqlInsightBusinessQuestionLastSeenAt(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISqlInsightFilter.java b/sdk/src/main/java/com/atlan/model/assets/ISqlInsightFilter.java index c2d9ac7aba..815822ad7d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISqlInsightFilter.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISqlInsightFilter.java @@ -409,6 +409,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISqlInsightJoin.java b/sdk/src/main/java/com/atlan/model/assets/ISqlInsightJoin.java index 1dfb44a042..b817f90199 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISqlInsightJoin.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISqlInsightJoin.java @@ -414,6 +414,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IStakeholder.java b/sdk/src/main/java/com/atlan/model/assets/IStakeholder.java index e6364dc620..c24b758f49 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IStakeholder.java +++ b/sdk/src/main/java/com/atlan/model/assets/IStakeholder.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IStakeholderTitle.java b/sdk/src/main/java/com/atlan/model/assets/IStakeholderTitle.java index b280b47758..e371505027 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IStakeholderTitle.java +++ b/sdk/src/main/java/com/atlan/model/assets/IStakeholderTitle.java @@ -370,6 +370,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IStarburst.java b/sdk/src/main/java/com/atlan/model/assets/IStarburst.java index 8ed5562b18..ce491ab5b4 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IStarburst.java +++ b/sdk/src/main/java/com/atlan/model/assets/IStarburst.java @@ -375,6 +375,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IStarburstDataset.java b/sdk/src/main/java/com/atlan/model/assets/IStarburstDataset.java index 3a5ab901d4..70bcd71809 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IStarburstDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/IStarburstDataset.java @@ -387,6 +387,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IStarburstDatasetColumn.java b/sdk/src/main/java/com/atlan/model/assets/IStarburstDatasetColumn.java index 6c6cb59c00..9c907f0e1a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IStarburstDatasetColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IStarburstDatasetColumn.java @@ -376,6 +376,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISuperset.java b/sdk/src/main/java/com/atlan/model/assets/ISuperset.java index ef79177c64..e41cf08c1a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISuperset.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISuperset.java @@ -373,6 +373,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISupersetChart.java b/sdk/src/main/java/com/atlan/model/assets/ISupersetChart.java index 7d351ea89d..408b09978d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISupersetChart.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISupersetChart.java @@ -377,6 +377,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISupersetDashboard.java b/sdk/src/main/java/com/atlan/model/assets/ISupersetDashboard.java index 205a745ec7..c2d621ce02 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISupersetDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISupersetDashboard.java @@ -402,6 +402,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ISupersetDataset.java b/sdk/src/main/java/com/atlan/model/assets/ISupersetDataset.java index 939d502431..64efb437fa 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ISupersetDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/ISupersetDataset.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITable.java b/sdk/src/main/java/com/atlan/model/assets/ITable.java index a704472982..b6e92d4d23 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITable.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITable.java @@ -473,6 +473,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITablePartition.java b/sdk/src/main/java/com/atlan/model/assets/ITablePartition.java index 6bdbc72ef3..1abda46895 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITablePartition.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITablePartition.java @@ -429,6 +429,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableau.java b/sdk/src/main/java/com/atlan/model/assets/ITableau.java index 4f74ffccb3..c7944e137a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableau.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableau.java @@ -373,6 +373,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauCalculatedField.java b/sdk/src/main/java/com/atlan/model/assets/ITableauCalculatedField.java index dfacbcb76c..952edb7bac 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauCalculatedField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauCalculatedField.java @@ -414,6 +414,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauDashboard.java b/sdk/src/main/java/com/atlan/model/assets/ITableauDashboard.java index 3807578a02..0e51ceae2a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauDashboard.java @@ -401,6 +401,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauDashboardField.java b/sdk/src/main/java/com/atlan/model/assets/ITableauDashboardField.java index 3925291488..2151d9d1dd 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauDashboardField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauDashboardField.java @@ -429,6 +429,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauDatasource.java b/sdk/src/main/java/com/atlan/model/assets/ITableauDatasource.java index dbf26685be..5c8b75386b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauDatasource.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauDatasource.java @@ -420,6 +420,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauDatasourceField.java b/sdk/src/main/java/com/atlan/model/assets/ITableauDatasourceField.java index c47804b4b6..2998c8f3cc 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauDatasourceField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauDatasourceField.java @@ -432,6 +432,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauFlow.java b/sdk/src/main/java/com/atlan/model/assets/ITableauFlow.java index 427f6d43ea..a652690f45 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauFlow.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauFlow.java @@ -395,6 +395,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauMetric.java b/sdk/src/main/java/com/atlan/model/assets/ITableauMetric.java index e88b8c16f4..d9fa01b976 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauMetric.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauMetric.java @@ -386,6 +386,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauProject.java b/sdk/src/main/java/com/atlan/model/assets/ITableauProject.java index 433d2ab5ee..c50cd719aa 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauProject.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauProject.java @@ -403,6 +403,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauSite.java b/sdk/src/main/java/com/atlan/model/assets/ITableauSite.java index 9cf57cac8d..11c1393869 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauSite.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauSite.java @@ -369,6 +369,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauWorkbook.java b/sdk/src/main/java/com/atlan/model/assets/ITableauWorkbook.java index f0baa64d8b..cd1d8a2514 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauWorkbook.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauWorkbook.java @@ -398,6 +398,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauWorksheet.java b/sdk/src/main/java/com/atlan/model/assets/ITableauWorksheet.java index 3ceebc251d..1812272358 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauWorksheet.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauWorksheet.java @@ -401,6 +401,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITableauWorksheetField.java b/sdk/src/main/java/com/atlan/model/assets/ITableauWorksheetField.java index 3c8c049f50..0553da3400 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITableauWorksheetField.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITableauWorksheetField.java @@ -440,6 +440,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITag.java b/sdk/src/main/java/com/atlan/model/assets/ITag.java index 10ea47b48e..282334752e 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITag.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITag.java @@ -380,6 +380,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITagAttachment.java b/sdk/src/main/java/com/atlan/model/assets/ITagAttachment.java index d92f645f10..01c7cd4b5a 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITagAttachment.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITagAttachment.java @@ -374,6 +374,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/ITask.java b/sdk/src/main/java/com/atlan/model/assets/ITask.java index fe2d4498e6..014e1595ca 100644 --- a/sdk/src/main/java/com/atlan/model/assets/ITask.java +++ b/sdk/src/main/java/com/atlan/model/assets/ITask.java @@ -411,6 +411,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IThoughtspot.java b/sdk/src/main/java/com/atlan/model/assets/IThoughtspot.java index 5bdd2a2258..240408d2b6 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IThoughtspot.java +++ b/sdk/src/main/java/com/atlan/model/assets/IThoughtspot.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotAnswer.java b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotAnswer.java index b44ca85ca8..0d5667b4c9 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotAnswer.java +++ b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotAnswer.java @@ -364,6 +364,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotColumn.java b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotColumn.java index d3eefc5f72..14db90cf33 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotColumn.java +++ b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotColumn.java @@ -397,6 +397,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotDashlet.java b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotDashlet.java index ff6bb8e0f0..79225c33b2 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotDashlet.java +++ b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotDashlet.java @@ -379,6 +379,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotLiveboard.java b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotLiveboard.java index 735af62268..bb0c02542f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotLiveboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotLiveboard.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotTable.java b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotTable.java index e466681fbd..ef304cc583 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotTable.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotView.java b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotView.java index 3e902d4ab8..25a2466481 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotView.java +++ b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotView.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotWorksheet.java b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotWorksheet.java index 120ae582d0..b7596d72f7 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IThoughtspotWorksheet.java +++ b/sdk/src/main/java/com/atlan/model/assets/IThoughtspotWorksheet.java @@ -368,6 +368,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IUnstructured.java b/sdk/src/main/java/com/atlan/model/assets/IUnstructured.java index 2827671eb8..a36f00fc32 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IUnstructured.java +++ b/sdk/src/main/java/com/atlan/model/assets/IUnstructured.java @@ -381,6 +381,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IUnstructuredContainer.java b/sdk/src/main/java/com/atlan/model/assets/IUnstructuredContainer.java index d470c0b990..9a3718a6b0 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IUnstructuredContainer.java +++ b/sdk/src/main/java/com/atlan/model/assets/IUnstructuredContainer.java @@ -378,6 +378,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IUnstructuredFolder.java b/sdk/src/main/java/com/atlan/model/assets/IUnstructuredFolder.java index 3bf4e65f90..f9dc351410 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IUnstructuredFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/IUnstructuredFolder.java @@ -384,6 +384,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IUnstructuredObject.java b/sdk/src/main/java/com/atlan/model/assets/IUnstructuredObject.java index 19471db874..a08cea2857 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IUnstructuredObject.java +++ b/sdk/src/main/java/com/atlan/model/assets/IUnstructuredObject.java @@ -391,6 +391,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IView.java b/sdk/src/main/java/com/atlan/model/assets/IView.java index 3ce3a9ff05..d08f84ba90 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IView.java +++ b/sdk/src/main/java/com/atlan/model/assets/IView.java @@ -405,6 +405,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IWorkflow.java b/sdk/src/main/java/com/atlan/model/assets/IWorkflow.java index b5da656f12..e01a320854 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IWorkflow.java +++ b/sdk/src/main/java/com/atlan/model/assets/IWorkflow.java @@ -396,6 +396,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IWorkflowNotification.java b/sdk/src/main/java/com/atlan/model/assets/IWorkflowNotification.java new file mode 100644 index 0000000000..ced5a9f40b --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/IWorkflowNotification.java @@ -0,0 +1,885 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2023 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.model.enums.AssetDQRunStatus; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.AtlanConnectorType; +import com.atlan.model.enums.AtlanIcon; +import com.atlan.model.enums.AtlanStatus; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.DataQualityDimension; +import com.atlan.model.enums.DataQualityResult; +import com.atlan.model.enums.DataQualityScheduleType; +import com.atlan.model.enums.DataQualitySourceSyncStatus; +import com.atlan.model.enums.NotificationState; +import com.atlan.model.enums.SourceCostUnitType; +import com.atlan.model.enums.WorkflowNotificationAction; +import com.atlan.model.fields.KeywordField; +import com.atlan.model.fields.KeywordTextField; +import com.atlan.model.fields.NumericField; +import com.atlan.model.fields.RelationField; +import com.atlan.model.fields.TextField; +import com.atlan.model.relations.RelationshipAttributes; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.structs.AssetExternalDQMetadata; +import com.atlan.model.structs.AssetGCPDataplexMetadata; +import com.atlan.model.structs.AssetSmusMetadataFormDetails; +import com.atlan.model.structs.AssetSummaryProvider; +import com.atlan.model.structs.NotificationExternalReference; +import com.atlan.model.structs.PopularityInsights; +import com.atlan.model.structs.StarredDetails; +import com.atlan.serde.AssetDeserializer; +import com.atlan.serde.AssetSerializer; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import java.util.List; +import java.util.Map; +import java.util.SortedSet; +import javax.annotation.processing.Generated; + +/** + * A notification about an Atlan app workflow. The only notification type created today, and the one every future workflow-related notification should use. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@JsonSerialize(using = AssetSerializer.class) +@JsonDeserialize(using = AssetDeserializer.class) +public interface IWorkflowNotification { + + public static final String TYPE_NAME = "WorkflowNotification"; + + /** Which option the person took. Declared here rather than on the notification supertype because these values only mean anything for a workflow. */ + KeywordField WORKFLOW_NOTIFICATION_ACTION = + new KeywordField("workflowNotificationAction", "workflowNotificationAction"); + + /** When the check last failed. Distinct from when it was last checked, which every write already records. */ + NumericField WORKFLOW_NOTIFICATION_LAST_PREFLIGHT_FAILED_AT = + new NumericField("workflowNotificationLastPreflightFailedAt", "workflowNotificationLastPreflightFailedAt"); + + /** The whole check response as one escaped JSON string, rewritten on every check while the notification is live. Rendered by the widget the interface already has, so nothing is denormalised into attributes. */ + TextField WORKFLOW_NOTIFICATION_LAST_PREFLIGHT_RESULT = + new TextField("workflowNotificationLastPreflightResult", "workflowNotificationLastPreflightResult"); + + /** How many times the check has failed for this notification, counted from the failures that raised it and incremented on every failure since. */ + NumericField WORKFLOW_NOTIFICATION_PREFLIGHT_FAILURE_COUNT = + new NumericField("workflowNotificationPreflightFailureCount", "workflowNotificationPreflightFailureCount"); + + /** The workflow this notification is about. */ + RelationField WORKFLOW_NOTIFICATION_WORKFLOW = new RelationField("workflowNotificationWorkflow"); + + /** Slug of the workflow this notification is about. What grouping by workflow groups on, and how a check finds the live notification before deciding whether to raise another. */ + KeywordTextField WORKFLOW_NOTIFICATION_WORKFLOW_SLUG = new KeywordTextField( + "workflowNotificationWorkflowSlug", + "workflowNotificationWorkflowSlug.keyword", + "workflowNotificationWorkflowSlug"); + + /** List of groups who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminGroups(); + + /** List of roles who administer this asset. (This is only used for Connection assets.) */ + SortedSet getAdminRoles(); + + /** List of users who administer this asset. (This is only used for certain asset types.) */ + SortedSet getAdminUsers(); + + /** Detailed message to include in the announcement on this asset. */ + String getAnnouncementMessage(); + + /** Brief title for the announcement on this asset. Required when announcementType is specified. */ + String getAnnouncementTitle(); + + /** Type of announcement on this asset. */ + AtlanAnnouncementType getAnnouncementType(); + + /** Time (epoch) at which the announcement was last updated, in milliseconds. */ + Long getAnnouncementUpdatedAt(); + + /** Name of the user who last updated the announcement. */ + String getAnnouncementUpdatedBy(); + + /** Checks that run on this asset. */ + default SortedSet getAnomaloChecks() { + return null; + } + + /** Application owning the Asset. */ + default IApplication getApplication() { + return null; + } + + /** ApplicationField owning the Asset. */ + default IApplicationField getApplicationField() { + return null; + } + + /** Qualified name of the ApplicationField that contains this asset. */ + String getApplicationFieldQualifiedName(); + + /** Qualified name of the Application that contains this asset. */ + String getApplicationQualifiedName(); + + /** List of AI-generated aliases for this asset, to aid in search and discovery. */ + SortedSet getAssetAiAlias(); + + /** Description of this asset, generated by AI based on the asset's context. Displayed separately in the UI and can be used to overwrite existing descriptions. */ + String getAssetAiGeneratedDescription(); + + /** Confidence score of the AI-generated description, ranging from 0.0 to 1.0. */ + Double getAssetAiGeneratedDescriptionConfidence(); + + /** Reasoning behind the AI-generated description, explaining how the description was derived from the asset's context. */ + String getAssetAiGeneratedDescriptionReasoning(); + + /** Time (epoch) at which the announcement expires, in milliseconds. When set, the announcement will no longer be displayed after this time. */ + Long getAssetAnnouncementExpiredAt(); + + /** All associated Anomalo check types. */ + SortedSet getAssetAnomaloAppliedCheckTypes(); + + /** Total number of checks present in Anomalo for this asset. */ + Long getAssetAnomaloCheckCount(); + + /** Stringified JSON object containing status of all Anomalo checks associated to this asset. */ + String getAssetAnomaloCheckStatuses(); + + /** Status of data quality from Anomalo. */ + String getAssetAnomaloDQStatus(); + + /** Total number of checks failed in Anomalo for this asset. */ + Long getAssetAnomaloFailedCheckCount(); + + /** All associated Anomalo failed check types. */ + SortedSet getAssetAnomaloFailedCheckTypes(); + + /** Time (epoch) at which the last check was run via Anomalo. */ + Long getAssetAnomaloLastCheckRunAt(); + + /** URL of the source in Anomalo. */ + String getAssetAnomaloSourceUrl(); + + /** Cover image to use for this asset in the UI (applicable to only a few asset types). */ + String getAssetCoverImage(); + + /** Expectation of data freshness from Source. */ + Long getAssetDQFreshnessExpectation(); + + /** Value of data freshness from Source. */ + Long getAssetDQFreshnessValue(); + + /** Status of the latest manual DQ run triggered for this asset. */ + AssetDQRunStatus getAssetDQManualRunStatus(); + + /** Overall result of all the dq rules. If any one rule failed, then fail else pass. */ + DataQualityResult getAssetDQResult(); + + /** Qualified name of the column used for row scope filtering in DQ rules for this asset. */ + String getAssetDQRowScopeFilterColumnQualifiedName(); + + /** List of all the dimensions of attached rules. */ + SortedSet getAssetDQRuleAttachedDimensions(); + + /** List of all the types of attached rules. */ + SortedSet getAssetDQRuleAttachedRuleTypes(); + + /** Count of failed DQ rules attached to this asset. */ + Long getAssetDQRuleFailedCount(); + + /** List of all the dimensions of failed rules. */ + SortedSet getAssetDQRuleFailedDimensions(); + + /** List of all the types of failed rules. */ + SortedSet getAssetDQRuleFailedRuleTypes(); + + /** Time (epoch) at which the last dq rule ran. */ + Long getAssetDQRuleLastRunAt(); + + /** Count of passed DQ rules attached to this asset. */ + Long getAssetDQRulePassedCount(); + + /** List of all the dimensions for which all the rules passed. */ + SortedSet getAssetDQRulePassedDimensions(); + + /** List of all the types of rules for which all the rules passed. */ + SortedSet getAssetDQRulePassedRuleTypes(); + + /** Tag for the result of the DQ rules. Eg, rule_pass:completeness:null_count. */ + SortedSet getAssetDQRuleResultTags(); + + /** Count of DQ rules attached to this asset. */ + Long getAssetDQRuleTotalCount(); + + /** Crontab of the DQ rule that will run at datasource. */ + String getAssetDQScheduleCrontab(); + + /** Error code in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorCode(); + + /** Error message in the case of sync state being "error". */ + String getAssetDQScheduleSourceSyncErrorMessage(); + + /** Raw error message from the source. */ + String getAssetDQScheduleSourceSyncRawError(); + + /** Latest sync status of the schedule to the source. */ + DataQualitySourceSyncStatus getAssetDQScheduleSourceSyncStatus(); + + /** Time (epoch) at which the schedule synced to the source. */ + Long getAssetDQScheduleSourceSyncedAt(); + + /** Timezone of the DQ rule schedule that will run at datasource */ + String getAssetDQScheduleTimeZone(); + + /** Type of schedule of the DQ rule that will run at datasource. */ + DataQualityScheduleType getAssetDQScheduleType(); + + /** Name of the account in which this asset exists in dbt. */ + String getAssetDbtAccountName(); + + /** Alias of this asset in dbt. */ + String getAssetDbtAlias(); + + /** Version of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentDbtVersion(); + + /** Name of the environment in which this asset is materialized in dbt. */ + String getAssetDbtEnvironmentName(); + + /** Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds. */ + Long getAssetDbtJobLastRun(); + + /** Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunArtifactS3Path(); + + /** Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunArtifactsSaved(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds. */ + Long getAssetDbtJobLastRunCreatedAt(); + + /** Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds. */ + Long getAssetDbtJobLastRunDequedAt(); + + /** Thread ID of the user who executed the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunExecutedByThreadId(); + + /** Branch in git from which the last run of the job that materialized this asset in dbt ran. */ + String getAssetDbtJobLastRunGitBranch(); + + /** SHA hash in git for the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunGitSha(); + + /** Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasDocsGenerated(); + + /** Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunHasSourcesGenerated(); + + /** Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false). */ + Boolean getAssetDbtJobLastRunNotificationsSent(); + + /** Thread ID of the owner of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunOwnerThreadId(); + + /** Total duration the job that materialized this asset in dbt spent being queued. */ + String getAssetDbtJobLastRunQueuedDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued. */ + String getAssetDbtJobLastRunQueuedDurationHumanized(); + + /** Run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDuration(); + + /** Human-readable run duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunRunDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds. */ + Long getAssetDbtJobLastRunStartedAt(); + + /** Status message of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunStatusMessage(); + + /** Total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDuration(); + + /** Human-readable total duration of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunTotalDurationHumanized(); + + /** Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds. */ + Long getAssetDbtJobLastRunUpdatedAt(); + + /** URL of the last run of the job that materialized this asset in dbt. */ + String getAssetDbtJobLastRunUrl(); + + /** Name of the job that materialized this asset in dbt. */ + String getAssetDbtJobName(); + + /** Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled. */ + Long getAssetDbtJobNextRun(); + + /** Human-readable time when the next run of the job that materializes this asset in dbt is scheduled. */ + String getAssetDbtJobNextRunHumanized(); + + /** Schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobSchedule(); + + /** Human-readable cron schedule of the job that materialized this asset in dbt. */ + String getAssetDbtJobScheduleCronHumanized(); + + /** Status of the job that materialized this asset in dbt. */ + String getAssetDbtJobStatus(); + + /** Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object. */ + String getAssetDbtMeta(); + + /** Name of the package in which this asset exists in dbt. */ + String getAssetDbtPackageName(); + + /** Name of the project in which this asset exists in dbt. */ + String getAssetDbtProjectName(); + + /** URL of the semantic layer proxy for this asset in dbt. */ + String getAssetDbtSemanticLayerProxyUrl(); + + /** Freshness criteria for the source of this asset in dbt. */ + String getAssetDbtSourceFreshnessCriteria(); + + /** List of tags attached to this asset in dbt. */ + SortedSet getAssetDbtTags(); + + /** All associated dbt test statuses. */ + String getAssetDbtTestStatus(); + + /** Unique identifier of this asset in dbt. */ + String getAssetDbtUniqueId(); + + /** Name of the DBT workflow in Atlan that last updated the asset. */ + String getAssetDbtWorkflowLastUpdated(); + + /** DQ metadata captured for asset from external DQ tool(s). */ + Map getAssetExternalDQMetadataDetails(); + + /** Single asset-level DQ score (0–100). Populated natively by tools that provide one. */ + Double getAssetExternalDQScoreValue(); + + /** List of mean scores across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestAvgScores(); + + /** Ordered list of DQ test/scan names on this asset. Positionally aligned with the score metrics. */ + SortedSet getAssetExternalDQTestEntities(); + + /** List of scores of the most recent run for each DQ test. */ + SortedSet getAssetExternalDQTestLatestScores(); + + /** List of minimum (floor) score across all runs for each DQ test. */ + SortedSet getAssetExternalDQTestMinScores(); + + /** List of field key-values associated with all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectFieldList(); + + /** List of names of all Aspects linked to this asset. */ + SortedSet getAssetGCPDataplexAspectList(); + + /** Metrics captured by GCP Dataplex for objects associated with GCP services. */ + AssetGCPDataplexMetadata getAssetGCPDataplexMetadataDetails(); + + /** Whether this asset has an AI-generated readme. */ + Boolean getAssetHasAiReadme(); + + /** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */ + AtlanIcon getAssetIcon(); + + /** The type of request form on Immuta applicable for the asset. */ + String getAssetImmutaRequestType(); + + /** URL of the request form on Immuta relevant to the asset. */ + String getAssetImmutaRequestUrl(); + + /** Internal Popularity score for this asset. */ + Double getAssetInternalPopularityScore(); + + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + + /** List of unique Monte Carlo alert names attached to this asset. */ + SortedSet getAssetMcAlertQualifiedNames(); + + /** List of Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentNames(); + + /** List of Monte Carlo incident priorities associated with this asset. */ + SortedSet getAssetMcIncidentPriorities(); + + /** List of unique Monte Carlo incident names attached to this asset. */ + SortedSet getAssetMcIncidentQualifiedNames(); + + /** List of Monte Carlo incident severities associated with this asset. */ + SortedSet getAssetMcIncidentSeverities(); + + /** List of Monte Carlo incident states associated with this asset. */ + SortedSet getAssetMcIncidentStates(); + + /** List of Monte Carlo incident sub-types associated with this asset. */ + SortedSet getAssetMcIncidentSubTypes(); + + /** List of Monte Carlo incident types associated with this asset. */ + SortedSet getAssetMcIncidentTypes(); + + /** Tracks whether this asset is monitored by MC or not */ + Boolean getAssetMcIsMonitored(); + + /** Time (epoch) at which this asset was last synced from Monte Carlo. */ + Long getAssetMcLastSyncRunAt(); + + /** List of Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorNames(); + + /** List of unique Monte Carlo monitor names attached to this asset. */ + SortedSet getAssetMcMonitorQualifiedNames(); + + /** Schedules of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorScheduleTypes(); + + /** Statuses of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorStatuses(); + + /** Types of all associated Monte Carlo monitors. */ + SortedSet getAssetMcMonitorTypes(); + + /** Count of policies inside the asset */ + Long getAssetPoliciesCount(); + + /** Array of policy ids governing this asset */ + SortedSet getAssetPolicyGUIDs(); + + /** Array of asset ids that equivalent to this asset. */ + SortedSet getAssetRedirectGUIDs(); + + /** AWS SMUS Asset MetadataForm details */ + List getAssetSmusMetadataFormDetails(); + + /** List of AWS SMUS MetadataForm Key:Value Details. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormKeyValueDetails(); + + /** List of AWS SMUS MetadataForm Names. This is mainly used for filtering purpose. */ + SortedSet getAssetSmusMetadataFormNames(); + + /** Number of checks done via Soda. */ + Long getAssetSodaCheckCount(); + + /** All associated Soda check statuses. */ + String getAssetSodaCheckStatuses(); + + /** Status of data quality from Soda. */ + String getAssetSodaDQStatus(); + + /** TBC */ + Long getAssetSodaLastScanAt(); + + /** TBC */ + Long getAssetSodaLastSyncRunAt(); + + /** TBC */ + String getAssetSodaSourceURL(); + + /** Unique identifier for this asset in the system from which it was sourced. */ + String getAssetSourceId(); + + /** Readme of this asset, as extracted from source. If present, this will be used for the readme in user interface. */ + String getAssetSourceReadme(); + + /** Name of the space that contains this asset. */ + String getAssetSpaceName(); + + /** Unique name of the space that contains this asset. */ + String getAssetSpaceQualifiedName(); + + /** Provider-defined summary of this asset as a JSON-stringified object. Display-only; the rendered shape is provider-specific. */ + String getAssetSummary(); + + /** Flattened tokens for section-scoped filtering on assetSummary. Each token is shaped as 'section|||name|||count'. */ + SortedSet getAssetSummaryFilterTokens(); + + /** Metadata about the provider of this asset's summary. */ + AssetSummaryProvider getAssetSummaryProvider(); + + /** List of tags attached to this asset. */ + SortedSet getAssetTags(); + + /** Color (in hexadecimal RGB) to use to represent this asset. */ + String getAssetThemeHex(); + + /** Name to use for this type of asset, as a subtype of the actual typeName. */ + String getAssetUserDefinedType(); + + /** Glossary terms that are linked to this asset. */ + default SortedSet getAssignedTerms() { + return null; + } + + /** Status of this asset's certification. */ + CertificateStatus getCertificateStatus(); + + /** Human-readable descriptive message used to provide further detail to certificateStatus. */ + String getCertificateStatusMessage(); + + /** Time (epoch) at which the certification was last updated, in milliseconds. */ + Long getCertificateUpdatedAt(); + + /** Name of the user who last updated the certification of this asset. */ + String getCertificateUpdatedBy(); + + /** Simple name of the connection through which this asset is accessible. */ + String getConnectionName(); + + /** Unique name of the connection through which this asset is accessible. */ + String getConnectionQualifiedName(); + + /** Type of the connector through which this asset is accessible. */ + String getConnectorName(); + + /** Latest version of the data contract (in any status) for this asset. */ + default IDataContract getDataContractLatest() { + return null; + } + + /** Latest certified version of the data contract for this asset. */ + default IDataContract getDataContractLatestCertified() { + return null; + } + + /** Unique name of this asset in dbt. */ + String getDbtQualifiedName(); + + /** Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty. */ + String getDescription(); + + /** Human-readable name of this asset used for display purposes (in user interface). */ + String getDisplayName(); + + /** Array of domain guids linked to this asset */ + SortedSet getDomainGUIDs(); + + /** Rules that are applied on this dataset. */ + default SortedSet getDqBaseDatasetRules() { + return null; + } + + /** Rules where this dataset is referenced. */ + default SortedSet getDqReferenceDatasetRules() { + return null; + } + + /** TBC */ + default SortedSet getFiles() { + return null; + } + + /** Whether this asset has contract (true) or not (false). */ + Boolean getHasContract(); + + /** Whether this asset has lineage (true) or not (false). */ + Boolean getHasLineage(); + + /** Data products for which this asset is an input port. */ + default SortedSet getInputPortDataProducts() { + return null; + } + + /** TBC */ + Boolean getIsAIGenerated(); + + /** Whether this asset is discoverable through the UI (true) or not (false). */ + Boolean getIsDiscoverable(); + + /** Whether this asset can be edited in the UI (true) or not (false). */ + Boolean getIsEditable(); + + /** Indicates this asset is not fully-known, if true. */ + Boolean getIsPartial(); + + /** Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds. */ + Long getLastRowChangedAt(); + + /** Name of the last run of the crawler that last synchronized this asset. */ + String getLastSyncRun(); + + /** Time (epoch) at which this asset was last crawled, in milliseconds. */ + Long getLastSyncRunAt(); + + /** Name of the crawler that last synchronized this asset. */ + String getLastSyncWorkflowName(); + + /** Custom order for sorting purpose, managed by client */ + String getLexicographicalSortOrder(); + + /** Links that are attached to this asset. */ + default SortedSet getLinks() { + return null; + } + + /** TBC */ + default SortedSet getMcIncidents() { + return null; + } + + /** Monitors that observe this asset. */ + default SortedSet getMcMonitors() { + return null; + } + + /** TBC */ + default SortedSet getMetrics() { + return null; + } + + /** Name of this asset. Fallback for display purposes, if displayName is empty. */ + String getName(); + + /** Array of policy ids non-compliant to this asset */ + SortedSet getNonCompliantAssetPolicyGUIDs(); + + /** Where this notification also lives outside Atlan, one entry per surface. This is what lets an action taken in the inbox go back and update the message it came from. */ + List getNotificationExternalReferences(); + + /** When a person last moved the state. Read against the creation timestamp this gives time to resolution. */ + Long getNotificationLastActedAt(); + + /** Username of the person who last moved the state. Declared separately because the write is service-mediated, so the entity's own modifier records the service and not the person. */ + String getNotificationLastActedBy(); + + /** Reason or note the person gave for the last action. Mandatory for some actions and optional for others, so it is free text rather than a code. */ + String getNotificationLastActedReason(); + + /** Identifiers of the Atlan groups the notification is meant for. A group outlives its members, so a rule addressing a group stays generic as people join and leave. */ + SortedSet getNotificationRecipientGroups(); + + /** Identifiers of the Atlan roles that need to see the notification. Resolved to individuals by the interface at read time rather than stored. */ + SortedSet getNotificationRecipientRoles(); + + /** Usernames the notification was addressed to. Drives the assigned-to-me view together with the group and role recipients. */ + SortedSet getNotificationRecipientUsers(); + + /** Where the notification is in its lifecycle. Also how a check decides whether a live notification already exists before raising another. */ + NotificationState getNotificationState(); + + /** Data products for which this asset is an output port. */ + default SortedSet getOutputPortDataProducts() { + return null; + } + + /** Array of product guids which have this asset as outputPort */ + SortedSet getOutputProductGUIDs(); + + /** List of groups who own this asset. */ + SortedSet getOwnerGroups(); + + /** List of users who own this asset. */ + SortedSet getOwnerUsers(); + + /** Popularity score for this asset. */ + Double getPopularityScore(); + + /** Array of product guids linked to this asset */ + SortedSet getProductGUIDs(); + + /** Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type. */ + String getQualifiedName(); + + /** README that is linked to this asset. */ + default IReadme getReadme() { + return null; + } + + /** URL for sample data for this asset. */ + String getSampleDataUrl(); + + /** TBC */ + default SortedSet getSchemaRegistrySubjects() { + return null; + } + + /** TBC */ + default SortedSet getSodaChecks() { + return null; + } + + /** The unit of measure for sourceTotalCost. */ + SourceCostUnitType getSourceCostUnit(); + + /** Time (epoch) at which this asset was created in the source system, in milliseconds. */ + Long getSourceCreatedAt(); + + /** Name of the user who created this asset, in the source system. */ + String getSourceCreatedBy(); + + /** URL to create an embed for a resource (for example, an image of a dashboard) within Atlan. */ + String getSourceEmbedURL(); + + /** Timestamp of most recent read operation. */ + Long getSourceLastReadAt(); + + /** List of owners of this asset, in the source system. */ + String getSourceOwners(); + + /** List of most expensive warehouses with extra insights. */ + List getSourceQueryComputeCostRecords(); + + /** List of most expensive warehouse names. */ + SortedSet getSourceQueryComputeCosts(); + + /** Total count of all read operations at source. */ + Long getSourceReadCount(); + + /** List of the most expensive queries that accessed this asset. */ + List getSourceReadExpensiveQueryRecords(); + + /** List of the most popular queries that accessed this asset. */ + List getSourceReadPopularQueryRecords(); + + /** Total cost of read queries at source. */ + Double getSourceReadQueryCost(); + + /** List of usernames with extra insights for the most recent users who read this asset. */ + List getSourceReadRecentUserRecords(); + + /** List of usernames of the most recent users who read this asset. */ + SortedSet getSourceReadRecentUsers(); + + /** List of the slowest queries that accessed this asset. */ + List getSourceReadSlowQueryRecords(); + + /** List of usernames with extra insights for the users who read this asset the most. */ + List getSourceReadTopUserRecords(); + + /** List of usernames of the users who read this asset the most. */ + SortedSet getSourceReadTopUsers(); + + /** Total number of unique users that read data from asset. */ + Long getSourceReadUserCount(); + + /** Total cost of all operations at source. */ + Double getSourceTotalCost(); + + /** URL to the resource within the source application, used to create a button to view this asset in the source application. */ + String getSourceURL(); + + /** Time (epoch) at which this asset was last updated in the source system, in milliseconds. */ + Long getSourceUpdatedAt(); + + /** Name of the user who last updated this asset, in the source system. */ + String getSourceUpdatedBy(); + + /** Users who have starred this asset. */ + SortedSet getStarredBy(); + + /** Number of users who have starred this asset. */ + Integer getStarredCount(); + + /** List of usernames with extra information of the users who have starred an asset. */ + List getStarredDetails(); + + /** Subtype of this asset. */ + String getSubType(); + + /** Name of the Atlan workspace in which this asset exists. */ + String getTenantId(); + + /** TBC */ + default SortedSet getUserDefRelationshipFroms() { + return null; + } + + /** TBC */ + default SortedSet getUserDefRelationshipTos() { + return null; + } + + /** Description of this asset, as provided by a user. If present, this will be used for the description in user interface. */ + String getUserDescription(); + + /** View score for this asset. */ + Double getViewScore(); + + /** List of groups who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerGroups(); + + /** List of users who can view assets contained in a collection. (This is only used for certain asset types.) */ + SortedSet getViewerUsers(); + + /** Which option the person took. Declared here rather than on the notification supertype because these values only mean anything for a workflow. */ + WorkflowNotificationAction getWorkflowNotificationAction(); + + /** When the check last failed. Distinct from when it was last checked, which every write already records. */ + Long getWorkflowNotificationLastPreflightFailedAt(); + + /** The whole check response as one escaped JSON string, rewritten on every check while the notification is live. Rendered by the widget the interface already has, so nothing is denormalised into attributes. */ + String getWorkflowNotificationLastPreflightResult(); + + /** How many times the check has failed for this notification, counted from the failures that raised it and incremented on every failure since. */ + Integer getWorkflowNotificationPreflightFailureCount(); + + /** The workflow this notification is about. */ + default IAtlanAppWorkflow getWorkflowNotificationWorkflow() { + return null; + } + + /** Slug of the workflow this notification is about. What grouping by workflow groups on, and how a check finds the live notification before deciding whether to raise another. */ + String getWorkflowNotificationWorkflowSlug(); + + /** URL of an icon to use for this asset. (Only applies to CustomEntity and Fivetran Catalog assets, currently.) */ + String getIconUrl(); + + /** Built-in connector type through which this asset is accessible. */ + AtlanConnectorType getConnectorType(); + + /** Custom connector type through which this asset is accessible. */ + String getCustomConnectorType(); + + /** Name of the type that defines the asset. */ + String getTypeName(); + + /** Globally-unique identifier for the asset. */ + String getGuid(); + + /** Human-readable name of the asset. */ + String getDisplayText(); + + /** Status of the asset (if this is a related asset). */ + String getEntityStatus(); + + /** Type of the relationship (if this is a related asset). */ + String getRelationshipType(); + + /** Unique identifier of the relationship (when this is a related asset). */ + String getRelationshipGuid(); + + /** Status of the relationship (when this is a related asset). */ + AtlanStatus getRelationshipStatus(); + + /** Attributes specific to the relationship (unused). */ + RelationshipAttributes getRelationshipAttributes(); + + /** + * Attribute(s) that uniquely identify the asset (when this is a related asset). + * If the guid is not provided, these must be provided. + */ + UniqueAttributes getUniqueAttributes(); + + /** + * When true, indicates that this object represents a complete view of the entity. + * When false, this object is only a reference or some partial view of the entity. + */ + boolean isComplete(); + + /** + * Indicates whether this object can be used as a valid reference by GUID. + * @return true if it is a valid GUID reference, false otherwise + */ + boolean isValidReferenceByGuid(); + + /** + * Indicates whether this object can be used as a valid reference by qualifiedName. + * @return true if it is a valid qualifiedName reference, false otherwise + */ + boolean isValidReferenceByQualifiedName(); +} diff --git a/sdk/src/main/java/com/atlan/model/assets/IWorkflowRun.java b/sdk/src/main/java/com/atlan/model/assets/IWorkflowRun.java index 6f57e4141e..6a5ac854ba 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IWorkflowRun.java +++ b/sdk/src/main/java/com/atlan/model/assets/IWorkflowRun.java @@ -404,6 +404,9 @@ default IApplicationField getApplicationField() { /** Internal Popularity score for this asset. */ Double getAssetInternalPopularityScore(); + /** Identity of the agent that creates and maintains this asset — a connection qualified name, an application name, or any other opaque token that agent chooses. Written by that agent on create, never supplied by a source, and stable for the life of the asset. Compared only for equality; never parsed or resolved. */ + String getAssetManagedBy(); + /** List of unique Monte Carlo alert names attached to this asset. */ SortedSet getAssetMcAlertQualifiedNames(); diff --git a/sdk/src/main/java/com/atlan/model/assets/IcebergNamespace.java b/sdk/src/main/java/com/atlan/model/assets/IcebergNamespace.java index acd36e566c..9f768114dc 100644 --- a/sdk/src/main/java/com/atlan/model/assets/IcebergNamespace.java +++ b/sdk/src/main/java/com/atlan/model/assets/IcebergNamespace.java @@ -50,6 +50,11 @@ public class IcebergNamespace extends Asset @Builder.Default String typeName = TYPE_NAME; + /** Routines that exist within this schema. */ + @Attribute + @Singular + SortedSet bigqueryRoutines; + /** Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ @Attribute String calculationViewName; @@ -224,6 +229,11 @@ public class IcebergNamespace extends Asset @Singular("putQueryUserMap") Map queryUserMap; + /** SAP Datasphere replication flows that create tables within this schema (Datasphere space). */ + @Attribute + @Singular + SortedSet sapDatasphereReplicationFlows; + /** External location of this schema, for example: an S3 object location. */ @Attribute String schemaExternalLocation; diff --git a/sdk/src/main/java/com/atlan/model/assets/KafkaField.java b/sdk/src/main/java/com/atlan/model/assets/KafkaField.java index 90d98f3e50..ae6e381e9d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/KafkaField.java +++ b/sdk/src/main/java/com/atlan/model/assets/KafkaField.java @@ -75,10 +75,23 @@ public class KafkaField extends Asset implements IKafkaField, IKafka, IEventStor @Attribute String kafkaFieldDefaultValue; + /** Level of nesting of this field (1 = direct child of topic schema, 2 = nested one level, etc.). */ + @Attribute + Integer kafkaFieldDepthLevel; + + /** List of top-level upstream nested fields. */ + @Attribute + @Singular + List> kafkaFieldHierarchies; + /** Whether this field is optional (true) or required (false) in the schema. */ @Attribute Boolean kafkaFieldIsOptional; + /** Order (position) in which this field appears within its parent nested field, as a dotted ordinal path such as '1.2.10'. Carries the same value as kafkaNestedFieldOrder, which it supersedes; sortable in schema-declaration order via its version sub-field. */ + @Attribute + String kafkaFieldNestedOrder; + /** Position (0-based) of this field in the schema definition. */ @Attribute Integer kafkaFieldOrder; @@ -91,6 +104,31 @@ public class KafkaField extends Asset implements IKafkaField, IKafka, IEventStor @Attribute String kafkaFieldVersionIntroduced; + /** Number of KafkaField assets directly nested within this field. */ + @Attribute + Integer kafkaNestedFieldCount; + + /** Order (position) in which this field appears within its parent nested field (nest level starts at 1). */ + @Attribute + String kafkaNestedFieldOrder; + + /** KafkaField assets nested within this field. */ + @Attribute + @Singular + SortedSet kafkaNestedFields; + + /** Parent KafkaField containing this nested field. */ + @Attribute + IKafkaField kafkaParentField; + + /** Simple name of the parent KafkaField in which this field is nested. */ + @Attribute + String kafkaParentFieldName; + + /** Unique name of the parent KafkaField in which this field is nested. */ + @Attribute + String kafkaParentFieldQualifiedName; + /** Kafka topic in which this field is defined. */ @Attribute IKafkaTopic kafkaTopic; diff --git a/sdk/src/main/java/com/atlan/model/assets/KafkaTag.java b/sdk/src/main/java/com/atlan/model/assets/KafkaTag.java new file mode 100644 index 0000000000..494520c1c9 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/KafkaTag.java @@ -0,0 +1,611 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.model.structs.SourceTagAttribute; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Instance of a Confluent Stream Catalog tag in Atlan. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class KafkaTag extends Asset implements IKafkaTag, ITag, IKafka, ICatalog, IEventStore, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "KafkaTag"; + + /** Fixed typeName for KafkaTags. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Unique identifier of the dataset this asset belongs to. */ + @Attribute + String catalogDatasetGuid; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Name of the classification in Atlan that is mapped to this tag. */ + @Attribute + @JsonProperty("mappedClassificationName") + String mappedAtlanTagName; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** Allowed values for the tag in the source system. These are denormalized from tagAttributes for ease of querying. */ + @Attribute + @Singular + SortedSet tagAllowedValues; + + /** Attributes associated with the tag in the source system. */ + @Attribute + @Singular + List tagAttributes; + + /** Unique identifier of the tag in the source system. */ + @Attribute + String tagId; + + /** + * Builds the minimal object necessary to create a relationship to a KafkaTag, from a potentially + * more-complete KafkaTag object. + * + * @return the minimal object necessary to relate to the KafkaTag + * @throws InvalidRequestException if any of the minimal set of required properties for a KafkaTag relationship are not found in the initial object + */ + @Override + public KafkaTag trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all KafkaTag assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) KafkaTag assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all KafkaTag assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all KafkaTag assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) KafkaTags will be included + * @return a fluent search that includes all KafkaTag assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a KafkaTag by GUID. Use this to create a relationship to this KafkaTag, + * where the relationship should be replaced. + * + * @param guid the GUID of the KafkaTag to reference + * @return reference to a KafkaTag that can be used for defining a relationship to a KafkaTag + */ + public static KafkaTag refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a KafkaTag by GUID. Use this to create a relationship to this KafkaTag, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the KafkaTag to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a KafkaTag that can be used for defining a relationship to a KafkaTag + */ + public static KafkaTag refByGuid(String guid, Reference.SaveSemantic semantic) { + return KafkaTag._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a KafkaTag by qualifiedName. Use this to create a relationship to this KafkaTag, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the KafkaTag to reference + * @return reference to a KafkaTag that can be used for defining a relationship to a KafkaTag + */ + public static KafkaTag refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a KafkaTag by qualifiedName. Use this to create a relationship to this KafkaTag, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the KafkaTag to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a KafkaTag that can be used for defining a relationship to a KafkaTag + */ + public static KafkaTag refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return KafkaTag._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a KafkaTag by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the KafkaTag to retrieve, either its GUID or its full qualifiedName + * @return the requested full KafkaTag, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the KafkaTag does not exist or the provided GUID is not a KafkaTag + */ + @JsonIgnore + public static KafkaTag get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a KafkaTag by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the KafkaTag to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full KafkaTag, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the KafkaTag does not exist or the provided GUID is not a KafkaTag + */ + @JsonIgnore + public static KafkaTag get(AtlanClient client, String id, boolean includeAllRelationships) throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof KafkaTag) { + return (KafkaTag) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof KafkaTag) { + return (KafkaTag) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a KafkaTag by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the KafkaTag to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the KafkaTag, including any relationships + * @return the requested KafkaTag, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the KafkaTag does not exist or the provided GUID is not a KafkaTag + */ + @JsonIgnore + public static KafkaTag get(AtlanClient client, String id, Collection attributes) throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a KafkaTag by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the KafkaTag to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the KafkaTag, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the KafkaTag + * @return the requested KafkaTag, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the KafkaTag does not exist or the provided GUID is not a KafkaTag + */ + @JsonIgnore + public static KafkaTag get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = KafkaTag.select(client) + .where(KafkaTag.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof KafkaTag) { + return (KafkaTag) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = KafkaTag.select(client) + .where(KafkaTag.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof KafkaTag) { + return (KafkaTag) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) KafkaTag to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the KafkaTag + * @return true if the KafkaTag is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a KafkaTag. + * + * @param qualifiedName of the KafkaTag + * @param name of the KafkaTag + * @return the minimal request necessary to update the KafkaTag, as a builder + */ + public static KafkaTagBuilder updater(String qualifiedName, String name) { + return KafkaTag._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a KafkaTag, + * from a potentially more-complete KafkaTag object. + * + * @return the minimal object necessary to update the KafkaTag, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a KafkaTag are not present in the initial object + */ + @Override + public KafkaTagBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class KafkaTagBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a KafkaTag. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the KafkaTag + * @param name of the KafkaTag + * @return the updated KafkaTag, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static KafkaTag removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (KafkaTag) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a KafkaTag. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the KafkaTag + * @param name of the KafkaTag + * @return the updated KafkaTag, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static KafkaTag removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (KafkaTag) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a KafkaTag. + * + * @param client connectivity to the Atlan tenant from which to remove the KafkaTag's owners + * @param qualifiedName of the KafkaTag + * @param name of the KafkaTag + * @return the updated KafkaTag, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static KafkaTag removeOwners(AtlanClient client, String qualifiedName, String name) throws AtlanException { + return (KafkaTag) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a KafkaTag. + * + * @param client connectivity to the Atlan tenant on which to update the KafkaTag's certificate + * @param qualifiedName of the KafkaTag + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated KafkaTag, or null if the update failed + * @throws AtlanException on any API problems + */ + public static KafkaTag updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (KafkaTag) Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a KafkaTag. + * + * @param client connectivity to the Atlan tenant from which to remove the KafkaTag's certificate + * @param qualifiedName of the KafkaTag + * @param name of the KafkaTag + * @return the updated KafkaTag, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static KafkaTag removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (KafkaTag) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a KafkaTag. + * + * @param client connectivity to the Atlan tenant on which to update the KafkaTag's announcement + * @param qualifiedName of the KafkaTag + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static KafkaTag updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (KafkaTag) Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a KafkaTag. + * + * @param client connectivity to the Atlan client from which to remove the KafkaTag's announcement + * @param qualifiedName of the KafkaTag + * @param name of the KafkaTag + * @return the updated KafkaTag, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static KafkaTag removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (KafkaTag) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the KafkaTag. + * + * @param client connectivity to the Atlan tenant on which to replace the KafkaTag's assigned terms + * @param qualifiedName for the KafkaTag + * @param name human-readable name of the KafkaTag + * @param terms the list of terms to replace on the KafkaTag, or null to remove all terms from the KafkaTag + * @return the KafkaTag that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static KafkaTag replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (KafkaTag) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the KafkaTag, without replacing existing terms linked to the KafkaTag. + * Note: this operation must make two API calls — one to retrieve the KafkaTag's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the KafkaTag + * @param qualifiedName for the KafkaTag + * @param terms the list of terms to append to the KafkaTag + * @return the KafkaTag that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static KafkaTag appendTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (KafkaTag) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a KafkaTag, without replacing all existing terms linked to the KafkaTag. + * Note: this operation must make two API calls — one to retrieve the KafkaTag's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the KafkaTag + * @param qualifiedName for the KafkaTag + * @param terms the list of terms to remove from the KafkaTag, which must be referenced by GUID + * @return the KafkaTag that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static KafkaTag removeTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (KafkaTag) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a KafkaTag, without replacing existing Atlan tags linked to the KafkaTag. + * Note: this operation must make two API calls — one to retrieve the KafkaTag's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the KafkaTag + * @param qualifiedName of the KafkaTag + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated KafkaTag + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static KafkaTag appendAtlanTags(AtlanClient client, String qualifiedName, List atlanTagNames) + throws AtlanException { + return (KafkaTag) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a KafkaTag, without replacing existing Atlan tags linked to the KafkaTag. + * Note: this operation must make two API calls — one to retrieve the KafkaTag's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the KafkaTag + * @param qualifiedName of the KafkaTag + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated KafkaTag + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static KafkaTag appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (KafkaTag) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a KafkaTag. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a KafkaTag + * @param qualifiedName of the KafkaTag + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the KafkaTag + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/Knowledge.java b/sdk/src/main/java/com/atlan/model/assets/Knowledge.java index 0cc53b22e5..b73095ab72 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Knowledge.java +++ b/sdk/src/main/java/com/atlan/model/assets/Knowledge.java @@ -7,6 +7,7 @@ import com.atlan.exception.ErrorCode; import com.atlan.exception.InvalidRequestException; import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.fields.AtlanField; @@ -48,6 +49,10 @@ public class Knowledge extends Asset implements IKnowledge, IAgentic, ICatalog, @Builder.Default String typeName = TYPE_NAME; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; diff --git a/sdk/src/main/java/com/atlan/model/assets/KnowledgeFile.java b/sdk/src/main/java/com/atlan/model/assets/KnowledgeFile.java index bb5ff5ff16..3b4aa9137b 100644 --- a/sdk/src/main/java/com/atlan/model/assets/KnowledgeFile.java +++ b/sdk/src/main/java/com/atlan/model/assets/KnowledgeFile.java @@ -7,6 +7,7 @@ import com.atlan.exception.ErrorCode; import com.atlan.exception.InvalidRequestException; import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.enums.FileType; @@ -50,6 +51,10 @@ public class KnowledgeFile extends Asset @Builder.Default String typeName = TYPE_NAME; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; @@ -107,6 +112,11 @@ public class KnowledgeFile extends Asset @Singular SortedSet knowledgeFolders; + /** Assets this knowledge file is linked to. */ + @Attribute + @Singular + SortedSet knowledgeLinkedAssets; + /** URL to the resource. */ @Attribute String link; diff --git a/sdk/src/main/java/com/atlan/model/assets/KnowledgeFolder.java b/sdk/src/main/java/com/atlan/model/assets/KnowledgeFolder.java index 390087220b..dfa99df0ce 100644 --- a/sdk/src/main/java/com/atlan/model/assets/KnowledgeFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/KnowledgeFolder.java @@ -7,6 +7,7 @@ import com.atlan.exception.ErrorCode; import com.atlan.exception.InvalidRequestException; import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.enums.KnowledgeFolderType; @@ -50,6 +51,10 @@ public class KnowledgeFolder extends Asset @Builder.Default String typeName = TYPE_NAME; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; diff --git a/sdk/src/main/java/com/atlan/model/assets/LineageProcess.java b/sdk/src/main/java/com/atlan/model/assets/LineageProcess.java index 1c05209cc7..988a52e3e4 100644 --- a/sdk/src/main/java/com/atlan/model/assets/LineageProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/LineageProcess.java @@ -10,6 +10,7 @@ import com.atlan.model.enums.AIDatasetType; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.fields.AtlanField; import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; @@ -75,7 +76,7 @@ public class LineageProcess extends Asset implements ILineageProcess, IAsset, IR @Attribute String ast; - /** TBC */ + /** Routines used by this process. */ @Attribute @Singular SortedSet bigqueryRoutines; @@ -130,6 +131,10 @@ public class LineageProcess extends Asset implements ILineageProcess, IAsset, IR @Attribute IPowerBIDataflow powerBIDataflow; + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + @Attribute + ProcessLineageDerivation processDerivation; + /** TBC */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/Notification.java b/sdk/src/main/java/com/atlan/model/assets/Notification.java new file mode 100644 index 0000000000..3f995de591 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/Notification.java @@ -0,0 +1,580 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.NotificationState; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.model.structs.NotificationExternalReference; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Base class for a durable, queryable notification record. Never instantiated: only a subtype is ever created, the way nothing creates a bare Catalog. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class Notification extends Asset implements INotification, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "Notification"; + + /** Fixed typeName for Notifications. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Where this notification also lives outside Atlan, one entry per surface. This is what lets an action taken in the inbox go back and update the message it came from. */ + @Attribute + @Singular + List notificationExternalReferences; + + /** When a person last moved the state. Read against the creation timestamp this gives time to resolution. */ + @Attribute + @Date + Long notificationLastActedAt; + + /** Username of the person who last moved the state. Declared separately because the write is service-mediated, so the entity's own modifier records the service and not the person. */ + @Attribute + String notificationLastActedBy; + + /** Reason or note the person gave for the last action. Mandatory for some actions and optional for others, so it is free text rather than a code. */ + @Attribute + String notificationLastActedReason; + + /** Identifiers of the Atlan groups the notification is meant for. A group outlives its members, so a rule addressing a group stays generic as people join and leave. */ + @Attribute + @Singular + SortedSet notificationRecipientGroups; + + /** Identifiers of the Atlan roles that need to see the notification. Resolved to individuals by the interface at read time rather than stored. */ + @Attribute + @Singular + SortedSet notificationRecipientRoles; + + /** Usernames the notification was addressed to. Drives the assigned-to-me view together with the group and role recipients. */ + @Attribute + @Singular + SortedSet notificationRecipientUsers; + + /** Where the notification is in its lifecycle. Also how a check decides whether a live notification already exists before raising another. */ + @Attribute + NotificationState notificationState; + + /** + * Builds the minimal object necessary to create a relationship to a Notification, from a potentially + * more-complete Notification object. + * + * @return the minimal object necessary to relate to the Notification + * @throws InvalidRequestException if any of the minimal set of required properties for a Notification relationship are not found in the initial object + */ + @Override + public Notification trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all Notification assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) Notification assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all Notification assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all Notification assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) Notifications will be included + * @return a fluent search that includes all Notification assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a Notification by GUID. Use this to create a relationship to this Notification, + * where the relationship should be replaced. + * + * @param guid the GUID of the Notification to reference + * @return reference to a Notification that can be used for defining a relationship to a Notification + */ + public static Notification refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a Notification by GUID. Use this to create a relationship to this Notification, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the Notification to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a Notification that can be used for defining a relationship to a Notification + */ + public static Notification refByGuid(String guid, Reference.SaveSemantic semantic) { + return Notification._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a Notification by qualifiedName. Use this to create a relationship to this Notification, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the Notification to reference + * @return reference to a Notification that can be used for defining a relationship to a Notification + */ + public static Notification refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a Notification by qualifiedName. Use this to create a relationship to this Notification, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the Notification to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a Notification that can be used for defining a relationship to a Notification + */ + public static Notification refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return Notification._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a Notification by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the Notification to retrieve, either its GUID or its full qualifiedName + * @return the requested full Notification, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the Notification does not exist or the provided GUID is not a Notification + */ + @JsonIgnore + public static Notification get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a Notification by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the Notification to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full Notification, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the Notification does not exist or the provided GUID is not a Notification + */ + @JsonIgnore + public static Notification get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof Notification) { + return (Notification) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof Notification) { + return (Notification) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a Notification by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the Notification to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the Notification, including any relationships + * @return the requested Notification, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the Notification does not exist or the provided GUID is not a Notification + */ + @JsonIgnore + public static Notification get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a Notification by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the Notification to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the Notification, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the Notification + * @return the requested Notification, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the Notification does not exist or the provided GUID is not a Notification + */ + @JsonIgnore + public static Notification get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = Notification.select(client) + .where(Notification.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof Notification) { + return (Notification) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = Notification.select(client) + .where(Notification.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof Notification) { + return (Notification) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) Notification to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the Notification + * @return true if the Notification is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a Notification. + * + * @param qualifiedName of the Notification + * @param name of the Notification + * @return the minimal request necessary to update the Notification, as a builder + */ + public static NotificationBuilder updater(String qualifiedName, String name) { + return Notification._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a Notification, + * from a potentially more-complete Notification object. + * + * @return the minimal object necessary to update the Notification, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a Notification are not present in the initial object + */ + @Override + public NotificationBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class NotificationBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a Notification. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the Notification + * @param name of the Notification + * @return the updated Notification, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static Notification removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (Notification) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a Notification. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the Notification + * @param name of the Notification + * @return the updated Notification, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static Notification removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (Notification) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a Notification. + * + * @param client connectivity to the Atlan tenant from which to remove the Notification's owners + * @param qualifiedName of the Notification + * @param name of the Notification + * @return the updated Notification, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static Notification removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (Notification) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a Notification. + * + * @param client connectivity to the Atlan tenant on which to update the Notification's certificate + * @param qualifiedName of the Notification + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated Notification, or null if the update failed + * @throws AtlanException on any API problems + */ + public static Notification updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (Notification) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a Notification. + * + * @param client connectivity to the Atlan tenant from which to remove the Notification's certificate + * @param qualifiedName of the Notification + * @param name of the Notification + * @return the updated Notification, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static Notification removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (Notification) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a Notification. + * + * @param client connectivity to the Atlan tenant on which to update the Notification's announcement + * @param qualifiedName of the Notification + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static Notification updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (Notification) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a Notification. + * + * @param client connectivity to the Atlan client from which to remove the Notification's announcement + * @param qualifiedName of the Notification + * @param name of the Notification + * @return the updated Notification, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static Notification removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (Notification) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the Notification. + * + * @param client connectivity to the Atlan tenant on which to replace the Notification's assigned terms + * @param qualifiedName for the Notification + * @param name human-readable name of the Notification + * @param terms the list of terms to replace on the Notification, or null to remove all terms from the Notification + * @return the Notification that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static Notification replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (Notification) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the Notification, without replacing existing terms linked to the Notification. + * Note: this operation must make two API calls — one to retrieve the Notification's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the Notification + * @param qualifiedName for the Notification + * @param terms the list of terms to append to the Notification + * @return the Notification that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static Notification appendTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (Notification) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a Notification, without replacing all existing terms linked to the Notification. + * Note: this operation must make two API calls — one to retrieve the Notification's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the Notification + * @param qualifiedName for the Notification + * @param terms the list of terms to remove from the Notification, which must be referenced by GUID + * @return the Notification that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static Notification removeTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (Notification) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a Notification, without replacing existing Atlan tags linked to the Notification. + * Note: this operation must make two API calls — one to retrieve the Notification's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the Notification + * @param qualifiedName of the Notification + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated Notification + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static Notification appendAtlanTags(AtlanClient client, String qualifiedName, List atlanTagNames) + throws AtlanException { + return (Notification) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a Notification, without replacing existing Atlan tags linked to the Notification. + * Note: this operation must make two API calls — one to retrieve the Notification's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the Notification + * @param qualifiedName of the Notification + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated Notification + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static Notification appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (Notification) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a Notification. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a Notification + * @param qualifiedName of the Notification + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the Notification + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/Procedure.java b/sdk/src/main/java/com/atlan/model/assets/Procedure.java index c4b66b48ae..2d485bb428 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Procedure.java +++ b/sdk/src/main/java/com/atlan/model/assets/Procedure.java @@ -63,6 +63,10 @@ public class Procedure extends Asset implements IProcedure, ISQL, ICatalog, IAss @Attribute String catalogDatasetGuid; + /** Cosmos collection in which this procedure exists. */ + @Attribute + ICosmosMongoDBCollection cosmosMongoDBCollection; + /** Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ @Attribute String databaseName; diff --git a/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysis.java b/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysis.java index b950c39c82..4b3cc65988 100644 --- a/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysis.java +++ b/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysis.java @@ -114,7 +114,7 @@ public class QuickSightAnalysis extends Asset @Singular SortedSet quickSightAnalysisFilterGroups; - /** TBC */ + /** Folders that contain this analysis. */ @Attribute @Singular SortedSet quickSightAnalysisFolders; diff --git a/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysisField.java b/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysisField.java new file mode 100644 index 0000000000..b7cf1bf00e --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysisField.java @@ -0,0 +1,629 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Instance of a QuickSight analysis field in Atlan. These represent the dataset columns and calculated fields used by an analysis visual. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class QuickSightAnalysisField extends Asset + implements IQuickSightAnalysisField, IQuickSight, IBI, ICatalog, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "QuickSightAnalysisField"; + + /** Fixed typeName for QuickSightAnalysisFields. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Unique identifier of the dataset this asset belongs to. */ + @Attribute + String catalogDatasetGuid; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** Identifier of the analysis dataset this field belongs to. */ + @Attribute + String quickSightAnalysisFieldDataSetIdentifier; + + /** Formula of this field, when it is a calculated field. */ + @Attribute + String quickSightAnalysisFieldExpression; + + /** Unique name of the QuickSight analysis that contains this field's visual. */ + @Attribute + String quickSightAnalysisQualifiedName; + + /** Analysis visual that uses this field. */ + @Attribute + IQuickSightAnalysisVisual quickSightAnalysisVisual; + + /** Unique name of the QuickSight analysis visual that uses this field. */ + @Attribute + String quickSightAnalysisVisualQualifiedName; + + /** Unique identifier for the QuickSight asset. */ + @Attribute + String quickSightId; + + /** Unique identifier for the QuickSight sheet. */ + @Attribute + String quickSightSheetId; + + /** Name of the QuickSight sheet. */ + @Attribute + String quickSightSheetName; + + /** + * Builds the minimal object necessary to create a relationship to a QuickSightAnalysisField, from a potentially + * more-complete QuickSightAnalysisField object. + * + * @return the minimal object necessary to relate to the QuickSightAnalysisField + * @throws InvalidRequestException if any of the minimal set of required properties for a QuickSightAnalysisField relationship are not found in the initial object + */ + @Override + public QuickSightAnalysisField trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all QuickSightAnalysisField assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) QuickSightAnalysisField assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all QuickSightAnalysisField assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all QuickSightAnalysisField assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) QuickSightAnalysisFields will be included + * @return a fluent search that includes all QuickSightAnalysisField assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a QuickSightAnalysisField by GUID. Use this to create a relationship to this QuickSightAnalysisField, + * where the relationship should be replaced. + * + * @param guid the GUID of the QuickSightAnalysisField to reference + * @return reference to a QuickSightAnalysisField that can be used for defining a relationship to a QuickSightAnalysisField + */ + public static QuickSightAnalysisField refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a QuickSightAnalysisField by GUID. Use this to create a relationship to this QuickSightAnalysisField, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the QuickSightAnalysisField to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a QuickSightAnalysisField that can be used for defining a relationship to a QuickSightAnalysisField + */ + public static QuickSightAnalysisField refByGuid(String guid, Reference.SaveSemantic semantic) { + return QuickSightAnalysisField._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a QuickSightAnalysisField by qualifiedName. Use this to create a relationship to this QuickSightAnalysisField, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the QuickSightAnalysisField to reference + * @return reference to a QuickSightAnalysisField that can be used for defining a relationship to a QuickSightAnalysisField + */ + public static QuickSightAnalysisField refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a QuickSightAnalysisField by qualifiedName. Use this to create a relationship to this QuickSightAnalysisField, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the QuickSightAnalysisField to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a QuickSightAnalysisField that can be used for defining a relationship to a QuickSightAnalysisField + */ + public static QuickSightAnalysisField refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return QuickSightAnalysisField._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a QuickSightAnalysisField by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the QuickSightAnalysisField to retrieve, either its GUID or its full qualifiedName + * @return the requested full QuickSightAnalysisField, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the QuickSightAnalysisField does not exist or the provided GUID is not a QuickSightAnalysisField + */ + @JsonIgnore + public static QuickSightAnalysisField get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a QuickSightAnalysisField by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the QuickSightAnalysisField to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full QuickSightAnalysisField, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the QuickSightAnalysisField does not exist or the provided GUID is not a QuickSightAnalysisField + */ + @JsonIgnore + public static QuickSightAnalysisField get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof QuickSightAnalysisField) { + return (QuickSightAnalysisField) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof QuickSightAnalysisField) { + return (QuickSightAnalysisField) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a QuickSightAnalysisField by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the QuickSightAnalysisField to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the QuickSightAnalysisField, including any relationships + * @return the requested QuickSightAnalysisField, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the QuickSightAnalysisField does not exist or the provided GUID is not a QuickSightAnalysisField + */ + @JsonIgnore + public static QuickSightAnalysisField get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a QuickSightAnalysisField by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the QuickSightAnalysisField to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the QuickSightAnalysisField, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the QuickSightAnalysisField + * @return the requested QuickSightAnalysisField, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the QuickSightAnalysisField does not exist or the provided GUID is not a QuickSightAnalysisField + */ + @JsonIgnore + public static QuickSightAnalysisField get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = QuickSightAnalysisField.select(client) + .where(QuickSightAnalysisField.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof QuickSightAnalysisField) { + return (QuickSightAnalysisField) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = QuickSightAnalysisField.select(client) + .where(QuickSightAnalysisField.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof QuickSightAnalysisField) { + return (QuickSightAnalysisField) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) QuickSightAnalysisField to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the QuickSightAnalysisField + * @return true if the QuickSightAnalysisField is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a QuickSightAnalysisField. + * + * @param qualifiedName of the QuickSightAnalysisField + * @param name of the QuickSightAnalysisField + * @return the minimal request necessary to update the QuickSightAnalysisField, as a builder + */ + public static QuickSightAnalysisFieldBuilder updater(String qualifiedName, String name) { + return QuickSightAnalysisField._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a QuickSightAnalysisField, + * from a potentially more-complete QuickSightAnalysisField object. + * + * @return the minimal object necessary to update the QuickSightAnalysisField, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a QuickSightAnalysisField are not present in the initial object + */ + @Override + public QuickSightAnalysisFieldBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class QuickSightAnalysisFieldBuilder< + C extends QuickSightAnalysisField, B extends QuickSightAnalysisFieldBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a QuickSightAnalysisField. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the QuickSightAnalysisField + * @param name of the QuickSightAnalysisField + * @return the updated QuickSightAnalysisField, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static QuickSightAnalysisField removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (QuickSightAnalysisField) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a QuickSightAnalysisField. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the QuickSightAnalysisField + * @param name of the QuickSightAnalysisField + * @return the updated QuickSightAnalysisField, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static QuickSightAnalysisField removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (QuickSightAnalysisField) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a QuickSightAnalysisField. + * + * @param client connectivity to the Atlan tenant from which to remove the QuickSightAnalysisField's owners + * @param qualifiedName of the QuickSightAnalysisField + * @param name of the QuickSightAnalysisField + * @return the updated QuickSightAnalysisField, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static QuickSightAnalysisField removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (QuickSightAnalysisField) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a QuickSightAnalysisField. + * + * @param client connectivity to the Atlan tenant on which to update the QuickSightAnalysisField's certificate + * @param qualifiedName of the QuickSightAnalysisField + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated QuickSightAnalysisField, or null if the update failed + * @throws AtlanException on any API problems + */ + public static QuickSightAnalysisField updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (QuickSightAnalysisField) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a QuickSightAnalysisField. + * + * @param client connectivity to the Atlan tenant from which to remove the QuickSightAnalysisField's certificate + * @param qualifiedName of the QuickSightAnalysisField + * @param name of the QuickSightAnalysisField + * @return the updated QuickSightAnalysisField, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static QuickSightAnalysisField removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (QuickSightAnalysisField) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a QuickSightAnalysisField. + * + * @param client connectivity to the Atlan tenant on which to update the QuickSightAnalysisField's announcement + * @param qualifiedName of the QuickSightAnalysisField + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static QuickSightAnalysisField updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (QuickSightAnalysisField) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a QuickSightAnalysisField. + * + * @param client connectivity to the Atlan client from which to remove the QuickSightAnalysisField's announcement + * @param qualifiedName of the QuickSightAnalysisField + * @param name of the QuickSightAnalysisField + * @return the updated QuickSightAnalysisField, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static QuickSightAnalysisField removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (QuickSightAnalysisField) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the QuickSightAnalysisField. + * + * @param client connectivity to the Atlan tenant on which to replace the QuickSightAnalysisField's assigned terms + * @param qualifiedName for the QuickSightAnalysisField + * @param name human-readable name of the QuickSightAnalysisField + * @param terms the list of terms to replace on the QuickSightAnalysisField, or null to remove all terms from the QuickSightAnalysisField + * @return the QuickSightAnalysisField that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static QuickSightAnalysisField replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (QuickSightAnalysisField) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the QuickSightAnalysisField, without replacing existing terms linked to the QuickSightAnalysisField. + * Note: this operation must make two API calls — one to retrieve the QuickSightAnalysisField's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the QuickSightAnalysisField + * @param qualifiedName for the QuickSightAnalysisField + * @param terms the list of terms to append to the QuickSightAnalysisField + * @return the QuickSightAnalysisField that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static QuickSightAnalysisField appendTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (QuickSightAnalysisField) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a QuickSightAnalysisField, without replacing all existing terms linked to the QuickSightAnalysisField. + * Note: this operation must make two API calls — one to retrieve the QuickSightAnalysisField's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the QuickSightAnalysisField + * @param qualifiedName for the QuickSightAnalysisField + * @param terms the list of terms to remove from the QuickSightAnalysisField, which must be referenced by GUID + * @return the QuickSightAnalysisField that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static QuickSightAnalysisField removeTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (QuickSightAnalysisField) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a QuickSightAnalysisField, without replacing existing Atlan tags linked to the QuickSightAnalysisField. + * Note: this operation must make two API calls — one to retrieve the QuickSightAnalysisField's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the QuickSightAnalysisField + * @param qualifiedName of the QuickSightAnalysisField + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated QuickSightAnalysisField + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static QuickSightAnalysisField appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (QuickSightAnalysisField) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a QuickSightAnalysisField, without replacing existing Atlan tags linked to the QuickSightAnalysisField. + * Note: this operation must make two API calls — one to retrieve the QuickSightAnalysisField's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the QuickSightAnalysisField + * @param qualifiedName of the QuickSightAnalysisField + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated QuickSightAnalysisField + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static QuickSightAnalysisField appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (QuickSightAnalysisField) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a QuickSightAnalysisField. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a QuickSightAnalysisField + * @param qualifiedName of the QuickSightAnalysisField + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the QuickSightAnalysisField + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysisVisual.java b/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysisVisual.java index 70ec4672ed..a04cf52b6c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysisVisual.java +++ b/sdk/src/main/java/com/atlan/model/assets/QuickSightAnalysisVisual.java @@ -107,6 +107,11 @@ public class QuickSightAnalysisVisual extends Asset @Attribute IQuickSightAnalysis quickSightAnalysis; + /** Fields used by this analysis visual. */ + @Attribute + @Singular + SortedSet quickSightAnalysisFields; + /** Unique name of the QuickSight analysis in which this visual exists. */ @Attribute String quickSightAnalysisQualifiedName; diff --git a/sdk/src/main/java/com/atlan/model/assets/QuickSightDashboard.java b/sdk/src/main/java/com/atlan/model/assets/QuickSightDashboard.java index 839e754ddb..49cc8e10b9 100644 --- a/sdk/src/main/java/com/atlan/model/assets/QuickSightDashboard.java +++ b/sdk/src/main/java/com/atlan/model/assets/QuickSightDashboard.java @@ -103,7 +103,7 @@ public class QuickSightDashboard extends Asset @Singular SortedSet partialChildObjects; - /** TBC */ + /** Folders that contain this dashboard. */ @Attribute @Singular SortedSet quickSightDashboardFolders; diff --git a/sdk/src/main/java/com/atlan/model/assets/QuickSightDataset.java b/sdk/src/main/java/com/atlan/model/assets/QuickSightDataset.java index 344b22f0f6..d6b72ea0ac 100644 --- a/sdk/src/main/java/com/atlan/model/assets/QuickSightDataset.java +++ b/sdk/src/main/java/com/atlan/model/assets/QuickSightDataset.java @@ -113,7 +113,7 @@ public class QuickSightDataset extends Asset @Singular SortedSet quickSightDatasetFields; - /** TBC */ + /** Folders that contain this dataset. */ @Attribute @Singular SortedSet quickSightDatasetFolders; diff --git a/sdk/src/main/java/com/atlan/model/assets/QuickSightFolder.java b/sdk/src/main/java/com/atlan/model/assets/QuickSightFolder.java index 33addb7265..bedaf25636 100644 --- a/sdk/src/main/java/com/atlan/model/assets/QuickSightFolder.java +++ b/sdk/src/main/java/com/atlan/model/assets/QuickSightFolder.java @@ -104,17 +104,17 @@ public class QuickSightFolder extends Asset @Singular SortedSet partialChildObjects; - /** TBC */ + /** Analyses contained in this folder. */ @Attribute @Singular SortedSet quickSightAnalyses; - /** TBC */ + /** Dashboards contained in this folder. */ @Attribute @Singular SortedSet quickSightDashboards; - /** TBC */ + /** Datasets contained in this folder. */ @Attribute @Singular SortedSet quickSightDatasets; diff --git a/sdk/src/main/java/com/atlan/model/assets/Response.java b/sdk/src/main/java/com/atlan/model/assets/Response.java index cada7f1267..beeb663589 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Response.java +++ b/sdk/src/main/java/com/atlan/model/assets/Response.java @@ -74,6 +74,11 @@ public class Response extends Asset implements IResponse, IForm, IAsset, IRefere @Singular SortedSet gcpDataplexAspectTypeMetadataEntities; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** Options of the response to a form. */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/SAPColumnProcess.java b/sdk/src/main/java/com/atlan/model/assets/SAPColumnProcess.java index 5fceb720ef..8d13658786 100644 --- a/sdk/src/main/java/com/atlan/model/assets/SAPColumnProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/SAPColumnProcess.java @@ -10,6 +10,7 @@ import com.atlan.model.enums.AIDatasetType; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.fields.AtlanField; import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; @@ -72,7 +73,7 @@ public class SAPColumnProcess extends Asset @Attribute String ast; - /** TBC */ + /** Routines used by this process. */ @Attribute @Singular SortedSet bigqueryRoutines; @@ -185,6 +186,10 @@ public class SAPColumnProcess extends Asset @Attribute ILineageProcess process; + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + @Attribute + ProcessLineageDerivation processDerivation; + /** SAP BW Transformation whose mapping logic this column-level process represents (populated as a single-element list by the connector). */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/SAPProcess.java b/sdk/src/main/java/com/atlan/model/assets/SAPProcess.java index cbc0e486ce..91f71ff838 100644 --- a/sdk/src/main/java/com/atlan/model/assets/SAPProcess.java +++ b/sdk/src/main/java/com/atlan/model/assets/SAPProcess.java @@ -10,6 +10,7 @@ import com.atlan.model.enums.AIDatasetType; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.ProcessLineageDerivation; import com.atlan.model.fields.AtlanField; import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; @@ -71,7 +72,7 @@ public class SAPProcess extends Asset implements ISAPProcess, ILineageProcess, I @Attribute String ast; - /** TBC */ + /** Routines used by this process. */ @Attribute @Singular SortedSet bigqueryRoutines; @@ -180,6 +181,10 @@ public class SAPProcess extends Asset implements ISAPProcess, ILineageProcess, I @Attribute IPowerBIDataflow powerBIDataflow; + /** How this lineage process was derived — statically from an asset definition, or from an operational data-processing run. */ + @Attribute + ProcessLineageDerivation processDerivation; + /** SAP BW DTPs whose data flow this process materialises (typically one, occasionally several for chained loads). */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/assets/SageMakerUnifiedStudioProject.java b/sdk/src/main/java/com/atlan/model/assets/SageMakerUnifiedStudioProject.java index e6b16314d4..a550e2ec7f 100644 --- a/sdk/src/main/java/com/atlan/model/assets/SageMakerUnifiedStudioProject.java +++ b/sdk/src/main/java/com/atlan/model/assets/SageMakerUnifiedStudioProject.java @@ -141,7 +141,7 @@ public class SageMakerUnifiedStudioProject extends Asset @Attribute String smusProjectS3Location; - /** SSO users associated with the SageMaker Unified Studio project, sourced from the source system. Each entry has `email` and `role` fields. */ + /** SSO users associated with the SageMaker Unified Studio project, sourced from the source system. Each entry has `email`, `role` and optional `fullName` fields. */ @Attribute @Singular List smusProjectSsoUsers; diff --git a/sdk/src/main/java/com/atlan/model/assets/SageMakerUnifiedStudioPublishedAsset.java b/sdk/src/main/java/com/atlan/model/assets/SageMakerUnifiedStudioPublishedAsset.java index 1978baa5e8..a879af21ed 100644 --- a/sdk/src/main/java/com/atlan/model/assets/SageMakerUnifiedStudioPublishedAsset.java +++ b/sdk/src/main/java/com/atlan/model/assets/SageMakerUnifiedStudioPublishedAsset.java @@ -162,6 +162,10 @@ public class SageMakerUnifiedStudioPublishedAsset extends Asset @Attribute String smusProjectId; + /** Asset filters configured for the published asset in SageMaker Unified Studio, as a JSON-serialized array. Each entry represents a row-level or column-level access restriction (id, name, description, effectiveRowFilter, effectiveColumnNames). */ + @Attribute + String smusPublishedAssetFilters; + /** Number of subscriptions for the published asset. */ @Attribute Long smusPublishedAssetSubscriptionsCount; diff --git a/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloud.java b/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloud.java new file mode 100644 index 0000000000..3f8ae2e412 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloud.java @@ -0,0 +1,652 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Base class for SAP Analytics Cloud assets. Inherits the SAP-wide attributes (technicalName, logicalName, packageName, componentName, dataType, fieldCount, fieldOrder) so cross-SAP queries traverse SAP Analytics Cloud alongside SAP ERP, SAP BW and SAP Datasphere. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class SapAnalyticsCloud extends Asset implements ISapAnalyticsCloud, ISAP, ICatalog, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "SapAnalyticsCloud"; + + /** Fixed typeName for SapAnalyticsClouds. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Unique identifier of the dataset this asset belongs to. */ + @Attribute + String catalogDatasetGuid; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + @Attribute + String sapAnalyticsCloudObjectId; + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + @Attribute + String sapAnalyticsCloudParentFolderName; + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + @Attribute + String sapAnalyticsCloudParentFolderQualifiedName; + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + @Attribute + String sapAnalyticsCloudRepositoryPartition; + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + @Attribute + String sapAnalyticsCloudResourceId; + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + @Attribute + String sapAnalyticsCloudWorkspaceId; + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + @Attribute + String sapAnalyticsCloudWorkspaceName; + + /** Name of the SAP component, representing a specific functional area in SAP. */ + @Attribute + String sapComponentName; + + /** SAP-specific data types. */ + @Attribute + String sapDataType; + + /** Represents the total number of fields, columns, or child assets present in a given SAP asset. */ + @Attribute + Long sapFieldCount; + + /** Indicates the sequential position of a field, column, or child asset within its parent SAP asset, starting from 1. */ + @Attribute + Integer sapFieldOrder; + + /** Logical, business-friendly identifier for SAP data objects, aligned with business terminology and concepts. */ + @Attribute + String sapLogicalName; + + /** Name of the SAP package, representing a logical grouping of related SAP data objects. */ + @Attribute + String sapPackageName; + + /** Technical identifier for SAP data objects, used for integration and internal reference. */ + @Attribute + String sapTechnicalName; + + /** + * Builds the minimal object necessary to create a relationship to a SapAnalyticsCloud, from a potentially + * more-complete SapAnalyticsCloud object. + * + * @return the minimal object necessary to relate to the SapAnalyticsCloud + * @throws InvalidRequestException if any of the minimal set of required properties for a SapAnalyticsCloud relationship are not found in the initial object + */ + @Override + public SapAnalyticsCloud trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all SapAnalyticsCloud assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) SapAnalyticsCloud assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all SapAnalyticsCloud assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all SapAnalyticsCloud assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) SapAnalyticsClouds will be included + * @return a fluent search that includes all SapAnalyticsCloud assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a SapAnalyticsCloud by GUID. Use this to create a relationship to this SapAnalyticsCloud, + * where the relationship should be replaced. + * + * @param guid the GUID of the SapAnalyticsCloud to reference + * @return reference to a SapAnalyticsCloud that can be used for defining a relationship to a SapAnalyticsCloud + */ + public static SapAnalyticsCloud refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapAnalyticsCloud by GUID. Use this to create a relationship to this SapAnalyticsCloud, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the SapAnalyticsCloud to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapAnalyticsCloud that can be used for defining a relationship to a SapAnalyticsCloud + */ + public static SapAnalyticsCloud refByGuid(String guid, Reference.SaveSemantic semantic) { + return SapAnalyticsCloud._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a SapAnalyticsCloud by qualifiedName. Use this to create a relationship to this SapAnalyticsCloud, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the SapAnalyticsCloud to reference + * @return reference to a SapAnalyticsCloud that can be used for defining a relationship to a SapAnalyticsCloud + */ + public static SapAnalyticsCloud refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapAnalyticsCloud by qualifiedName. Use this to create a relationship to this SapAnalyticsCloud, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the SapAnalyticsCloud to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapAnalyticsCloud that can be used for defining a relationship to a SapAnalyticsCloud + */ + public static SapAnalyticsCloud refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return SapAnalyticsCloud._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a SapAnalyticsCloud by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloud to retrieve, either its GUID or its full qualifiedName + * @return the requested full SapAnalyticsCloud, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloud does not exist or the provided GUID is not a SapAnalyticsCloud + */ + @JsonIgnore + public static SapAnalyticsCloud get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a SapAnalyticsCloud by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloud to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full SapAnalyticsCloud, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloud does not exist or the provided GUID is not a SapAnalyticsCloud + */ + @JsonIgnore + public static SapAnalyticsCloud get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof SapAnalyticsCloud) { + return (SapAnalyticsCloud) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof SapAnalyticsCloud) { + return (SapAnalyticsCloud) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a SapAnalyticsCloud by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloud to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapAnalyticsCloud, including any relationships + * @return the requested SapAnalyticsCloud, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloud does not exist or the provided GUID is not a SapAnalyticsCloud + */ + @JsonIgnore + public static SapAnalyticsCloud get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a SapAnalyticsCloud by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloud to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapAnalyticsCloud, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the SapAnalyticsCloud + * @return the requested SapAnalyticsCloud, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloud does not exist or the provided GUID is not a SapAnalyticsCloud + */ + @JsonIgnore + public static SapAnalyticsCloud get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = SapAnalyticsCloud.select(client) + .where(SapAnalyticsCloud.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof SapAnalyticsCloud) { + return (SapAnalyticsCloud) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = SapAnalyticsCloud.select(client) + .where(SapAnalyticsCloud.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof SapAnalyticsCloud) { + return (SapAnalyticsCloud) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) SapAnalyticsCloud to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the SapAnalyticsCloud + * @return true if the SapAnalyticsCloud is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a SapAnalyticsCloud. + * + * @param qualifiedName of the SapAnalyticsCloud + * @param name of the SapAnalyticsCloud + * @return the minimal request necessary to update the SapAnalyticsCloud, as a builder + */ + public static SapAnalyticsCloudBuilder updater(String qualifiedName, String name) { + return SapAnalyticsCloud._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a SapAnalyticsCloud, + * from a potentially more-complete SapAnalyticsCloud object. + * + * @return the minimal object necessary to update the SapAnalyticsCloud, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a SapAnalyticsCloud are not present in the initial object + */ + @Override + public SapAnalyticsCloudBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class SapAnalyticsCloudBuilder< + C extends SapAnalyticsCloud, B extends SapAnalyticsCloudBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a SapAnalyticsCloud. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapAnalyticsCloud + * @param name of the SapAnalyticsCloud + * @return the updated SapAnalyticsCloud, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloud removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloud) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a SapAnalyticsCloud. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapAnalyticsCloud + * @param name of the SapAnalyticsCloud + * @return the updated SapAnalyticsCloud, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloud removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloud) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a SapAnalyticsCloud. + * + * @param client connectivity to the Atlan tenant from which to remove the SapAnalyticsCloud's owners + * @param qualifiedName of the SapAnalyticsCloud + * @param name of the SapAnalyticsCloud + * @return the updated SapAnalyticsCloud, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloud removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloud) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a SapAnalyticsCloud. + * + * @param client connectivity to the Atlan tenant on which to update the SapAnalyticsCloud's certificate + * @param qualifiedName of the SapAnalyticsCloud + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated SapAnalyticsCloud, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloud updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (SapAnalyticsCloud) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a SapAnalyticsCloud. + * + * @param client connectivity to the Atlan tenant from which to remove the SapAnalyticsCloud's certificate + * @param qualifiedName of the SapAnalyticsCloud + * @param name of the SapAnalyticsCloud + * @return the updated SapAnalyticsCloud, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloud removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloud) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a SapAnalyticsCloud. + * + * @param client connectivity to the Atlan tenant on which to update the SapAnalyticsCloud's announcement + * @param qualifiedName of the SapAnalyticsCloud + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloud updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (SapAnalyticsCloud) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a SapAnalyticsCloud. + * + * @param client connectivity to the Atlan client from which to remove the SapAnalyticsCloud's announcement + * @param qualifiedName of the SapAnalyticsCloud + * @param name of the SapAnalyticsCloud + * @return the updated SapAnalyticsCloud, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloud removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloud) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the SapAnalyticsCloud. + * + * @param client connectivity to the Atlan tenant on which to replace the SapAnalyticsCloud's assigned terms + * @param qualifiedName for the SapAnalyticsCloud + * @param name human-readable name of the SapAnalyticsCloud + * @param terms the list of terms to replace on the SapAnalyticsCloud, or null to remove all terms from the SapAnalyticsCloud + * @return the SapAnalyticsCloud that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloud replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (SapAnalyticsCloud) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the SapAnalyticsCloud, without replacing existing terms linked to the SapAnalyticsCloud. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloud's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the SapAnalyticsCloud + * @param qualifiedName for the SapAnalyticsCloud + * @param terms the list of terms to append to the SapAnalyticsCloud + * @return the SapAnalyticsCloud that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapAnalyticsCloud appendTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (SapAnalyticsCloud) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a SapAnalyticsCloud, without replacing all existing terms linked to the SapAnalyticsCloud. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloud's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the SapAnalyticsCloud + * @param qualifiedName for the SapAnalyticsCloud + * @param terms the list of terms to remove from the SapAnalyticsCloud, which must be referenced by GUID + * @return the SapAnalyticsCloud that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapAnalyticsCloud removeTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (SapAnalyticsCloud) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a SapAnalyticsCloud, without replacing existing Atlan tags linked to the SapAnalyticsCloud. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloud's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapAnalyticsCloud + * @param qualifiedName of the SapAnalyticsCloud + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated SapAnalyticsCloud + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static SapAnalyticsCloud appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (SapAnalyticsCloud) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a SapAnalyticsCloud, without replacing existing Atlan tags linked to the SapAnalyticsCloud. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloud's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapAnalyticsCloud + * @param qualifiedName of the SapAnalyticsCloud + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated SapAnalyticsCloud + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static SapAnalyticsCloud appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (SapAnalyticsCloud) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a SapAnalyticsCloud. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a SapAnalyticsCloud + * @param qualifiedName of the SapAnalyticsCloud + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the SapAnalyticsCloud + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudColumn.java b/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudColumn.java new file mode 100644 index 0000000000..c2ee756169 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudColumn.java @@ -0,0 +1,1255 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.model.structs.AssetHistogram; +import com.atlan.model.structs.ColumnValueFrequencyMap; +import com.atlan.model.structs.Histogram; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Column of a SAP Analytics Cloud model. Depending on its role a column is the fact table itself, a measure or dimension of that fact table, or an attribute or hierarchy level of a dimension. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class SapAnalyticsCloudColumn extends Asset + implements ISapAnalyticsCloudColumn, IColumn, ISapAnalyticsCloud, ISQL, ISAP, ICatalog, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "SapAnalyticsCloudColumn"; + + /** Fixed typeName for SapAnalyticsCloudColumns. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Calculate view in which this column exists. */ + @Attribute + ICalculationView calculationView; + + /** Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + @Attribute + String calculationViewName; + + /** Unique name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */ + @Attribute + String calculationViewQualifiedName; + + /** Unique identifier of the dataset this asset belongs to. */ + @Attribute + String catalogDatasetGuid; + + /** Type of dimension as classified by AI analysis, for example: time, categorical, geographic. */ + @Attribute + String columnAiInsightsDimensionType; + + /** Qualified name of the column in another table that this column likely references as a foreign key, inferred by AI analysis of query patterns. */ + @Attribute + String columnAiInsightsForeignKeyColumnQualifiedName; + + /** When true, this column is identified as a dimension by AI analysis of query patterns. */ + @Attribute + Boolean columnAiInsightsIsDimension; + + /** When true, this column is identified as a measure/calculated column by AI analysis of query patterns. */ + @Attribute + Boolean columnAiInsightsIsMeasure; + + /** Type of measure/calculated column as classified by AI analysis, for example: base, calculated, derived. */ + @Attribute + String columnAiInsightsMeasureType; + + /** Average value in this column. */ + @Attribute + Double columnAverage; + + /** Average length of values in a string column. */ + @Attribute + Double columnAverageLength; + + /** Average length of values in a string column. */ + @Attribute + Double columnAverageLengthValue; + + /** Average value in this column. */ + @Attribute + Double columnAverageValue; + + /** Compression type of this column. */ + @Attribute + String columnCompression; + + /** Model columns related to this column. */ + @Attribute + @Singular + SortedSet columnDbtModelColumns; + + /** Level of nesting of this column, used for STRUCT and NESTED columns. */ + @Attribute + Integer columnDepthLevel; + + /** Number of rows that contain distinct values. */ + @Attribute + Integer columnDistinctValuesCount; + + /** Number of rows that contain distinct values. */ + @Attribute + Long columnDistinctValuesCountLong; + + /** Percentage of rows in a column that contain distinct values. */ + @Attribute + Double columnDistinctValuesPercentage; + + /** Detailed information representing a histogram of values for a column. */ + @Attribute + AssetHistogram columnDistributionHistogram; + + /** Number of rows that contain duplicate values. */ + @Attribute + Integer columnDuplicateValuesCount; + + /** Number of rows that contain duplicate values. */ + @Attribute + Long columnDuplicateValuesCountLong; + + /** Encoding type of this column. */ + @Attribute + String columnEncoding; + + /** List of top-level upstream nested columns. */ + @Attribute + @Singular("putColumnHierarchy") + List> columnHierarchy; + + /** List of values in a histogram that represents the contents of this column. */ + @Attribute + Histogram columnHistogram; + + /** When true, this column is of type measure/calculated. */ + @Attribute + Boolean columnIsMeasure; + + /** Greatest value in a numeric column. */ + @Attribute + Double columnMax; + + /** Greatest value in a numeric column. */ + @Attribute + Double columnMaxValue; + + /** Length of the longest value in a string column. */ + @Attribute + Integer columnMaximumStringLength; + + /** List of the greatest values in a column. */ + @Attribute + @Singular("addColumnMax") + SortedSet columnMaxs; + + /** Arithmetic mean of the values in a numeric column. */ + @Attribute + Double columnMean; + + /** Arithmetic mean of the values in a numeric column. */ + @Attribute + Double columnMeanValue; + + /** The type of measure/calculated column this is, eg: base, calculated, derived. */ + @Attribute + String columnMeasureType; + + /** Calculated median of the values in a numeric column. */ + @Attribute + Double columnMedian; + + /** Calculated median of the values in a numeric column. */ + @Attribute + Double columnMedianValue; + + /** Least value in a numeric column. */ + @Attribute + Double columnMin; + + /** Least value in a numeric column. */ + @Attribute + Double columnMinValue; + + /** Length of the shortest value in a string column. */ + @Attribute + Integer columnMinimumStringLength; + + /** List of the least values in a column. */ + @Attribute + @Singular("addColumnMin") + SortedSet columnMins; + + /** Number of rows in a column that do not contain content. */ + @Attribute + Integer columnMissingValuesCount; + + /** Number of rows in a column that do not contain content. */ + @Attribute + Long columnMissingValuesCountLong; + + /** Percentage of rows in a column that do not contain content. */ + @Attribute + Double columnMissingValuesPercentage; + + /** Calculated standard deviation of the values in a numeric column. */ + @Attribute + Double columnStandardDeviation; + + /** Calculated standard deviation of the values in a numeric column. */ + @Attribute + Double columnStandardDeviationValue; + + /** Calculated sum of the values in a numeric column. */ + @Attribute + Double columnSum; + + /** Calculated sum of the values in a numeric column. */ + @Attribute + Double columnSumValue; + + /** List of top values in this column. */ + @Attribute + @Singular + List columnTopValues; + + /** Number of rows in which a value in this column appears only once. */ + @Attribute + Integer columnUniqueValuesCount; + + /** Number of rows in which a value in this column appears only once. */ + @Attribute + Long columnUniqueValuesCountLong; + + /** Ratio indicating how unique data in this column is: 0 indicates that all values are the same, 100 indicates that all values in this column are unique. */ + @Attribute + Double columnUniquenessPercentage; + + /** Calculated variance of the values in a numeric column. */ + @Attribute + Double columnVariance; + + /** Calculated variance of the values in a numeric column. */ + @Attribute + Double columnVarianceValue; + + /** Cosmos collection in which this column exists. */ + @Attribute + ICosmosMongoDBCollection cosmosMongoDBCollection; + + /** TBC */ + @Attribute + @Singular + SortedSet dataQualityMetricDimensions; + + /** Data type of values in this column. */ + @Attribute + String dataType; + + /** Simple name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + @Attribute + String databaseName; + + /** Unique name of the database in which this SQL asset exists, or empty if it does not exist within a database. */ + @Attribute + String databaseQualifiedName; + + /** Metrics related to this model column. */ + @Attribute + @Singular + SortedSet dbtMetrics; + + /** (Deprecated) Model columns related to this model column. */ + @Attribute + @Singular + SortedSet dbtModelColumns; + + /** (Deprecated) Model containing the assets. */ + @Attribute + @Singular + SortedSet dbtModels; + + /** DBT seeds that materialize the SQL asset. */ + @Attribute + @Singular + SortedSet dbtSeedAssets; + + /** Source containing the assets. */ + @Attribute + @Singular + SortedSet dbtSources; + + /** Tests related to this asset. */ + @Attribute + @Singular + SortedSet dbtTests; + + /** Default value for this column. */ + @Attribute + String defaultValue; + + /** Rules that are applied on this column. */ + @Attribute + @Singular + SortedSet dqBaseColumnRules; + + /** Rules where this column is referenced. */ + @Attribute + @Singular + SortedSet dqReferenceColumnRules; + + /** Column this foreign key column refers to. */ + @Attribute + IColumn foreignKeyFrom; + + /** Columns that use this column as a foreign key. */ + @Attribute + @Singular("addForeignKeyTo") + SortedSet foreignKeyTo; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Whether this column is a clustered column (true) or not (false). */ + @Attribute + Boolean isClustered; + + /** Whether this column is a distribution column (true) or not (false). */ + @Attribute + Boolean isDist; + + /** When true, this column is a foreign key to another table. NOTE: this must be true when using the foreignKeyTo relationship to specify columns that refer to this column as a foreign key. */ + @Attribute + Boolean isForeign; + + /** When true, this column is indexed in the database. */ + @Attribute + Boolean isIndexed; + + /** When true, the values in this column can be null. */ + @Attribute + Boolean isNullable; + + /** Whether this column is a partition column (true) or not (false). */ + @Attribute + Boolean isPartition; + + /** Whether this column is pinned (true) or not (false). */ + @Attribute + Boolean isPinned; + + /** When true, this column is the primary key for the table. */ + @Attribute + Boolean isPrimary; + + /** Whether this asset has been profiled (true) or not (false). */ + @Attribute + Boolean isProfiled; + + /** Whether this column is a sort column (true) or not (false). */ + @Attribute + Boolean isSort; + + /** Time (epoch) at which this asset was last profiled, in milliseconds. */ + @Attribute + @Date + Long lastProfiledAt; + + /** Materialized view in which this column exists. */ + @Attribute + @JsonProperty("materialisedView") + IMaterializedView materializedView; + + /** Maximum length of a value in this column. */ + @Attribute + Long maxLength; + + /** TBC */ + @Attribute + @Singular + SortedSet metricTimestamps; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Collection in which the columns exist. */ + @Attribute + IMongoDBCollection mongoDBCollection; + + /** Number of columns nested within this (STRUCT or NESTED) column. */ + @Attribute + Integer nestedColumnCount; + + /** Order (position) in which this column appears in the nested Column (nest level starts at 1). */ + @Attribute + String nestedColumnOrder; + + /** Nested columns that exist within this column. */ + @Attribute + @Singular + SortedSet nestedColumns; + + /** Simple name of the cosmos/mongo collection in which this SQL asset (column) exists, or empty if it does not exist within a cosmos/mongo collection. */ + @Attribute + String nosqlCollectionName; + + /** Unique name of the cosmos/mongo collection in which this SQL asset (column) exists, or empty if it does not exist within a cosmos/mongo collection. */ + @Attribute + String nosqlCollectionQualifiedName; + + /** Number of digits allowed to the right of the decimal point. */ + @Attribute + Double numericScale; + + /** Order (position) in which this column appears in the table (starting at 1). */ + @Attribute + Integer order; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Column in which this sub-column is nested. */ + @Attribute + IColumn parentColumn; + + /** Simple name of the column this column is nested within, for STRUCT and NESTED columns. */ + @Attribute + String parentColumnName; + + /** Unique name of the column this column is nested within, for STRUCT and NESTED columns. */ + @Attribute + String parentColumnQualifiedName; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** Order (position) of this partition column in the table. */ + @Attribute + Integer partitionOrder; + + /** Time (epoch) at which this column was pinned, in milliseconds. */ + @Attribute + @Date + Long pinnedAt; + + /** User who pinned this column. */ + @Attribute + String pinnedBy; + + /** Total number of digits allowed, when the dataType is numeric. */ + @Attribute + Integer precision; + + /** Queries that access this column. */ + @Attribute + @Singular + SortedSet queries; + + /** Number of times this asset has been queried. */ + @Attribute + Long queryCount; + + /** Time (epoch) at which the query count was last updated, in milliseconds. */ + @Attribute + @Date + Long queryCountUpdatedAt; + + /** Number of unique users who have queried this asset. */ + @Attribute + Long queryUserCount; + + /** Map of unique users who have queried this asset to the number of times they have queried it. */ + @Attribute + @Singular("putQueryUserMap") + Map queryUserMap; + + /** Raw data type definition of this column. */ + @Attribute + String rawDataTypeDefinition; + + /** Model in which this column is defined. */ + @Attribute + ISapAnalyticsCloudModel sapAnalyticsCloudModel; + + /** Simple name of the SAP Analytics Cloud model in which this column exists. */ + @Attribute + String sapAnalyticsCloudModelName; + + /** Unique name of the SAP Analytics Cloud model in which this column exists. */ + @Attribute + String sapAnalyticsCloudModelQualifiedName; + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + @Attribute + String sapAnalyticsCloudObjectId; + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + @Attribute + String sapAnalyticsCloudParentFolderName; + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + @Attribute + String sapAnalyticsCloudParentFolderQualifiedName; + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + @Attribute + String sapAnalyticsCloudRepositoryPartition; + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + @Attribute + String sapAnalyticsCloudResourceId; + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + @Attribute + String sapAnalyticsCloudWorkspaceId; + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + @Attribute + String sapAnalyticsCloudWorkspaceName; + + /** Name of the SAP component, representing a specific functional area in SAP. */ + @Attribute + String sapComponentName; + + /** SAP-specific data types. */ + @Attribute + String sapDataType; + + /** Represents the total number of fields, columns, or child assets present in a given SAP asset. */ + @Attribute + Long sapFieldCount; + + /** Indicates the sequential position of a field, column, or child asset within its parent SAP asset, starting from 1. */ + @Attribute + Integer sapFieldOrder; + + /** Logical, business-friendly identifier for SAP data objects, aligned with business terminology and concepts. */ + @Attribute + String sapLogicalName; + + /** Name of the SAP package, representing a logical grouping of related SAP data objects. */ + @Attribute + String sapPackageName; + + /** Technical identifier for SAP data objects, used for integration and internal reference. */ + @Attribute + String sapTechnicalName; + + /** Simple name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + @Attribute + String schemaName; + + /** Unique name of the schema in which this SQL asset exists, or empty if it does not exist within a schema. */ + @Attribute + String schemaQualifiedName; + + /** Snowflake dynamic table in which this column exists. */ + @Attribute + ISnowflakeDynamicTable snowflakeDynamicTable; + + /** Semantic logical tables that reference this physical table or view. */ + @Attribute + @Singular + SortedSet snowflakeSemanticLogicalTables; + + /** Unique name of the context in which the model versions exist, or empty if it does not exist within an AI model context. */ + @Attribute + String sqlAIModelContextQualifiedName; + + /** Time (epoch) at which this asset was last analyzed for AI insights, in milliseconds. */ + @Attribute + @Date + Long sqlAiInsightsLastAnalyzedAt; + + /** Number of popular business questions associated with this asset. */ + @Attribute + Integer sqlAiInsightsPopularBusinessQuestionCount; + + /** Number of popular filter patterns associated with this asset. */ + @Attribute + Integer sqlAiInsightsPopularFilterCount; + + /** Number of popular join patterns associated with this asset. */ + @Attribute + Integer sqlAiInsightsPopularJoinCount; + + /** Number of relationship insights associated with this asset. */ + @Attribute + Integer sqlAiInsightsRelationshipCount; + + /** Identifier of the Coalesce environment. */ + @Attribute + String sqlCoalesceEnvironmentId; + + /** Name of the Coalesce environment. */ + @Attribute + String sqlCoalesceEnvironmentName; + + /** Time (epoch) at which the Coalesce node that materialized this asset last ran, in milliseconds. */ + @Attribute + @Date + Long sqlCoalesceLastRunAt; + + /** Status of the Coalesce run. One of: success, failure, cancelled, or skipped. */ + @Attribute + String sqlCoalesceLastRunStatus; + + /** Status of the Coalesce node for a given run. */ + @Attribute + String sqlCoalesceNodeStatus; + + /** Type of the Coalesce node. */ + @Attribute + String sqlCoalesceNodeType; + + /** Identifier of the Coalesce project. */ + @Attribute + String sqlCoalesceProjectId; + + /** Name of the Coalesce project. */ + @Attribute + String sqlCoalesceProjectName; + + /** Sources related to this asset. */ + @Attribute + @Singular + SortedSet sqlDBTSources; + + /** Assets related to the model. */ + @Attribute + @Singular + SortedSet sqlDbtModels; + + /** Whether this asset has any AI insights data available. */ + @Attribute + Boolean sqlHasAiInsights; + + /** Business question insights for this SQL asset. */ + @Attribute + @Singular + SortedSet sqlInsightBusinessQuestions; + + /** Filter insights for this column. */ + @Attribute + @Singular + SortedSet sqlInsightFilters; + + /** Join insights where this asset is the joined dataset. */ + @Attribute + @Singular + SortedSet sqlInsightIncomingJoins; + + /** Join insights where this asset is the source dataset. */ + @Attribute + @Singular + SortedSet sqlInsightOutgoingJoins; + + /** Whether this asset is secure (true) or not (false). */ + @Attribute + Boolean sqlIsSecure; + + /** Qualified names of data shares this asset is granted to. */ + @Attribute + @Singular + SortedSet sqlShareQualifiedNames; + + /** Sub-data type of this column. */ + @Attribute + String subDataType; + + /** Table in which this column exists. */ + @Attribute + ITable table; + + /** Simple name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + @Attribute + String tableName; + + /** Table partition that contains this column. */ + @Attribute + ITablePartition tablePartition; + + /** Unique name of the table in which this SQL asset exists, or empty if it does not exist within a table. */ + @Attribute + String tableQualifiedName; + + /** Validations for this column. */ + @Attribute + @Singular + Map validations; + + /** View in which this column exists. */ + @Attribute + IView view; + + /** Simple name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + @Attribute + String viewName; + + /** Unique name of the view in which this SQL asset exists, or empty if it does not exist within a view. */ + @Attribute + String viewQualifiedName; + + /** + * Builds the minimal object necessary to create a relationship to a SapAnalyticsCloudColumn, from a potentially + * more-complete SapAnalyticsCloudColumn object. + * + * @return the minimal object necessary to relate to the SapAnalyticsCloudColumn + * @throws InvalidRequestException if any of the minimal set of required properties for a SapAnalyticsCloudColumn relationship are not found in the initial object + */ + @Override + public SapAnalyticsCloudColumn trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all SapAnalyticsCloudColumn assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) SapAnalyticsCloudColumn assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all SapAnalyticsCloudColumn assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all SapAnalyticsCloudColumn assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) SapAnalyticsCloudColumns will be included + * @return a fluent search that includes all SapAnalyticsCloudColumn assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a SapAnalyticsCloudColumn by GUID. Use this to create a relationship to this SapAnalyticsCloudColumn, + * where the relationship should be replaced. + * + * @param guid the GUID of the SapAnalyticsCloudColumn to reference + * @return reference to a SapAnalyticsCloudColumn that can be used for defining a relationship to a SapAnalyticsCloudColumn + */ + public static SapAnalyticsCloudColumn refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapAnalyticsCloudColumn by GUID. Use this to create a relationship to this SapAnalyticsCloudColumn, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the SapAnalyticsCloudColumn to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapAnalyticsCloudColumn that can be used for defining a relationship to a SapAnalyticsCloudColumn + */ + public static SapAnalyticsCloudColumn refByGuid(String guid, Reference.SaveSemantic semantic) { + return SapAnalyticsCloudColumn._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a SapAnalyticsCloudColumn by qualifiedName. Use this to create a relationship to this SapAnalyticsCloudColumn, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the SapAnalyticsCloudColumn to reference + * @return reference to a SapAnalyticsCloudColumn that can be used for defining a relationship to a SapAnalyticsCloudColumn + */ + public static SapAnalyticsCloudColumn refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapAnalyticsCloudColumn by qualifiedName. Use this to create a relationship to this SapAnalyticsCloudColumn, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the SapAnalyticsCloudColumn to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapAnalyticsCloudColumn that can be used for defining a relationship to a SapAnalyticsCloudColumn + */ + public static SapAnalyticsCloudColumn refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return SapAnalyticsCloudColumn._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a SapAnalyticsCloudColumn by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudColumn to retrieve, either its GUID or its full qualifiedName + * @return the requested full SapAnalyticsCloudColumn, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudColumn does not exist or the provided GUID is not a SapAnalyticsCloudColumn + */ + @JsonIgnore + public static SapAnalyticsCloudColumn get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a SapAnalyticsCloudColumn by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudColumn to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full SapAnalyticsCloudColumn, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudColumn does not exist or the provided GUID is not a SapAnalyticsCloudColumn + */ + @JsonIgnore + public static SapAnalyticsCloudColumn get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof SapAnalyticsCloudColumn) { + return (SapAnalyticsCloudColumn) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof SapAnalyticsCloudColumn) { + return (SapAnalyticsCloudColumn) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a SapAnalyticsCloudColumn by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudColumn to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapAnalyticsCloudColumn, including any relationships + * @return the requested SapAnalyticsCloudColumn, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudColumn does not exist or the provided GUID is not a SapAnalyticsCloudColumn + */ + @JsonIgnore + public static SapAnalyticsCloudColumn get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a SapAnalyticsCloudColumn by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudColumn to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapAnalyticsCloudColumn, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the SapAnalyticsCloudColumn + * @return the requested SapAnalyticsCloudColumn, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudColumn does not exist or the provided GUID is not a SapAnalyticsCloudColumn + */ + @JsonIgnore + public static SapAnalyticsCloudColumn get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = SapAnalyticsCloudColumn.select(client) + .where(SapAnalyticsCloudColumn.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof SapAnalyticsCloudColumn) { + return (SapAnalyticsCloudColumn) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = SapAnalyticsCloudColumn.select(client) + .where(SapAnalyticsCloudColumn.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof SapAnalyticsCloudColumn) { + return (SapAnalyticsCloudColumn) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) SapAnalyticsCloudColumn to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the SapAnalyticsCloudColumn + * @return true if the SapAnalyticsCloudColumn is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a SapAnalyticsCloudColumn. + * + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param name of the SapAnalyticsCloudColumn + * @return the minimal request necessary to update the SapAnalyticsCloudColumn, as a builder + */ + public static SapAnalyticsCloudColumnBuilder updater(String qualifiedName, String name) { + return SapAnalyticsCloudColumn._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a SapAnalyticsCloudColumn, + * from a potentially more-complete SapAnalyticsCloudColumn object. + * + * @return the minimal object necessary to update the SapAnalyticsCloudColumn, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a SapAnalyticsCloudColumn are not present in the initial object + */ + @Override + public SapAnalyticsCloudColumnBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class SapAnalyticsCloudColumnBuilder< + C extends SapAnalyticsCloudColumn, B extends SapAnalyticsCloudColumnBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a SapAnalyticsCloudColumn. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param name of the SapAnalyticsCloudColumn + * @return the updated SapAnalyticsCloudColumn, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudColumn removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudColumn) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a SapAnalyticsCloudColumn. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param name of the SapAnalyticsCloudColumn + * @return the updated SapAnalyticsCloudColumn, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudColumn removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudColumn) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a SapAnalyticsCloudColumn. + * + * @param client connectivity to the Atlan tenant from which to remove the SapAnalyticsCloudColumn's owners + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param name of the SapAnalyticsCloudColumn + * @return the updated SapAnalyticsCloudColumn, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudColumn removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudColumn) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a SapAnalyticsCloudColumn. + * + * @param client connectivity to the Atlan tenant on which to update the SapAnalyticsCloudColumn's certificate + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated SapAnalyticsCloudColumn, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudColumn updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (SapAnalyticsCloudColumn) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a SapAnalyticsCloudColumn. + * + * @param client connectivity to the Atlan tenant from which to remove the SapAnalyticsCloudColumn's certificate + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param name of the SapAnalyticsCloudColumn + * @return the updated SapAnalyticsCloudColumn, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudColumn removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudColumn) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a SapAnalyticsCloudColumn. + * + * @param client connectivity to the Atlan tenant on which to update the SapAnalyticsCloudColumn's announcement + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudColumn updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (SapAnalyticsCloudColumn) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a SapAnalyticsCloudColumn. + * + * @param client connectivity to the Atlan client from which to remove the SapAnalyticsCloudColumn's announcement + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param name of the SapAnalyticsCloudColumn + * @return the updated SapAnalyticsCloudColumn, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudColumn removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudColumn) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the SapAnalyticsCloudColumn. + * + * @param client connectivity to the Atlan tenant on which to replace the SapAnalyticsCloudColumn's assigned terms + * @param qualifiedName for the SapAnalyticsCloudColumn + * @param name human-readable name of the SapAnalyticsCloudColumn + * @param terms the list of terms to replace on the SapAnalyticsCloudColumn, or null to remove all terms from the SapAnalyticsCloudColumn + * @return the SapAnalyticsCloudColumn that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudColumn replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (SapAnalyticsCloudColumn) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the SapAnalyticsCloudColumn, without replacing existing terms linked to the SapAnalyticsCloudColumn. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudColumn's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the SapAnalyticsCloudColumn + * @param qualifiedName for the SapAnalyticsCloudColumn + * @param terms the list of terms to append to the SapAnalyticsCloudColumn + * @return the SapAnalyticsCloudColumn that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapAnalyticsCloudColumn appendTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (SapAnalyticsCloudColumn) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a SapAnalyticsCloudColumn, without replacing all existing terms linked to the SapAnalyticsCloudColumn. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudColumn's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the SapAnalyticsCloudColumn + * @param qualifiedName for the SapAnalyticsCloudColumn + * @param terms the list of terms to remove from the SapAnalyticsCloudColumn, which must be referenced by GUID + * @return the SapAnalyticsCloudColumn that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapAnalyticsCloudColumn removeTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (SapAnalyticsCloudColumn) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a SapAnalyticsCloudColumn, without replacing existing Atlan tags linked to the SapAnalyticsCloudColumn. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudColumn's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapAnalyticsCloudColumn + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated SapAnalyticsCloudColumn + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static SapAnalyticsCloudColumn appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (SapAnalyticsCloudColumn) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a SapAnalyticsCloudColumn, without replacing existing Atlan tags linked to the SapAnalyticsCloudColumn. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudColumn's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapAnalyticsCloudColumn + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated SapAnalyticsCloudColumn + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static SapAnalyticsCloudColumn appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (SapAnalyticsCloudColumn) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a SapAnalyticsCloudColumn. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a SapAnalyticsCloudColumn + * @param qualifiedName of the SapAnalyticsCloudColumn + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the SapAnalyticsCloudColumn + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudFolder.java b/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudFolder.java new file mode 100644 index 0000000000..8113bc730c --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudFolder.java @@ -0,0 +1,672 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Folder in the SAP Analytics Cloud file repository. Folders nest to arbitrary depth and are the organizational container for stories and models. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class SapAnalyticsCloudFolder extends Asset + implements ISapAnalyticsCloudFolder, ISapAnalyticsCloud, ISAP, ICatalog, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "SapAnalyticsCloudFolder"; + + /** Fixed typeName for SapAnalyticsCloudFolders. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Unique identifier of the dataset this asset belongs to. */ + @Attribute + String catalogDatasetGuid; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** Models held in this folder. */ + @Attribute + @Singular + SortedSet sapAnalyticsCloudModels; + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + @Attribute + String sapAnalyticsCloudObjectId; + + /** Folder containing this folder. */ + @Attribute + ISapAnalyticsCloudFolder sapAnalyticsCloudParentFolder; + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + @Attribute + String sapAnalyticsCloudParentFolderName; + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + @Attribute + String sapAnalyticsCloudParentFolderQualifiedName; + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + @Attribute + String sapAnalyticsCloudRepositoryPartition; + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + @Attribute + String sapAnalyticsCloudResourceId; + + /** Stories held in this folder. */ + @Attribute + @Singular + SortedSet sapAnalyticsCloudStories; + + /** Folders nested within this folder. */ + @Attribute + @Singular + SortedSet sapAnalyticsCloudSubFolders; + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + @Attribute + String sapAnalyticsCloudWorkspaceId; + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + @Attribute + String sapAnalyticsCloudWorkspaceName; + + /** Name of the SAP component, representing a specific functional area in SAP. */ + @Attribute + String sapComponentName; + + /** SAP-specific data types. */ + @Attribute + String sapDataType; + + /** Represents the total number of fields, columns, or child assets present in a given SAP asset. */ + @Attribute + Long sapFieldCount; + + /** Indicates the sequential position of a field, column, or child asset within its parent SAP asset, starting from 1. */ + @Attribute + Integer sapFieldOrder; + + /** Logical, business-friendly identifier for SAP data objects, aligned with business terminology and concepts. */ + @Attribute + String sapLogicalName; + + /** Name of the SAP package, representing a logical grouping of related SAP data objects. */ + @Attribute + String sapPackageName; + + /** Technical identifier for SAP data objects, used for integration and internal reference. */ + @Attribute + String sapTechnicalName; + + /** + * Builds the minimal object necessary to create a relationship to a SapAnalyticsCloudFolder, from a potentially + * more-complete SapAnalyticsCloudFolder object. + * + * @return the minimal object necessary to relate to the SapAnalyticsCloudFolder + * @throws InvalidRequestException if any of the minimal set of required properties for a SapAnalyticsCloudFolder relationship are not found in the initial object + */ + @Override + public SapAnalyticsCloudFolder trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all SapAnalyticsCloudFolder assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) SapAnalyticsCloudFolder assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all SapAnalyticsCloudFolder assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all SapAnalyticsCloudFolder assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) SapAnalyticsCloudFolders will be included + * @return a fluent search that includes all SapAnalyticsCloudFolder assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a SapAnalyticsCloudFolder by GUID. Use this to create a relationship to this SapAnalyticsCloudFolder, + * where the relationship should be replaced. + * + * @param guid the GUID of the SapAnalyticsCloudFolder to reference + * @return reference to a SapAnalyticsCloudFolder that can be used for defining a relationship to a SapAnalyticsCloudFolder + */ + public static SapAnalyticsCloudFolder refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapAnalyticsCloudFolder by GUID. Use this to create a relationship to this SapAnalyticsCloudFolder, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the SapAnalyticsCloudFolder to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapAnalyticsCloudFolder that can be used for defining a relationship to a SapAnalyticsCloudFolder + */ + public static SapAnalyticsCloudFolder refByGuid(String guid, Reference.SaveSemantic semantic) { + return SapAnalyticsCloudFolder._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a SapAnalyticsCloudFolder by qualifiedName. Use this to create a relationship to this SapAnalyticsCloudFolder, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the SapAnalyticsCloudFolder to reference + * @return reference to a SapAnalyticsCloudFolder that can be used for defining a relationship to a SapAnalyticsCloudFolder + */ + public static SapAnalyticsCloudFolder refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapAnalyticsCloudFolder by qualifiedName. Use this to create a relationship to this SapAnalyticsCloudFolder, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the SapAnalyticsCloudFolder to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapAnalyticsCloudFolder that can be used for defining a relationship to a SapAnalyticsCloudFolder + */ + public static SapAnalyticsCloudFolder refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return SapAnalyticsCloudFolder._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a SapAnalyticsCloudFolder by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudFolder to retrieve, either its GUID or its full qualifiedName + * @return the requested full SapAnalyticsCloudFolder, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudFolder does not exist or the provided GUID is not a SapAnalyticsCloudFolder + */ + @JsonIgnore + public static SapAnalyticsCloudFolder get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a SapAnalyticsCloudFolder by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudFolder to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full SapAnalyticsCloudFolder, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudFolder does not exist or the provided GUID is not a SapAnalyticsCloudFolder + */ + @JsonIgnore + public static SapAnalyticsCloudFolder get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof SapAnalyticsCloudFolder) { + return (SapAnalyticsCloudFolder) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof SapAnalyticsCloudFolder) { + return (SapAnalyticsCloudFolder) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a SapAnalyticsCloudFolder by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudFolder to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapAnalyticsCloudFolder, including any relationships + * @return the requested SapAnalyticsCloudFolder, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudFolder does not exist or the provided GUID is not a SapAnalyticsCloudFolder + */ + @JsonIgnore + public static SapAnalyticsCloudFolder get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a SapAnalyticsCloudFolder by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudFolder to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapAnalyticsCloudFolder, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the SapAnalyticsCloudFolder + * @return the requested SapAnalyticsCloudFolder, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudFolder does not exist or the provided GUID is not a SapAnalyticsCloudFolder + */ + @JsonIgnore + public static SapAnalyticsCloudFolder get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = SapAnalyticsCloudFolder.select(client) + .where(SapAnalyticsCloudFolder.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof SapAnalyticsCloudFolder) { + return (SapAnalyticsCloudFolder) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = SapAnalyticsCloudFolder.select(client) + .where(SapAnalyticsCloudFolder.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof SapAnalyticsCloudFolder) { + return (SapAnalyticsCloudFolder) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) SapAnalyticsCloudFolder to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the SapAnalyticsCloudFolder + * @return true if the SapAnalyticsCloudFolder is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a SapAnalyticsCloudFolder. + * + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param name of the SapAnalyticsCloudFolder + * @return the minimal request necessary to update the SapAnalyticsCloudFolder, as a builder + */ + public static SapAnalyticsCloudFolderBuilder updater(String qualifiedName, String name) { + return SapAnalyticsCloudFolder._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a SapAnalyticsCloudFolder, + * from a potentially more-complete SapAnalyticsCloudFolder object. + * + * @return the minimal object necessary to update the SapAnalyticsCloudFolder, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a SapAnalyticsCloudFolder are not present in the initial object + */ + @Override + public SapAnalyticsCloudFolderBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class SapAnalyticsCloudFolderBuilder< + C extends SapAnalyticsCloudFolder, B extends SapAnalyticsCloudFolderBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a SapAnalyticsCloudFolder. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param name of the SapAnalyticsCloudFolder + * @return the updated SapAnalyticsCloudFolder, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudFolder removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudFolder) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a SapAnalyticsCloudFolder. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param name of the SapAnalyticsCloudFolder + * @return the updated SapAnalyticsCloudFolder, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudFolder removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudFolder) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a SapAnalyticsCloudFolder. + * + * @param client connectivity to the Atlan tenant from which to remove the SapAnalyticsCloudFolder's owners + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param name of the SapAnalyticsCloudFolder + * @return the updated SapAnalyticsCloudFolder, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudFolder removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudFolder) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a SapAnalyticsCloudFolder. + * + * @param client connectivity to the Atlan tenant on which to update the SapAnalyticsCloudFolder's certificate + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated SapAnalyticsCloudFolder, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudFolder updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (SapAnalyticsCloudFolder) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a SapAnalyticsCloudFolder. + * + * @param client connectivity to the Atlan tenant from which to remove the SapAnalyticsCloudFolder's certificate + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param name of the SapAnalyticsCloudFolder + * @return the updated SapAnalyticsCloudFolder, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudFolder removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudFolder) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a SapAnalyticsCloudFolder. + * + * @param client connectivity to the Atlan tenant on which to update the SapAnalyticsCloudFolder's announcement + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudFolder updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (SapAnalyticsCloudFolder) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a SapAnalyticsCloudFolder. + * + * @param client connectivity to the Atlan client from which to remove the SapAnalyticsCloudFolder's announcement + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param name of the SapAnalyticsCloudFolder + * @return the updated SapAnalyticsCloudFolder, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudFolder removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudFolder) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the SapAnalyticsCloudFolder. + * + * @param client connectivity to the Atlan tenant on which to replace the SapAnalyticsCloudFolder's assigned terms + * @param qualifiedName for the SapAnalyticsCloudFolder + * @param name human-readable name of the SapAnalyticsCloudFolder + * @param terms the list of terms to replace on the SapAnalyticsCloudFolder, or null to remove all terms from the SapAnalyticsCloudFolder + * @return the SapAnalyticsCloudFolder that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudFolder replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (SapAnalyticsCloudFolder) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the SapAnalyticsCloudFolder, without replacing existing terms linked to the SapAnalyticsCloudFolder. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudFolder's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the SapAnalyticsCloudFolder + * @param qualifiedName for the SapAnalyticsCloudFolder + * @param terms the list of terms to append to the SapAnalyticsCloudFolder + * @return the SapAnalyticsCloudFolder that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapAnalyticsCloudFolder appendTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (SapAnalyticsCloudFolder) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a SapAnalyticsCloudFolder, without replacing all existing terms linked to the SapAnalyticsCloudFolder. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudFolder's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the SapAnalyticsCloudFolder + * @param qualifiedName for the SapAnalyticsCloudFolder + * @param terms the list of terms to remove from the SapAnalyticsCloudFolder, which must be referenced by GUID + * @return the SapAnalyticsCloudFolder that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapAnalyticsCloudFolder removeTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (SapAnalyticsCloudFolder) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a SapAnalyticsCloudFolder, without replacing existing Atlan tags linked to the SapAnalyticsCloudFolder. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudFolder's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapAnalyticsCloudFolder + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated SapAnalyticsCloudFolder + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static SapAnalyticsCloudFolder appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (SapAnalyticsCloudFolder) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a SapAnalyticsCloudFolder, without replacing existing Atlan tags linked to the SapAnalyticsCloudFolder. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudFolder's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapAnalyticsCloudFolder + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated SapAnalyticsCloudFolder + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static SapAnalyticsCloudFolder appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (SapAnalyticsCloudFolder) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a SapAnalyticsCloudFolder. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a SapAnalyticsCloudFolder + * @param qualifiedName of the SapAnalyticsCloudFolder + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the SapAnalyticsCloudFolder + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudModel.java b/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudModel.java new file mode 100644 index 0000000000..aaea80daf5 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudModel.java @@ -0,0 +1,710 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Analytic or planning model in SAP Analytics Cloud. A model is a multidimensional object composed of a fact table, measures, dimensions and hierarchies, whose data is either imported into SAP Analytics Cloud or queried live from a remote system. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class SapAnalyticsCloudModel extends Asset + implements ISapAnalyticsCloudModel, ISapAnalyticsCloud, ISAP, ICatalog, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "SapAnalyticsCloudModel"; + + /** Fixed typeName for SapAnalyticsCloudModels. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Unique identifier of the dataset this asset belongs to. */ + @Attribute + String catalogDatasetGuid; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** Columns defined within this model. */ + @Attribute + @Singular + SortedSet sapAnalyticsCloudColumns; + + /** How this model reaches its data, as reported by the source. IMPORT when the data is acquired into SAP Analytics Cloud and stored there, LIVE when it stays in a remote system and is queried live over a connection. */ + @Attribute + String sapAnalyticsCloudDataAccessMode; + + /** Folder containing this model. */ + @Attribute + ISapAnalyticsCloudFolder sapAnalyticsCloudFolder; + + /** Host of the remote system a live model reads from. Empty for imported models. */ + @Attribute + String sapAnalyticsCloudLiveConnectionHost; + + /** Identifier of the remote connection a live model reads from. Empty for imported models. */ + @Attribute + String sapAnalyticsCloudLiveConnectionId; + + /** Simple name of the remote connection a live model reads from. Empty for imported models. */ + @Attribute + String sapAnalyticsCloudLiveConnectionName; + + /** Port of the remote system a live model reads from. Empty for imported models. */ + @Attribute + Integer sapAnalyticsCloudLiveConnectionPort; + + /** Protocol used to reach the remote system a live model reads from, such as HTTPS. Empty for imported models. */ + @Attribute + String sapAnalyticsCloudLiveConnectionProtocol; + + /** Type of the remote system a live model reads from, such as DWC for SAP Datasphere. Empty for imported models. */ + @Attribute + String sapAnalyticsCloudLiveConnectionSystemType; + + /** Type of the remote connection a live model reads from, such as DIRECT. Empty for imported models. */ + @Attribute + String sapAnalyticsCloudLiveConnectionType; + + /** Model identifier reported by the SAP Analytics Cloud tenant APIs, which differs from the file-repository resource identifier for live models. */ + @Attribute + String sapAnalyticsCloudModelId; + + /** Whether this model is an analytic model or a planning model, as reported by the source. ANALYTIC for a read-only model used for analysis and reporting, PLANNING for a model that supports write-back, versions and planning operations. */ + @Attribute + String sapAnalyticsCloudModelKind; + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + @Attribute + String sapAnalyticsCloudObjectId; + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + @Attribute + String sapAnalyticsCloudParentFolderName; + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + @Attribute + String sapAnalyticsCloudParentFolderQualifiedName; + + /** Identifier of the OData provider that exposes this model's metadata. This is the key that joins a model to its columns. */ + @Attribute + String sapAnalyticsCloudProviderId; + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + @Attribute + String sapAnalyticsCloudRepositoryPartition; + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + @Attribute + String sapAnalyticsCloudResourceId; + + /** Number of SAP Analytics Cloud stories that consume this model, as reported by the source. */ + @Attribute + Long sapAnalyticsCloudStoryCount; + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + @Attribute + String sapAnalyticsCloudWorkspaceId; + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + @Attribute + String sapAnalyticsCloudWorkspaceName; + + /** Name of the SAP component, representing a specific functional area in SAP. */ + @Attribute + String sapComponentName; + + /** SAP-specific data types. */ + @Attribute + String sapDataType; + + /** Represents the total number of fields, columns, or child assets present in a given SAP asset. */ + @Attribute + Long sapFieldCount; + + /** Indicates the sequential position of a field, column, or child asset within its parent SAP asset, starting from 1. */ + @Attribute + Integer sapFieldOrder; + + /** Logical, business-friendly identifier for SAP data objects, aligned with business terminology and concepts. */ + @Attribute + String sapLogicalName; + + /** Name of the SAP package, representing a logical grouping of related SAP data objects. */ + @Attribute + String sapPackageName; + + /** Technical identifier for SAP data objects, used for integration and internal reference. */ + @Attribute + String sapTechnicalName; + + /** + * Builds the minimal object necessary to create a relationship to a SapAnalyticsCloudModel, from a potentially + * more-complete SapAnalyticsCloudModel object. + * + * @return the minimal object necessary to relate to the SapAnalyticsCloudModel + * @throws InvalidRequestException if any of the minimal set of required properties for a SapAnalyticsCloudModel relationship are not found in the initial object + */ + @Override + public SapAnalyticsCloudModel trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all SapAnalyticsCloudModel assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) SapAnalyticsCloudModel assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all SapAnalyticsCloudModel assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all SapAnalyticsCloudModel assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) SapAnalyticsCloudModels will be included + * @return a fluent search that includes all SapAnalyticsCloudModel assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a SapAnalyticsCloudModel by GUID. Use this to create a relationship to this SapAnalyticsCloudModel, + * where the relationship should be replaced. + * + * @param guid the GUID of the SapAnalyticsCloudModel to reference + * @return reference to a SapAnalyticsCloudModel that can be used for defining a relationship to a SapAnalyticsCloudModel + */ + public static SapAnalyticsCloudModel refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapAnalyticsCloudModel by GUID. Use this to create a relationship to this SapAnalyticsCloudModel, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the SapAnalyticsCloudModel to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapAnalyticsCloudModel that can be used for defining a relationship to a SapAnalyticsCloudModel + */ + public static SapAnalyticsCloudModel refByGuid(String guid, Reference.SaveSemantic semantic) { + return SapAnalyticsCloudModel._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a SapAnalyticsCloudModel by qualifiedName. Use this to create a relationship to this SapAnalyticsCloudModel, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the SapAnalyticsCloudModel to reference + * @return reference to a SapAnalyticsCloudModel that can be used for defining a relationship to a SapAnalyticsCloudModel + */ + public static SapAnalyticsCloudModel refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapAnalyticsCloudModel by qualifiedName. Use this to create a relationship to this SapAnalyticsCloudModel, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the SapAnalyticsCloudModel to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapAnalyticsCloudModel that can be used for defining a relationship to a SapAnalyticsCloudModel + */ + public static SapAnalyticsCloudModel refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return SapAnalyticsCloudModel._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a SapAnalyticsCloudModel by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudModel to retrieve, either its GUID or its full qualifiedName + * @return the requested full SapAnalyticsCloudModel, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudModel does not exist or the provided GUID is not a SapAnalyticsCloudModel + */ + @JsonIgnore + public static SapAnalyticsCloudModel get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a SapAnalyticsCloudModel by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudModel to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full SapAnalyticsCloudModel, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudModel does not exist or the provided GUID is not a SapAnalyticsCloudModel + */ + @JsonIgnore + public static SapAnalyticsCloudModel get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof SapAnalyticsCloudModel) { + return (SapAnalyticsCloudModel) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof SapAnalyticsCloudModel) { + return (SapAnalyticsCloudModel) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a SapAnalyticsCloudModel by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudModel to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapAnalyticsCloudModel, including any relationships + * @return the requested SapAnalyticsCloudModel, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudModel does not exist or the provided GUID is not a SapAnalyticsCloudModel + */ + @JsonIgnore + public static SapAnalyticsCloudModel get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a SapAnalyticsCloudModel by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudModel to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapAnalyticsCloudModel, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the SapAnalyticsCloudModel + * @return the requested SapAnalyticsCloudModel, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudModel does not exist or the provided GUID is not a SapAnalyticsCloudModel + */ + @JsonIgnore + public static SapAnalyticsCloudModel get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = SapAnalyticsCloudModel.select(client) + .where(SapAnalyticsCloudModel.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof SapAnalyticsCloudModel) { + return (SapAnalyticsCloudModel) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = SapAnalyticsCloudModel.select(client) + .where(SapAnalyticsCloudModel.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof SapAnalyticsCloudModel) { + return (SapAnalyticsCloudModel) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) SapAnalyticsCloudModel to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the SapAnalyticsCloudModel + * @return true if the SapAnalyticsCloudModel is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a SapAnalyticsCloudModel. + * + * @param qualifiedName of the SapAnalyticsCloudModel + * @param name of the SapAnalyticsCloudModel + * @return the minimal request necessary to update the SapAnalyticsCloudModel, as a builder + */ + public static SapAnalyticsCloudModelBuilder updater(String qualifiedName, String name) { + return SapAnalyticsCloudModel._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a SapAnalyticsCloudModel, + * from a potentially more-complete SapAnalyticsCloudModel object. + * + * @return the minimal object necessary to update the SapAnalyticsCloudModel, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a SapAnalyticsCloudModel are not present in the initial object + */ + @Override + public SapAnalyticsCloudModelBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class SapAnalyticsCloudModelBuilder< + C extends SapAnalyticsCloudModel, B extends SapAnalyticsCloudModelBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a SapAnalyticsCloudModel. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapAnalyticsCloudModel + * @param name of the SapAnalyticsCloudModel + * @return the updated SapAnalyticsCloudModel, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudModel removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudModel) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a SapAnalyticsCloudModel. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapAnalyticsCloudModel + * @param name of the SapAnalyticsCloudModel + * @return the updated SapAnalyticsCloudModel, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudModel removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudModel) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a SapAnalyticsCloudModel. + * + * @param client connectivity to the Atlan tenant from which to remove the SapAnalyticsCloudModel's owners + * @param qualifiedName of the SapAnalyticsCloudModel + * @param name of the SapAnalyticsCloudModel + * @return the updated SapAnalyticsCloudModel, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudModel removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudModel) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a SapAnalyticsCloudModel. + * + * @param client connectivity to the Atlan tenant on which to update the SapAnalyticsCloudModel's certificate + * @param qualifiedName of the SapAnalyticsCloudModel + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated SapAnalyticsCloudModel, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudModel updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (SapAnalyticsCloudModel) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a SapAnalyticsCloudModel. + * + * @param client connectivity to the Atlan tenant from which to remove the SapAnalyticsCloudModel's certificate + * @param qualifiedName of the SapAnalyticsCloudModel + * @param name of the SapAnalyticsCloudModel + * @return the updated SapAnalyticsCloudModel, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudModel removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudModel) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a SapAnalyticsCloudModel. + * + * @param client connectivity to the Atlan tenant on which to update the SapAnalyticsCloudModel's announcement + * @param qualifiedName of the SapAnalyticsCloudModel + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudModel updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (SapAnalyticsCloudModel) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a SapAnalyticsCloudModel. + * + * @param client connectivity to the Atlan client from which to remove the SapAnalyticsCloudModel's announcement + * @param qualifiedName of the SapAnalyticsCloudModel + * @param name of the SapAnalyticsCloudModel + * @return the updated SapAnalyticsCloudModel, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudModel removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudModel) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the SapAnalyticsCloudModel. + * + * @param client connectivity to the Atlan tenant on which to replace the SapAnalyticsCloudModel's assigned terms + * @param qualifiedName for the SapAnalyticsCloudModel + * @param name human-readable name of the SapAnalyticsCloudModel + * @param terms the list of terms to replace on the SapAnalyticsCloudModel, or null to remove all terms from the SapAnalyticsCloudModel + * @return the SapAnalyticsCloudModel that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudModel replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (SapAnalyticsCloudModel) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the SapAnalyticsCloudModel, without replacing existing terms linked to the SapAnalyticsCloudModel. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudModel's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the SapAnalyticsCloudModel + * @param qualifiedName for the SapAnalyticsCloudModel + * @param terms the list of terms to append to the SapAnalyticsCloudModel + * @return the SapAnalyticsCloudModel that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapAnalyticsCloudModel appendTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (SapAnalyticsCloudModel) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a SapAnalyticsCloudModel, without replacing all existing terms linked to the SapAnalyticsCloudModel. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudModel's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the SapAnalyticsCloudModel + * @param qualifiedName for the SapAnalyticsCloudModel + * @param terms the list of terms to remove from the SapAnalyticsCloudModel, which must be referenced by GUID + * @return the SapAnalyticsCloudModel that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapAnalyticsCloudModel removeTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (SapAnalyticsCloudModel) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a SapAnalyticsCloudModel, without replacing existing Atlan tags linked to the SapAnalyticsCloudModel. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudModel's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapAnalyticsCloudModel + * @param qualifiedName of the SapAnalyticsCloudModel + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated SapAnalyticsCloudModel + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static SapAnalyticsCloudModel appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (SapAnalyticsCloudModel) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a SapAnalyticsCloudModel, without replacing existing Atlan tags linked to the SapAnalyticsCloudModel. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudModel's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapAnalyticsCloudModel + * @param qualifiedName of the SapAnalyticsCloudModel + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated SapAnalyticsCloudModel + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static SapAnalyticsCloudModel appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (SapAnalyticsCloudModel) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a SapAnalyticsCloudModel. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a SapAnalyticsCloudModel + * @param qualifiedName of the SapAnalyticsCloudModel + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the SapAnalyticsCloudModel + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudStory.java b/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudStory.java new file mode 100644 index 0000000000..82e412017a --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/SapAnalyticsCloudStory.java @@ -0,0 +1,665 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Story in SAP Analytics Cloud. A story is an interactive presentation built over one or more models, and can itself be composed of other stories or act as a template for new ones. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class SapAnalyticsCloudStory extends Asset + implements ISapAnalyticsCloudStory, ISapAnalyticsCloud, ISAP, ICatalog, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "SapAnalyticsCloudStory"; + + /** Fixed typeName for SapAnalyticsCloudStorys. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Unique identifier of the dataset this asset belongs to. */ + @Attribute + String catalogDatasetGuid; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** Folder containing this story. */ + @Attribute + ISapAnalyticsCloudFolder sapAnalyticsCloudFolder; + + /** Whether this story is one of the samples shipped with SAP Analytics Cloud rather than tenant content. */ + @Attribute + Boolean sapAnalyticsCloudIsSample; + + /** Underlying object identifier reported by the SAP Analytics Cloud file repository for this asset. */ + @Attribute + String sapAnalyticsCloudObjectId; + + /** Simple name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + @Attribute + String sapAnalyticsCloudParentFolderName; + + /** Unique name of the SAP Analytics Cloud folder that directly contains this asset. Empty for a root-level folder and for a live model, neither of which is contained by a folder. */ + @Attribute + String sapAnalyticsCloudParentFolderQualifiedName; + + /** Partition of the SAP Analytics Cloud file repository this asset lives in: PUBLIC for shared tenant content, SYSTEM for SAP-shipped content and SAP Analytics Cloud's own telemetry, USERS for the container holding per-user private areas, and PRIVATE for an individual user's own content. Reported by the source as folderType, and carried by every resource rather than only by folders. */ + @Attribute + String sapAnalyticsCloudRepositoryPartition; + + /** Identifier of this asset in the SAP Analytics Cloud file repository. Stable across renames and used by the source APIs to address the resource. */ + @Attribute + String sapAnalyticsCloudResourceId; + + /** Subtype of this story as reported by the source, such as COMPOSITE for a story that embeds other stories or TEMPLATE for a story used as the starting point for new ones. Empty for an ordinary story. */ + @Attribute + String sapAnalyticsCloudStoryKind; + + /** Identifier of the SAP Analytics Cloud workspace that owns this asset. */ + @Attribute + String sapAnalyticsCloudWorkspaceId; + + /** Simple name of the SAP Analytics Cloud workspace that owns this asset. */ + @Attribute + String sapAnalyticsCloudWorkspaceName; + + /** Name of the SAP component, representing a specific functional area in SAP. */ + @Attribute + String sapComponentName; + + /** SAP-specific data types. */ + @Attribute + String sapDataType; + + /** Represents the total number of fields, columns, or child assets present in a given SAP asset. */ + @Attribute + Long sapFieldCount; + + /** Indicates the sequential position of a field, column, or child asset within its parent SAP asset, starting from 1. */ + @Attribute + Integer sapFieldOrder; + + /** Logical, business-friendly identifier for SAP data objects, aligned with business terminology and concepts. */ + @Attribute + String sapLogicalName; + + /** Name of the SAP package, representing a logical grouping of related SAP data objects. */ + @Attribute + String sapPackageName; + + /** Technical identifier for SAP data objects, used for integration and internal reference. */ + @Attribute + String sapTechnicalName; + + /** + * Builds the minimal object necessary to create a relationship to a SapAnalyticsCloudStory, from a potentially + * more-complete SapAnalyticsCloudStory object. + * + * @return the minimal object necessary to relate to the SapAnalyticsCloudStory + * @throws InvalidRequestException if any of the minimal set of required properties for a SapAnalyticsCloudStory relationship are not found in the initial object + */ + @Override + public SapAnalyticsCloudStory trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all SapAnalyticsCloudStory assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) SapAnalyticsCloudStory assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all SapAnalyticsCloudStory assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all SapAnalyticsCloudStory assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) SapAnalyticsCloudStorys will be included + * @return a fluent search that includes all SapAnalyticsCloudStory assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a SapAnalyticsCloudStory by GUID. Use this to create a relationship to this SapAnalyticsCloudStory, + * where the relationship should be replaced. + * + * @param guid the GUID of the SapAnalyticsCloudStory to reference + * @return reference to a SapAnalyticsCloudStory that can be used for defining a relationship to a SapAnalyticsCloudStory + */ + public static SapAnalyticsCloudStory refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapAnalyticsCloudStory by GUID. Use this to create a relationship to this SapAnalyticsCloudStory, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the SapAnalyticsCloudStory to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapAnalyticsCloudStory that can be used for defining a relationship to a SapAnalyticsCloudStory + */ + public static SapAnalyticsCloudStory refByGuid(String guid, Reference.SaveSemantic semantic) { + return SapAnalyticsCloudStory._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a SapAnalyticsCloudStory by qualifiedName. Use this to create a relationship to this SapAnalyticsCloudStory, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the SapAnalyticsCloudStory to reference + * @return reference to a SapAnalyticsCloudStory that can be used for defining a relationship to a SapAnalyticsCloudStory + */ + public static SapAnalyticsCloudStory refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapAnalyticsCloudStory by qualifiedName. Use this to create a relationship to this SapAnalyticsCloudStory, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the SapAnalyticsCloudStory to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapAnalyticsCloudStory that can be used for defining a relationship to a SapAnalyticsCloudStory + */ + public static SapAnalyticsCloudStory refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return SapAnalyticsCloudStory._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a SapAnalyticsCloudStory by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudStory to retrieve, either its GUID or its full qualifiedName + * @return the requested full SapAnalyticsCloudStory, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudStory does not exist or the provided GUID is not a SapAnalyticsCloudStory + */ + @JsonIgnore + public static SapAnalyticsCloudStory get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a SapAnalyticsCloudStory by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudStory to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full SapAnalyticsCloudStory, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudStory does not exist or the provided GUID is not a SapAnalyticsCloudStory + */ + @JsonIgnore + public static SapAnalyticsCloudStory get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof SapAnalyticsCloudStory) { + return (SapAnalyticsCloudStory) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof SapAnalyticsCloudStory) { + return (SapAnalyticsCloudStory) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a SapAnalyticsCloudStory by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudStory to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapAnalyticsCloudStory, including any relationships + * @return the requested SapAnalyticsCloudStory, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudStory does not exist or the provided GUID is not a SapAnalyticsCloudStory + */ + @JsonIgnore + public static SapAnalyticsCloudStory get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a SapAnalyticsCloudStory by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapAnalyticsCloudStory to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapAnalyticsCloudStory, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the SapAnalyticsCloudStory + * @return the requested SapAnalyticsCloudStory, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapAnalyticsCloudStory does not exist or the provided GUID is not a SapAnalyticsCloudStory + */ + @JsonIgnore + public static SapAnalyticsCloudStory get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = SapAnalyticsCloudStory.select(client) + .where(SapAnalyticsCloudStory.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof SapAnalyticsCloudStory) { + return (SapAnalyticsCloudStory) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = SapAnalyticsCloudStory.select(client) + .where(SapAnalyticsCloudStory.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof SapAnalyticsCloudStory) { + return (SapAnalyticsCloudStory) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) SapAnalyticsCloudStory to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the SapAnalyticsCloudStory + * @return true if the SapAnalyticsCloudStory is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a SapAnalyticsCloudStory. + * + * @param qualifiedName of the SapAnalyticsCloudStory + * @param name of the SapAnalyticsCloudStory + * @return the minimal request necessary to update the SapAnalyticsCloudStory, as a builder + */ + public static SapAnalyticsCloudStoryBuilder updater(String qualifiedName, String name) { + return SapAnalyticsCloudStory._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a SapAnalyticsCloudStory, + * from a potentially more-complete SapAnalyticsCloudStory object. + * + * @return the minimal object necessary to update the SapAnalyticsCloudStory, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a SapAnalyticsCloudStory are not present in the initial object + */ + @Override + public SapAnalyticsCloudStoryBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class SapAnalyticsCloudStoryBuilder< + C extends SapAnalyticsCloudStory, B extends SapAnalyticsCloudStoryBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a SapAnalyticsCloudStory. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapAnalyticsCloudStory + * @param name of the SapAnalyticsCloudStory + * @return the updated SapAnalyticsCloudStory, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudStory removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudStory) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a SapAnalyticsCloudStory. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapAnalyticsCloudStory + * @param name of the SapAnalyticsCloudStory + * @return the updated SapAnalyticsCloudStory, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudStory removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudStory) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a SapAnalyticsCloudStory. + * + * @param client connectivity to the Atlan tenant from which to remove the SapAnalyticsCloudStory's owners + * @param qualifiedName of the SapAnalyticsCloudStory + * @param name of the SapAnalyticsCloudStory + * @return the updated SapAnalyticsCloudStory, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudStory removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudStory) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a SapAnalyticsCloudStory. + * + * @param client connectivity to the Atlan tenant on which to update the SapAnalyticsCloudStory's certificate + * @param qualifiedName of the SapAnalyticsCloudStory + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated SapAnalyticsCloudStory, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudStory updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (SapAnalyticsCloudStory) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a SapAnalyticsCloudStory. + * + * @param client connectivity to the Atlan tenant from which to remove the SapAnalyticsCloudStory's certificate + * @param qualifiedName of the SapAnalyticsCloudStory + * @param name of the SapAnalyticsCloudStory + * @return the updated SapAnalyticsCloudStory, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudStory removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudStory) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a SapAnalyticsCloudStory. + * + * @param client connectivity to the Atlan tenant on which to update the SapAnalyticsCloudStory's announcement + * @param qualifiedName of the SapAnalyticsCloudStory + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudStory updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (SapAnalyticsCloudStory) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a SapAnalyticsCloudStory. + * + * @param client connectivity to the Atlan client from which to remove the SapAnalyticsCloudStory's announcement + * @param qualifiedName of the SapAnalyticsCloudStory + * @param name of the SapAnalyticsCloudStory + * @return the updated SapAnalyticsCloudStory, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudStory removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapAnalyticsCloudStory) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the SapAnalyticsCloudStory. + * + * @param client connectivity to the Atlan tenant on which to replace the SapAnalyticsCloudStory's assigned terms + * @param qualifiedName for the SapAnalyticsCloudStory + * @param name human-readable name of the SapAnalyticsCloudStory + * @param terms the list of terms to replace on the SapAnalyticsCloudStory, or null to remove all terms from the SapAnalyticsCloudStory + * @return the SapAnalyticsCloudStory that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static SapAnalyticsCloudStory replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (SapAnalyticsCloudStory) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the SapAnalyticsCloudStory, without replacing existing terms linked to the SapAnalyticsCloudStory. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudStory's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the SapAnalyticsCloudStory + * @param qualifiedName for the SapAnalyticsCloudStory + * @param terms the list of terms to append to the SapAnalyticsCloudStory + * @return the SapAnalyticsCloudStory that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapAnalyticsCloudStory appendTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (SapAnalyticsCloudStory) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a SapAnalyticsCloudStory, without replacing all existing terms linked to the SapAnalyticsCloudStory. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudStory's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the SapAnalyticsCloudStory + * @param qualifiedName for the SapAnalyticsCloudStory + * @param terms the list of terms to remove from the SapAnalyticsCloudStory, which must be referenced by GUID + * @return the SapAnalyticsCloudStory that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapAnalyticsCloudStory removeTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (SapAnalyticsCloudStory) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a SapAnalyticsCloudStory, without replacing existing Atlan tags linked to the SapAnalyticsCloudStory. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudStory's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapAnalyticsCloudStory + * @param qualifiedName of the SapAnalyticsCloudStory + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated SapAnalyticsCloudStory + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static SapAnalyticsCloudStory appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (SapAnalyticsCloudStory) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a SapAnalyticsCloudStory, without replacing existing Atlan tags linked to the SapAnalyticsCloudStory. + * Note: this operation must make two API calls — one to retrieve the SapAnalyticsCloudStory's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapAnalyticsCloudStory + * @param qualifiedName of the SapAnalyticsCloudStory + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated SapAnalyticsCloudStory + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static SapAnalyticsCloudStory appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (SapAnalyticsCloudStory) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a SapAnalyticsCloudStory. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a SapAnalyticsCloudStory + * @param qualifiedName of the SapAnalyticsCloudStory + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the SapAnalyticsCloudStory + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/SapDatasphereReplicationFlow.java b/sdk/src/main/java/com/atlan/model/assets/SapDatasphereReplicationFlow.java new file mode 100644 index 0000000000..5afed91bbb --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/SapDatasphereReplicationFlow.java @@ -0,0 +1,708 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * Instance of a SAP Datasphere replication flow in Atlan. A replication flow is a trigger that moves data from sources outside Datasphere (such as S/4HANA, SAP ECC, SAP BW, or S3) into tables created within a Datasphere space, which is modelled as a SQL Schema in Atlan. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class SapDatasphereReplicationFlow extends Asset + implements ISapDatasphereReplicationFlow, IFlowControlOperation, ISAP, IFlow, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "SapDatasphereReplicationFlow"; + + /** Fixed typeName for SapDatasphereReplicationFlows. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Control operation that controls the execution of this control operation. */ + @Attribute + IFlowControlOperation flowControlledBy; + + /** Control operations whose execution is controlled by this control operation. */ + @Attribute + @Singular + SortedSet flowControlledOperations; + + /** Individual data flows (processes) orchestrated by this control operation. */ + @Attribute + @Singular + SortedSet flowDataResults; + + /** Optional error message of the flow run. */ + @Attribute + String flowErrorMessage; + + /** Date and time at which this point in the data processing or orchestration finished. */ + @Attribute + @Date + Long flowFinishedAt; + + /** Simple name of the folder in which this asset is contained. */ + @Attribute + String flowFolderName; + + /** Unique name of the folder in which this asset is contained. */ + @Attribute + String flowFolderQualifiedName; + + /** Unique ID for this flow asset, which will remain constant throughout the lifecycle of the asset. */ + @Attribute + String flowId; + + /** Input parameters for the flow run. */ + @Attribute + @Singular + Map flowInputParameters; + + /** Control operations that are configured to execute before this one. */ + @Attribute + @Singular + SortedSet flowPredecessors; + + /** Simple name of the project in which this asset is contained. */ + @Attribute + String flowProjectName; + + /** Unique name of the project in which this asset is contained. */ + @Attribute + String flowProjectQualifiedName; + + /** Simple name of the reusable grouping of operations in which this ephemeral data is contained. */ + @Attribute + String flowReusableUnitName; + + /** Unique name of the reusable grouping of operations in which this ephemeral data is contained. */ + @Attribute + String flowReusableUnitQualifiedName; + + /** Unique ID of the flow run, which could change on subsequent runs of the same flow. */ + @Attribute + String flowRunId; + + /** Schedule for this point in the data processing or orchestration. */ + @Attribute + String flowSchedule; + + /** Date and time at which this point in the data processing or orchestration started. */ + @Attribute + @Date + Long flowStartedAt; + + /** Overall status of this point in the data processing or orchestration. */ + @Attribute + String flowStatus; + + /** Control operations that are configured to execute only after this one. */ + @Attribute + @Singular + SortedSet flowSuccessors; + + /** Tasks to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToAirflowTasks; + + /** Processes to which this asset provides input. */ + @Attribute + @Singular + SortedSet inputToProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet inputToSparkJobs; + + /** Attributes implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedAttributes; + + /** Entities implemented by this asset. */ + @Attribute + @Singular + SortedSet modelImplementedEntities; + + /** Tasks from which this asset is output. */ + @Attribute + @Singular + SortedSet outputFromAirflowTasks; + + /** Processes from which this asset is produced as output. */ + @Attribute + @Singular + SortedSet outputFromProcesses; + + /** TBC */ + @Attribute + @Singular + SortedSet outputFromSparkJobs; + + /** Partial fields contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildFields; + + /** Partial objects contained in the asset. */ + @Attribute + @Singular + SortedSet partialChildObjects; + + /** Number of datasets moved by this replication flow. */ + @Attribute + Long sapDatasphereReplicationFlowDatasetCount; + + /** Type of load performed by this replication flow, such as INITIAL or INITIAL_AND_DELTA. */ + @Attribute + String sapDatasphereReplicationFlowLoadType; + + /** Name of the source connection from which this replication flow reads data, such as an S/4HANA, SAP ECC, SAP BW, or S3 connection outside Datasphere. */ + @Attribute + String sapDatasphereReplicationFlowSourceConnection; + + /** Simple name of the Datasphere space in which this replication flow runs and creates its target tables. */ + @Attribute + String sapDatasphereReplicationFlowSpaceName; + + /** Unique name of the Datasphere space in which this replication flow runs and creates its target tables. */ + @Attribute + String sapDatasphereReplicationFlowSpaceQualifiedName; + + /** Name of the target connection into which this replication flow writes data, such as the local Datasphere repository. */ + @Attribute + String sapDatasphereReplicationFlowTargetConnection; + + /** Schema (Datasphere space) in which this replication flow creates its target tables. */ + @Attribute + ISchema sapDatasphereSchema; + + /** + * Builds the minimal object necessary to create a relationship to a SapDatasphereReplicationFlow, from a potentially + * more-complete SapDatasphereReplicationFlow object. + * + * @return the minimal object necessary to relate to the SapDatasphereReplicationFlow + * @throws InvalidRequestException if any of the minimal set of required properties for a SapDatasphereReplicationFlow relationship are not found in the initial object + */ + @Override + public SapDatasphereReplicationFlow trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all SapDatasphereReplicationFlow assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) SapDatasphereReplicationFlow assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all SapDatasphereReplicationFlow assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all SapDatasphereReplicationFlow assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) SapDatasphereReplicationFlows will be included + * @return a fluent search that includes all SapDatasphereReplicationFlow assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a SapDatasphereReplicationFlow by GUID. Use this to create a relationship to this SapDatasphereReplicationFlow, + * where the relationship should be replaced. + * + * @param guid the GUID of the SapDatasphereReplicationFlow to reference + * @return reference to a SapDatasphereReplicationFlow that can be used for defining a relationship to a SapDatasphereReplicationFlow + */ + public static SapDatasphereReplicationFlow refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapDatasphereReplicationFlow by GUID. Use this to create a relationship to this SapDatasphereReplicationFlow, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the SapDatasphereReplicationFlow to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapDatasphereReplicationFlow that can be used for defining a relationship to a SapDatasphereReplicationFlow + */ + public static SapDatasphereReplicationFlow refByGuid(String guid, Reference.SaveSemantic semantic) { + return SapDatasphereReplicationFlow._internal() + .guid(guid) + .semantic(semantic) + .build(); + } + + /** + * Reference to a SapDatasphereReplicationFlow by qualifiedName. Use this to create a relationship to this SapDatasphereReplicationFlow, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the SapDatasphereReplicationFlow to reference + * @return reference to a SapDatasphereReplicationFlow that can be used for defining a relationship to a SapDatasphereReplicationFlow + */ + public static SapDatasphereReplicationFlow refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a SapDatasphereReplicationFlow by qualifiedName. Use this to create a relationship to this SapDatasphereReplicationFlow, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the SapDatasphereReplicationFlow to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a SapDatasphereReplicationFlow that can be used for defining a relationship to a SapDatasphereReplicationFlow + */ + public static SapDatasphereReplicationFlow refByQualifiedName( + String qualifiedName, Reference.SaveSemantic semantic) { + return SapDatasphereReplicationFlow._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a SapDatasphereReplicationFlow by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapDatasphereReplicationFlow to retrieve, either its GUID or its full qualifiedName + * @return the requested full SapDatasphereReplicationFlow, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapDatasphereReplicationFlow does not exist or the provided GUID is not a SapDatasphereReplicationFlow + */ + @JsonIgnore + public static SapDatasphereReplicationFlow get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a SapDatasphereReplicationFlow by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapDatasphereReplicationFlow to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full SapDatasphereReplicationFlow, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapDatasphereReplicationFlow does not exist or the provided GUID is not a SapDatasphereReplicationFlow + */ + @JsonIgnore + public static SapDatasphereReplicationFlow get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof SapDatasphereReplicationFlow) { + return (SapDatasphereReplicationFlow) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof SapDatasphereReplicationFlow) { + return (SapDatasphereReplicationFlow) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a SapDatasphereReplicationFlow by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapDatasphereReplicationFlow to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapDatasphereReplicationFlow, including any relationships + * @return the requested SapDatasphereReplicationFlow, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapDatasphereReplicationFlow does not exist or the provided GUID is not a SapDatasphereReplicationFlow + */ + @JsonIgnore + public static SapDatasphereReplicationFlow get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a SapDatasphereReplicationFlow by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the SapDatasphereReplicationFlow to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the SapDatasphereReplicationFlow, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the SapDatasphereReplicationFlow + * @return the requested SapDatasphereReplicationFlow, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the SapDatasphereReplicationFlow does not exist or the provided GUID is not a SapDatasphereReplicationFlow + */ + @JsonIgnore + public static SapDatasphereReplicationFlow get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = SapDatasphereReplicationFlow.select(client) + .where(SapDatasphereReplicationFlow.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof SapDatasphereReplicationFlow) { + return (SapDatasphereReplicationFlow) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = SapDatasphereReplicationFlow.select(client) + .where(SapDatasphereReplicationFlow.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof SapDatasphereReplicationFlow) { + return (SapDatasphereReplicationFlow) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) SapDatasphereReplicationFlow to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the SapDatasphereReplicationFlow + * @return true if the SapDatasphereReplicationFlow is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a SapDatasphereReplicationFlow. + * + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param name of the SapDatasphereReplicationFlow + * @return the minimal request necessary to update the SapDatasphereReplicationFlow, as a builder + */ + public static SapDatasphereReplicationFlowBuilder updater(String qualifiedName, String name) { + return SapDatasphereReplicationFlow._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a SapDatasphereReplicationFlow, + * from a potentially more-complete SapDatasphereReplicationFlow object. + * + * @return the minimal object necessary to update the SapDatasphereReplicationFlow, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a SapDatasphereReplicationFlow are not present in the initial object + */ + @Override + public SapDatasphereReplicationFlowBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class SapDatasphereReplicationFlowBuilder< + C extends SapDatasphereReplicationFlow, B extends SapDatasphereReplicationFlowBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a SapDatasphereReplicationFlow. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param name of the SapDatasphereReplicationFlow + * @return the updated SapDatasphereReplicationFlow, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapDatasphereReplicationFlow removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapDatasphereReplicationFlow) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a SapDatasphereReplicationFlow. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param name of the SapDatasphereReplicationFlow + * @return the updated SapDatasphereReplicationFlow, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapDatasphereReplicationFlow removeUserDescription( + AtlanClient client, String qualifiedName, String name) throws AtlanException { + return (SapDatasphereReplicationFlow) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a SapDatasphereReplicationFlow. + * + * @param client connectivity to the Atlan tenant from which to remove the SapDatasphereReplicationFlow's owners + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param name of the SapDatasphereReplicationFlow + * @return the updated SapDatasphereReplicationFlow, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapDatasphereReplicationFlow removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapDatasphereReplicationFlow) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a SapDatasphereReplicationFlow. + * + * @param client connectivity to the Atlan tenant on which to update the SapDatasphereReplicationFlow's certificate + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated SapDatasphereReplicationFlow, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapDatasphereReplicationFlow updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (SapDatasphereReplicationFlow) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a SapDatasphereReplicationFlow. + * + * @param client connectivity to the Atlan tenant from which to remove the SapDatasphereReplicationFlow's certificate + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param name of the SapDatasphereReplicationFlow + * @return the updated SapDatasphereReplicationFlow, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapDatasphereReplicationFlow removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapDatasphereReplicationFlow) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a SapDatasphereReplicationFlow. + * + * @param client connectivity to the Atlan tenant on which to update the SapDatasphereReplicationFlow's announcement + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static SapDatasphereReplicationFlow updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (SapDatasphereReplicationFlow) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a SapDatasphereReplicationFlow. + * + * @param client connectivity to the Atlan client from which to remove the SapDatasphereReplicationFlow's announcement + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param name of the SapDatasphereReplicationFlow + * @return the updated SapDatasphereReplicationFlow, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static SapDatasphereReplicationFlow removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (SapDatasphereReplicationFlow) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the SapDatasphereReplicationFlow. + * + * @param client connectivity to the Atlan tenant on which to replace the SapDatasphereReplicationFlow's assigned terms + * @param qualifiedName for the SapDatasphereReplicationFlow + * @param name human-readable name of the SapDatasphereReplicationFlow + * @param terms the list of terms to replace on the SapDatasphereReplicationFlow, or null to remove all terms from the SapDatasphereReplicationFlow + * @return the SapDatasphereReplicationFlow that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static SapDatasphereReplicationFlow replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (SapDatasphereReplicationFlow) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the SapDatasphereReplicationFlow, without replacing existing terms linked to the SapDatasphereReplicationFlow. + * Note: this operation must make two API calls — one to retrieve the SapDatasphereReplicationFlow's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the SapDatasphereReplicationFlow + * @param qualifiedName for the SapDatasphereReplicationFlow + * @param terms the list of terms to append to the SapDatasphereReplicationFlow + * @return the SapDatasphereReplicationFlow that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapDatasphereReplicationFlow appendTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (SapDatasphereReplicationFlow) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a SapDatasphereReplicationFlow, without replacing all existing terms linked to the SapDatasphereReplicationFlow. + * Note: this operation must make two API calls — one to retrieve the SapDatasphereReplicationFlow's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the SapDatasphereReplicationFlow + * @param qualifiedName for the SapDatasphereReplicationFlow + * @param terms the list of terms to remove from the SapDatasphereReplicationFlow, which must be referenced by GUID + * @return the SapDatasphereReplicationFlow that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static SapDatasphereReplicationFlow removeTerms( + AtlanClient client, String qualifiedName, List terms) throws AtlanException { + return (SapDatasphereReplicationFlow) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a SapDatasphereReplicationFlow, without replacing existing Atlan tags linked to the SapDatasphereReplicationFlow. + * Note: this operation must make two API calls — one to retrieve the SapDatasphereReplicationFlow's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapDatasphereReplicationFlow + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated SapDatasphereReplicationFlow + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static SapDatasphereReplicationFlow appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (SapDatasphereReplicationFlow) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a SapDatasphereReplicationFlow, without replacing existing Atlan tags linked to the SapDatasphereReplicationFlow. + * Note: this operation must make two API calls — one to retrieve the SapDatasphereReplicationFlow's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the SapDatasphereReplicationFlow + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated SapDatasphereReplicationFlow + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static SapDatasphereReplicationFlow appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (SapDatasphereReplicationFlow) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a SapDatasphereReplicationFlow. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a SapDatasphereReplicationFlow + * @param qualifiedName of the SapDatasphereReplicationFlow + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the SapDatasphereReplicationFlow + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/SapErpTable.java b/sdk/src/main/java/com/atlan/model/assets/SapErpTable.java index a119092a95..f31c7974ac 100644 --- a/sdk/src/main/java/com/atlan/model/assets/SapErpTable.java +++ b/sdk/src/main/java/com/atlan/model/assets/SapErpTable.java @@ -119,6 +119,11 @@ public class SapErpTable extends Asset implements ISapErpTable, ISAP, ICatalog, @Attribute ISapErpComponent sapErpComponent; + /** SAP ERP Tables that are related to this SAP ERP Table. */ + @Attribute + @Singular + SortedSet sapErpRelatedTables; + /** Defines the delivery class of the SAP ERP table, determining how the table's data is transported and managed during system updates. */ @Attribute String sapErpTableDeliveryClass; diff --git a/sdk/src/main/java/com/atlan/model/assets/Schema.java b/sdk/src/main/java/com/atlan/model/assets/Schema.java index 5bc2ffcff3..f61244da6d 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Schema.java +++ b/sdk/src/main/java/com/atlan/model/assets/Schema.java @@ -210,6 +210,11 @@ public class Schema extends Asset implements ISchema, ISQL, ICatalog, IAsset, IR @Singular("putQueryUserMap") Map queryUserMap; + /** SAP Datasphere replication flows that create tables within this schema (Datasphere space). */ + @Attribute + @Singular + SortedSet sapDatasphereReplicationFlows; + /** External location of this schema, for example: an S3 object location. */ @Attribute String schemaExternalLocation; diff --git a/sdk/src/main/java/com/atlan/model/assets/Skill.java b/sdk/src/main/java/com/atlan/model/assets/Skill.java index 38ec945e24..bc605ce6df 100644 --- a/sdk/src/main/java/com/atlan/model/assets/Skill.java +++ b/sdk/src/main/java/com/atlan/model/assets/Skill.java @@ -8,6 +8,7 @@ import com.atlan.exception.InvalidRequestException; import com.atlan.exception.NotFoundException; import com.atlan.model.enums.AgenticLifecycleStatus; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.enums.SkillType; @@ -55,6 +56,10 @@ public class Skill extends Asset implements ISkill, IAgentic, ICatalog, IAsset, @Singular SortedSet agentAgents; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; diff --git a/sdk/src/main/java/com/atlan/model/assets/SkillArtifact.java b/sdk/src/main/java/com/atlan/model/assets/SkillArtifact.java index f47ce7a4fc..d89f17944c 100644 --- a/sdk/src/main/java/com/atlan/model/assets/SkillArtifact.java +++ b/sdk/src/main/java/com/atlan/model/assets/SkillArtifact.java @@ -7,6 +7,7 @@ import com.atlan.exception.ErrorCode; import com.atlan.exception.InvalidRequestException; import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AgenticSource; import com.atlan.model.enums.AtlanAnnouncementType; import com.atlan.model.enums.CertificateStatus; import com.atlan.model.enums.FileType; @@ -50,6 +51,10 @@ public class SkillArtifact extends Asset @Builder.Default String typeName = TYPE_NAME; + /** Product surface this agentic asset was created from, so agents and skills can be attributed to their originating surface without slug pattern matching (AUT-1074). Mirrors AtlanAppWorkflow.source, which does the same for workflows (AUT-1028). */ + @Attribute + AgenticSource agenticSource; + /** Version of this agentic asset as an epoch-millisecond timestamp. One Atlan entity per (slug, version) tuple. */ @Attribute Long agenticVersion; diff --git a/sdk/src/main/java/com/atlan/model/assets/SqlInsightBusinessQuestion.java b/sdk/src/main/java/com/atlan/model/assets/SqlInsightBusinessQuestion.java index cdd3875fe3..1cc4ab74a9 100644 --- a/sdk/src/main/java/com/atlan/model/assets/SqlInsightBusinessQuestion.java +++ b/sdk/src/main/java/com/atlan/model/assets/SqlInsightBusinessQuestion.java @@ -13,6 +13,7 @@ import com.atlan.model.relations.Reference; import com.atlan.model.relations.UniqueAttributes; import com.atlan.model.search.FluentSearch; +import com.atlan.model.structs.PopularityInsights; import com.atlan.util.StringUtils; import com.fasterxml.jackson.annotation.JsonIgnore; import java.util.Collection; @@ -107,6 +108,15 @@ public class SqlInsightBusinessQuestion extends Asset @Attribute String sqlInsightBusinessQuestionCanonicalSQL; + /** Qualified name of the dataset this business question relates to. */ + @Attribute + String sqlInsightBusinessQuestionDatasetQualifiedName; + + /** Example SQL queries that demonstrate this business question, with usage details. */ + @Attribute + @Singular + List sqlInsightBusinessQuestionExampleQueries; + /** Time (epoch) at which this question was last observed, in milliseconds. */ @Attribute @Date diff --git a/sdk/src/main/java/com/atlan/model/assets/TagAttachment.java b/sdk/src/main/java/com/atlan/model/assets/TagAttachment.java index 66a1ea98bd..3204759840 100644 --- a/sdk/src/main/java/com/atlan/model/assets/TagAttachment.java +++ b/sdk/src/main/java/com/atlan/model/assets/TagAttachment.java @@ -79,6 +79,11 @@ public class TagAttachment extends Asset implements ITagAttachment, ITag, ICatal @Singular SortedSet inputToSparkJobs; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** Name of the classification in Atlan that is mapped to this tag. */ @Attribute @JsonProperty("mappedClassificationName") diff --git a/sdk/src/main/java/com/atlan/model/assets/WorkflowNotification.java b/sdk/src/main/java/com/atlan/model/assets/WorkflowNotification.java new file mode 100644 index 0000000000..e7b7204091 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/assets/WorkflowNotification.java @@ -0,0 +1,608 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import com.atlan.AtlanClient; +import com.atlan.exception.AtlanException; +import com.atlan.exception.ErrorCode; +import com.atlan.exception.InvalidRequestException; +import com.atlan.exception.NotFoundException; +import com.atlan.model.enums.AtlanAnnouncementType; +import com.atlan.model.enums.CertificateStatus; +import com.atlan.model.enums.NotificationState; +import com.atlan.model.enums.WorkflowNotificationAction; +import com.atlan.model.fields.AtlanField; +import com.atlan.model.relations.Reference; +import com.atlan.model.relations.UniqueAttributes; +import com.atlan.model.search.FluentSearch; +import com.atlan.model.structs.NotificationExternalReference; +import com.atlan.util.StringUtils; +import com.fasterxml.jackson.annotation.JsonIgnore; +import java.util.Collection; +import java.util.Collections; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.SortedSet; +import java.util.concurrent.ThreadLocalRandom; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.slf4j.Slf4j; + +/** + * A notification about an Atlan app workflow. The only notification type created today, and the one every future workflow-related notification should use. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@SuperBuilder(toBuilder = true, builderMethodName = "_internal") +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@Slf4j +@SuppressWarnings({"cast", "serial"}) +public class WorkflowNotification extends Asset + implements IWorkflowNotification, INotification, IAsset, IReferenceable { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "WorkflowNotification"; + + /** Fixed typeName for WorkflowNotifications. */ + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Where this notification also lives outside Atlan, one entry per surface. This is what lets an action taken in the inbox go back and update the message it came from. */ + @Attribute + @Singular + List notificationExternalReferences; + + /** When a person last moved the state. Read against the creation timestamp this gives time to resolution. */ + @Attribute + @Date + Long notificationLastActedAt; + + /** Username of the person who last moved the state. Declared separately because the write is service-mediated, so the entity's own modifier records the service and not the person. */ + @Attribute + String notificationLastActedBy; + + /** Reason or note the person gave for the last action. Mandatory for some actions and optional for others, so it is free text rather than a code. */ + @Attribute + String notificationLastActedReason; + + /** Identifiers of the Atlan groups the notification is meant for. A group outlives its members, so a rule addressing a group stays generic as people join and leave. */ + @Attribute + @Singular + SortedSet notificationRecipientGroups; + + /** Identifiers of the Atlan roles that need to see the notification. Resolved to individuals by the interface at read time rather than stored. */ + @Attribute + @Singular + SortedSet notificationRecipientRoles; + + /** Usernames the notification was addressed to. Drives the assigned-to-me view together with the group and role recipients. */ + @Attribute + @Singular + SortedSet notificationRecipientUsers; + + /** Where the notification is in its lifecycle. Also how a check decides whether a live notification already exists before raising another. */ + @Attribute + NotificationState notificationState; + + /** Which option the person took. Declared here rather than on the notification supertype because these values only mean anything for a workflow. */ + @Attribute + WorkflowNotificationAction workflowNotificationAction; + + /** When the check last failed. Distinct from when it was last checked, which every write already records. */ + @Attribute + @Date + Long workflowNotificationLastPreflightFailedAt; + + /** The whole check response as one escaped JSON string, rewritten on every check while the notification is live. Rendered by the widget the interface already has, so nothing is denormalised into attributes. */ + @Attribute + String workflowNotificationLastPreflightResult; + + /** How many times the check has failed for this notification, counted from the failures that raised it and incremented on every failure since. */ + @Attribute + Integer workflowNotificationPreflightFailureCount; + + /** The workflow this notification is about. */ + @Attribute + IAtlanAppWorkflow workflowNotificationWorkflow; + + /** Slug of the workflow this notification is about. What grouping by workflow groups on, and how a check finds the live notification before deciding whether to raise another. */ + @Attribute + String workflowNotificationWorkflowSlug; + + /** + * Builds the minimal object necessary to create a relationship to a WorkflowNotification, from a potentially + * more-complete WorkflowNotification object. + * + * @return the minimal object necessary to relate to the WorkflowNotification + * @throws InvalidRequestException if any of the minimal set of required properties for a WorkflowNotification relationship are not found in the initial object + */ + @Override + public WorkflowNotification trimToReference() throws InvalidRequestException { + if (this.getGuid() != null && !this.getGuid().isEmpty()) { + return refByGuid(this.getGuid()); + } + if (this.getQualifiedName() != null && !this.getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getQualifiedName()); + } + if (this.getUniqueAttributes() != null + && this.getUniqueAttributes().getQualifiedName() != null + && !this.getUniqueAttributes().getQualifiedName().isEmpty()) { + return refByQualifiedName(this.getUniqueAttributes().getQualifiedName()); + } + throw new InvalidRequestException( + ErrorCode.MISSING_REQUIRED_RELATIONSHIP_PARAM, TYPE_NAME, "guid, qualifiedName"); + } + + /** + * Start a fluent search that will return all WorkflowNotification assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. Only active (non-archived) WorkflowNotification assets will be included. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @return a fluent search that includes all WorkflowNotification assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client) { + return select(client, false); + } + + /** + * Start a fluent search that will return all WorkflowNotification assets. + * Additional conditions can be chained onto the returned search before any + * asset retrieval is attempted, ensuring all conditions are pushed-down for + * optimal retrieval. + * + * @param client connectivity to the Atlan tenant from which to retrieve the assets + * @param includeArchived when true, archived (soft-deleted) WorkflowNotifications will be included + * @return a fluent search that includes all WorkflowNotification assets + */ + public static FluentSearch.FluentSearchBuilder select(AtlanClient client, boolean includeArchived) { + FluentSearch.FluentSearchBuilder builder = + FluentSearch.builder(client).where(Asset.TYPE_NAME.eq(TYPE_NAME)); + if (!includeArchived) { + builder.active(); + } + return builder; + } + + /** + * Reference to a WorkflowNotification by GUID. Use this to create a relationship to this WorkflowNotification, + * where the relationship should be replaced. + * + * @param guid the GUID of the WorkflowNotification to reference + * @return reference to a WorkflowNotification that can be used for defining a relationship to a WorkflowNotification + */ + public static WorkflowNotification refByGuid(String guid) { + return refByGuid(guid, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a WorkflowNotification by GUID. Use this to create a relationship to this WorkflowNotification, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param guid the GUID of the WorkflowNotification to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a WorkflowNotification that can be used for defining a relationship to a WorkflowNotification + */ + public static WorkflowNotification refByGuid(String guid, Reference.SaveSemantic semantic) { + return WorkflowNotification._internal().guid(guid).semantic(semantic).build(); + } + + /** + * Reference to a WorkflowNotification by qualifiedName. Use this to create a relationship to this WorkflowNotification, + * where the relationship should be replaced. + * + * @param qualifiedName the qualifiedName of the WorkflowNotification to reference + * @return reference to a WorkflowNotification that can be used for defining a relationship to a WorkflowNotification + */ + public static WorkflowNotification refByQualifiedName(String qualifiedName) { + return refByQualifiedName(qualifiedName, Reference.SaveSemantic.REPLACE); + } + + /** + * Reference to a WorkflowNotification by qualifiedName. Use this to create a relationship to this WorkflowNotification, + * where you want to further control how that relationship should be updated (i.e. replaced, + * appended, or removed). + * + * @param qualifiedName the qualifiedName of the WorkflowNotification to reference + * @param semantic how to save this relationship (replace all with this, append it, or remove it) + * @return reference to a WorkflowNotification that can be used for defining a relationship to a WorkflowNotification + */ + public static WorkflowNotification refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) { + return WorkflowNotification._internal() + .uniqueAttributes( + UniqueAttributes.builder().qualifiedName(qualifiedName).build()) + .semantic(semantic) + .build(); + } + + /** + * Retrieves a WorkflowNotification by one of its identifiers, complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the WorkflowNotification to retrieve, either its GUID or its full qualifiedName + * @return the requested full WorkflowNotification, complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the WorkflowNotification does not exist or the provided GUID is not a WorkflowNotification + */ + @JsonIgnore + public static WorkflowNotification get(AtlanClient client, String id) throws AtlanException { + return get(client, id, false); + } + + /** + * Retrieves a WorkflowNotification by one of its identifiers, optionally complete with all of its relationships. + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the WorkflowNotification to retrieve, either its GUID or its full qualifiedName + * @param includeAllRelationships if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved + * @return the requested full WorkflowNotification, optionally complete with all of its relationships + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the WorkflowNotification does not exist or the provided GUID is not a WorkflowNotification + */ + @JsonIgnore + public static WorkflowNotification get(AtlanClient client, String id, boolean includeAllRelationships) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Asset asset = Asset.get(client, id, includeAllRelationships); + if (asset == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset instanceof WorkflowNotification) { + return (WorkflowNotification) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Asset asset = Asset.get(client, TYPE_NAME, id, includeAllRelationships); + if (asset instanceof WorkflowNotification) { + return (WorkflowNotification) asset; + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } + } + } + + /** + * Retrieves a WorkflowNotification by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the WorkflowNotification to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the WorkflowNotification, including any relationships + * @return the requested WorkflowNotification, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the WorkflowNotification does not exist or the provided GUID is not a WorkflowNotification + */ + @JsonIgnore + public static WorkflowNotification get(AtlanClient client, String id, Collection attributes) + throws AtlanException { + return get(client, id, attributes, Collections.emptyList()); + } + + /** + * Retrieves a WorkflowNotification by one of its identifiers, with only the requested attributes (and relationships). + * + * @param client connectivity to the Atlan tenant from which to retrieve the asset + * @param id of the WorkflowNotification to retrieve, either its GUID or its full qualifiedName + * @param attributes to retrieve for the WorkflowNotification, including any relationships + * @param attributesOnRelated to retrieve on each relationship retrieved for the WorkflowNotification + * @return the requested WorkflowNotification, with only its minimal information and the requested attributes (and relationships) + * @throws AtlanException on any error during the API invocation, such as the {@link NotFoundException} if the WorkflowNotification does not exist or the provided GUID is not a WorkflowNotification + */ + @JsonIgnore + public static WorkflowNotification get( + AtlanClient client, + String id, + Collection attributes, + Collection attributesOnRelated) + throws AtlanException { + if (id == null) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, "(null)"); + } else if (StringUtils.isUUID(id)) { + Optional asset = WorkflowNotification.select(client) + .where(WorkflowNotification.GUID.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_GUID, id); + } else if (asset.get() instanceof WorkflowNotification) { + return (WorkflowNotification) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } else { + Optional asset = WorkflowNotification.select(client) + .where(WorkflowNotification.QUALIFIED_NAME.eq(id)) + .includesOnResults(attributes) + .includesOnRelations(attributesOnRelated) + .includeRelationshipAttributes(true) + .pageSize(1) + .stream() + .findFirst(); + if (!asset.isPresent()) { + throw new NotFoundException(ErrorCode.ASSET_NOT_FOUND_BY_QN, id, TYPE_NAME); + } else if (asset.get() instanceof WorkflowNotification) { + return (WorkflowNotification) asset.get(); + } else { + throw new NotFoundException(ErrorCode.ASSET_NOT_TYPE_REQUESTED, id, TYPE_NAME); + } + } + } + + /** + * Restore the archived (soft-deleted) WorkflowNotification to active. + * + * @param client connectivity to the Atlan tenant on which to restore the asset + * @param qualifiedName for the WorkflowNotification + * @return true if the WorkflowNotification is now active, and false otherwise + * @throws AtlanException on any API problems + */ + public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException { + return Asset.restore(client, TYPE_NAME, qualifiedName); + } + + /** + * Builds the minimal object necessary to update a WorkflowNotification. + * + * @param qualifiedName of the WorkflowNotification + * @param name of the WorkflowNotification + * @return the minimal request necessary to update the WorkflowNotification, as a builder + */ + public static WorkflowNotificationBuilder updater(String qualifiedName, String name) { + return WorkflowNotification._internal() + .guid("-" + ThreadLocalRandom.current().nextLong(0, Long.MAX_VALUE - 1)) + .qualifiedName(qualifiedName) + .name(name); + } + + /** + * Builds the minimal object necessary to apply an update to a WorkflowNotification, + * from a potentially more-complete WorkflowNotification object. + * + * @return the minimal object necessary to update the WorkflowNotification, as a builder + * @throws InvalidRequestException if any of the minimal set of required fields for a WorkflowNotification are not present in the initial object + */ + @Override + public WorkflowNotificationBuilder trimToRequired() throws InvalidRequestException { + Map map = new HashMap<>(); + map.put("qualifiedName", this.getQualifiedName()); + map.put("name", this.getName()); + validateRequired(TYPE_NAME, map); + return updater(this.getQualifiedName(), this.getName()); + } + + public abstract static class WorkflowNotificationBuilder< + C extends WorkflowNotification, B extends WorkflowNotificationBuilder> + extends Asset.AssetBuilder {} + + /** + * Remove the system description from a WorkflowNotification. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the WorkflowNotification + * @param name of the WorkflowNotification + * @return the updated WorkflowNotification, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static WorkflowNotification removeDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (WorkflowNotification) Asset.removeDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the user's description from a WorkflowNotification. + * + * @param client connectivity to the Atlan tenant on which to remove the asset's description + * @param qualifiedName of the WorkflowNotification + * @param name of the WorkflowNotification + * @return the updated WorkflowNotification, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static WorkflowNotification removeUserDescription(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (WorkflowNotification) Asset.removeUserDescription(client, updater(qualifiedName, name)); + } + + /** + * Remove the owners from a WorkflowNotification. + * + * @param client connectivity to the Atlan tenant from which to remove the WorkflowNotification's owners + * @param qualifiedName of the WorkflowNotification + * @param name of the WorkflowNotification + * @return the updated WorkflowNotification, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static WorkflowNotification removeOwners(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (WorkflowNotification) Asset.removeOwners(client, updater(qualifiedName, name)); + } + + /** + * Update the certificate on a WorkflowNotification. + * + * @param client connectivity to the Atlan tenant on which to update the WorkflowNotification's certificate + * @param qualifiedName of the WorkflowNotification + * @param certificate to use + * @param message (optional) message, or null if no message + * @return the updated WorkflowNotification, or null if the update failed + * @throws AtlanException on any API problems + */ + public static WorkflowNotification updateCertificate( + AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) + throws AtlanException { + return (WorkflowNotification) + Asset.updateCertificate(client, _internal(), TYPE_NAME, qualifiedName, certificate, message); + } + + /** + * Remove the certificate from a WorkflowNotification. + * + * @param client connectivity to the Atlan tenant from which to remove the WorkflowNotification's certificate + * @param qualifiedName of the WorkflowNotification + * @param name of the WorkflowNotification + * @return the updated WorkflowNotification, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static WorkflowNotification removeCertificate(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (WorkflowNotification) Asset.removeCertificate(client, updater(qualifiedName, name)); + } + + /** + * Update the announcement on a WorkflowNotification. + * + * @param client connectivity to the Atlan tenant on which to update the WorkflowNotification's announcement + * @param qualifiedName of the WorkflowNotification + * @param type type of announcement to set + * @param title (optional) title of the announcement to set (or null for no title) + * @param message (optional) message of the announcement to set (or null for no message) + * @return the result of the update, or null if the update failed + * @throws AtlanException on any API problems + */ + public static WorkflowNotification updateAnnouncement( + AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) + throws AtlanException { + return (WorkflowNotification) + Asset.updateAnnouncement(client, _internal(), TYPE_NAME, qualifiedName, type, title, message); + } + + /** + * Remove the announcement from a WorkflowNotification. + * + * @param client connectivity to the Atlan client from which to remove the WorkflowNotification's announcement + * @param qualifiedName of the WorkflowNotification + * @param name of the WorkflowNotification + * @return the updated WorkflowNotification, or null if the removal failed + * @throws AtlanException on any API problems + */ + public static WorkflowNotification removeAnnouncement(AtlanClient client, String qualifiedName, String name) + throws AtlanException { + return (WorkflowNotification) Asset.removeAnnouncement(client, updater(qualifiedName, name)); + } + + /** + * Replace the terms linked to the WorkflowNotification. + * + * @param client connectivity to the Atlan tenant on which to replace the WorkflowNotification's assigned terms + * @param qualifiedName for the WorkflowNotification + * @param name human-readable name of the WorkflowNotification + * @param terms the list of terms to replace on the WorkflowNotification, or null to remove all terms from the WorkflowNotification + * @return the WorkflowNotification that was updated (note that it will NOT contain details of the replaced terms) + * @throws AtlanException on any API problems + */ + public static WorkflowNotification replaceTerms( + AtlanClient client, String qualifiedName, String name, List terms) throws AtlanException { + return (WorkflowNotification) Asset.replaceTerms(client, updater(qualifiedName, name), terms); + } + + /** + * Link additional terms to the WorkflowNotification, without replacing existing terms linked to the WorkflowNotification. + * Note: this operation must make two API calls — one to retrieve the WorkflowNotification's existing terms, + * and a second to append the new terms. + * + * @param client connectivity to the Atlan tenant on which to append terms to the WorkflowNotification + * @param qualifiedName for the WorkflowNotification + * @param terms the list of terms to append to the WorkflowNotification + * @return the WorkflowNotification that was updated (note that it will NOT contain details of the appended terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static WorkflowNotification appendTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (WorkflowNotification) Asset.appendTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Remove terms from a WorkflowNotification, without replacing all existing terms linked to the WorkflowNotification. + * Note: this operation must make two API calls — one to retrieve the WorkflowNotification's existing terms, + * and a second to remove the provided terms. + * + * @param client connectivity to the Atlan tenant from which to remove terms from the WorkflowNotification + * @param qualifiedName for the WorkflowNotification + * @param terms the list of terms to remove from the WorkflowNotification, which must be referenced by GUID + * @return the WorkflowNotification that was updated (note that it will NOT contain details of the resulting terms) + * @throws AtlanException on any API problems + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAssignedTerm(GlossaryTerm)} + */ + @Deprecated + public static WorkflowNotification removeTerms(AtlanClient client, String qualifiedName, List terms) + throws AtlanException { + return (WorkflowNotification) Asset.removeTerms(client, TYPE_NAME, qualifiedName, terms); + } + + /** + * Add Atlan tags to a WorkflowNotification, without replacing existing Atlan tags linked to the WorkflowNotification. + * Note: this operation must make two API calls — one to retrieve the WorkflowNotification's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the WorkflowNotification + * @param qualifiedName of the WorkflowNotification + * @param atlanTagNames human-readable names of the Atlan tags to add + * @throws AtlanException on any API problems + * @return the updated WorkflowNotification + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List)} + */ + @Deprecated + public static WorkflowNotification appendAtlanTags( + AtlanClient client, String qualifiedName, List atlanTagNames) throws AtlanException { + return (WorkflowNotification) Asset.appendAtlanTags(client, TYPE_NAME, qualifiedName, atlanTagNames); + } + + /** + * Add Atlan tags to a WorkflowNotification, without replacing existing Atlan tags linked to the WorkflowNotification. + * Note: this operation must make two API calls — one to retrieve the WorkflowNotification's existing Atlan tags, + * and a second to append the new Atlan tags. + * + * @param client connectivity to the Atlan tenant on which to append Atlan tags to the WorkflowNotification + * @param qualifiedName of the WorkflowNotification + * @param atlanTagNames human-readable names of the Atlan tags to add + * @param propagate whether to propagate the Atlan tag (true) or not (false) + * @param removePropagationsOnDelete whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false) + * @param restrictLineagePropagation whether to avoid propagating through lineage (true) or do propagate through lineage (false) + * @throws AtlanException on any API problems + * @return the updated WorkflowNotification + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#appendAtlanTags(List, boolean, boolean, boolean, boolean)} + */ + @Deprecated + public static WorkflowNotification appendAtlanTags( + AtlanClient client, + String qualifiedName, + List atlanTagNames, + boolean propagate, + boolean removePropagationsOnDelete, + boolean restrictLineagePropagation) + throws AtlanException { + return (WorkflowNotification) Asset.appendAtlanTags( + client, + TYPE_NAME, + qualifiedName, + atlanTagNames, + propagate, + removePropagationsOnDelete, + restrictLineagePropagation); + } + + /** + * Remove an Atlan tag from a WorkflowNotification. + * + * @param client connectivity to the Atlan tenant from which to remove an Atlan tag from a WorkflowNotification + * @param qualifiedName of the WorkflowNotification + * @param atlanTagName human-readable name of the Atlan tag to remove + * @throws AtlanException on any API problems, or if the Atlan tag does not exist on the WorkflowNotification + * @deprecated see {@link com.atlan.model.assets.Asset.AssetBuilder#removeAtlanTag(String)} + */ + @Deprecated + public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) + throws AtlanException { + Asset.removeAtlanTag(client, TYPE_NAME, qualifiedName, atlanTagName); + } +} diff --git a/sdk/src/main/java/com/atlan/model/assets/WorkflowRun.java b/sdk/src/main/java/com/atlan/model/assets/WorkflowRun.java index 30ddc4cec2..7f9880a012 100644 --- a/sdk/src/main/java/com/atlan/model/assets/WorkflowRun.java +++ b/sdk/src/main/java/com/atlan/model/assets/WorkflowRun.java @@ -62,6 +62,11 @@ public class WorkflowRun extends Asset implements IWorkflowRun, IWorkflow, IAsse @Singular SortedSet gcpDataplexAspectTypeMetadataEntities; + /** Knowledge files linked to this asset. */ + @Attribute + @Singular + SortedSet knowledgeLinkedFiles; + /** List of workflow action choices. */ @Attribute @Singular diff --git a/sdk/src/main/java/com/atlan/model/enums/AgenticSource.java b/sdk/src/main/java/com/atlan/model/enums/AgenticSource.java new file mode 100644 index 0000000000..d9a9c87b34 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/enums/AgenticSource.java @@ -0,0 +1,34 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.enums; + +import com.fasterxml.jackson.annotation.JsonValue; +import javax.annotation.processing.Generated; +import lombok.Getter; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +public enum AgenticSource implements AtlanEnum { + CONTEXT_STUDIO("context_studio"), + ENRICHMENT_STUDIO("enrichment_studio"), + MARKETPLACE("marketplace"), + AUTOMATION_ENGINE("automation_engine"), + UNKNOWN("unknown"), + ; + + @JsonValue + @Getter(onMethod_ = {@Override}) + private final String value; + + AgenticSource(String value) { + this.value = value; + } + + public static AgenticSource fromValue(String value) { + for (AgenticSource b : AgenticSource.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } +} diff --git a/sdk/src/main/java/com/atlan/model/enums/AtlanAppDeploymentOperation.java b/sdk/src/main/java/com/atlan/model/enums/AtlanAppDeploymentOperation.java index d15f023bdc..ab11b4d304 100644 --- a/sdk/src/main/java/com/atlan/model/enums/AtlanAppDeploymentOperation.java +++ b/sdk/src/main/java/com/atlan/model/enums/AtlanAppDeploymentOperation.java @@ -11,6 +11,7 @@ public enum AtlanAppDeploymentOperation implements AtlanEnum { INSTALL("INSTALL"), UPGRADE("UPGRADE"), DOWNGRADE("DOWNGRADE"), + UNINSTALL("UNINSTALL"), ; @JsonValue diff --git a/sdk/src/main/java/com/atlan/model/enums/AtlanAppWorkflowRuntimeMode.java b/sdk/src/main/java/com/atlan/model/enums/AtlanAppWorkflowRuntimeMode.java new file mode 100644 index 0000000000..8803f2dc9a --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/enums/AtlanAppWorkflowRuntimeMode.java @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.enums; + +import com.fasterxml.jackson.annotation.JsonValue; +import javax.annotation.processing.Generated; +import lombok.Getter; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +public enum AtlanAppWorkflowRuntimeMode implements AtlanEnum { + SDR("SDR"), + DIRECT("DIRECT"), + ; + + @JsonValue + @Getter(onMethod_ = {@Override}) + private final String value; + + AtlanAppWorkflowRuntimeMode(String value) { + this.value = value; + } + + public static AtlanAppWorkflowRuntimeMode fromValue(String value) { + for (AtlanAppWorkflowRuntimeMode b : AtlanAppWorkflowRuntimeMode.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } +} diff --git a/sdk/src/main/java/com/atlan/model/enums/AtlanAppWorkflowSource.java b/sdk/src/main/java/com/atlan/model/enums/AtlanAppWorkflowSource.java index 821b66ef81..b9dcfcdd6f 100644 --- a/sdk/src/main/java/com/atlan/model/enums/AtlanAppWorkflowSource.java +++ b/sdk/src/main/java/com/atlan/model/enums/AtlanAppWorkflowSource.java @@ -13,6 +13,7 @@ public enum AtlanAppWorkflowSource implements AtlanEnum { BACKGROUND_JOB("background_job"), SYSTEM_JOB("system_job"), UNKNOWN("unknown"), + ADHOC("adhoc"), ; @JsonValue diff --git a/sdk/src/main/java/com/atlan/model/enums/DatabricksDashboardLifecycleState.java b/sdk/src/main/java/com/atlan/model/enums/DatabricksDashboardLifecycleState.java new file mode 100644 index 0000000000..59e96fc56d --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/enums/DatabricksDashboardLifecycleState.java @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.enums; + +import com.fasterxml.jackson.annotation.JsonValue; +import javax.annotation.processing.Generated; +import lombok.Getter; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +public enum DatabricksDashboardLifecycleState implements AtlanEnum { + ACTIVE("ACTIVE"), + TRASHED("TRASHED"), + ; + + @JsonValue + @Getter(onMethod_ = {@Override}) + private final String value; + + DatabricksDashboardLifecycleState(String value) { + this.value = value; + } + + public static DatabricksDashboardLifecycleState fromValue(String value) { + for (DatabricksDashboardLifecycleState b : DatabricksDashboardLifecycleState.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } +} diff --git a/sdk/src/main/java/com/atlan/model/enums/NotificationState.java b/sdk/src/main/java/com/atlan/model/enums/NotificationState.java new file mode 100644 index 0000000000..6e52a2124f --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/enums/NotificationState.java @@ -0,0 +1,34 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.enums; + +import com.fasterxml.jackson.annotation.JsonValue; +import javax.annotation.processing.Generated; +import lombok.Getter; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +public enum NotificationState implements AtlanEnum { + GENERATED("GENERATED"), + DELIVERED("DELIVERED"), + ACTIONED("ACTIONED"), + RESOLVED("RESOLVED"), + CLOSED("CLOSED"), + ; + + @JsonValue + @Getter(onMethod_ = {@Override}) + private final String value; + + NotificationState(String value) { + this.value = value; + } + + public static NotificationState fromValue(String value) { + for (NotificationState b : NotificationState.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } +} diff --git a/sdk/src/main/java/com/atlan/model/enums/NotificationSurface.java b/sdk/src/main/java/com/atlan/model/enums/NotificationSurface.java new file mode 100644 index 0000000000..8af362edb2 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/enums/NotificationSurface.java @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.enums; + +import com.fasterxml.jackson.annotation.JsonValue; +import javax.annotation.processing.Generated; +import lombok.Getter; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +public enum NotificationSurface implements AtlanEnum { + SLACK("SLACK"), + TEAMS("TEAMS"), + ; + + @JsonValue + @Getter(onMethod_ = {@Override}) + private final String value; + + NotificationSurface(String value) { + this.value = value; + } + + public static NotificationSurface fromValue(String value) { + for (NotificationSurface b : NotificationSurface.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } +} diff --git a/sdk/src/main/java/com/atlan/model/enums/ProcessLineageDerivation.java b/sdk/src/main/java/com/atlan/model/enums/ProcessLineageDerivation.java new file mode 100644 index 0000000000..1781790375 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/enums/ProcessLineageDerivation.java @@ -0,0 +1,31 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.enums; + +import com.fasterxml.jackson.annotation.JsonValue; +import javax.annotation.processing.Generated; +import lombok.Getter; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +public enum ProcessLineageDerivation implements AtlanEnum { + STATIC("STATIC"), + RUNTIME("RUNTIME"), + ; + + @JsonValue + @Getter(onMethod_ = {@Override}) + private final String value; + + ProcessLineageDerivation(String value) { + this.value = value; + } + + public static ProcessLineageDerivation fromValue(String value) { + for (ProcessLineageDerivation b : ProcessLineageDerivation.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } +} diff --git a/sdk/src/main/java/com/atlan/model/enums/WorkflowNotificationAction.java b/sdk/src/main/java/com/atlan/model/enums/WorkflowNotificationAction.java new file mode 100644 index 0000000000..dc03d85f3f --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/enums/WorkflowNotificationAction.java @@ -0,0 +1,35 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.enums; + +import com.fasterxml.jackson.annotation.JsonValue; +import javax.annotation.processing.Generated; +import lombok.Getter; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +public enum WorkflowNotificationAction implements AtlanEnum { + EDIT_CREDENTIALS("EDIT_CREDENTIALS"), + RECHECK_NOW("RECHECK_NOW"), + PAUSE_RUNS("PAUSE_RUNS"), + REMOVE_SCHEDULE("REMOVE_SCHEDULE"), + RAISE_TICKET("RAISE_TICKET"), + DISMISS("DISMISS"), + ; + + @JsonValue + @Getter(onMethod_ = {@Override}) + private final String value; + + WorkflowNotificationAction(String value) { + this.value = value; + } + + public static WorkflowNotificationAction fromValue(String value) { + for (WorkflowNotificationAction b : WorkflowNotificationAction.values()) { + if (b.value.equals(value)) { + return b; + } + } + return null; + } +} diff --git a/sdk/src/main/java/com/atlan/model/structs/AtlanStruct.java b/sdk/src/main/java/com/atlan/model/structs/AtlanStruct.java index 5e197d2533..56f72353f0 100644 --- a/sdk/src/main/java/com/atlan/model/structs/AtlanStruct.java +++ b/sdk/src/main/java/com/atlan/model/structs/AtlanStruct.java @@ -70,6 +70,7 @@ @JsonSubTypes.Type(value = KafkaTopicConsumption.class, name = KafkaTopicConsumption.TYPE_NAME), @JsonSubTypes.Type(value = MCRuleComparison.class, name = MCRuleComparison.TYPE_NAME), @JsonSubTypes.Type(value = MCRuleSchedule.class, name = MCRuleSchedule.TYPE_NAME), + @JsonSubTypes.Type(value = NotificationExternalReference.class, name = NotificationExternalReference.TYPE_NAME), @JsonSubTypes.Type(value = PopularityInsights.class, name = PopularityInsights.TYPE_NAME), @JsonSubTypes.Type(value = ResponseValue.class, name = ResponseValue.TYPE_NAME), @JsonSubTypes.Type(value = SQLProcedureArgument.class, name = SQLProcedureArgument.TYPE_NAME), diff --git a/sdk/src/main/java/com/atlan/model/structs/NotificationExternalReference.java b/sdk/src/main/java/com/atlan/model/structs/NotificationExternalReference.java new file mode 100644 index 0000000000..5f4ad92985 --- /dev/null +++ b/sdk/src/main/java/com/atlan/model/structs/NotificationExternalReference.java @@ -0,0 +1,74 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.structs; + +import com.atlan.model.enums.NotificationSurface; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonSetter; +import com.fasterxml.jackson.annotation.Nulls; +import java.util.Map; +import javax.annotation.processing.Generated; +import lombok.*; +import lombok.experimental.SuperBuilder; +import lombok.extern.jackson.Jacksonized; + +/** + * One place outside Atlan where a notification was delivered. + */ +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@Getter +@Jacksonized +@SuperBuilder(toBuilder = true) +@EqualsAndHashCode(callSuper = true) +@ToString(callSuper = true) +@SuppressWarnings({"cast", "serial"}) +public class NotificationExternalReference extends AtlanStruct { + private static final long serialVersionUID = 2L; + + public static final String TYPE_NAME = "NotificationExternalReference"; + + /** Fixed typeName for NotificationExternalReference. */ + @JsonIgnore + @Getter(onMethod_ = {@Override}) + @Builder.Default + String typeName = TYPE_NAME; + + /** Which external surface this reference is for. */ + NotificationSurface notificationExternalReferenceSurface; + + /** Link to the delivered message, for example a Slack thread permalink or a Teams message link. */ + String notificationExternalReferenceRefUrl; + + /** When the notification was delivered to this surface. */ + Long notificationExternalReferenceDeliveredAt; + + /** Anything else the surface needs to address the delivered message later, such as the identifiers required to edit it in place. */ + @Singular + @JsonSetter(nulls = Nulls.AS_EMPTY) + Map notificationExternalReferenceExtraAttributes; + + /** + * Quickly create a new NotificationExternalReference. + * @param notificationExternalReferenceSurface Which external surface this reference is for. + * @param notificationExternalReferenceRefUrl Link to the delivered message, for example a Slack thread permalink or a Teams message link. + * @param notificationExternalReferenceDeliveredAt When the notification was delivered to this surface. + * @param notificationExternalReferenceExtraAttributes Anything else the surface needs to address the delivered message later, such as the identifiers required to edit it in place. + * @return a NotificationExternalReference with the provided information + */ + public static NotificationExternalReference of( + NotificationSurface notificationExternalReferenceSurface, + String notificationExternalReferenceRefUrl, + Long notificationExternalReferenceDeliveredAt, + Map notificationExternalReferenceExtraAttributes) { + return NotificationExternalReference.builder() + .notificationExternalReferenceSurface(notificationExternalReferenceSurface) + .notificationExternalReferenceRefUrl(notificationExternalReferenceRefUrl) + .notificationExternalReferenceDeliveredAt(notificationExternalReferenceDeliveredAt) + .notificationExternalReferenceExtraAttributes(notificationExternalReferenceExtraAttributes) + .build(); + } + + public abstract static class NotificationExternalReferenceBuilder< + C extends NotificationExternalReference, B extends NotificationExternalReferenceBuilder> + extends AtlanStruct.AtlanStructBuilder {} +} diff --git a/sdk/src/main/java/com/atlan/model/structs/SageMakerUnifiedStudioSsoUser.java b/sdk/src/main/java/com/atlan/model/structs/SageMakerUnifiedStudioSsoUser.java index edc641eaae..5e60f6e648 100644 --- a/sdk/src/main/java/com/atlan/model/structs/SageMakerUnifiedStudioSsoUser.java +++ b/sdk/src/main/java/com/atlan/model/structs/SageMakerUnifiedStudioSsoUser.java @@ -35,16 +35,22 @@ public class SageMakerUnifiedStudioSsoUser extends AtlanStruct { /** Role assigned to the SSO user within the project. */ String smusSsoUserRole; + /** Full name of the SSO user, sourced from the identity provider's first and last name. */ + String smusSsoUserFullName; + /** * Quickly create a new SageMakerUnifiedStudioSsoUser. * @param smusSsoUserEmail Email address of the SSO user. * @param smusSsoUserRole Role assigned to the SSO user within the project. + * @param smusSsoUserFullName Full name of the SSO user, sourced from the identity provider's first and last name. * @return a SageMakerUnifiedStudioSsoUser with the provided information */ - public static SageMakerUnifiedStudioSsoUser of(String smusSsoUserEmail, String smusSsoUserRole) { + public static SageMakerUnifiedStudioSsoUser of( + String smusSsoUserEmail, String smusSsoUserRole, String smusSsoUserFullName) { return SageMakerUnifiedStudioSsoUser.builder() .smusSsoUserEmail(smusSsoUserEmail) .smusSsoUserRole(smusSsoUserRole) + .smusSsoUserFullName(smusSsoUserFullName) .build(); } diff --git a/sdk/src/test/java/com/atlan/model/assets/ADLSAccountTest.java b/sdk/src/test/java/com/atlan/model/assets/ADLSAccountTest.java index 0b9059c3f6..e749093c21 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ADLSAccountTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ADLSAccountTest.java @@ -97,6 +97,7 @@ public class ADLSAccountTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ADLSContainerTest.java b/sdk/src/test/java/com/atlan/model/assets/ADLSContainerTest.java index 7657778ef4..18273c613a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ADLSContainerTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ADLSContainerTest.java @@ -97,6 +97,7 @@ public class ADLSContainerTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ADLSObjectTest.java b/sdk/src/test/java/com/atlan/model/assets/ADLSObjectTest.java index ea69ae4d0d..b5ce368ef8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ADLSObjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ADLSObjectTest.java @@ -97,6 +97,7 @@ public class ADLSObjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AIApplicationTest.java b/sdk/src/test/java/com/atlan/model/assets/AIApplicationTest.java index d26a22dadb..1f8517bdf5 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AIApplicationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AIApplicationTest.java @@ -102,6 +102,7 @@ public class AIApplicationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AIModelTest.java b/sdk/src/test/java/com/atlan/model/assets/AIModelTest.java index 1a0a758b07..4f0eee5f9d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AIModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AIModelTest.java @@ -102,6 +102,7 @@ public class AIModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AIModelVersionTest.java b/sdk/src/test/java/com/atlan/model/assets/AIModelVersionTest.java index 86df9b7c6e..f5963c8268 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AIModelVersionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AIModelVersionTest.java @@ -102,6 +102,7 @@ public class AIModelVersionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/APIFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/APIFieldTest.java index 14a0bc3149..24e14d8eac 100644 --- a/sdk/src/test/java/com/atlan/model/assets/APIFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/APIFieldTest.java @@ -104,6 +104,7 @@ public class APIFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/APIObjectTest.java b/sdk/src/test/java/com/atlan/model/assets/APIObjectTest.java index f39e7db5a0..5a423454df 100644 --- a/sdk/src/test/java/com/atlan/model/assets/APIObjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/APIObjectTest.java @@ -104,6 +104,7 @@ public class APIObjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/APIPathTest.java b/sdk/src/test/java/com/atlan/model/assets/APIPathTest.java index 4c2227caba..540acded8b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/APIPathTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/APIPathTest.java @@ -104,6 +104,7 @@ public class APIPathTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/APIQueryTest.java b/sdk/src/test/java/com/atlan/model/assets/APIQueryTest.java index 5a86c5152e..66c8858738 100644 --- a/sdk/src/test/java/com/atlan/model/assets/APIQueryTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/APIQueryTest.java @@ -104,6 +104,7 @@ public class APIQueryTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/APISpecTest.java b/sdk/src/test/java/com/atlan/model/assets/APISpecTest.java index 6dddd0882c..6a3207f41d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/APISpecTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/APISpecTest.java @@ -104,6 +104,7 @@ public class APISpecTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AdfActivityTest.java b/sdk/src/test/java/com/atlan/model/assets/AdfActivityTest.java index e69265a802..dca24b6e98 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AdfActivityTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AdfActivityTest.java @@ -97,6 +97,7 @@ public class AdfActivityTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AdfDataflowTest.java b/sdk/src/test/java/com/atlan/model/assets/AdfDataflowTest.java index 22c9b5df54..9f15e6152e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AdfDataflowTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AdfDataflowTest.java @@ -97,6 +97,7 @@ public class AdfDataflowTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AdfDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/AdfDatasetTest.java index 49e2806a18..60b049b813 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AdfDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AdfDatasetTest.java @@ -97,6 +97,7 @@ public class AdfDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AdfLinkedserviceTest.java b/sdk/src/test/java/com/atlan/model/assets/AdfLinkedserviceTest.java index e86a55e772..84c8df5e67 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AdfLinkedserviceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AdfLinkedserviceTest.java @@ -97,6 +97,7 @@ public class AdfLinkedserviceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AdfPipelineTest.java b/sdk/src/test/java/com/atlan/model/assets/AdfPipelineTest.java index a96943fc4f..fbd78f83b4 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AdfPipelineTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AdfPipelineTest.java @@ -97,6 +97,7 @@ public class AdfPipelineTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AirflowDagTest.java b/sdk/src/test/java/com/atlan/model/assets/AirflowDagTest.java index 9b29483b1c..86fc5159e1 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AirflowDagTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AirflowDagTest.java @@ -66,6 +66,7 @@ public class AirflowDagTest { .airflowRunOpenLineageVersion("String0") .airflowRunName("String0") .airflowRunType("String0") + .airflowRunErrorMessage("String0") .airflowRunStartTime(123456789L) .airflowRunEndTime(123456789L) .airflowRunOpenLineageState(OpenLineageRunState.START) @@ -104,6 +105,7 @@ public class AirflowDagTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AirflowTaskTest.java b/sdk/src/test/java/com/atlan/model/assets/AirflowTaskTest.java index bb711d2488..e01db1b65c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AirflowTaskTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AirflowTaskTest.java @@ -66,6 +66,7 @@ public class AirflowTaskTest { .airflowRunOpenLineageVersion("String0") .airflowRunName("String0") .airflowRunType("String0") + .airflowRunErrorMessage("String0") .airflowRunStartTime(123456789L) .airflowRunEndTime(123456789L) .airflowRunOpenLineageState(OpenLineageRunState.START) @@ -104,6 +105,7 @@ public class AirflowTaskTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnaplanAppTest.java b/sdk/src/test/java/com/atlan/model/assets/AnaplanAppTest.java index 1ea74bf92d..766e0e3577 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnaplanAppTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnaplanAppTest.java @@ -102,6 +102,7 @@ public class AnaplanAppTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnaplanDimensionTest.java b/sdk/src/test/java/com/atlan/model/assets/AnaplanDimensionTest.java index c62fff8b62..463a7dab2e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnaplanDimensionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnaplanDimensionTest.java @@ -102,6 +102,7 @@ public class AnaplanDimensionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnaplanLineItemTest.java b/sdk/src/test/java/com/atlan/model/assets/AnaplanLineItemTest.java index 2233d2cfa2..7cfed7e5b4 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnaplanLineItemTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnaplanLineItemTest.java @@ -102,6 +102,7 @@ public class AnaplanLineItemTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnaplanListTest.java b/sdk/src/test/java/com/atlan/model/assets/AnaplanListTest.java index 2f0e5196a8..90857f38ef 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnaplanListTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnaplanListTest.java @@ -102,6 +102,7 @@ public class AnaplanListTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnaplanModelTest.java b/sdk/src/test/java/com/atlan/model/assets/AnaplanModelTest.java index 995e0abfed..7a2444cd1a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnaplanModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnaplanModelTest.java @@ -102,6 +102,7 @@ public class AnaplanModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnaplanModuleTest.java b/sdk/src/test/java/com/atlan/model/assets/AnaplanModuleTest.java index b890de3c50..cd9278dac6 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnaplanModuleTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnaplanModuleTest.java @@ -102,6 +102,7 @@ public class AnaplanModuleTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnaplanPageTest.java b/sdk/src/test/java/com/atlan/model/assets/AnaplanPageTest.java index 26bde11a01..f11e0ed177 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnaplanPageTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnaplanPageTest.java @@ -102,6 +102,7 @@ public class AnaplanPageTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnaplanSystemDimensionTest.java b/sdk/src/test/java/com/atlan/model/assets/AnaplanSystemDimensionTest.java index 2db4452d96..1c7bd29341 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnaplanSystemDimensionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnaplanSystemDimensionTest.java @@ -102,6 +102,7 @@ public class AnaplanSystemDimensionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnaplanViewTest.java b/sdk/src/test/java/com/atlan/model/assets/AnaplanViewTest.java index fb9295406a..9924f28e42 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnaplanViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnaplanViewTest.java @@ -102,6 +102,7 @@ public class AnaplanViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnaplanWorkspaceTest.java b/sdk/src/test/java/com/atlan/model/assets/AnaplanWorkspaceTest.java index 6ac1b1df16..f5abab6745 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnaplanWorkspaceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnaplanWorkspaceTest.java @@ -102,6 +102,7 @@ public class AnaplanWorkspaceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AnomaloCheckTest.java b/sdk/src/test/java/com/atlan/model/assets/AnomaloCheckTest.java index 24b760060e..dcd3894e27 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AnomaloCheckTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AnomaloCheckTest.java @@ -96,6 +96,7 @@ public class AnomaloCheckTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ApplicationFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/ApplicationFieldTest.java index a5b10c8f16..1da886cb19 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ApplicationFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ApplicationFieldTest.java @@ -96,6 +96,7 @@ public class ApplicationFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ApplicationTest.java b/sdk/src/test/java/com/atlan/model/assets/ApplicationTest.java index ef67e85448..c5e6aeeaa8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ApplicationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ApplicationTest.java @@ -96,6 +96,7 @@ public class ApplicationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AssetGroupingCollectionTest.java b/sdk/src/test/java/com/atlan/model/assets/AssetGroupingCollectionTest.java index dd4768562a..3838abd11b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AssetGroupingCollectionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AssetGroupingCollectionTest.java @@ -95,6 +95,7 @@ public class AssetGroupingCollectionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AssetGroupingStrategyTest.java b/sdk/src/test/java/com/atlan/model/assets/AssetGroupingStrategyTest.java index b041b2a5fb..00e8a1678b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AssetGroupingStrategyTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AssetGroupingStrategyTest.java @@ -95,6 +95,7 @@ public class AssetGroupingStrategyTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AtlanAppDeploymentTest.java b/sdk/src/test/java/com/atlan/model/assets/AtlanAppDeploymentTest.java index e39886fd9e..2616583573 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AtlanAppDeploymentTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AtlanAppDeploymentTest.java @@ -99,6 +99,7 @@ public class AtlanAppDeploymentTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AtlanAppInstalledTest.java b/sdk/src/test/java/com/atlan/model/assets/AtlanAppInstalledTest.java index b6950314ec..77c5202609 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AtlanAppInstalledTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AtlanAppInstalledTest.java @@ -99,6 +99,7 @@ public class AtlanAppInstalledTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AtlanAppToolTest.java b/sdk/src/test/java/com/atlan/model/assets/AtlanAppToolTest.java index 2ef9fbf404..8f8b4b3591 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AtlanAppToolTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AtlanAppToolTest.java @@ -99,6 +99,7 @@ public class AtlanAppToolTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AtlanAppWorkflowTest.java b/sdk/src/test/java/com/atlan/model/assets/AtlanAppWorkflowTest.java index d1fcaa82f8..6d952008b1 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AtlanAppWorkflowTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AtlanAppWorkflowTest.java @@ -99,6 +99,7 @@ public class AtlanAppWorkflowTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1157,6 +1158,9 @@ public class AtlanAppWorkflowTest { .atlanAppWorkflowOwnership(AtlanAppWorkflowOwnership.SYSTEM) .atlanAppWorkflowSource(AtlanAppWorkflowSource.CONNECTOR) .atlanAppWorkflowTriggers("String0") + .atlanAppWorkflowAgentName("String0") + .atlanAppWorkflowDeploymentName("String0") + .atlanAppWorkflowRuntimeMode(AtlanAppWorkflowRuntimeMode.SDR) .atlanAppTool(AtlanAppTool.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .atlanAppTool(AtlanAppTool.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .atlanAppWorkflow(AtlanAppWorkflow.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) @@ -1164,6 +1168,9 @@ public class AtlanAppWorkflowTest { .atlanApp(AtlanAppWorkflow.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .atlanAppWorkflowRun(AppWorkflowRun.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .atlanAppWorkflowRun(AppWorkflowRun.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .workflowNotificationNotification(WorkflowNotification.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .workflowNotificationNotification( + WorkflowNotification.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/AtlanCollectionTest.java b/sdk/src/test/java/com/atlan/model/assets/AtlanCollectionTest.java index 9a268bd823..fda768155a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AtlanCollectionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AtlanCollectionTest.java @@ -94,6 +94,7 @@ public class AtlanCollectionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AtlanQueryTest.java b/sdk/src/test/java/com/atlan/model/assets/AtlanQueryTest.java index 51bd472d5e..3d061a6831 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AtlanQueryTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AtlanQueryTest.java @@ -130,6 +130,7 @@ public class AtlanQueryTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AuthPolicyTest.java b/sdk/src/test/java/com/atlan/model/assets/AuthPolicyTest.java index 13262ede70..d4c45d6976 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AuthPolicyTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AuthPolicyTest.java @@ -94,6 +94,7 @@ public class AuthPolicyTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1184,6 +1185,8 @@ public class AuthPolicyTest { GCPDataplexAspectType.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .gcpDataplexAspectTypeMetadataEntity( GCPDataplexAspectType.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .knowledgeLinkedFile(KnowledgeFile.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .knowledgeLinkedFile(KnowledgeFile.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/AuthServiceTest.java b/sdk/src/test/java/com/atlan/model/assets/AuthServiceTest.java index 71697a3abd..41211603e1 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AuthServiceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AuthServiceTest.java @@ -94,6 +94,7 @@ public class AuthServiceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1151,6 +1152,8 @@ public class AuthServiceTest { GCPDataplexAspectType.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .gcpDataplexAspectTypeMetadataEntity( GCPDataplexAspectType.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .knowledgeLinkedFile(KnowledgeFile.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .knowledgeLinkedFile(KnowledgeFile.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusNamespaceTest.java b/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusNamespaceTest.java index c4e165fac7..6ba86032ef 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusNamespaceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusNamespaceTest.java @@ -98,6 +98,7 @@ public class AzureServiceBusNamespaceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusSchemaTest.java b/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusSchemaTest.java index af691f185b..581b61097f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusSchemaTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusSchemaTest.java @@ -98,6 +98,7 @@ public class AzureServiceBusSchemaTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusTopicTest.java b/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusTopicTest.java index 876edaa087..4f336be619 100644 --- a/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusTopicTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/AzureServiceBusTopicTest.java @@ -98,6 +98,7 @@ public class AzureServiceBusTopicTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/BIProcessTest.java b/sdk/src/test/java/com/atlan/model/assets/BIProcessTest.java index 2fe45f9de0..89e1cf29c8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/BIProcessTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/BIProcessTest.java @@ -68,6 +68,7 @@ public class BIProcessTest { .additionalEtlContext("String0") .aiDatasetType(AIDatasetType.TRAINING) .isPassThrough(true) + .processDerivation(ProcessLineageDerivation.STATIC) .name("String0") .displayName("String0") .description("String0") @@ -102,6 +103,7 @@ public class BIProcessTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1149,6 +1151,8 @@ public class BIProcessTest { .adfActivity(AdfActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .bigqueryRoutine(BigqueryRoutine.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryRoutine(BigqueryRoutine.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fabricActivity(FabricActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .fabricActivity(FabricActivity.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fivetranConnector(FivetranConnector.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/BigqueryRoutineTest.java b/sdk/src/test/java/com/atlan/model/assets/BigqueryRoutineTest.java index d42b74b085..70bc61ef17 100644 --- a/sdk/src/test/java/com/atlan/model/assets/BigqueryRoutineTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/BigqueryRoutineTest.java @@ -155,6 +155,7 @@ public class BigqueryRoutineTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1205,6 +1206,10 @@ public class BigqueryRoutineTest { .bigqueryRoutineReturnType("String0") .bigqueryRoutineSecurityType("String0") .bigqueryRoutineDdl("String0") + .bigqueryProcess(LineageProcess.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryProcess(LineageProcess.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .bigqueryAtlanSchema(Schema.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .cosmosMongoDBCollection(CosmosMongoDBCollection.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .dbtModel(DbtModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .dbtModel(DbtModel.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .sqlDbtModel(DbtModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/CalculationViewTest.java b/sdk/src/test/java/com/atlan/model/assets/CalculationViewTest.java index 90621a0a3c..50e1ab063f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CalculationViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CalculationViewTest.java @@ -130,6 +130,7 @@ public class CalculationViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CassandraColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/CassandraColumnTest.java index 394b9ce1f2..49401f9999 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CassandraColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CassandraColumnTest.java @@ -101,6 +101,7 @@ public class CassandraColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CassandraIndexTest.java b/sdk/src/test/java/com/atlan/model/assets/CassandraIndexTest.java index 9abe53c3ee..eb0188daa5 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CassandraIndexTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CassandraIndexTest.java @@ -101,6 +101,7 @@ public class CassandraIndexTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CassandraKeyspaceTest.java b/sdk/src/test/java/com/atlan/model/assets/CassandraKeyspaceTest.java index fea1277f30..c8bccf8bd4 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CassandraKeyspaceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CassandraKeyspaceTest.java @@ -101,6 +101,7 @@ public class CassandraKeyspaceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CassandraTableTest.java b/sdk/src/test/java/com/atlan/model/assets/CassandraTableTest.java index eb5b9a64e4..0a594f4abb 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CassandraTableTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CassandraTableTest.java @@ -101,6 +101,7 @@ public class CassandraTableTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CassandraViewTest.java b/sdk/src/test/java/com/atlan/model/assets/CassandraViewTest.java index 5d72d328a5..fc4d4cf8f9 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CassandraViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CassandraViewTest.java @@ -101,6 +101,7 @@ public class CassandraViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/Cognite3DModelTest.java b/sdk/src/test/java/com/atlan/model/assets/Cognite3DModelTest.java index eb21c2ba3b..df14803612 100644 --- a/sdk/src/test/java/com/atlan/model/assets/Cognite3DModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/Cognite3DModelTest.java @@ -95,6 +95,7 @@ public class Cognite3DModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CogniteAssetTest.java b/sdk/src/test/java/com/atlan/model/assets/CogniteAssetTest.java index 6a249c12fa..1981d31ef0 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CogniteAssetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CogniteAssetTest.java @@ -95,6 +95,7 @@ public class CogniteAssetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CogniteEventTest.java b/sdk/src/test/java/com/atlan/model/assets/CogniteEventTest.java index 45e96b1a5f..59810dd8b2 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CogniteEventTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CogniteEventTest.java @@ -95,6 +95,7 @@ public class CogniteEventTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CogniteFileTest.java b/sdk/src/test/java/com/atlan/model/assets/CogniteFileTest.java index 4fa030831a..e39da93880 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CogniteFileTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CogniteFileTest.java @@ -95,6 +95,7 @@ public class CogniteFileTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CogniteSequenceTest.java b/sdk/src/test/java/com/atlan/model/assets/CogniteSequenceTest.java index f2f250e5bb..5b3e2981b9 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CogniteSequenceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CogniteSequenceTest.java @@ -95,6 +95,7 @@ public class CogniteSequenceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CogniteTimeSeriesTest.java b/sdk/src/test/java/com/atlan/model/assets/CogniteTimeSeriesTest.java index 5c5cff4024..d143c9befa 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CogniteTimeSeriesTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CogniteTimeSeriesTest.java @@ -95,6 +95,7 @@ public class CogniteTimeSeriesTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CognosColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/CognosColumnTest.java index fd2e5b86e0..d51b452b7c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CognosColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CognosColumnTest.java @@ -104,6 +104,7 @@ public class CognosColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CognosDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/CognosDashboardTest.java index 43202ba271..1af905b5e3 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CognosDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CognosDashboardTest.java @@ -104,6 +104,7 @@ public class CognosDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CognosDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/CognosDatasetTest.java index 915988ce24..dcec3ef072 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CognosDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CognosDatasetTest.java @@ -104,6 +104,7 @@ public class CognosDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CognosDatasourceTest.java b/sdk/src/test/java/com/atlan/model/assets/CognosDatasourceTest.java index ca10708e91..287501b8f4 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CognosDatasourceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CognosDatasourceTest.java @@ -104,6 +104,7 @@ public class CognosDatasourceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CognosExplorationTest.java b/sdk/src/test/java/com/atlan/model/assets/CognosExplorationTest.java index 419d12e4ee..a17b2ddd3e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CognosExplorationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CognosExplorationTest.java @@ -104,6 +104,7 @@ public class CognosExplorationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CognosFileTest.java b/sdk/src/test/java/com/atlan/model/assets/CognosFileTest.java index 2691f60ca1..188ed6b204 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CognosFileTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CognosFileTest.java @@ -104,6 +104,7 @@ public class CognosFileTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CognosFolderTest.java b/sdk/src/test/java/com/atlan/model/assets/CognosFolderTest.java index c66fa3f7a2..30cad91631 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CognosFolderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CognosFolderTest.java @@ -104,6 +104,7 @@ public class CognosFolderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CognosModuleTest.java b/sdk/src/test/java/com/atlan/model/assets/CognosModuleTest.java index f1417d3572..67517ff0ae 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CognosModuleTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CognosModuleTest.java @@ -104,6 +104,7 @@ public class CognosModuleTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CognosPackageTest.java b/sdk/src/test/java/com/atlan/model/assets/CognosPackageTest.java index 0166bfca20..18c5736d89 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CognosPackageTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CognosPackageTest.java @@ -104,6 +104,7 @@ public class CognosPackageTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CognosReportTest.java b/sdk/src/test/java/com/atlan/model/assets/CognosReportTest.java index 1430b3c899..c5d369fd33 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CognosReportTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CognosReportTest.java @@ -104,6 +104,7 @@ public class CognosReportTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ColumnProcessTest.java b/sdk/src/test/java/com/atlan/model/assets/ColumnProcessTest.java index 4bc87291b0..c03b8376c1 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ColumnProcessTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ColumnProcessTest.java @@ -68,6 +68,7 @@ public class ColumnProcessTest { .additionalEtlContext("String0") .aiDatasetType(AIDatasetType.TRAINING) .isPassThrough(true) + .processDerivation(ProcessLineageDerivation.STATIC) .name("String0") .displayName("String0") .description("String0") @@ -102,6 +103,7 @@ public class ColumnProcessTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1149,6 +1151,8 @@ public class ColumnProcessTest { .adfActivity(AdfActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .bigqueryRoutine(BigqueryRoutine.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryRoutine(BigqueryRoutine.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fabricActivity(FabricActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .fabricActivity(FabricActivity.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fivetranConnector(FivetranConnector.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/ColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/ColumnTest.java index 6f4477cf7b..15fcb6652b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ColumnTest.java @@ -130,6 +130,7 @@ public class ColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ContextArtifactTest.java b/sdk/src/test/java/com/atlan/model/assets/ContextArtifactTest.java index 247c45fb05..8cfba41898 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ContextArtifactTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ContextArtifactTest.java @@ -62,6 +62,7 @@ public class ContextArtifactTest { .build()) .contextRepositoryQualifiedName("String0") .agenticVersion(123456789L) + .agenticSource(AgenticSource.CONTEXT_STUDIO) .catalogDatasetGuid("String0") .name("String0") .displayName("String0") @@ -97,6 +98,7 @@ public class ContextArtifactTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ContextRepositoryTest.java b/sdk/src/test/java/com/atlan/model/assets/ContextRepositoryTest.java index 8a4ddb568f..35ba1a9f09 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ContextRepositoryTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ContextRepositoryTest.java @@ -62,6 +62,7 @@ public class ContextRepositoryTest { .build()) .contextRepositoryQualifiedName("String0") .agenticVersion(123456789L) + .agenticSource(AgenticSource.CONTEXT_STUDIO) .catalogDatasetGuid("String0") .name("String0") .displayName("String0") @@ -97,6 +98,7 @@ public class ContextRepositoryTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1147,6 +1149,8 @@ public class ContextRepositoryTest { .contextArtifact(ContextArtifact.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .contextArtifact(ContextArtifact.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .contextOutputSkill(Skill.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .contextOutputAgent(Agent.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .contextOutputAgent(Agent.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .contextInputAsset(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .contextInputAsset(IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBAccountTest.java b/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBAccountTest.java index 4ce37a00f1..a874bf7f15 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBAccountTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBAccountTest.java @@ -96,6 +96,7 @@ public class CosmosMongoDBAccountTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBCollectionTest.java b/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBCollectionTest.java index f6f62ceb10..13c0365c4e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBCollectionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBCollectionTest.java @@ -96,6 +96,7 @@ public class CosmosMongoDBCollectionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1220,6 +1221,11 @@ public class CosmosMongoDBCollectionTest { .cosmosMongoDBDatabase(CosmosMongoDBDatabase.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .column(Column.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .column(Column.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .cosmosMongoDBStoredProcedure(Procedure.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .cosmosMongoDBStoredProcedure( + Procedure.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .cosmosMongoDBFunction(Function.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .cosmosMongoDBFunction(Function.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .dbtModel(DbtModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .dbtModel(DbtModel.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .sqlDbtModel(DbtModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBDatabaseTest.java b/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBDatabaseTest.java index d0899bc82a..7655923fdc 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBDatabaseTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CosmosMongoDBDatabaseTest.java @@ -96,6 +96,7 @@ public class CosmosMongoDBDatabaseTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CubeDimensionTest.java b/sdk/src/test/java/com/atlan/model/assets/CubeDimensionTest.java index 9fc2f318da..02bab1f82b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CubeDimensionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CubeDimensionTest.java @@ -101,6 +101,7 @@ public class CubeDimensionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CubeFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/CubeFieldTest.java index 600baea2eb..f1910de6e7 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CubeFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CubeFieldTest.java @@ -101,6 +101,7 @@ public class CubeFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CubeHierarchyTest.java b/sdk/src/test/java/com/atlan/model/assets/CubeHierarchyTest.java index bd7f0bf80e..4b2242d775 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CubeHierarchyTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CubeHierarchyTest.java @@ -101,6 +101,7 @@ public class CubeHierarchyTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CubeTest.java b/sdk/src/test/java/com/atlan/model/assets/CubeTest.java index 7861ffda6e..0833a74658 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CubeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CubeTest.java @@ -101,6 +101,7 @@ public class CubeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/CustomEntityTest.java b/sdk/src/test/java/com/atlan/model/assets/CustomEntityTest.java index c8c5b4a606..17672ba11b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/CustomEntityTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/CustomEntityTest.java @@ -95,6 +95,7 @@ public class CustomEntityTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DataDomainTest.java b/sdk/src/test/java/com/atlan/model/assets/DataDomainTest.java index 82e84ba783..d49a766273 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DataDomainTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DataDomainTest.java @@ -97,6 +97,7 @@ public class DataDomainTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DataMeshDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/DataMeshDatasetTest.java index bb0cf59cc9..fc9ba83c41 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DataMeshDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DataMeshDatasetTest.java @@ -97,6 +97,7 @@ public class DataMeshDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DataProductTest.java b/sdk/src/test/java/com/atlan/model/assets/DataProductTest.java index 2160aa2ca1..2ed738734d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DataProductTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DataProductTest.java @@ -97,6 +97,7 @@ public class DataProductTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DataQualityRuleTemplateTest.java b/sdk/src/test/java/com/atlan/model/assets/DataQualityRuleTemplateTest.java index cb81ed13e6..75ff81ec0b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DataQualityRuleTemplateTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DataQualityRuleTemplateTest.java @@ -96,6 +96,7 @@ public class DataQualityRuleTemplateTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DataQualityRuleTest.java b/sdk/src/test/java/com/atlan/model/assets/DataQualityRuleTest.java index 77d89f99cb..df6abced58 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DataQualityRuleTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DataQualityRuleTest.java @@ -96,6 +96,7 @@ public class DataQualityRuleTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DataStudioAssetTest.java b/sdk/src/test/java/com/atlan/model/assets/DataStudioAssetTest.java index 550b78cc2f..ce2b833673 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DataStudioAssetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DataStudioAssetTest.java @@ -95,6 +95,7 @@ public class DataStudioAssetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabaseTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabaseTest.java index 60892d9cf0..5d76e24454 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DatabaseTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DatabaseTest.java @@ -130,6 +130,7 @@ public class DatabaseTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabricksAIModelContextTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabricksAIModelContextTest.java index 05fe2cf312..71148fffdc 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DatabricksAIModelContextTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DatabricksAIModelContextTest.java @@ -130,6 +130,7 @@ public class DatabricksAIModelContextTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabricksAIModelVersionTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabricksAIModelVersionTest.java index d31fac283a..236f5ef5ae 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DatabricksAIModelVersionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DatabricksAIModelVersionTest.java @@ -130,6 +130,7 @@ public class DatabricksAIModelVersionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabricksDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabricksDashboardTest.java new file mode 100644 index 0000000000..b224df7da2 --- /dev/null +++ b/sdk/src/test/java/com/atlan/model/assets/DatabricksDashboardTest.java @@ -0,0 +1,1273 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import static org.testng.Assert.*; + +import com.atlan.mock.MockAtlanTenant; +import com.atlan.model.core.AtlanTag; +import com.atlan.model.core.CustomMetadataAttributes; +import com.atlan.model.enums.*; +import com.atlan.model.structs.*; +import java.io.IOException; +import java.util.*; +import javax.annotation.processing.Generated; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@SuppressWarnings("deprecation") +public class DatabricksDashboardTest { + + private final DatabricksDashboard full = DatabricksDashboard._internal() + .guid("guid") + .displayText("displayText") + .status(AtlanStatus.ACTIVE) + .createdBy("createdBy") + .updatedBy("updatedBy") + .createTime(123456789L) + .updateTime(123456789L) + .isIncomplete(false) + .deleteHandler("SOFT") + .meaningNames(Set.of("meaningName1", "meaningName2")) + .meanings(Set.of( + Meaning.builder() + .termGuid("termGuid1") + .relationGuid("relationGuid1") + .displayText("displayText1") + .confidence(100) + .build(), + Meaning.builder() + .termGuid("termGuid2") + .relationGuid("relationGuid2") + .displayText("displayText2") + .confidence(100) + .build())) + .qualifiedName("qualifiedName") + .atlanTag(AtlanTag.of("String0")) + .atlanTag(AtlanTag.builder().typeName("String1").propagate(false).build()) + .customMetadata( + "String0", + CustomMetadataAttributes.builder() + .attribute("String0", 123.456) + .attribute("String1", true) + .build()) + .customMetadata( + "String1", + CustomMetadataAttributes.builder() + // Note: for equivalency this MUST be a Long (not an Integer), as deserialization + // will always produce a Long + .attribute("String0", 789L) + .attribute("String1", "AnotherString") + .build()) + .queryCount(123456789L) + .queryUserCount(123456789L) + .putQueryUserMap("String0", 123456789L) + .putQueryUserMap("String1", 987654321L) + .queryCountUpdatedAt(123456789L) + .databaseName("String0") + .databaseQualifiedName("String0") + .schemaName("String0") + .schemaQualifiedName("String0") + .tableName("String0") + .tableQualifiedName("String0") + .viewName("String0") + .viewQualifiedName("String0") + .calculationViewName("String0") + .calculationViewQualifiedName("String0") + .isProfiled(true) + .lastProfiledAt(123456789L) + .sqlAIModelContextQualifiedName("String0") + .sqlIsSecure(true) + .sqlHasAiInsights(true) + .sqlAiInsightsLastAnalyzedAt(123456789L) + .sqlAiInsightsPopularBusinessQuestionCount(123) + .sqlAiInsightsPopularJoinCount(123) + .sqlAiInsightsPopularFilterCount(123) + .sqlAiInsightsRelationshipCount(123) + .sqlCoalesceLastRunStatus("String0") + .sqlCoalesceNodeStatus("String0") + .sqlCoalesceLastRunAt(123456789L) + .sqlCoalesceNodeType("String0") + .sqlCoalesceEnvironmentId("String0") + .sqlCoalesceEnvironmentName("String0") + .sqlCoalesceProjectId("String0") + .sqlCoalesceProjectName("String0") + .sqlShareQualifiedName("String0") + .sqlShareQualifiedName("String1") + .catalogDatasetGuid("String0") + .name("String0") + .displayName("String0") + .description("String0") + .assetSourceReadme("String0") + .userDescription("String0") + .assetAiGeneratedDescription("String0") + .assetAiGeneratedDescriptionConfidence(123.456) + .assetAiGeneratedDescriptionReasoning("String0") + .tenantId("String0") + .certificateStatus(CertificateStatus.DEPRECATED) + .certificateStatusMessage("String0") + .certificateUpdatedBy("String0") + .certificateUpdatedAt(123456789L) + .announcementTitle("String0") + .announcementMessage("String0") + .announcementType(AtlanAnnouncementType.INFORMATION) + .announcementUpdatedAt(123456789L) + .announcementUpdatedBy("String0") + .assetAnnouncementExpiredAt(123456789L) + .ownerUser("String0") + .ownerUser("String1") + .ownerGroup("String0") + .ownerGroup("String1") + .adminUser("String0") + .adminUser("String1") + .adminGroup("String0") + .adminGroup("String1") + .viewerUser("String0") + .viewerUser("String1") + .viewerGroup("String0") + .viewerGroup("String1") + .connectorName("String0") + .connectionName("String0") + .connectionQualifiedName("String0") + .assetManagedBy("String0") + .hasLineage(true) + .isDiscoverable(true) + .isEditable(true) + .subType("String0") + .viewScore(123.456) + .popularityScore(123.456) + .sourceOwners("String0") + .assetSourceId("String0") + .sourceCreatedBy("String0") + .sourceCreatedAt(123456789L) + .sourceUpdatedAt(123456789L) + .sourceUpdatedBy("String0") + .sourceURL("String0") + .sourceEmbedURL("String0") + .lastSyncWorkflowName("String0") + .lastSyncRunAt(123456789L) + .lastSyncRun("String0") + .adminRole("String0") + .adminRole("String1") + .sourceReadCount(123456789L) + .sourceReadUserCount(123456789L) + .sourceLastReadAt(123456789L) + .lastRowChangedAt(123456789L) + .sourceTotalCost(123.456) + .sourceCostUnit(SourceCostUnitType.CREDITS) + .sourceReadQueryCost(123.456) + .sourceReadRecentUser("String0") + .sourceReadRecentUser("String1") + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadTopUser("String0") + .sourceReadTopUser("String1") + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceQueryComputeCost("String0") + .sourceQueryComputeCost("String1") + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .dbtQualifiedName("String0") + .assetDbtWorkflowLastUpdated("String0") + .assetDbtAlias("String0") + .assetDbtMeta("String0") + .assetDbtUniqueId("String0") + .assetDbtAccountName("String0") + .assetDbtProjectName("String0") + .assetDbtPackageName("String0") + .assetDbtJobName("String0") + .assetDbtJobSchedule("String0") + .assetDbtJobStatus("String0") + .assetDbtTestStatus("String0") + .assetDbtJobScheduleCronHumanized("String0") + .assetDbtJobLastRun(123456789L) + .assetDbtJobLastRunUrl("String0") + .assetDbtJobLastRunCreatedAt(123456789L) + .assetDbtJobLastRunUpdatedAt(123456789L) + .assetDbtJobLastRunDequedAt(123456789L) + .assetDbtJobLastRunStartedAt(123456789L) + .assetDbtJobLastRunTotalDuration("String0") + .assetDbtJobLastRunTotalDurationHumanized("String0") + .assetDbtJobLastRunQueuedDuration("String0") + .assetDbtJobLastRunQueuedDurationHumanized("String0") + .assetDbtJobLastRunRunDuration("String0") + .assetDbtJobLastRunRunDurationHumanized("String0") + .assetDbtJobLastRunGitBranch("String0") + .assetDbtJobLastRunGitSha("String0") + .assetDbtJobLastRunStatusMessage("String0") + .assetDbtJobLastRunOwnerThreadId("String0") + .assetDbtJobLastRunExecutedByThreadId("String0") + .assetDbtJobLastRunArtifactsSaved(true) + .assetDbtJobLastRunArtifactS3Path("String0") + .assetDbtJobLastRunHasDocsGenerated(true) + .assetDbtJobLastRunHasSourcesGenerated(true) + .assetDbtJobLastRunNotificationsSent(true) + .assetDbtJobNextRun(123456789L) + .assetDbtJobNextRunHumanized("String0") + .assetDbtEnvironmentName("String0") + .assetDbtEnvironmentDbtVersion("String0") + .assetDbtTag("String0") + .assetDbtTag("String1") + .assetDbtSemanticLayerProxyUrl("String0") + .assetDbtSourceFreshnessCriteria("String0") + .sampleDataUrl("String0") + .assetTag("String0") + .assetTag("String1") + .assetMcIncidentName("String0") + .assetMcIncidentName("String1") + .assetMcIncidentQualifiedName("String0") + .assetMcIncidentQualifiedName("String1") + .assetMcAlertQualifiedName("String0") + .assetMcAlertQualifiedName("String1") + .assetMcMonitorName("String0") + .assetMcMonitorName("String1") + .assetMcMonitorQualifiedName("String0") + .assetMcMonitorQualifiedName("String1") + .assetMcMonitorStatus("String0") + .assetMcMonitorStatus("String1") + .assetMcMonitorType("String0") + .assetMcMonitorType("String1") + .assetMcMonitorScheduleType("String0") + .assetMcMonitorScheduleType("String1") + .assetMcIncidentType("String0") + .assetMcIncidentType("String1") + .assetMcIncidentSubType("String0") + .assetMcIncidentSubType("String1") + .assetMcIncidentSeverity("String0") + .assetMcIncidentSeverity("String1") + .assetMcIncidentPriority("String0") + .assetMcIncidentPriority("String1") + .assetMcIncidentState("String0") + .assetMcIncidentState("String1") + .assetMcIsMonitored(true) + .assetMcLastSyncRunAt(123456789L) + .addStarredBy("String0") + .addStarredBy("String1") + .starredDetail(StarredDetails.builder() + .assetStarredBy("String0") + .assetStarredAt(123456789L) + .build()) + .starredDetail(StarredDetails.builder() + .assetStarredBy("String1") + .assetStarredAt(987654321L) + .build()) + .starredCount(123) + .assetAnomaloDQStatus("String0") + .assetAnomaloCheckCount(123456789L) + .assetAnomaloFailedCheckCount(123456789L) + .assetAnomaloCheckStatuses("String0") + .assetAnomaloLastCheckRunAt(123456789L) + .assetAnomaloAppliedCheckType("String0") + .assetAnomaloAppliedCheckType("String1") + .assetAnomaloFailedCheckType("String0") + .assetAnomaloFailedCheckType("String1") + .assetAnomaloSourceUrl("String0") + .assetSodaDQStatus("String0") + .assetSodaCheckCount(123456789L) + .assetSodaLastSyncRunAt(123456789L) + .assetSodaLastScanAt(123456789L) + .assetSodaCheckStatuses("String0") + .assetSodaSourceURL("String0") + .assetIcon(AtlanIcon.ATLAN_TAG) + .assetSummaryProvider(AssetSummaryProvider.builder() + .assetSummaryProviderName("String0") + .assetSummaryProviderUrl("String0") + .build()) + .assetSummary("String0") + .assetSummaryFilterToken("String0") + .assetSummaryFilterToken("String1") + .assetExternalDQScoreValue(123.456) + .assetExternalDQTestEntity("String0") + .assetExternalDQTestEntity("String1") + .assetExternalDQTestLatestScore(123.456) + .assetExternalDQTestLatestScore(654.321) + .assetExternalDQTestAvgScore(123.456) + .assetExternalDQTestAvgScore(654.321) + .assetExternalDQTestMinScore(123.456) + .assetExternalDQTestMinScore(654.321) + .assetExternalDQMetadataDetail( + "String0", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String0") + .assetExternalDQSourceLogo("String0") + .assetExternalDQSourceURL("String0") + .assetExternalDQLastSyncRunAt(123456789L) + .assetExternalDQTestEntityTypeName("String0") + .assetExternalDQTestEntityName("String0") + .assetExternalDQTestTotalCount(123) + .assetExternalDQTestLastRunSuccessCount(123) + .assetExternalDQTestLastRunFailureCount(123) + .assetExternalDQTestLastRunTotalRulesCount(123456789L) + .assetExternalDQTestLastRunSuccessRulesCount(123456789L) + .assetExternalDQTestLastRunFailureRulesCount(123456789L) + .assetExternalDQOverallScoreValue("String0") + .assetExternalDQOverallScoreType("String0") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(123456789L) + .assetExternalDQTestStatsByCategory(Map.of( + "String0", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String0", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(123) + .build())) + .build())) + .build()) + .build()) + .assetExternalDQMetadataDetail( + "String1", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String1") + .assetExternalDQSourceLogo("String1") + .assetExternalDQSourceURL("String1") + .assetExternalDQLastSyncRunAt(987654321L) + .assetExternalDQTestEntityTypeName("String1") + .assetExternalDQTestEntityName("String1") + .assetExternalDQTestTotalCount(456) + .assetExternalDQTestLastRunSuccessCount(456) + .assetExternalDQTestLastRunFailureCount(456) + .assetExternalDQTestLastRunTotalRulesCount(987654321L) + .assetExternalDQTestLastRunSuccessRulesCount(987654321L) + .assetExternalDQTestLastRunFailureRulesCount(987654321L) + .assetExternalDQOverallScoreValue("String1") + .assetExternalDQOverallScoreType("String1") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(987654321L) + .assetExternalDQTestStatsByCategory(Map.of( + "String1", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String1", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(456) + .build())) + .build())) + .build()) + .build()) + .isPartial(true) + .isAIGenerated(true) + .assetCoverImage("String0") + .assetThemeHex("String0") + .lexicographicalSortOrder("String0") + .hasContract(true) + .assetRedirectGUID("String0") + .assetRedirectGUID("String1") + .assetPolicyGUID("String0") + .assetPolicyGUID("String1") + .assetPoliciesCount(123456789L) + .domainGUID("String0") + .domainGUID("String1") + .nonCompliantAssetPolicyGUID("String0") + .nonCompliantAssetPolicyGUID("String1") + .productGUID("String0") + .productGUID("String1") + .outputProductGUID("String0") + .outputProductGUID("String1") + .applicationQualifiedName("String0") + .applicationFieldQualifiedName("String0") + .assetUserDefinedType("String0") + .assetInternalPopularityScore(123.456) + .assetDQScheduleType(DataQualityScheduleType.ON_DATA_CHANGE) + .assetDQScheduleCrontab("String0") + .assetDQScheduleTimeZone("String0") + .assetDQScheduleSourceSyncStatus(DataQualitySourceSyncStatus.SUCCESSFUL) + .assetDQScheduleSourceSyncedAt(123456789L) + .assetDQScheduleSourceSyncErrorMessage("String0") + .assetDQScheduleSourceSyncErrorCode("String0") + .assetDQScheduleSourceSyncRawError("String0") + .assetDQRuleAttachedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleAttachedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleFailedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleFailedDimension(DataQualityDimension.TIMELINESS) + .assetDQRulePassedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRulePassedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleAttachedRuleType("String0") + .assetDQRuleAttachedRuleType("String1") + .assetDQRuleFailedRuleType("String0") + .assetDQRuleFailedRuleType("String1") + .assetDQRulePassedRuleType("String0") + .assetDQRulePassedRuleType("String1") + .assetDQRuleResultTag("String0") + .assetDQRuleResultTag("String1") + .assetDQRuleLastRunAt(123456789L) + .assetDQManualRunStatus(AssetDQRunStatus.SUCCESSFUL) + .assetDQRuleTotalCount(123456789L) + .assetDQRuleFailedCount(123456789L) + .assetDQRulePassedCount(123456789L) + .assetDQResult(DataQualityResult.PASS) + .assetDQFreshnessValue(123456789L) + .assetDQFreshnessExpectation(123456789L) + .assetDQRowScopeFilterColumnQualifiedName("String0") + .assetSpaceQualifiedName("String0") + .assetSpaceName("String0") + .assetImmutaRequestUrl("String0") + .assetImmutaRequestType("String0") + .assetGCPDataplexMetadataDetails(AssetGCPDataplexMetadata.builder() + .assetGCPDataplexLastSyncRunAt(123456789L) + .assetGCPDataplexEntryName("String0") + .assetGCPDataplexAspectDetails(Map.of( + "String0", + AssetGCPDataplexAspectMetadata.builder() + .assetGCPDataplexAspectFullName("String0") + .assetGCPDataplexAspectDisplayName("String0") + .assetGCPDataplexAspectType("String0") + .assetGCPDataplexAspectTypeLabels(Map.of("String0", "String0")) + .assetGCPDataplexAspectCreatedAt(123456789L) + .assetGCPDataplexAspectUpdatedAt(123456789L) + .assetGCPDataplexAspectFields(Map.of("String0", "String0")) + .build())) + .build()) + .addAssetGCPDataplexAspect("String0") + .addAssetGCPDataplexAspect("String1") + .addAssetGCPDataplexAspectField("String0") + .addAssetGCPDataplexAspectField("String1") + .assetSmusMetadataFormName("String0") + .assetSmusMetadataFormName("String1") + .assetSmusMetadataFormKeyValueDetail("String0") + .assetSmusMetadataFormKeyValueDetail("String1") + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String0") + .assetMetadataFormDescription("String0") + .assetMetadataFormDomainId("String0") + .assetMetadataFormProjectId("String0") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.ENABLED) + .assetMetadataFormRevision("String0") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String1") + .assetMetadataFormDescription("String1") + .assetMetadataFormDomainId("String1") + .assetMetadataFormProjectId("String1") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.DISABLED) + .assetMetadataFormRevision("String1") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .addAssetAiAlias("String0") + .addAssetAiAlias("String1") + .assetHasAiReadme(true) + .databricksDashboardPath("String0") + .databricksDashboardWorkspaceId("String0") + .databricksDashboardWarehouseId("String0") + .databricksDashboardEtag("String0") + .databricksDashboardIsGenieSpaceEnabled(true) + .databricksDashboardLifecycleState(DatabricksDashboardLifecycleState.ACTIVE) + .inputToAirflowTask(AirflowTask.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputToAirflowTask(AirflowTask.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputFromAirflowTask(AirflowTask.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputFromAirflowTask(AirflowTask.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .modelImplementedEntity(ModelEntity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .modelImplementedEntity(ModelEntity.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .modelImplementedAttribute(ModelAttribute.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .modelImplementedAttribute( + ModelAttribute.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .partialChildField(PartialField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .partialChildField(PartialField.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .partialChildObject(PartialObject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .partialChildObject(PartialObject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputToProcess(LineageProcess.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputToProcess(LineageProcess.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputFromProcess(LineageProcess.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputFromProcess(LineageProcess.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputToSparkJob(SparkJob.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputToSparkJob(SparkJob.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputFromSparkJob(SparkJob.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputFromSparkJob(SparkJob.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .anomaloCheck(AnomaloCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .application(Application.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .applicationField(ApplicationField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatest(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatestCertified(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceDatasetRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .file(File.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .file(File.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .link(Link.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .link(Link.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcIncident(MCIncident.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcIncident(MCIncident.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcMonitor(MCMonitor.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcMonitor(MCMonitor.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .metric(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metric(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .readme(Readme.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject(SchemaRegistrySubject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject( + SchemaRegistrySubject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sodaCheck(SodaCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sodaCheck(SodaCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipFrom(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipFrom( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipTo(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipTo( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .build(); + + @BeforeClass + void init() throws InterruptedException { + MockAtlanTenant.initializeClient(); + } + + @Test + void serdeCycleDatabricksDashboard() throws IOException { + assertNotNull(full, "Unable to build sample instance of DatabricksDashboard,"); + final int hash = full.hashCode(); + // Builder equivalency + assertEquals( + full.toBuilder().build(), + full, + "Unable to converting DatabricksDashboard via builder back to its original state,"); + // Serialization + final String serialized = full.toJson(MockAtlanTenant.client); + assertNotNull(serialized, "Unable to serialize sample instance of DatabricksDashboard,"); + assertEquals(full.hashCode(), hash, "Serialization mutated the original value,"); + // Deserialization + final DatabricksDashboard frodo = MockAtlanTenant.client.readValue(serialized, DatabricksDashboard.class); + assertNotNull(frodo, "Unable to reverse-read serialized value back into an instance of DatabricksDashboard,"); + // Serialized equivalency + String backAgain = frodo.toJson(MockAtlanTenant.client); + assertEquals(backAgain, serialized, "Serialization is not equivalent after serde loop,"); + // Deserialized equivalency + assertEquals(frodo, full, "Deserialization is not equivalent after serde loop,"); + } +} diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabricksExternalLocationPathTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabricksExternalLocationPathTest.java index 2534e59ea8..84573ea32e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DatabricksExternalLocationPathTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DatabricksExternalLocationPathTest.java @@ -130,6 +130,7 @@ public class DatabricksExternalLocationPathTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabricksExternalLocationTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabricksExternalLocationTest.java index 0d5ce7e236..61634c5e07 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DatabricksExternalLocationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DatabricksExternalLocationTest.java @@ -130,6 +130,7 @@ public class DatabricksExternalLocationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabricksGenieAgentTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabricksGenieAgentTest.java new file mode 100644 index 0000000000..d1855d5605 --- /dev/null +++ b/sdk/src/test/java/com/atlan/model/assets/DatabricksGenieAgentTest.java @@ -0,0 +1,1266 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import static org.testng.Assert.*; + +import com.atlan.mock.MockAtlanTenant; +import com.atlan.model.core.AtlanTag; +import com.atlan.model.core.CustomMetadataAttributes; +import com.atlan.model.enums.*; +import com.atlan.model.structs.*; +import java.io.IOException; +import java.util.*; +import javax.annotation.processing.Generated; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@SuppressWarnings("deprecation") +public class DatabricksGenieAgentTest { + + private final DatabricksGenieAgent full = DatabricksGenieAgent._internal() + .guid("guid") + .displayText("displayText") + .status(AtlanStatus.ACTIVE) + .createdBy("createdBy") + .updatedBy("updatedBy") + .createTime(123456789L) + .updateTime(123456789L) + .isIncomplete(false) + .deleteHandler("SOFT") + .meaningNames(Set.of("meaningName1", "meaningName2")) + .meanings(Set.of( + Meaning.builder() + .termGuid("termGuid1") + .relationGuid("relationGuid1") + .displayText("displayText1") + .confidence(100) + .build(), + Meaning.builder() + .termGuid("termGuid2") + .relationGuid("relationGuid2") + .displayText("displayText2") + .confidence(100) + .build())) + .qualifiedName("qualifiedName") + .atlanTag(AtlanTag.of("String0")) + .atlanTag(AtlanTag.builder().typeName("String1").propagate(false).build()) + .customMetadata( + "String0", + CustomMetadataAttributes.builder() + .attribute("String0", 123.456) + .attribute("String1", true) + .build()) + .customMetadata( + "String1", + CustomMetadataAttributes.builder() + // Note: for equivalency this MUST be a Long (not an Integer), as deserialization + // will always produce a Long + .attribute("String0", 789L) + .attribute("String1", "AnotherString") + .build()) + .queryCount(123456789L) + .queryUserCount(123456789L) + .putQueryUserMap("String0", 123456789L) + .putQueryUserMap("String1", 987654321L) + .queryCountUpdatedAt(123456789L) + .databaseName("String0") + .databaseQualifiedName("String0") + .schemaName("String0") + .schemaQualifiedName("String0") + .tableName("String0") + .tableQualifiedName("String0") + .viewName("String0") + .viewQualifiedName("String0") + .calculationViewName("String0") + .calculationViewQualifiedName("String0") + .isProfiled(true) + .lastProfiledAt(123456789L) + .sqlAIModelContextQualifiedName("String0") + .sqlIsSecure(true) + .sqlHasAiInsights(true) + .sqlAiInsightsLastAnalyzedAt(123456789L) + .sqlAiInsightsPopularBusinessQuestionCount(123) + .sqlAiInsightsPopularJoinCount(123) + .sqlAiInsightsPopularFilterCount(123) + .sqlAiInsightsRelationshipCount(123) + .sqlCoalesceLastRunStatus("String0") + .sqlCoalesceNodeStatus("String0") + .sqlCoalesceLastRunAt(123456789L) + .sqlCoalesceNodeType("String0") + .sqlCoalesceEnvironmentId("String0") + .sqlCoalesceEnvironmentName("String0") + .sqlCoalesceProjectId("String0") + .sqlCoalesceProjectName("String0") + .sqlShareQualifiedName("String0") + .sqlShareQualifiedName("String1") + .catalogDatasetGuid("String0") + .name("String0") + .displayName("String0") + .description("String0") + .assetSourceReadme("String0") + .userDescription("String0") + .assetAiGeneratedDescription("String0") + .assetAiGeneratedDescriptionConfidence(123.456) + .assetAiGeneratedDescriptionReasoning("String0") + .tenantId("String0") + .certificateStatus(CertificateStatus.DEPRECATED) + .certificateStatusMessage("String0") + .certificateUpdatedBy("String0") + .certificateUpdatedAt(123456789L) + .announcementTitle("String0") + .announcementMessage("String0") + .announcementType(AtlanAnnouncementType.INFORMATION) + .announcementUpdatedAt(123456789L) + .announcementUpdatedBy("String0") + .assetAnnouncementExpiredAt(123456789L) + .ownerUser("String0") + .ownerUser("String1") + .ownerGroup("String0") + .ownerGroup("String1") + .adminUser("String0") + .adminUser("String1") + .adminGroup("String0") + .adminGroup("String1") + .viewerUser("String0") + .viewerUser("String1") + .viewerGroup("String0") + .viewerGroup("String1") + .connectorName("String0") + .connectionName("String0") + .connectionQualifiedName("String0") + .assetManagedBy("String0") + .hasLineage(true) + .isDiscoverable(true) + .isEditable(true) + .subType("String0") + .viewScore(123.456) + .popularityScore(123.456) + .sourceOwners("String0") + .assetSourceId("String0") + .sourceCreatedBy("String0") + .sourceCreatedAt(123456789L) + .sourceUpdatedAt(123456789L) + .sourceUpdatedBy("String0") + .sourceURL("String0") + .sourceEmbedURL("String0") + .lastSyncWorkflowName("String0") + .lastSyncRunAt(123456789L) + .lastSyncRun("String0") + .adminRole("String0") + .adminRole("String1") + .sourceReadCount(123456789L) + .sourceReadUserCount(123456789L) + .sourceLastReadAt(123456789L) + .lastRowChangedAt(123456789L) + .sourceTotalCost(123.456) + .sourceCostUnit(SourceCostUnitType.CREDITS) + .sourceReadQueryCost(123.456) + .sourceReadRecentUser("String0") + .sourceReadRecentUser("String1") + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadTopUser("String0") + .sourceReadTopUser("String1") + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceQueryComputeCost("String0") + .sourceQueryComputeCost("String1") + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .dbtQualifiedName("String0") + .assetDbtWorkflowLastUpdated("String0") + .assetDbtAlias("String0") + .assetDbtMeta("String0") + .assetDbtUniqueId("String0") + .assetDbtAccountName("String0") + .assetDbtProjectName("String0") + .assetDbtPackageName("String0") + .assetDbtJobName("String0") + .assetDbtJobSchedule("String0") + .assetDbtJobStatus("String0") + .assetDbtTestStatus("String0") + .assetDbtJobScheduleCronHumanized("String0") + .assetDbtJobLastRun(123456789L) + .assetDbtJobLastRunUrl("String0") + .assetDbtJobLastRunCreatedAt(123456789L) + .assetDbtJobLastRunUpdatedAt(123456789L) + .assetDbtJobLastRunDequedAt(123456789L) + .assetDbtJobLastRunStartedAt(123456789L) + .assetDbtJobLastRunTotalDuration("String0") + .assetDbtJobLastRunTotalDurationHumanized("String0") + .assetDbtJobLastRunQueuedDuration("String0") + .assetDbtJobLastRunQueuedDurationHumanized("String0") + .assetDbtJobLastRunRunDuration("String0") + .assetDbtJobLastRunRunDurationHumanized("String0") + .assetDbtJobLastRunGitBranch("String0") + .assetDbtJobLastRunGitSha("String0") + .assetDbtJobLastRunStatusMessage("String0") + .assetDbtJobLastRunOwnerThreadId("String0") + .assetDbtJobLastRunExecutedByThreadId("String0") + .assetDbtJobLastRunArtifactsSaved(true) + .assetDbtJobLastRunArtifactS3Path("String0") + .assetDbtJobLastRunHasDocsGenerated(true) + .assetDbtJobLastRunHasSourcesGenerated(true) + .assetDbtJobLastRunNotificationsSent(true) + .assetDbtJobNextRun(123456789L) + .assetDbtJobNextRunHumanized("String0") + .assetDbtEnvironmentName("String0") + .assetDbtEnvironmentDbtVersion("String0") + .assetDbtTag("String0") + .assetDbtTag("String1") + .assetDbtSemanticLayerProxyUrl("String0") + .assetDbtSourceFreshnessCriteria("String0") + .sampleDataUrl("String0") + .assetTag("String0") + .assetTag("String1") + .assetMcIncidentName("String0") + .assetMcIncidentName("String1") + .assetMcIncidentQualifiedName("String0") + .assetMcIncidentQualifiedName("String1") + .assetMcAlertQualifiedName("String0") + .assetMcAlertQualifiedName("String1") + .assetMcMonitorName("String0") + .assetMcMonitorName("String1") + .assetMcMonitorQualifiedName("String0") + .assetMcMonitorQualifiedName("String1") + .assetMcMonitorStatus("String0") + .assetMcMonitorStatus("String1") + .assetMcMonitorType("String0") + .assetMcMonitorType("String1") + .assetMcMonitorScheduleType("String0") + .assetMcMonitorScheduleType("String1") + .assetMcIncidentType("String0") + .assetMcIncidentType("String1") + .assetMcIncidentSubType("String0") + .assetMcIncidentSubType("String1") + .assetMcIncidentSeverity("String0") + .assetMcIncidentSeverity("String1") + .assetMcIncidentPriority("String0") + .assetMcIncidentPriority("String1") + .assetMcIncidentState("String0") + .assetMcIncidentState("String1") + .assetMcIsMonitored(true) + .assetMcLastSyncRunAt(123456789L) + .addStarredBy("String0") + .addStarredBy("String1") + .starredDetail(StarredDetails.builder() + .assetStarredBy("String0") + .assetStarredAt(123456789L) + .build()) + .starredDetail(StarredDetails.builder() + .assetStarredBy("String1") + .assetStarredAt(987654321L) + .build()) + .starredCount(123) + .assetAnomaloDQStatus("String0") + .assetAnomaloCheckCount(123456789L) + .assetAnomaloFailedCheckCount(123456789L) + .assetAnomaloCheckStatuses("String0") + .assetAnomaloLastCheckRunAt(123456789L) + .assetAnomaloAppliedCheckType("String0") + .assetAnomaloAppliedCheckType("String1") + .assetAnomaloFailedCheckType("String0") + .assetAnomaloFailedCheckType("String1") + .assetAnomaloSourceUrl("String0") + .assetSodaDQStatus("String0") + .assetSodaCheckCount(123456789L) + .assetSodaLastSyncRunAt(123456789L) + .assetSodaLastScanAt(123456789L) + .assetSodaCheckStatuses("String0") + .assetSodaSourceURL("String0") + .assetIcon(AtlanIcon.ATLAN_TAG) + .assetSummaryProvider(AssetSummaryProvider.builder() + .assetSummaryProviderName("String0") + .assetSummaryProviderUrl("String0") + .build()) + .assetSummary("String0") + .assetSummaryFilterToken("String0") + .assetSummaryFilterToken("String1") + .assetExternalDQScoreValue(123.456) + .assetExternalDQTestEntity("String0") + .assetExternalDQTestEntity("String1") + .assetExternalDQTestLatestScore(123.456) + .assetExternalDQTestLatestScore(654.321) + .assetExternalDQTestAvgScore(123.456) + .assetExternalDQTestAvgScore(654.321) + .assetExternalDQTestMinScore(123.456) + .assetExternalDQTestMinScore(654.321) + .assetExternalDQMetadataDetail( + "String0", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String0") + .assetExternalDQSourceLogo("String0") + .assetExternalDQSourceURL("String0") + .assetExternalDQLastSyncRunAt(123456789L) + .assetExternalDQTestEntityTypeName("String0") + .assetExternalDQTestEntityName("String0") + .assetExternalDQTestTotalCount(123) + .assetExternalDQTestLastRunSuccessCount(123) + .assetExternalDQTestLastRunFailureCount(123) + .assetExternalDQTestLastRunTotalRulesCount(123456789L) + .assetExternalDQTestLastRunSuccessRulesCount(123456789L) + .assetExternalDQTestLastRunFailureRulesCount(123456789L) + .assetExternalDQOverallScoreValue("String0") + .assetExternalDQOverallScoreType("String0") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(123456789L) + .assetExternalDQTestStatsByCategory(Map.of( + "String0", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String0", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(123) + .build())) + .build())) + .build()) + .build()) + .assetExternalDQMetadataDetail( + "String1", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String1") + .assetExternalDQSourceLogo("String1") + .assetExternalDQSourceURL("String1") + .assetExternalDQLastSyncRunAt(987654321L) + .assetExternalDQTestEntityTypeName("String1") + .assetExternalDQTestEntityName("String1") + .assetExternalDQTestTotalCount(456) + .assetExternalDQTestLastRunSuccessCount(456) + .assetExternalDQTestLastRunFailureCount(456) + .assetExternalDQTestLastRunTotalRulesCount(987654321L) + .assetExternalDQTestLastRunSuccessRulesCount(987654321L) + .assetExternalDQTestLastRunFailureRulesCount(987654321L) + .assetExternalDQOverallScoreValue("String1") + .assetExternalDQOverallScoreType("String1") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(987654321L) + .assetExternalDQTestStatsByCategory(Map.of( + "String1", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String1", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(456) + .build())) + .build())) + .build()) + .build()) + .isPartial(true) + .isAIGenerated(true) + .assetCoverImage("String0") + .assetThemeHex("String0") + .lexicographicalSortOrder("String0") + .hasContract(true) + .assetRedirectGUID("String0") + .assetRedirectGUID("String1") + .assetPolicyGUID("String0") + .assetPolicyGUID("String1") + .assetPoliciesCount(123456789L) + .domainGUID("String0") + .domainGUID("String1") + .nonCompliantAssetPolicyGUID("String0") + .nonCompliantAssetPolicyGUID("String1") + .productGUID("String0") + .productGUID("String1") + .outputProductGUID("String0") + .outputProductGUID("String1") + .applicationQualifiedName("String0") + .applicationFieldQualifiedName("String0") + .assetUserDefinedType("String0") + .assetInternalPopularityScore(123.456) + .assetDQScheduleType(DataQualityScheduleType.ON_DATA_CHANGE) + .assetDQScheduleCrontab("String0") + .assetDQScheduleTimeZone("String0") + .assetDQScheduleSourceSyncStatus(DataQualitySourceSyncStatus.SUCCESSFUL) + .assetDQScheduleSourceSyncedAt(123456789L) + .assetDQScheduleSourceSyncErrorMessage("String0") + .assetDQScheduleSourceSyncErrorCode("String0") + .assetDQScheduleSourceSyncRawError("String0") + .assetDQRuleAttachedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleAttachedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleFailedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleFailedDimension(DataQualityDimension.TIMELINESS) + .assetDQRulePassedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRulePassedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleAttachedRuleType("String0") + .assetDQRuleAttachedRuleType("String1") + .assetDQRuleFailedRuleType("String0") + .assetDQRuleFailedRuleType("String1") + .assetDQRulePassedRuleType("String0") + .assetDQRulePassedRuleType("String1") + .assetDQRuleResultTag("String0") + .assetDQRuleResultTag("String1") + .assetDQRuleLastRunAt(123456789L) + .assetDQManualRunStatus(AssetDQRunStatus.SUCCESSFUL) + .assetDQRuleTotalCount(123456789L) + .assetDQRuleFailedCount(123456789L) + .assetDQRulePassedCount(123456789L) + .assetDQResult(DataQualityResult.PASS) + .assetDQFreshnessValue(123456789L) + .assetDQFreshnessExpectation(123456789L) + .assetDQRowScopeFilterColumnQualifiedName("String0") + .assetSpaceQualifiedName("String0") + .assetSpaceName("String0") + .assetImmutaRequestUrl("String0") + .assetImmutaRequestType("String0") + .assetGCPDataplexMetadataDetails(AssetGCPDataplexMetadata.builder() + .assetGCPDataplexLastSyncRunAt(123456789L) + .assetGCPDataplexEntryName("String0") + .assetGCPDataplexAspectDetails(Map.of( + "String0", + AssetGCPDataplexAspectMetadata.builder() + .assetGCPDataplexAspectFullName("String0") + .assetGCPDataplexAspectDisplayName("String0") + .assetGCPDataplexAspectType("String0") + .assetGCPDataplexAspectTypeLabels(Map.of("String0", "String0")) + .assetGCPDataplexAspectCreatedAt(123456789L) + .assetGCPDataplexAspectUpdatedAt(123456789L) + .assetGCPDataplexAspectFields(Map.of("String0", "String0")) + .build())) + .build()) + .addAssetGCPDataplexAspect("String0") + .addAssetGCPDataplexAspect("String1") + .addAssetGCPDataplexAspectField("String0") + .addAssetGCPDataplexAspectField("String1") + .assetSmusMetadataFormName("String0") + .assetSmusMetadataFormName("String1") + .assetSmusMetadataFormKeyValueDetail("String0") + .assetSmusMetadataFormKeyValueDetail("String1") + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String0") + .assetMetadataFormDescription("String0") + .assetMetadataFormDomainId("String0") + .assetMetadataFormProjectId("String0") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.ENABLED) + .assetMetadataFormRevision("String0") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String1") + .assetMetadataFormDescription("String1") + .assetMetadataFormDomainId("String1") + .assetMetadataFormProjectId("String1") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.DISABLED) + .assetMetadataFormRevision("String1") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .addAssetAiAlias("String0") + .addAssetAiAlias("String1") + .assetHasAiReadme(true) + .agentSlug("String0") + .agentType(AgentType.SYSTEM) + .agentStatus(AgenticLifecycleStatus.DRAFT) + .agentSystemPrompt("String0") + .agentLlmConfig("String0") + .agentMcpServers("String0") + .agentSchedules("String0") + .agentSkillName("String0") + .agentSkillName("String1") + .agentSkillQualifiedName("String0") + .agentSkillQualifiedName("String1") + .agenticVersion(123456789L) + .agenticSource(AgenticSource.CONTEXT_STUDIO) + .databricksGenieAgentWorkspaceId("String0") + .databricksGenieAgentWarehouseId("String0") + .databricksGenieAgentParentPath("String0") + .databricksGenieAgentEtag("String0") + .agentSkill(Skill.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .agentSkill(Skill.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .contextSourceRepository(ContextRepository.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .anomaloCheck(AnomaloCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .application(Application.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .applicationField(ApplicationField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatest(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatestCertified(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceDatasetRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .file(File.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .file(File.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .link(Link.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .link(Link.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcIncident(MCIncident.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcIncident(MCIncident.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcMonitor(MCMonitor.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcMonitor(MCMonitor.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .metric(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metric(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .readme(Readme.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject(SchemaRegistrySubject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject( + SchemaRegistrySubject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sodaCheck(SodaCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sodaCheck(SodaCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipFrom(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipFrom( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipTo(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipTo( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .build(); + + @BeforeClass + void init() throws InterruptedException { + MockAtlanTenant.initializeClient(); + } + + @Test + void serdeCycleDatabricksGenieAgent() throws IOException { + assertNotNull(full, "Unable to build sample instance of DatabricksGenieAgent,"); + final int hash = full.hashCode(); + // Builder equivalency + assertEquals( + full.toBuilder().build(), + full, + "Unable to converting DatabricksGenieAgent via builder back to its original state,"); + // Serialization + final String serialized = full.toJson(MockAtlanTenant.client); + assertNotNull(serialized, "Unable to serialize sample instance of DatabricksGenieAgent,"); + assertEquals(full.hashCode(), hash, "Serialization mutated the original value,"); + // Deserialization + final DatabricksGenieAgent frodo = MockAtlanTenant.client.readValue(serialized, DatabricksGenieAgent.class); + assertNotNull(frodo, "Unable to reverse-read serialized value back into an instance of DatabricksGenieAgent,"); + // Serialized equivalency + String backAgain = frodo.toJson(MockAtlanTenant.client); + assertEquals(backAgain, serialized, "Serialization is not equivalent after serde loop,"); + // Deserialized equivalency + assertEquals(frodo, full, "Deserialization is not equivalent after serde loop,"); + } +} diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabricksMetricViewTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabricksMetricViewTest.java index ecb64ec8b4..56216cd8e3 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DatabricksMetricViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DatabricksMetricViewTest.java @@ -130,6 +130,7 @@ public class DatabricksMetricViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabricksNotebookTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabricksNotebookTest.java index d701fdad79..b6d82da24e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DatabricksNotebookTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DatabricksNotebookTest.java @@ -130,6 +130,7 @@ public class DatabricksNotebookTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabricksVolumePathTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabricksVolumePathTest.java index 5c861e8cc9..02cde4c10a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DatabricksVolumePathTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DatabricksVolumePathTest.java @@ -130,6 +130,7 @@ public class DatabricksVolumePathTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DatabricksVolumeTest.java b/sdk/src/test/java/com/atlan/model/assets/DatabricksVolumeTest.java index d83185ed7d..fcd9d62387 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DatabricksVolumeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DatabricksVolumeTest.java @@ -130,6 +130,7 @@ public class DatabricksVolumeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DataverseAttributeTest.java b/sdk/src/test/java/com/atlan/model/assets/DataverseAttributeTest.java index 29fb83b099..e5f3a2b3ac 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DataverseAttributeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DataverseAttributeTest.java @@ -98,6 +98,7 @@ public class DataverseAttributeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DataverseEntityTest.java b/sdk/src/test/java/com/atlan/model/assets/DataverseEntityTest.java index a062536052..d12667f03b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DataverseEntityTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DataverseEntityTest.java @@ -98,6 +98,7 @@ public class DataverseEntityTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtColumnProcessTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtColumnProcessTest.java index 90b314238d..0833a8abea 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtColumnProcessTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtColumnProcessTest.java @@ -140,6 +140,7 @@ public class DbtColumnProcessTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1192,10 +1193,13 @@ public class DbtColumnProcessTest { .additionalEtlContext("String0") .aiDatasetType(AIDatasetType.TRAINING) .isPassThrough(true) + .processDerivation(ProcessLineageDerivation.STATIC) .dbtColumnProcessJobStatus("String0") .adfActivity(AdfActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .bigqueryRoutine(BigqueryRoutine.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryRoutine(BigqueryRoutine.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fabricActivity(FabricActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .fabricActivity(FabricActivity.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fivetranConnector(FivetranConnector.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtDimensionTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtDimensionTest.java index 1271d18d5c..fea96b09e8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtDimensionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtDimensionTest.java @@ -140,6 +140,7 @@ public class DbtDimensionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtEntityTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtEntityTest.java index 1bcf8eabe2..0e164d1be8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtEntityTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtEntityTest.java @@ -140,6 +140,7 @@ public class DbtEntityTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtMeasureTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtMeasureTest.java index 9ac07f658e..036b4ce704 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtMeasureTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtMeasureTest.java @@ -140,6 +140,7 @@ public class DbtMeasureTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtMetricTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtMetricTest.java index 0fdded0b14..d07b9e24f5 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtMetricTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtMetricTest.java @@ -140,6 +140,7 @@ public class DbtMetricTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtModelColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtModelColumnTest.java index 8bd4bda329..c5e987dbeb 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtModelColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtModelColumnTest.java @@ -140,6 +140,7 @@ public class DbtModelColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtModelTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtModelTest.java index 8b0414f0f3..8b8a0e8aa4 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtModelTest.java @@ -140,6 +140,7 @@ public class DbtModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtProcessTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtProcessTest.java index afee72e785..1c3163100f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtProcessTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtProcessTest.java @@ -140,6 +140,7 @@ public class DbtProcessTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1192,6 +1193,7 @@ public class DbtProcessTest { .additionalEtlContext("String0") .aiDatasetType(AIDatasetType.TRAINING) .isPassThrough(true) + .processDerivation(ProcessLineageDerivation.STATIC) .dbtProcessJobStatus("String0") .dbtUpstreamContext(DbtInputContext.builder() .dbtInputContextName("String0") @@ -1214,6 +1216,8 @@ public class DbtProcessTest { .adfActivity(AdfActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .bigqueryRoutine(BigqueryRoutine.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryRoutine(BigqueryRoutine.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fabricActivity(FabricActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .fabricActivity(FabricActivity.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fivetranConnector(FivetranConnector.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtSeedTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtSeedTest.java index 8b18ab1d80..66a5cef17e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtSeedTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtSeedTest.java @@ -140,6 +140,7 @@ public class DbtSeedTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtSemanticModelTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtSemanticModelTest.java index 0ea3b5eef6..4ac665aa4a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtSemanticModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtSemanticModelTest.java @@ -140,6 +140,7 @@ public class DbtSemanticModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtSourceTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtSourceTest.java index 7b560f7e72..61275a8b2f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtSourceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtSourceTest.java @@ -140,6 +140,7 @@ public class DbtSourceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtTagTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtTagTest.java index fa9f435663..1d8855044d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtTagTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtTagTest.java @@ -140,6 +140,7 @@ public class DbtTagTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DbtTestTest.java b/sdk/src/test/java/com/atlan/model/assets/DbtTestTest.java index f2986b67e7..5e26d78b05 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DbtTestTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DbtTestTest.java @@ -140,6 +140,7 @@ public class DbtTestTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DocumentDBCollectionTest.java b/sdk/src/test/java/com/atlan/model/assets/DocumentDBCollectionTest.java index 04324db239..ea1d060c90 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DocumentDBCollectionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DocumentDBCollectionTest.java @@ -96,6 +96,7 @@ public class DocumentDBCollectionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DocumentDBDatabaseTest.java b/sdk/src/test/java/com/atlan/model/assets/DocumentDBDatabaseTest.java index a7d6cdf4ee..ed13b0c79a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DocumentDBDatabaseTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DocumentDBDatabaseTest.java @@ -96,6 +96,7 @@ public class DocumentDBDatabaseTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DomoCardTest.java b/sdk/src/test/java/com/atlan/model/assets/DomoCardTest.java index ce2f1219be..d9d503a372 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DomoCardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DomoCardTest.java @@ -97,6 +97,7 @@ public class DomoCardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DomoDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/DomoDashboardTest.java index fd63cf0e8c..641ed8e17f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DomoDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DomoDashboardTest.java @@ -97,6 +97,7 @@ public class DomoDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DomoDatasetColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/DomoDatasetColumnTest.java index f42d9e3b00..0b37947750 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DomoDatasetColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DomoDatasetColumnTest.java @@ -97,6 +97,7 @@ public class DomoDatasetColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DomoDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/DomoDatasetTest.java index fd52b69dca..9a0cb21f4f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DomoDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DomoDatasetTest.java @@ -97,6 +97,7 @@ public class DomoDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DremioColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/DremioColumnTest.java index 4527bb57e1..fc14a9c8ca 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DremioColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DremioColumnTest.java @@ -140,6 +140,7 @@ public class DremioColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DremioFolderTest.java b/sdk/src/test/java/com/atlan/model/assets/DremioFolderTest.java index ebb98ab084..1d0757d9c2 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DremioFolderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DremioFolderTest.java @@ -140,6 +140,7 @@ public class DremioFolderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DremioPhysicalDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/DremioPhysicalDatasetTest.java index 8666227473..55c7d51174 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DremioPhysicalDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DremioPhysicalDatasetTest.java @@ -140,6 +140,7 @@ public class DremioPhysicalDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DremioSourceTest.java b/sdk/src/test/java/com/atlan/model/assets/DremioSourceTest.java index bd8ac65b37..4dd63249d8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DremioSourceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DremioSourceTest.java @@ -140,6 +140,7 @@ public class DremioSourceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DremioSpaceTest.java b/sdk/src/test/java/com/atlan/model/assets/DremioSpaceTest.java index cc34dc5d14..cd23d647de 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DremioSpaceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DremioSpaceTest.java @@ -140,6 +140,7 @@ public class DremioSpaceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DremioVirtualDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/DremioVirtualDatasetTest.java index ab5c161df9..0091f794a5 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DremioVirtualDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DremioVirtualDatasetTest.java @@ -140,6 +140,7 @@ public class DremioVirtualDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DynamoDBAttributeTest.java b/sdk/src/test/java/com/atlan/model/assets/DynamoDBAttributeTest.java index b09b58ae9e..369142db68 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DynamoDBAttributeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DynamoDBAttributeTest.java @@ -101,6 +101,7 @@ public class DynamoDBAttributeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/DynamoDBTableTest.java b/sdk/src/test/java/com/atlan/model/assets/DynamoDBTableTest.java index 005bee133b..cd25a99ba1 100644 --- a/sdk/src/test/java/com/atlan/model/assets/DynamoDBTableTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/DynamoDBTableTest.java @@ -101,6 +101,7 @@ public class DynamoDBTableTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricActivityTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricActivityTest.java index 31591a79cd..087b624131 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricActivityTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricActivityTest.java @@ -98,6 +98,7 @@ public class FabricActivityTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricDashboardTest.java index dac1acc3be..eed60bbf5c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricDashboardTest.java @@ -98,6 +98,7 @@ public class FabricDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricDataPipelineTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricDataPipelineTest.java index fd9dd080bc..3fc8c3b95c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricDataPipelineTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricDataPipelineTest.java @@ -98,6 +98,7 @@ public class FabricDataPipelineTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricDataflowEntityColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricDataflowEntityColumnTest.java index 10f07df238..21c3c901bd 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricDataflowEntityColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricDataflowEntityColumnTest.java @@ -98,6 +98,7 @@ public class FabricDataflowEntityColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricDataflowTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricDataflowTest.java index 43defe77a1..5c1d65db0e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricDataflowTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricDataflowTest.java @@ -98,6 +98,7 @@ public class FabricDataflowTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricPageTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricPageTest.java index 757ffbc27a..3a16e6e14e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricPageTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricPageTest.java @@ -98,6 +98,7 @@ public class FabricPageTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricReportTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricReportTest.java index c48cffaed1..aa9983e464 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricReportTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricReportTest.java @@ -98,6 +98,7 @@ public class FabricReportTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelMeasureTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelMeasureTest.java new file mode 100644 index 0000000000..ffc2135a3a --- /dev/null +++ b/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelMeasureTest.java @@ -0,0 +1,1229 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import static org.testng.Assert.*; + +import com.atlan.mock.MockAtlanTenant; +import com.atlan.model.core.AtlanTag; +import com.atlan.model.core.CustomMetadataAttributes; +import com.atlan.model.enums.*; +import com.atlan.model.structs.*; +import java.io.IOException; +import java.util.*; +import javax.annotation.processing.Generated; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@SuppressWarnings("deprecation") +public class FabricSemanticModelMeasureTest { + + private final FabricSemanticModelMeasure full = FabricSemanticModelMeasure._internal() + .guid("guid") + .displayText("displayText") + .status(AtlanStatus.ACTIVE) + .createdBy("createdBy") + .updatedBy("updatedBy") + .createTime(123456789L) + .updateTime(123456789L) + .isIncomplete(false) + .deleteHandler("SOFT") + .meaningNames(Set.of("meaningName1", "meaningName2")) + .meanings(Set.of( + Meaning.builder() + .termGuid("termGuid1") + .relationGuid("relationGuid1") + .displayText("displayText1") + .confidence(100) + .build(), + Meaning.builder() + .termGuid("termGuid2") + .relationGuid("relationGuid2") + .displayText("displayText2") + .confidence(100) + .build())) + .qualifiedName("qualifiedName") + .atlanTag(AtlanTag.of("String0")) + .atlanTag(AtlanTag.builder().typeName("String1").propagate(false).build()) + .customMetadata( + "String0", + CustomMetadataAttributes.builder() + .attribute("String0", 123.456) + .attribute("String1", true) + .build()) + .customMetadata( + "String1", + CustomMetadataAttributes.builder() + // Note: for equivalency this MUST be a Long (not an Integer), as deserialization + // will always produce a Long + .attribute("String0", 789L) + .attribute("String1", "AnotherString") + .build()) + .fabricColumnCount(123) + .fabricDataType("String0") + .fabricOrdinal(123) + .catalogDatasetGuid("String0") + .name("String0") + .displayName("String0") + .description("String0") + .assetSourceReadme("String0") + .userDescription("String0") + .assetAiGeneratedDescription("String0") + .assetAiGeneratedDescriptionConfidence(123.456) + .assetAiGeneratedDescriptionReasoning("String0") + .tenantId("String0") + .certificateStatus(CertificateStatus.DEPRECATED) + .certificateStatusMessage("String0") + .certificateUpdatedBy("String0") + .certificateUpdatedAt(123456789L) + .announcementTitle("String0") + .announcementMessage("String0") + .announcementType(AtlanAnnouncementType.INFORMATION) + .announcementUpdatedAt(123456789L) + .announcementUpdatedBy("String0") + .assetAnnouncementExpiredAt(123456789L) + .ownerUser("String0") + .ownerUser("String1") + .ownerGroup("String0") + .ownerGroup("String1") + .adminUser("String0") + .adminUser("String1") + .adminGroup("String0") + .adminGroup("String1") + .viewerUser("String0") + .viewerUser("String1") + .viewerGroup("String0") + .viewerGroup("String1") + .connectorName("String0") + .connectionName("String0") + .connectionQualifiedName("String0") + .assetManagedBy("String0") + .hasLineage(true) + .isDiscoverable(true) + .isEditable(true) + .subType("String0") + .viewScore(123.456) + .popularityScore(123.456) + .sourceOwners("String0") + .assetSourceId("String0") + .sourceCreatedBy("String0") + .sourceCreatedAt(123456789L) + .sourceUpdatedAt(123456789L) + .sourceUpdatedBy("String0") + .sourceURL("String0") + .sourceEmbedURL("String0") + .lastSyncWorkflowName("String0") + .lastSyncRunAt(123456789L) + .lastSyncRun("String0") + .adminRole("String0") + .adminRole("String1") + .sourceReadCount(123456789L) + .sourceReadUserCount(123456789L) + .sourceLastReadAt(123456789L) + .lastRowChangedAt(123456789L) + .sourceTotalCost(123.456) + .sourceCostUnit(SourceCostUnitType.CREDITS) + .sourceReadQueryCost(123.456) + .sourceReadRecentUser("String0") + .sourceReadRecentUser("String1") + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadTopUser("String0") + .sourceReadTopUser("String1") + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceQueryComputeCost("String0") + .sourceQueryComputeCost("String1") + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .dbtQualifiedName("String0") + .assetDbtWorkflowLastUpdated("String0") + .assetDbtAlias("String0") + .assetDbtMeta("String0") + .assetDbtUniqueId("String0") + .assetDbtAccountName("String0") + .assetDbtProjectName("String0") + .assetDbtPackageName("String0") + .assetDbtJobName("String0") + .assetDbtJobSchedule("String0") + .assetDbtJobStatus("String0") + .assetDbtTestStatus("String0") + .assetDbtJobScheduleCronHumanized("String0") + .assetDbtJobLastRun(123456789L) + .assetDbtJobLastRunUrl("String0") + .assetDbtJobLastRunCreatedAt(123456789L) + .assetDbtJobLastRunUpdatedAt(123456789L) + .assetDbtJobLastRunDequedAt(123456789L) + .assetDbtJobLastRunStartedAt(123456789L) + .assetDbtJobLastRunTotalDuration("String0") + .assetDbtJobLastRunTotalDurationHumanized("String0") + .assetDbtJobLastRunQueuedDuration("String0") + .assetDbtJobLastRunQueuedDurationHumanized("String0") + .assetDbtJobLastRunRunDuration("String0") + .assetDbtJobLastRunRunDurationHumanized("String0") + .assetDbtJobLastRunGitBranch("String0") + .assetDbtJobLastRunGitSha("String0") + .assetDbtJobLastRunStatusMessage("String0") + .assetDbtJobLastRunOwnerThreadId("String0") + .assetDbtJobLastRunExecutedByThreadId("String0") + .assetDbtJobLastRunArtifactsSaved(true) + .assetDbtJobLastRunArtifactS3Path("String0") + .assetDbtJobLastRunHasDocsGenerated(true) + .assetDbtJobLastRunHasSourcesGenerated(true) + .assetDbtJobLastRunNotificationsSent(true) + .assetDbtJobNextRun(123456789L) + .assetDbtJobNextRunHumanized("String0") + .assetDbtEnvironmentName("String0") + .assetDbtEnvironmentDbtVersion("String0") + .assetDbtTag("String0") + .assetDbtTag("String1") + .assetDbtSemanticLayerProxyUrl("String0") + .assetDbtSourceFreshnessCriteria("String0") + .sampleDataUrl("String0") + .assetTag("String0") + .assetTag("String1") + .assetMcIncidentName("String0") + .assetMcIncidentName("String1") + .assetMcIncidentQualifiedName("String0") + .assetMcIncidentQualifiedName("String1") + .assetMcAlertQualifiedName("String0") + .assetMcAlertQualifiedName("String1") + .assetMcMonitorName("String0") + .assetMcMonitorName("String1") + .assetMcMonitorQualifiedName("String0") + .assetMcMonitorQualifiedName("String1") + .assetMcMonitorStatus("String0") + .assetMcMonitorStatus("String1") + .assetMcMonitorType("String0") + .assetMcMonitorType("String1") + .assetMcMonitorScheduleType("String0") + .assetMcMonitorScheduleType("String1") + .assetMcIncidentType("String0") + .assetMcIncidentType("String1") + .assetMcIncidentSubType("String0") + .assetMcIncidentSubType("String1") + .assetMcIncidentSeverity("String0") + .assetMcIncidentSeverity("String1") + .assetMcIncidentPriority("String0") + .assetMcIncidentPriority("String1") + .assetMcIncidentState("String0") + .assetMcIncidentState("String1") + .assetMcIsMonitored(true) + .assetMcLastSyncRunAt(123456789L) + .addStarredBy("String0") + .addStarredBy("String1") + .starredDetail(StarredDetails.builder() + .assetStarredBy("String0") + .assetStarredAt(123456789L) + .build()) + .starredDetail(StarredDetails.builder() + .assetStarredBy("String1") + .assetStarredAt(987654321L) + .build()) + .starredCount(123) + .assetAnomaloDQStatus("String0") + .assetAnomaloCheckCount(123456789L) + .assetAnomaloFailedCheckCount(123456789L) + .assetAnomaloCheckStatuses("String0") + .assetAnomaloLastCheckRunAt(123456789L) + .assetAnomaloAppliedCheckType("String0") + .assetAnomaloAppliedCheckType("String1") + .assetAnomaloFailedCheckType("String0") + .assetAnomaloFailedCheckType("String1") + .assetAnomaloSourceUrl("String0") + .assetSodaDQStatus("String0") + .assetSodaCheckCount(123456789L) + .assetSodaLastSyncRunAt(123456789L) + .assetSodaLastScanAt(123456789L) + .assetSodaCheckStatuses("String0") + .assetSodaSourceURL("String0") + .assetIcon(AtlanIcon.ATLAN_TAG) + .assetSummaryProvider(AssetSummaryProvider.builder() + .assetSummaryProviderName("String0") + .assetSummaryProviderUrl("String0") + .build()) + .assetSummary("String0") + .assetSummaryFilterToken("String0") + .assetSummaryFilterToken("String1") + .assetExternalDQScoreValue(123.456) + .assetExternalDQTestEntity("String0") + .assetExternalDQTestEntity("String1") + .assetExternalDQTestLatestScore(123.456) + .assetExternalDQTestLatestScore(654.321) + .assetExternalDQTestAvgScore(123.456) + .assetExternalDQTestAvgScore(654.321) + .assetExternalDQTestMinScore(123.456) + .assetExternalDQTestMinScore(654.321) + .assetExternalDQMetadataDetail( + "String0", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String0") + .assetExternalDQSourceLogo("String0") + .assetExternalDQSourceURL("String0") + .assetExternalDQLastSyncRunAt(123456789L) + .assetExternalDQTestEntityTypeName("String0") + .assetExternalDQTestEntityName("String0") + .assetExternalDQTestTotalCount(123) + .assetExternalDQTestLastRunSuccessCount(123) + .assetExternalDQTestLastRunFailureCount(123) + .assetExternalDQTestLastRunTotalRulesCount(123456789L) + .assetExternalDQTestLastRunSuccessRulesCount(123456789L) + .assetExternalDQTestLastRunFailureRulesCount(123456789L) + .assetExternalDQOverallScoreValue("String0") + .assetExternalDQOverallScoreType("String0") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(123456789L) + .assetExternalDQTestStatsByCategory(Map.of( + "String0", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String0", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(123) + .build())) + .build())) + .build()) + .build()) + .assetExternalDQMetadataDetail( + "String1", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String1") + .assetExternalDQSourceLogo("String1") + .assetExternalDQSourceURL("String1") + .assetExternalDQLastSyncRunAt(987654321L) + .assetExternalDQTestEntityTypeName("String1") + .assetExternalDQTestEntityName("String1") + .assetExternalDQTestTotalCount(456) + .assetExternalDQTestLastRunSuccessCount(456) + .assetExternalDQTestLastRunFailureCount(456) + .assetExternalDQTestLastRunTotalRulesCount(987654321L) + .assetExternalDQTestLastRunSuccessRulesCount(987654321L) + .assetExternalDQTestLastRunFailureRulesCount(987654321L) + .assetExternalDQOverallScoreValue("String1") + .assetExternalDQOverallScoreType("String1") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(987654321L) + .assetExternalDQTestStatsByCategory(Map.of( + "String1", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String1", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(456) + .build())) + .build())) + .build()) + .build()) + .isPartial(true) + .isAIGenerated(true) + .assetCoverImage("String0") + .assetThemeHex("String0") + .lexicographicalSortOrder("String0") + .hasContract(true) + .assetRedirectGUID("String0") + .assetRedirectGUID("String1") + .assetPolicyGUID("String0") + .assetPolicyGUID("String1") + .assetPoliciesCount(123456789L) + .domainGUID("String0") + .domainGUID("String1") + .nonCompliantAssetPolicyGUID("String0") + .nonCompliantAssetPolicyGUID("String1") + .productGUID("String0") + .productGUID("String1") + .outputProductGUID("String0") + .outputProductGUID("String1") + .applicationQualifiedName("String0") + .applicationFieldQualifiedName("String0") + .assetUserDefinedType("String0") + .assetInternalPopularityScore(123.456) + .assetDQScheduleType(DataQualityScheduleType.ON_DATA_CHANGE) + .assetDQScheduleCrontab("String0") + .assetDQScheduleTimeZone("String0") + .assetDQScheduleSourceSyncStatus(DataQualitySourceSyncStatus.SUCCESSFUL) + .assetDQScheduleSourceSyncedAt(123456789L) + .assetDQScheduleSourceSyncErrorMessage("String0") + .assetDQScheduleSourceSyncErrorCode("String0") + .assetDQScheduleSourceSyncRawError("String0") + .assetDQRuleAttachedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleAttachedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleFailedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleFailedDimension(DataQualityDimension.TIMELINESS) + .assetDQRulePassedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRulePassedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleAttachedRuleType("String0") + .assetDQRuleAttachedRuleType("String1") + .assetDQRuleFailedRuleType("String0") + .assetDQRuleFailedRuleType("String1") + .assetDQRulePassedRuleType("String0") + .assetDQRulePassedRuleType("String1") + .assetDQRuleResultTag("String0") + .assetDQRuleResultTag("String1") + .assetDQRuleLastRunAt(123456789L) + .assetDQManualRunStatus(AssetDQRunStatus.SUCCESSFUL) + .assetDQRuleTotalCount(123456789L) + .assetDQRuleFailedCount(123456789L) + .assetDQRulePassedCount(123456789L) + .assetDQResult(DataQualityResult.PASS) + .assetDQFreshnessValue(123456789L) + .assetDQFreshnessExpectation(123456789L) + .assetDQRowScopeFilterColumnQualifiedName("String0") + .assetSpaceQualifiedName("String0") + .assetSpaceName("String0") + .assetImmutaRequestUrl("String0") + .assetImmutaRequestType("String0") + .assetGCPDataplexMetadataDetails(AssetGCPDataplexMetadata.builder() + .assetGCPDataplexLastSyncRunAt(123456789L) + .assetGCPDataplexEntryName("String0") + .assetGCPDataplexAspectDetails(Map.of( + "String0", + AssetGCPDataplexAspectMetadata.builder() + .assetGCPDataplexAspectFullName("String0") + .assetGCPDataplexAspectDisplayName("String0") + .assetGCPDataplexAspectType("String0") + .assetGCPDataplexAspectTypeLabels(Map.of("String0", "String0")) + .assetGCPDataplexAspectCreatedAt(123456789L) + .assetGCPDataplexAspectUpdatedAt(123456789L) + .assetGCPDataplexAspectFields(Map.of("String0", "String0")) + .build())) + .build()) + .addAssetGCPDataplexAspect("String0") + .addAssetGCPDataplexAspect("String1") + .addAssetGCPDataplexAspectField("String0") + .addAssetGCPDataplexAspectField("String1") + .assetSmusMetadataFormName("String0") + .assetSmusMetadataFormName("String1") + .assetSmusMetadataFormKeyValueDetail("String0") + .assetSmusMetadataFormKeyValueDetail("String1") + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String0") + .assetMetadataFormDescription("String0") + .assetMetadataFormDomainId("String0") + .assetMetadataFormProjectId("String0") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.ENABLED) + .assetMetadataFormRevision("String0") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String1") + .assetMetadataFormDescription("String1") + .assetMetadataFormDomainId("String1") + .assetMetadataFormProjectId("String1") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.DISABLED) + .assetMetadataFormRevision("String1") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .addAssetAiAlias("String0") + .addAssetAiAlias("String1") + .assetHasAiReadme(true) + .fabricSemanticModelQualifiedName("String0") + .fabricSemanticModelTableQualifiedName("String0") + .fabricSemanticModelTableName("String0") + .fabricMeasureExpression("String0") + .fabricFormatString("String0") + .fabricDisplayFolder("String0") + .fabricIsHidden(true) + .fabricIsExternalMeasure(true) + .fabricSemanticModelTable(FabricSemanticModelTable.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .fabricSemanticModelTableColumn( + FabricSemanticModelTableColumn.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .fabricSemanticModelTableColumn(FabricSemanticModelTableColumn.refByQualifiedName( + "default/snowflake/1234567890/test/qualifiedName")) + .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .anomaloCheck(AnomaloCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .application(Application.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .applicationField(ApplicationField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatest(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatestCertified(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceDatasetRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .file(File.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .file(File.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .link(Link.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .link(Link.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcIncident(MCIncident.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcIncident(MCIncident.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcMonitor(MCMonitor.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcMonitor(MCMonitor.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .metric(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metric(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .readme(Readme.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject(SchemaRegistrySubject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject( + SchemaRegistrySubject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sodaCheck(SodaCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sodaCheck(SodaCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipFrom(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipFrom( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipTo(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipTo( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .build(); + + @BeforeClass + void init() throws InterruptedException { + MockAtlanTenant.initializeClient(); + } + + @Test + void serdeCycleFabricSemanticModelMeasure() throws IOException { + assertNotNull(full, "Unable to build sample instance of FabricSemanticModelMeasure,"); + final int hash = full.hashCode(); + // Builder equivalency + assertEquals( + full.toBuilder().build(), + full, + "Unable to converting FabricSemanticModelMeasure via builder back to its original state,"); + // Serialization + final String serialized = full.toJson(MockAtlanTenant.client); + assertNotNull(serialized, "Unable to serialize sample instance of FabricSemanticModelMeasure,"); + assertEquals(full.hashCode(), hash, "Serialization mutated the original value,"); + // Deserialization + final FabricSemanticModelMeasure frodo = + MockAtlanTenant.client.readValue(serialized, FabricSemanticModelMeasure.class); + assertNotNull( + frodo, "Unable to reverse-read serialized value back into an instance of FabricSemanticModelMeasure,"); + // Serialized equivalency + String backAgain = frodo.toJson(MockAtlanTenant.client); + assertEquals(backAgain, serialized, "Serialization is not equivalent after serde loop,"); + // Deserialized equivalency + assertEquals(frodo, full, "Deserialization is not equivalent after serde loop,"); + } +} diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTableColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTableColumnTest.java index 053655b7ac..c691658dcb 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTableColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTableColumnTest.java @@ -98,6 +98,7 @@ public class FabricSemanticModelTableColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1145,6 +1146,9 @@ public class FabricSemanticModelTableColumnTest { .fabricSemanticModelTableQualifiedName("String0") .fabricSemanticModelTableName("String0") .fabricSemanticModelTable(FabricSemanticModelTable.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .fabricSemanticModelMeasure(FabricSemanticModelMeasure.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .fabricSemanticModelMeasure( + FabricSemanticModelMeasure.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTableTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTableTest.java index e7e7cf0189..780fe0ca40 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTableTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTableTest.java @@ -98,6 +98,7 @@ public class FabricSemanticModelTableTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1148,6 +1149,9 @@ public class FabricSemanticModelTableTest { FabricSemanticModelTableColumn.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .fabricSemanticModelTableColumn(FabricSemanticModelTableColumn.refByQualifiedName( "default/snowflake/1234567890/test/qualifiedName")) + .fabricSemanticModelMeasure(FabricSemanticModelMeasure.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .fabricSemanticModelMeasure( + FabricSemanticModelMeasure.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTest.java index 608f79746a..13cc3f5a53 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricSemanticModelTest.java @@ -98,6 +98,7 @@ public class FabricSemanticModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricVisualTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricVisualTest.java index f516689efb..2fcab803b1 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricVisualTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricVisualTest.java @@ -98,6 +98,7 @@ public class FabricVisualTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FabricWorkspaceTest.java b/sdk/src/test/java/com/atlan/model/assets/FabricWorkspaceTest.java index 09d8455701..66d77a7db3 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FabricWorkspaceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FabricWorkspaceTest.java @@ -98,6 +98,7 @@ public class FabricWorkspaceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FileTest.java b/sdk/src/test/java/com/atlan/model/assets/FileTest.java index 2967b88805..48e7b63870 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FileTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FileTest.java @@ -100,6 +100,7 @@ public class FileTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FivetranConnectorTest.java b/sdk/src/test/java/com/atlan/model/assets/FivetranConnectorTest.java index c5c4e340cd..6128950496 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FivetranConnectorTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FivetranConnectorTest.java @@ -98,6 +98,7 @@ public class FivetranConnectorTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FlowControlOperationTest.java b/sdk/src/test/java/com/atlan/model/assets/FlowControlOperationTest.java index a5835d3e69..df49926e75 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FlowControlOperationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FlowControlOperationTest.java @@ -109,6 +109,7 @@ public class FlowControlOperationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FlowDatasetOperationTest.java b/sdk/src/test/java/com/atlan/model/assets/FlowDatasetOperationTest.java index 97aa0f2a80..dd99827e18 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FlowDatasetOperationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FlowDatasetOperationTest.java @@ -109,6 +109,7 @@ public class FlowDatasetOperationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1161,9 +1162,12 @@ public class FlowDatasetOperationTest { .additionalEtlContext("String0") .aiDatasetType(AIDatasetType.TRAINING) .isPassThrough(true) + .processDerivation(ProcessLineageDerivation.STATIC) .adfActivity(AdfActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .bigqueryRoutine(BigqueryRoutine.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryRoutine(BigqueryRoutine.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fabricActivity(FabricActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .fabricActivity(FabricActivity.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fivetranConnector(FivetranConnector.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/FlowDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/FlowDatasetTest.java index bdfc1e50d3..b155d3d3ed 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FlowDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FlowDatasetTest.java @@ -109,6 +109,7 @@ public class FlowDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FlowFieldOperationTest.java b/sdk/src/test/java/com/atlan/model/assets/FlowFieldOperationTest.java index 5c975f274b..fbe5e55e3b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FlowFieldOperationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FlowFieldOperationTest.java @@ -109,6 +109,7 @@ public class FlowFieldOperationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1161,9 +1162,12 @@ public class FlowFieldOperationTest { .additionalEtlContext("String0") .aiDatasetType(AIDatasetType.TRAINING) .isPassThrough(true) + .processDerivation(ProcessLineageDerivation.STATIC) .adfActivity(AdfActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .bigqueryRoutine(BigqueryRoutine.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryRoutine(BigqueryRoutine.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fabricActivity(FabricActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .fabricActivity(FabricActivity.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fivetranConnector(FivetranConnector.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/FlowFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/FlowFieldTest.java index f094444990..dca930a499 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FlowFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FlowFieldTest.java @@ -109,6 +109,7 @@ public class FlowFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FlowFolderTest.java b/sdk/src/test/java/com/atlan/model/assets/FlowFolderTest.java index 6e3991d1d2..95b4a07fa7 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FlowFolderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FlowFolderTest.java @@ -109,6 +109,7 @@ public class FlowFolderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FlowProjectTest.java b/sdk/src/test/java/com/atlan/model/assets/FlowProjectTest.java index 77936387a8..6849e5bed4 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FlowProjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FlowProjectTest.java @@ -109,6 +109,7 @@ public class FlowProjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FlowReusableUnitTest.java b/sdk/src/test/java/com/atlan/model/assets/FlowReusableUnitTest.java index a5f1b14e35..7b73f3451b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FlowReusableUnitTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FlowReusableUnitTest.java @@ -109,6 +109,7 @@ public class FlowReusableUnitTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FolderTest.java b/sdk/src/test/java/com/atlan/model/assets/FolderTest.java index 93b06c30da..9d7f1ed028 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FolderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FolderTest.java @@ -94,6 +94,7 @@ public class FolderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/FunctionTest.java b/sdk/src/test/java/com/atlan/model/assets/FunctionTest.java index 440a426c25..a4a2843b7f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/FunctionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/FunctionTest.java @@ -60,7 +60,6 @@ public class FunctionTest { .attribute("String0", 789L) .attribute("String1", "AnotherString") .build()) - .sqlIsSecure(true) .queryCount(123456789L) .queryUserCount(123456789L) .putQueryUserMap("String0", 123456789L) @@ -79,6 +78,7 @@ public class FunctionTest { .isProfiled(true) .lastProfiledAt(123456789L) .sqlAIModelContextQualifiedName("String0") + .sqlIsSecure(true) .sqlHasAiInsights(true) .sqlAiInsightsLastAnalyzedAt(123456789L) .sqlAiInsightsPopularBusinessQuestionCount(123) @@ -130,6 +130,7 @@ public class FunctionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1189,6 +1190,7 @@ public class FunctionTest { .functionSecrets("String0") .functionPackages("String0") .functionInstalledPackages("String0") + .cosmosMongoDBCollection(CosmosMongoDBCollection.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .dbtModel(DbtModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .dbtModel(DbtModel.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .sqlDbtModel(DbtModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/GCPDataplexAspectTypeTest.java b/sdk/src/test/java/com/atlan/model/assets/GCPDataplexAspectTypeTest.java index a58ca8b698..9fc6975648 100644 --- a/sdk/src/test/java/com/atlan/model/assets/GCPDataplexAspectTypeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/GCPDataplexAspectTypeTest.java @@ -60,7 +60,29 @@ public class GCPDataplexAspectTypeTest { .attribute("String0", 789L) .attribute("String1", "AnotherString") .build()) - .catalogDatasetGuid("String0") + .googleService("String0") + .googleProjectName("String0") + .googleProjectId("String0") + .googleProjectNumber(123456789L) + .googleLocation("String0") + .googleLocationType("String0") + .googleLabel(GoogleLabel.builder() + .googleLabelKey("String0") + .googleLabelValue("String0") + .build()) + .googleLabel(GoogleLabel.builder() + .googleLabelKey("String1") + .googleLabelValue("String1") + .build()) + .googleTag(GoogleTag.builder() + .googleTagKey("String0") + .googleTagValue("String0") + .build()) + .googleTag(GoogleTag.builder() + .googleTagKey("String1") + .googleTagValue("String1") + .build()) + .cloudUniformResourceName("String0") .name("String0") .displayName("String0") .description("String0") @@ -95,6 +117,7 @@ public class GCPDataplexAspectTypeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1139,29 +1162,6 @@ public class GCPDataplexAspectTypeTest { .addAssetAiAlias("String0") .addAssetAiAlias("String1") .assetHasAiReadme(true) - .googleService("String0") - .googleProjectName("String0") - .googleProjectId("String0") - .googleProjectNumber(123456789L) - .googleLocation("String0") - .googleLocationType("String0") - .googleLabel(GoogleLabel.builder() - .googleLabelKey("String0") - .googleLabelValue("String0") - .build()) - .googleLabel(GoogleLabel.builder() - .googleLabelKey("String1") - .googleLabelValue("String1") - .build()) - .googleTag(GoogleTag.builder() - .googleTagKey("String0") - .googleTagValue("String0") - .build()) - .googleTag(GoogleTag.builder() - .googleTagKey("String1") - .googleTagValue("String1") - .build()) - .cloudUniformResourceName("String0") .gcpDataplexAspectTypeResourceName("String0") .gcpDataplexAspectTypeProject("String0") .gcpDataplexAspectTypeLocation("String0") diff --git a/sdk/src/test/java/com/atlan/model/assets/GCSBucketTest.java b/sdk/src/test/java/com/atlan/model/assets/GCSBucketTest.java index 9847d5b932..a5123371cb 100644 --- a/sdk/src/test/java/com/atlan/model/assets/GCSBucketTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/GCSBucketTest.java @@ -101,6 +101,7 @@ public class GCSBucketTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/GCSObjectTest.java b/sdk/src/test/java/com/atlan/model/assets/GCSObjectTest.java index 148b047a8e..c9da88e4e2 100644 --- a/sdk/src/test/java/com/atlan/model/assets/GCSObjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/GCSObjectTest.java @@ -101,6 +101,7 @@ public class GCSObjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/GlossaryCategoryTest.java b/sdk/src/test/java/com/atlan/model/assets/GlossaryCategoryTest.java index 48d74d35da..0ca53040ce 100644 --- a/sdk/src/test/java/com/atlan/model/assets/GlossaryCategoryTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/GlossaryCategoryTest.java @@ -94,6 +94,7 @@ public class GlossaryCategoryTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1155,6 +1156,8 @@ public class GlossaryCategoryTest { .childCategory(GlossaryCategory.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .childCategory(GlossaryCategory.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .parentCategory(GlossaryCategory.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .knowledgeLinkedFile(KnowledgeFile.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .knowledgeLinkedFile(KnowledgeFile.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/GlossaryTermTest.java b/sdk/src/test/java/com/atlan/model/assets/GlossaryTermTest.java index 82b327d4f8..8949ad96fa 100644 --- a/sdk/src/test/java/com/atlan/model/assets/GlossaryTermTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/GlossaryTermTest.java @@ -94,6 +94,7 @@ public class GlossaryTermTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1184,6 +1185,8 @@ public class GlossaryTermTest { .validValueFor(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .validValue(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .validValue(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .knowledgeLinkedFile(KnowledgeFile.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .knowledgeLinkedFile(KnowledgeFile.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/GlossaryTest.java b/sdk/src/test/java/com/atlan/model/assets/GlossaryTest.java index 0165f33d9a..be37030c87 100644 --- a/sdk/src/test/java/com/atlan/model/assets/GlossaryTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/GlossaryTest.java @@ -94,6 +94,7 @@ public class GlossaryTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1155,6 +1156,8 @@ public class GlossaryTest { .term(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .category(GlossaryCategory.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .category(GlossaryCategory.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .knowledgeLinkedFile(KnowledgeFile.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .knowledgeLinkedFile(KnowledgeFile.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/IcebergCatalogTest.java b/sdk/src/test/java/com/atlan/model/assets/IcebergCatalogTest.java index ffb0cdd096..e7ed39b839 100644 --- a/sdk/src/test/java/com/atlan/model/assets/IcebergCatalogTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/IcebergCatalogTest.java @@ -133,6 +133,7 @@ public class IcebergCatalogTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/IcebergColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/IcebergColumnTest.java index 87787e0665..61afaddd34 100644 --- a/sdk/src/test/java/com/atlan/model/assets/IcebergColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/IcebergColumnTest.java @@ -133,6 +133,7 @@ public class IcebergColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/IcebergNamespaceTest.java b/sdk/src/test/java/com/atlan/model/assets/IcebergNamespaceTest.java index 18047b9a2e..4236bf96c1 100644 --- a/sdk/src/test/java/com/atlan/model/assets/IcebergNamespaceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/IcebergNamespaceTest.java @@ -133,6 +133,7 @@ public class IcebergNamespaceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1181,6 +1182,8 @@ public class IcebergNamespaceTest { .schemaExternalLocation("String0") .viewCount(123) .linkedSchemaQualifiedName("String0") + .bigqueryRoutine(BigqueryRoutine.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryRoutine(BigqueryRoutine.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .databricksAIModelContext(DatabricksAIModelContext.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .databricksAIModelContext( DatabricksAIModelContext.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) @@ -1201,6 +1204,10 @@ public class IcebergNamespaceTest { .icebergSubNamespace(IcebergNamespace.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .icebergSubNamespace(IcebergNamespace.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .icebergParentNamespace(IcebergNamespace.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapDatasphereReplicationFlow( + SapDatasphereReplicationFlow.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapDatasphereReplicationFlow( + SapDatasphereReplicationFlow.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .calculationView(CalculationView.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .calculationView(CalculationView.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .function(Function.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/IcebergTableTest.java b/sdk/src/test/java/com/atlan/model/assets/IcebergTableTest.java index 4246e7d6c1..658eeefcfb 100644 --- a/sdk/src/test/java/com/atlan/model/assets/IcebergTableTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/IcebergTableTest.java @@ -133,6 +133,7 @@ public class IcebergTableTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/InsightTest.java b/sdk/src/test/java/com/atlan/model/assets/InsightTest.java index 56e00ac02d..b1c9ff38c5 100644 --- a/sdk/src/test/java/com/atlan/model/assets/InsightTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/InsightTest.java @@ -95,6 +95,7 @@ public class InsightTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/KafkaClusterTest.java b/sdk/src/test/java/com/atlan/model/assets/KafkaClusterTest.java index 8d50034cd9..646395ee74 100644 --- a/sdk/src/test/java/com/atlan/model/assets/KafkaClusterTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/KafkaClusterTest.java @@ -95,6 +95,7 @@ public class KafkaClusterTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/KafkaConsumerGroupTest.java b/sdk/src/test/java/com/atlan/model/assets/KafkaConsumerGroupTest.java index 63ec93dd86..13d689783f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/KafkaConsumerGroupTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/KafkaConsumerGroupTest.java @@ -95,6 +95,7 @@ public class KafkaConsumerGroupTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/KafkaFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/KafkaFieldTest.java index b76c8fd3c9..6abbe7a39a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/KafkaFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/KafkaFieldTest.java @@ -95,6 +95,7 @@ public class KafkaFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1146,7 +1147,18 @@ public class KafkaFieldTest { .kafkaFieldOrder(123) .kafkaTopicQualifiedName("String0") .kafkaFieldSchemaType("String0") + .kafkaParentFieldQualifiedName("String0") + .kafkaParentFieldName("String0") + .kafkaFieldDepthLevel(123) + .kafkaNestedFieldCount(123) + .kafkaNestedFieldOrder("String0") + .kafkaFieldHierarchy(Map.of("key1", "value1")) + .kafkaFieldHierarchy(Map.of("key2", "value2")) + .kafkaFieldNestedOrder("String0") .kafkaTopic(KafkaTopic.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .kafkaNestedField(KafkaField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .kafkaNestedField(KafkaField.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .kafkaParentField(KafkaField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/KafkaTagTest.java b/sdk/src/test/java/com/atlan/model/assets/KafkaTagTest.java new file mode 100644 index 0000000000..fb4388d3c7 --- /dev/null +++ b/sdk/src/test/java/com/atlan/model/assets/KafkaTagTest.java @@ -0,0 +1,1225 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import static org.testng.Assert.*; + +import com.atlan.mock.MockAtlanTenant; +import com.atlan.model.core.AtlanTag; +import com.atlan.model.core.CustomMetadataAttributes; +import com.atlan.model.enums.*; +import com.atlan.model.structs.*; +import java.io.IOException; +import java.util.*; +import javax.annotation.processing.Generated; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@SuppressWarnings("deprecation") +public class KafkaTagTest { + + private final KafkaTag full = KafkaTag._internal() + .guid("guid") + .displayText("displayText") + .status(AtlanStatus.ACTIVE) + .createdBy("createdBy") + .updatedBy("updatedBy") + .createTime(123456789L) + .updateTime(123456789L) + .isIncomplete(false) + .deleteHandler("SOFT") + .meaningNames(Set.of("meaningName1", "meaningName2")) + .meanings(Set.of( + Meaning.builder() + .termGuid("termGuid1") + .relationGuid("relationGuid1") + .displayText("displayText1") + .confidence(100) + .build(), + Meaning.builder() + .termGuid("termGuid2") + .relationGuid("relationGuid2") + .displayText("displayText2") + .confidence(100) + .build())) + .qualifiedName("qualifiedName") + .atlanTag(AtlanTag.of("String0")) + .atlanTag(AtlanTag.builder().typeName("String1").propagate(false).build()) + .customMetadata( + "String0", + CustomMetadataAttributes.builder() + .attribute("String0", 123.456) + .attribute("String1", true) + .build()) + .customMetadata( + "String1", + CustomMetadataAttributes.builder() + // Note: for equivalency this MUST be a Long (not an Integer), as deserialization + // will always produce a Long + .attribute("String0", 789L) + .attribute("String1", "AnotherString") + .build()) + .catalogDatasetGuid("String0") + .name("String0") + .displayName("String0") + .description("String0") + .assetSourceReadme("String0") + .userDescription("String0") + .assetAiGeneratedDescription("String0") + .assetAiGeneratedDescriptionConfidence(123.456) + .assetAiGeneratedDescriptionReasoning("String0") + .tenantId("String0") + .certificateStatus(CertificateStatus.DEPRECATED) + .certificateStatusMessage("String0") + .certificateUpdatedBy("String0") + .certificateUpdatedAt(123456789L) + .announcementTitle("String0") + .announcementMessage("String0") + .announcementType(AtlanAnnouncementType.INFORMATION) + .announcementUpdatedAt(123456789L) + .announcementUpdatedBy("String0") + .assetAnnouncementExpiredAt(123456789L) + .ownerUser("String0") + .ownerUser("String1") + .ownerGroup("String0") + .ownerGroup("String1") + .adminUser("String0") + .adminUser("String1") + .adminGroup("String0") + .adminGroup("String1") + .viewerUser("String0") + .viewerUser("String1") + .viewerGroup("String0") + .viewerGroup("String1") + .connectorName("String0") + .connectionName("String0") + .connectionQualifiedName("String0") + .assetManagedBy("String0") + .hasLineage(true) + .isDiscoverable(true) + .isEditable(true) + .subType("String0") + .viewScore(123.456) + .popularityScore(123.456) + .sourceOwners("String0") + .assetSourceId("String0") + .sourceCreatedBy("String0") + .sourceCreatedAt(123456789L) + .sourceUpdatedAt(123456789L) + .sourceUpdatedBy("String0") + .sourceURL("String0") + .sourceEmbedURL("String0") + .lastSyncWorkflowName("String0") + .lastSyncRunAt(123456789L) + .lastSyncRun("String0") + .adminRole("String0") + .adminRole("String1") + .sourceReadCount(123456789L) + .sourceReadUserCount(123456789L) + .sourceLastReadAt(123456789L) + .lastRowChangedAt(123456789L) + .sourceTotalCost(123.456) + .sourceCostUnit(SourceCostUnitType.CREDITS) + .sourceReadQueryCost(123.456) + .sourceReadRecentUser("String0") + .sourceReadRecentUser("String1") + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadTopUser("String0") + .sourceReadTopUser("String1") + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceQueryComputeCost("String0") + .sourceQueryComputeCost("String1") + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .dbtQualifiedName("String0") + .assetDbtWorkflowLastUpdated("String0") + .assetDbtAlias("String0") + .assetDbtMeta("String0") + .assetDbtUniqueId("String0") + .assetDbtAccountName("String0") + .assetDbtProjectName("String0") + .assetDbtPackageName("String0") + .assetDbtJobName("String0") + .assetDbtJobSchedule("String0") + .assetDbtJobStatus("String0") + .assetDbtTestStatus("String0") + .assetDbtJobScheduleCronHumanized("String0") + .assetDbtJobLastRun(123456789L) + .assetDbtJobLastRunUrl("String0") + .assetDbtJobLastRunCreatedAt(123456789L) + .assetDbtJobLastRunUpdatedAt(123456789L) + .assetDbtJobLastRunDequedAt(123456789L) + .assetDbtJobLastRunStartedAt(123456789L) + .assetDbtJobLastRunTotalDuration("String0") + .assetDbtJobLastRunTotalDurationHumanized("String0") + .assetDbtJobLastRunQueuedDuration("String0") + .assetDbtJobLastRunQueuedDurationHumanized("String0") + .assetDbtJobLastRunRunDuration("String0") + .assetDbtJobLastRunRunDurationHumanized("String0") + .assetDbtJobLastRunGitBranch("String0") + .assetDbtJobLastRunGitSha("String0") + .assetDbtJobLastRunStatusMessage("String0") + .assetDbtJobLastRunOwnerThreadId("String0") + .assetDbtJobLastRunExecutedByThreadId("String0") + .assetDbtJobLastRunArtifactsSaved(true) + .assetDbtJobLastRunArtifactS3Path("String0") + .assetDbtJobLastRunHasDocsGenerated(true) + .assetDbtJobLastRunHasSourcesGenerated(true) + .assetDbtJobLastRunNotificationsSent(true) + .assetDbtJobNextRun(123456789L) + .assetDbtJobNextRunHumanized("String0") + .assetDbtEnvironmentName("String0") + .assetDbtEnvironmentDbtVersion("String0") + .assetDbtTag("String0") + .assetDbtTag("String1") + .assetDbtSemanticLayerProxyUrl("String0") + .assetDbtSourceFreshnessCriteria("String0") + .sampleDataUrl("String0") + .assetTag("String0") + .assetTag("String1") + .assetMcIncidentName("String0") + .assetMcIncidentName("String1") + .assetMcIncidentQualifiedName("String0") + .assetMcIncidentQualifiedName("String1") + .assetMcAlertQualifiedName("String0") + .assetMcAlertQualifiedName("String1") + .assetMcMonitorName("String0") + .assetMcMonitorName("String1") + .assetMcMonitorQualifiedName("String0") + .assetMcMonitorQualifiedName("String1") + .assetMcMonitorStatus("String0") + .assetMcMonitorStatus("String1") + .assetMcMonitorType("String0") + .assetMcMonitorType("String1") + .assetMcMonitorScheduleType("String0") + .assetMcMonitorScheduleType("String1") + .assetMcIncidentType("String0") + .assetMcIncidentType("String1") + .assetMcIncidentSubType("String0") + .assetMcIncidentSubType("String1") + .assetMcIncidentSeverity("String0") + .assetMcIncidentSeverity("String1") + .assetMcIncidentPriority("String0") + .assetMcIncidentPriority("String1") + .assetMcIncidentState("String0") + .assetMcIncidentState("String1") + .assetMcIsMonitored(true) + .assetMcLastSyncRunAt(123456789L) + .addStarredBy("String0") + .addStarredBy("String1") + .starredDetail(StarredDetails.builder() + .assetStarredBy("String0") + .assetStarredAt(123456789L) + .build()) + .starredDetail(StarredDetails.builder() + .assetStarredBy("String1") + .assetStarredAt(987654321L) + .build()) + .starredCount(123) + .assetAnomaloDQStatus("String0") + .assetAnomaloCheckCount(123456789L) + .assetAnomaloFailedCheckCount(123456789L) + .assetAnomaloCheckStatuses("String0") + .assetAnomaloLastCheckRunAt(123456789L) + .assetAnomaloAppliedCheckType("String0") + .assetAnomaloAppliedCheckType("String1") + .assetAnomaloFailedCheckType("String0") + .assetAnomaloFailedCheckType("String1") + .assetAnomaloSourceUrl("String0") + .assetSodaDQStatus("String0") + .assetSodaCheckCount(123456789L) + .assetSodaLastSyncRunAt(123456789L) + .assetSodaLastScanAt(123456789L) + .assetSodaCheckStatuses("String0") + .assetSodaSourceURL("String0") + .assetIcon(AtlanIcon.ATLAN_TAG) + .assetSummaryProvider(AssetSummaryProvider.builder() + .assetSummaryProviderName("String0") + .assetSummaryProviderUrl("String0") + .build()) + .assetSummary("String0") + .assetSummaryFilterToken("String0") + .assetSummaryFilterToken("String1") + .assetExternalDQScoreValue(123.456) + .assetExternalDQTestEntity("String0") + .assetExternalDQTestEntity("String1") + .assetExternalDQTestLatestScore(123.456) + .assetExternalDQTestLatestScore(654.321) + .assetExternalDQTestAvgScore(123.456) + .assetExternalDQTestAvgScore(654.321) + .assetExternalDQTestMinScore(123.456) + .assetExternalDQTestMinScore(654.321) + .assetExternalDQMetadataDetail( + "String0", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String0") + .assetExternalDQSourceLogo("String0") + .assetExternalDQSourceURL("String0") + .assetExternalDQLastSyncRunAt(123456789L) + .assetExternalDQTestEntityTypeName("String0") + .assetExternalDQTestEntityName("String0") + .assetExternalDQTestTotalCount(123) + .assetExternalDQTestLastRunSuccessCount(123) + .assetExternalDQTestLastRunFailureCount(123) + .assetExternalDQTestLastRunTotalRulesCount(123456789L) + .assetExternalDQTestLastRunSuccessRulesCount(123456789L) + .assetExternalDQTestLastRunFailureRulesCount(123456789L) + .assetExternalDQOverallScoreValue("String0") + .assetExternalDQOverallScoreType("String0") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(123456789L) + .assetExternalDQTestStatsByCategory(Map.of( + "String0", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String0", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(123) + .build())) + .build())) + .build()) + .build()) + .assetExternalDQMetadataDetail( + "String1", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String1") + .assetExternalDQSourceLogo("String1") + .assetExternalDQSourceURL("String1") + .assetExternalDQLastSyncRunAt(987654321L) + .assetExternalDQTestEntityTypeName("String1") + .assetExternalDQTestEntityName("String1") + .assetExternalDQTestTotalCount(456) + .assetExternalDQTestLastRunSuccessCount(456) + .assetExternalDQTestLastRunFailureCount(456) + .assetExternalDQTestLastRunTotalRulesCount(987654321L) + .assetExternalDQTestLastRunSuccessRulesCount(987654321L) + .assetExternalDQTestLastRunFailureRulesCount(987654321L) + .assetExternalDQOverallScoreValue("String1") + .assetExternalDQOverallScoreType("String1") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(987654321L) + .assetExternalDQTestStatsByCategory(Map.of( + "String1", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String1", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(456) + .build())) + .build())) + .build()) + .build()) + .isPartial(true) + .isAIGenerated(true) + .assetCoverImage("String0") + .assetThemeHex("String0") + .lexicographicalSortOrder("String0") + .hasContract(true) + .assetRedirectGUID("String0") + .assetRedirectGUID("String1") + .assetPolicyGUID("String0") + .assetPolicyGUID("String1") + .assetPoliciesCount(123456789L) + .domainGUID("String0") + .domainGUID("String1") + .nonCompliantAssetPolicyGUID("String0") + .nonCompliantAssetPolicyGUID("String1") + .productGUID("String0") + .productGUID("String1") + .outputProductGUID("String0") + .outputProductGUID("String1") + .applicationQualifiedName("String0") + .applicationFieldQualifiedName("String0") + .assetUserDefinedType("String0") + .assetInternalPopularityScore(123.456) + .assetDQScheduleType(DataQualityScheduleType.ON_DATA_CHANGE) + .assetDQScheduleCrontab("String0") + .assetDQScheduleTimeZone("String0") + .assetDQScheduleSourceSyncStatus(DataQualitySourceSyncStatus.SUCCESSFUL) + .assetDQScheduleSourceSyncedAt(123456789L) + .assetDQScheduleSourceSyncErrorMessage("String0") + .assetDQScheduleSourceSyncErrorCode("String0") + .assetDQScheduleSourceSyncRawError("String0") + .assetDQRuleAttachedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleAttachedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleFailedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleFailedDimension(DataQualityDimension.TIMELINESS) + .assetDQRulePassedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRulePassedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleAttachedRuleType("String0") + .assetDQRuleAttachedRuleType("String1") + .assetDQRuleFailedRuleType("String0") + .assetDQRuleFailedRuleType("String1") + .assetDQRulePassedRuleType("String0") + .assetDQRulePassedRuleType("String1") + .assetDQRuleResultTag("String0") + .assetDQRuleResultTag("String1") + .assetDQRuleLastRunAt(123456789L) + .assetDQManualRunStatus(AssetDQRunStatus.SUCCESSFUL) + .assetDQRuleTotalCount(123456789L) + .assetDQRuleFailedCount(123456789L) + .assetDQRulePassedCount(123456789L) + .assetDQResult(DataQualityResult.PASS) + .assetDQFreshnessValue(123456789L) + .assetDQFreshnessExpectation(123456789L) + .assetDQRowScopeFilterColumnQualifiedName("String0") + .assetSpaceQualifiedName("String0") + .assetSpaceName("String0") + .assetImmutaRequestUrl("String0") + .assetImmutaRequestType("String0") + .assetGCPDataplexMetadataDetails(AssetGCPDataplexMetadata.builder() + .assetGCPDataplexLastSyncRunAt(123456789L) + .assetGCPDataplexEntryName("String0") + .assetGCPDataplexAspectDetails(Map.of( + "String0", + AssetGCPDataplexAspectMetadata.builder() + .assetGCPDataplexAspectFullName("String0") + .assetGCPDataplexAspectDisplayName("String0") + .assetGCPDataplexAspectType("String0") + .assetGCPDataplexAspectTypeLabels(Map.of("String0", "String0")) + .assetGCPDataplexAspectCreatedAt(123456789L) + .assetGCPDataplexAspectUpdatedAt(123456789L) + .assetGCPDataplexAspectFields(Map.of("String0", "String0")) + .build())) + .build()) + .addAssetGCPDataplexAspect("String0") + .addAssetGCPDataplexAspect("String1") + .addAssetGCPDataplexAspectField("String0") + .addAssetGCPDataplexAspectField("String1") + .assetSmusMetadataFormName("String0") + .assetSmusMetadataFormName("String1") + .assetSmusMetadataFormKeyValueDetail("String0") + .assetSmusMetadataFormKeyValueDetail("String1") + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String0") + .assetMetadataFormDescription("String0") + .assetMetadataFormDomainId("String0") + .assetMetadataFormProjectId("String0") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.ENABLED) + .assetMetadataFormRevision("String0") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String1") + .assetMetadataFormDescription("String1") + .assetMetadataFormDomainId("String1") + .assetMetadataFormProjectId("String1") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.DISABLED) + .assetMetadataFormRevision("String1") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .addAssetAiAlias("String0") + .addAssetAiAlias("String1") + .assetHasAiReadme(true) + .tagId("String0") + .tagAttribute(SourceTagAttribute.builder() + .tagAttributeKey("String0") + .tagAttributeValue("String0") + .tagAttributeProperties(Map.of("String0", "String0")) + .build()) + .tagAttribute(SourceTagAttribute.builder() + .tagAttributeKey("String1") + .tagAttributeValue("String1") + .tagAttributeProperties(Map.of("String0", "String0")) + .build()) + .tagAllowedValue("String0") + .tagAllowedValue("String1") + .mappedAtlanTagName("String0") + .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .anomaloCheck(AnomaloCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .application(Application.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .applicationField(ApplicationField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatest(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatestCertified(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceDatasetRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .file(File.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .file(File.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .link(Link.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .link(Link.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcIncident(MCIncident.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcIncident(MCIncident.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcMonitor(MCMonitor.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcMonitor(MCMonitor.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .metric(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metric(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .readme(Readme.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject(SchemaRegistrySubject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject( + SchemaRegistrySubject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sodaCheck(SodaCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sodaCheck(SodaCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipFrom(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipFrom( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipTo(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipTo( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .build(); + + @BeforeClass + void init() throws InterruptedException { + MockAtlanTenant.initializeClient(); + } + + @Test + void serdeCycleKafkaTag() throws IOException { + assertNotNull(full, "Unable to build sample instance of KafkaTag,"); + final int hash = full.hashCode(); + // Builder equivalency + assertEquals( + full.toBuilder().build(), + full, + "Unable to converting KafkaTag via builder back to its original state,"); + // Serialization + final String serialized = full.toJson(MockAtlanTenant.client); + assertNotNull(serialized, "Unable to serialize sample instance of KafkaTag,"); + assertEquals(full.hashCode(), hash, "Serialization mutated the original value,"); + // Deserialization + final KafkaTag frodo = MockAtlanTenant.client.readValue(serialized, KafkaTag.class); + assertNotNull(frodo, "Unable to reverse-read serialized value back into an instance of KafkaTag,"); + // Serialized equivalency + String backAgain = frodo.toJson(MockAtlanTenant.client); + assertEquals(backAgain, serialized, "Serialization is not equivalent after serde loop,"); + // Deserialized equivalency + assertEquals(frodo, full, "Deserialization is not equivalent after serde loop,"); + } +} diff --git a/sdk/src/test/java/com/atlan/model/assets/KafkaTopicTest.java b/sdk/src/test/java/com/atlan/model/assets/KafkaTopicTest.java index 4c75552c94..1b38c582b4 100644 --- a/sdk/src/test/java/com/atlan/model/assets/KafkaTopicTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/KafkaTopicTest.java @@ -95,6 +95,7 @@ public class KafkaTopicTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/KnowledgeFileTest.java b/sdk/src/test/java/com/atlan/model/assets/KnowledgeFileTest.java index b0961511eb..6ab9b50126 100644 --- a/sdk/src/test/java/com/atlan/model/assets/KnowledgeFileTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/KnowledgeFileTest.java @@ -61,6 +61,7 @@ public class KnowledgeFileTest { .attribute("String1", "AnotherString") .build()) .agenticVersion(123456789L) + .agenticSource(AgenticSource.CONTEXT_STUDIO) .catalogDatasetGuid("String0") .name("String0") .displayName("String0") @@ -96,6 +97,7 @@ public class KnowledgeFileTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1154,6 +1156,8 @@ public class KnowledgeFileTest { .knowledgeContentVersionId("String0") .knowledgeFolder(KnowledgeFolder.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .knowledgeFolder(KnowledgeFolder.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .knowledgeLinkedAsset(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .knowledgeLinkedAsset(IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fileAssets(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) diff --git a/sdk/src/test/java/com/atlan/model/assets/KnowledgeFolderTest.java b/sdk/src/test/java/com/atlan/model/assets/KnowledgeFolderTest.java index 35af577533..366a0c533d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/KnowledgeFolderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/KnowledgeFolderTest.java @@ -61,6 +61,7 @@ public class KnowledgeFolderTest { .attribute("String1", "AnotherString") .build()) .agenticVersion(123456789L) + .agenticSource(AgenticSource.CONTEXT_STUDIO) .catalogDatasetGuid("String0") .name("String0") .displayName("String0") @@ -96,6 +97,7 @@ public class KnowledgeFolderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LinkTest.java b/sdk/src/test/java/com/atlan/model/assets/LinkTest.java index 3b39f762c4..8b2dce7efb 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LinkTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LinkTest.java @@ -100,6 +100,7 @@ public class LinkTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LookerDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/LookerDashboardTest.java index 1c4085c85a..e91d76423c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LookerDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LookerDashboardTest.java @@ -96,6 +96,7 @@ public class LookerDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LookerExploreTest.java b/sdk/src/test/java/com/atlan/model/assets/LookerExploreTest.java index fdd06215e8..1189d71666 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LookerExploreTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LookerExploreTest.java @@ -96,6 +96,7 @@ public class LookerExploreTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LookerFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/LookerFieldTest.java index d8a634d844..b30e72058a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LookerFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LookerFieldTest.java @@ -96,6 +96,7 @@ public class LookerFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LookerFolderTest.java b/sdk/src/test/java/com/atlan/model/assets/LookerFolderTest.java index 1e1ab574c1..0307c6e18c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LookerFolderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LookerFolderTest.java @@ -96,6 +96,7 @@ public class LookerFolderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LookerLookTest.java b/sdk/src/test/java/com/atlan/model/assets/LookerLookTest.java index 267fa382e3..69f9ff677a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LookerLookTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LookerLookTest.java @@ -96,6 +96,7 @@ public class LookerLookTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LookerModelTest.java b/sdk/src/test/java/com/atlan/model/assets/LookerModelTest.java index 7ef8d48301..476d01553a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LookerModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LookerModelTest.java @@ -96,6 +96,7 @@ public class LookerModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LookerProjectTest.java b/sdk/src/test/java/com/atlan/model/assets/LookerProjectTest.java index c6b402b668..d8c6768b1f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LookerProjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LookerProjectTest.java @@ -96,6 +96,7 @@ public class LookerProjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LookerQueryTest.java b/sdk/src/test/java/com/atlan/model/assets/LookerQueryTest.java index ff5117ff50..94837d592d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LookerQueryTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LookerQueryTest.java @@ -96,6 +96,7 @@ public class LookerQueryTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LookerTileTest.java b/sdk/src/test/java/com/atlan/model/assets/LookerTileTest.java index 5256ef3e76..5bc06f8d7a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LookerTileTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LookerTileTest.java @@ -96,6 +96,7 @@ public class LookerTileTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/LookerViewTest.java b/sdk/src/test/java/com/atlan/model/assets/LookerViewTest.java index 4c2524d41b..4ba8e55d87 100644 --- a/sdk/src/test/java/com/atlan/model/assets/LookerViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/LookerViewTest.java @@ -96,6 +96,7 @@ public class LookerViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MCIncidentTest.java b/sdk/src/test/java/com/atlan/model/assets/MCIncidentTest.java index a2df9dcd57..ce78232339 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MCIncidentTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MCIncidentTest.java @@ -100,6 +100,7 @@ public class MCIncidentTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MCMonitorTest.java b/sdk/src/test/java/com/atlan/model/assets/MCMonitorTest.java index 24e639526c..5058dc87ac 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MCMonitorTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MCMonitorTest.java @@ -100,6 +100,7 @@ public class MCMonitorTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MaterializedViewTest.java b/sdk/src/test/java/com/atlan/model/assets/MaterializedViewTest.java index 9a7fada8a0..c73c41fff2 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MaterializedViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MaterializedViewTest.java @@ -130,6 +130,7 @@ public class MaterializedViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MatillionComponentTest.java b/sdk/src/test/java/com/atlan/model/assets/MatillionComponentTest.java index 34f34f6b87..aeb0046f32 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MatillionComponentTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MatillionComponentTest.java @@ -96,6 +96,7 @@ public class MatillionComponentTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MatillionGroupTest.java b/sdk/src/test/java/com/atlan/model/assets/MatillionGroupTest.java index c534096ab0..c968fc600e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MatillionGroupTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MatillionGroupTest.java @@ -96,6 +96,7 @@ public class MatillionGroupTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MatillionJobTest.java b/sdk/src/test/java/com/atlan/model/assets/MatillionJobTest.java index 3fd6d2d2d2..af74404761 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MatillionJobTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MatillionJobTest.java @@ -96,6 +96,7 @@ public class MatillionJobTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MatillionProjectTest.java b/sdk/src/test/java/com/atlan/model/assets/MatillionProjectTest.java index 24da0afd80..d289ed728d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MatillionProjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MatillionProjectTest.java @@ -96,6 +96,7 @@ public class MatillionProjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MetabaseCollectionTest.java b/sdk/src/test/java/com/atlan/model/assets/MetabaseCollectionTest.java index 8fd625ed6e..245bf7ea86 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MetabaseCollectionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MetabaseCollectionTest.java @@ -97,6 +97,7 @@ public class MetabaseCollectionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MetabaseDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/MetabaseDashboardTest.java index d33de23ecd..d9e4cc2620 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MetabaseDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MetabaseDashboardTest.java @@ -97,6 +97,7 @@ public class MetabaseDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MetabaseQuestionTest.java b/sdk/src/test/java/com/atlan/model/assets/MetabaseQuestionTest.java index ef138729e1..75a94fbef8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MetabaseQuestionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MetabaseQuestionTest.java @@ -97,6 +97,7 @@ public class MetabaseQuestionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MetricTest.java b/sdk/src/test/java/com/atlan/model/assets/MetricTest.java index 03771dec77..62ecf81034 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MetricTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MetricTest.java @@ -96,6 +96,7 @@ public class MetricTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyAttributeTest.java b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyAttributeTest.java index 349e68439b..ec385f6f0f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyAttributeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyAttributeTest.java @@ -110,6 +110,7 @@ public class MicroStrategyAttributeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyColumnTest.java index 0b4ddf9078..d61b7aeecf 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyColumnTest.java @@ -110,6 +110,7 @@ public class MicroStrategyColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyCubeTest.java b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyCubeTest.java index 934683c1ad..51ab9a785e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyCubeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyCubeTest.java @@ -110,6 +110,7 @@ public class MicroStrategyCubeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyDocumentTest.java b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyDocumentTest.java index e19df859ad..1da0b4f454 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyDocumentTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyDocumentTest.java @@ -110,6 +110,7 @@ public class MicroStrategyDocumentTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyDossierTest.java b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyDossierTest.java index 3fd59e4862..39df33b03c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyDossierTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyDossierTest.java @@ -110,6 +110,7 @@ public class MicroStrategyDossierTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyFactTest.java b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyFactTest.java index 5316b697b1..5391a9bdd2 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyFactTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyFactTest.java @@ -110,6 +110,7 @@ public class MicroStrategyFactTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyMetricTest.java b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyMetricTest.java index 7e3a799589..4d56cb5d79 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyMetricTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyMetricTest.java @@ -110,6 +110,7 @@ public class MicroStrategyMetricTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyProjectTest.java b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyProjectTest.java index 32a993ba7b..94a7f30b6b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyProjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyProjectTest.java @@ -110,6 +110,7 @@ public class MicroStrategyProjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyReportTest.java b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyReportTest.java index 69d39b4236..f9bbca941d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyReportTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyReportTest.java @@ -110,6 +110,7 @@ public class MicroStrategyReportTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyVisualizationTest.java b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyVisualizationTest.java index b3e8f5203f..37fb30ef3f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MicroStrategyVisualizationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MicroStrategyVisualizationTest.java @@ -110,6 +110,7 @@ public class MicroStrategyVisualizationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModeChartTest.java b/sdk/src/test/java/com/atlan/model/assets/ModeChartTest.java index 3ba4186dad..608ecae732 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModeChartTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModeChartTest.java @@ -104,6 +104,7 @@ public class ModeChartTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModeCollectionTest.java b/sdk/src/test/java/com/atlan/model/assets/ModeCollectionTest.java index 3f823e8477..40c3a929fc 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModeCollectionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModeCollectionTest.java @@ -104,6 +104,7 @@ public class ModeCollectionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModeQueryTest.java b/sdk/src/test/java/com/atlan/model/assets/ModeQueryTest.java index 4efd221a97..685feef6a0 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModeQueryTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModeQueryTest.java @@ -104,6 +104,7 @@ public class ModeQueryTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModeReportTest.java b/sdk/src/test/java/com/atlan/model/assets/ModeReportTest.java index 16fb6b9df1..9d0df18b28 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModeReportTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModeReportTest.java @@ -104,6 +104,7 @@ public class ModeReportTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModeWorkspaceTest.java b/sdk/src/test/java/com/atlan/model/assets/ModeWorkspaceTest.java index 837146ab9a..a8ad29ae4f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModeWorkspaceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModeWorkspaceTest.java @@ -104,6 +104,7 @@ public class ModeWorkspaceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModelAttributeAssociationTest.java b/sdk/src/test/java/com/atlan/model/assets/ModelAttributeAssociationTest.java index cd6933f6c7..122d220c54 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModelAttributeAssociationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModelAttributeAssociationTest.java @@ -109,6 +109,7 @@ public class ModelAttributeAssociationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModelAttributeTest.java b/sdk/src/test/java/com/atlan/model/assets/ModelAttributeTest.java index 103c06101c..9a65143b08 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModelAttributeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModelAttributeTest.java @@ -109,6 +109,7 @@ public class ModelAttributeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModelDataModelTest.java b/sdk/src/test/java/com/atlan/model/assets/ModelDataModelTest.java index 158e58912e..0fe0aecdef 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModelDataModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModelDataModelTest.java @@ -109,6 +109,7 @@ public class ModelDataModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModelEntityAssociationTest.java b/sdk/src/test/java/com/atlan/model/assets/ModelEntityAssociationTest.java index 69577b6bae..807b147710 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModelEntityAssociationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModelEntityAssociationTest.java @@ -109,6 +109,7 @@ public class ModelEntityAssociationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModelEntityTest.java b/sdk/src/test/java/com/atlan/model/assets/ModelEntityTest.java index ee3093bc89..48894f3571 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModelEntityTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModelEntityTest.java @@ -109,6 +109,7 @@ public class ModelEntityTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ModelVersionTest.java b/sdk/src/test/java/com/atlan/model/assets/ModelVersionTest.java index 1f1025e8a7..978230e17b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ModelVersionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ModelVersionTest.java @@ -109,6 +109,7 @@ public class ModelVersionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MongoDBCollectionTest.java b/sdk/src/test/java/com/atlan/model/assets/MongoDBCollectionTest.java index 14514ab7af..88fa443420 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MongoDBCollectionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MongoDBCollectionTest.java @@ -96,6 +96,7 @@ public class MongoDBCollectionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/MongoDBDatabaseTest.java b/sdk/src/test/java/com/atlan/model/assets/MongoDBDatabaseTest.java index 6f792cdefe..c11fde40c6 100644 --- a/sdk/src/test/java/com/atlan/model/assets/MongoDBDatabaseTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/MongoDBDatabaseTest.java @@ -96,6 +96,7 @@ public class MongoDBDatabaseTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PartialFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/PartialFieldTest.java index a6f7aa8450..aa6b54e5dd 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PartialFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PartialFieldTest.java @@ -100,6 +100,7 @@ public class PartialFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PartialObjectTest.java b/sdk/src/test/java/com/atlan/model/assets/PartialObjectTest.java index 9f438dfe37..6bb9aa53e0 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PartialObjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PartialObjectTest.java @@ -100,6 +100,7 @@ public class PartialObjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PersonaTest.java b/sdk/src/test/java/com/atlan/model/assets/PersonaTest.java index b002af07aa..275f7a27f2 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PersonaTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PersonaTest.java @@ -113,6 +113,7 @@ public class PersonaTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIAppTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIAppTest.java index a73571ad2d..9a306f5753 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIAppTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIAppTest.java @@ -101,6 +101,7 @@ public class PowerBIAppTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIColumnTest.java index b33bb28113..5c405cca4c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIColumnTest.java @@ -101,6 +101,7 @@ public class PowerBIColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIDashboardTest.java index e674669881..606dc1e20e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIDashboardTest.java @@ -101,6 +101,7 @@ public class PowerBIDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIDataflowEntityColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIDataflowEntityColumnTest.java index b0a28f6784..e6dec0ab2b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIDataflowEntityColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIDataflowEntityColumnTest.java @@ -101,6 +101,7 @@ public class PowerBIDataflowEntityColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIDataflowTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIDataflowTest.java index fe1d2b03ec..66b888b695 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIDataflowTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIDataflowTest.java @@ -101,6 +101,7 @@ public class PowerBIDataflowTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIDatasetTest.java index 2ed465bbbc..0f266bd54b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIDatasetTest.java @@ -101,6 +101,7 @@ public class PowerBIDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIDatasourceTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIDatasourceTest.java index cf0bc5e999..e909f101d0 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIDatasourceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIDatasourceTest.java @@ -101,6 +101,7 @@ public class PowerBIDatasourceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIMeasureTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIMeasureTest.java index 0a26b7ce34..cd40ac708f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIMeasureTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIMeasureTest.java @@ -101,6 +101,7 @@ public class PowerBIMeasureTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIPageTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIPageTest.java index f814ed89e7..36e32c41fe 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIPageTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIPageTest.java @@ -101,6 +101,7 @@ public class PowerBIPageTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIReportTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIReportTest.java index 5f03d63514..5a8bbf6830 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIReportTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIReportTest.java @@ -101,6 +101,7 @@ public class PowerBIReportTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBITableTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBITableTest.java index 4a923087bf..b62aa59747 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBITableTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBITableTest.java @@ -101,6 +101,7 @@ public class PowerBITableTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBITileTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBITileTest.java index 517768cf09..f9d9058215 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBITileTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBITileTest.java @@ -101,6 +101,7 @@ public class PowerBITileTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PowerBIWorkspaceTest.java b/sdk/src/test/java/com/atlan/model/assets/PowerBIWorkspaceTest.java index c5c32635e2..77c989ed09 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PowerBIWorkspaceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PowerBIWorkspaceTest.java @@ -101,6 +101,7 @@ public class PowerBIWorkspaceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PresetChartTest.java b/sdk/src/test/java/com/atlan/model/assets/PresetChartTest.java index a5b4f02f81..a284c03bc5 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PresetChartTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PresetChartTest.java @@ -99,6 +99,7 @@ public class PresetChartTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PresetDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/PresetDashboardTest.java index 939f1c6ac4..20571baa3a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PresetDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PresetDashboardTest.java @@ -99,6 +99,7 @@ public class PresetDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PresetDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/PresetDatasetTest.java index 7bac2ae0bf..2387b00f49 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PresetDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PresetDatasetTest.java @@ -99,6 +99,7 @@ public class PresetDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/PresetWorkspaceTest.java b/sdk/src/test/java/com/atlan/model/assets/PresetWorkspaceTest.java index 01bcd5f015..c96f2965fa 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PresetWorkspaceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PresetWorkspaceTest.java @@ -99,6 +99,7 @@ public class PresetWorkspaceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ProcedureTest.java b/sdk/src/test/java/com/atlan/model/assets/ProcedureTest.java index 8e3c692e2b..e91557af8d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ProcedureTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ProcedureTest.java @@ -130,6 +130,7 @@ public class ProcedureTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1199,6 +1200,7 @@ public class ProcedureTest { .sqlInstalledPackages("String0") .sqlSchemaId("String0") .sqlCatalogId("String0") + .cosmosMongoDBCollection(CosmosMongoDBCollection.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .dbtModel(DbtModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .dbtModel(DbtModel.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .sqlDbtModel(DbtModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/PurposeTest.java b/sdk/src/test/java/com/atlan/model/assets/PurposeTest.java index 713e492af0..9596454854 100644 --- a/sdk/src/test/java/com/atlan/model/assets/PurposeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/PurposeTest.java @@ -113,6 +113,7 @@ public class PurposeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QlikAppTest.java b/sdk/src/test/java/com/atlan/model/assets/QlikAppTest.java index af1677c909..96922d4b99 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QlikAppTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QlikAppTest.java @@ -103,6 +103,7 @@ public class QlikAppTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QlikChartTest.java b/sdk/src/test/java/com/atlan/model/assets/QlikChartTest.java index d99d4f11b1..13c99fd0f3 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QlikChartTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QlikChartTest.java @@ -103,6 +103,7 @@ public class QlikChartTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QlikColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/QlikColumnTest.java index 3b9aa2dd2f..dd56868e97 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QlikColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QlikColumnTest.java @@ -103,6 +103,7 @@ public class QlikColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QlikDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/QlikDatasetTest.java index 22b436d490..ce49b409ec 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QlikDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QlikDatasetTest.java @@ -103,6 +103,7 @@ public class QlikDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QlikSheetTest.java b/sdk/src/test/java/com/atlan/model/assets/QlikSheetTest.java index f7e3ece6f7..d6e293a0e6 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QlikSheetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QlikSheetTest.java @@ -103,6 +103,7 @@ public class QlikSheetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QlikSpaceTest.java b/sdk/src/test/java/com/atlan/model/assets/QlikSpaceTest.java index 61154faa8b..50dcf5f10e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QlikSpaceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QlikSpaceTest.java @@ -103,6 +103,7 @@ public class QlikSpaceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisFieldTest.java new file mode 100644 index 0000000000..1be83a90e8 --- /dev/null +++ b/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisFieldTest.java @@ -0,0 +1,1221 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import static org.testng.Assert.*; + +import com.atlan.mock.MockAtlanTenant; +import com.atlan.model.core.AtlanTag; +import com.atlan.model.core.CustomMetadataAttributes; +import com.atlan.model.enums.*; +import com.atlan.model.structs.*; +import java.io.IOException; +import java.util.*; +import javax.annotation.processing.Generated; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@SuppressWarnings("deprecation") +public class QuickSightAnalysisFieldTest { + + private final QuickSightAnalysisField full = QuickSightAnalysisField._internal() + .guid("guid") + .displayText("displayText") + .status(AtlanStatus.ACTIVE) + .createdBy("createdBy") + .updatedBy("updatedBy") + .createTime(123456789L) + .updateTime(123456789L) + .isIncomplete(false) + .deleteHandler("SOFT") + .meaningNames(Set.of("meaningName1", "meaningName2")) + .meanings(Set.of( + Meaning.builder() + .termGuid("termGuid1") + .relationGuid("relationGuid1") + .displayText("displayText1") + .confidence(100) + .build(), + Meaning.builder() + .termGuid("termGuid2") + .relationGuid("relationGuid2") + .displayText("displayText2") + .confidence(100) + .build())) + .qualifiedName("qualifiedName") + .atlanTag(AtlanTag.of("String0")) + .atlanTag(AtlanTag.builder().typeName("String1").propagate(false).build()) + .customMetadata( + "String0", + CustomMetadataAttributes.builder() + .attribute("String0", 123.456) + .attribute("String1", true) + .build()) + .customMetadata( + "String1", + CustomMetadataAttributes.builder() + // Note: for equivalency this MUST be a Long (not an Integer), as deserialization + // will always produce a Long + .attribute("String0", 789L) + .attribute("String1", "AnotherString") + .build()) + .quickSightId("String0") + .quickSightSheetId("String0") + .quickSightSheetName("String0") + .catalogDatasetGuid("String0") + .name("String0") + .displayName("String0") + .description("String0") + .assetSourceReadme("String0") + .userDescription("String0") + .assetAiGeneratedDescription("String0") + .assetAiGeneratedDescriptionConfidence(123.456) + .assetAiGeneratedDescriptionReasoning("String0") + .tenantId("String0") + .certificateStatus(CertificateStatus.DEPRECATED) + .certificateStatusMessage("String0") + .certificateUpdatedBy("String0") + .certificateUpdatedAt(123456789L) + .announcementTitle("String0") + .announcementMessage("String0") + .announcementType(AtlanAnnouncementType.INFORMATION) + .announcementUpdatedAt(123456789L) + .announcementUpdatedBy("String0") + .assetAnnouncementExpiredAt(123456789L) + .ownerUser("String0") + .ownerUser("String1") + .ownerGroup("String0") + .ownerGroup("String1") + .adminUser("String0") + .adminUser("String1") + .adminGroup("String0") + .adminGroup("String1") + .viewerUser("String0") + .viewerUser("String1") + .viewerGroup("String0") + .viewerGroup("String1") + .connectorName("String0") + .connectionName("String0") + .connectionQualifiedName("String0") + .assetManagedBy("String0") + .hasLineage(true) + .isDiscoverable(true) + .isEditable(true) + .subType("String0") + .viewScore(123.456) + .popularityScore(123.456) + .sourceOwners("String0") + .assetSourceId("String0") + .sourceCreatedBy("String0") + .sourceCreatedAt(123456789L) + .sourceUpdatedAt(123456789L) + .sourceUpdatedBy("String0") + .sourceURL("String0") + .sourceEmbedURL("String0") + .lastSyncWorkflowName("String0") + .lastSyncRunAt(123456789L) + .lastSyncRun("String0") + .adminRole("String0") + .adminRole("String1") + .sourceReadCount(123456789L) + .sourceReadUserCount(123456789L) + .sourceLastReadAt(123456789L) + .lastRowChangedAt(123456789L) + .sourceTotalCost(123.456) + .sourceCostUnit(SourceCostUnitType.CREDITS) + .sourceReadQueryCost(123.456) + .sourceReadRecentUser("String0") + .sourceReadRecentUser("String1") + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadTopUser("String0") + .sourceReadTopUser("String1") + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceQueryComputeCost("String0") + .sourceQueryComputeCost("String1") + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .dbtQualifiedName("String0") + .assetDbtWorkflowLastUpdated("String0") + .assetDbtAlias("String0") + .assetDbtMeta("String0") + .assetDbtUniqueId("String0") + .assetDbtAccountName("String0") + .assetDbtProjectName("String0") + .assetDbtPackageName("String0") + .assetDbtJobName("String0") + .assetDbtJobSchedule("String0") + .assetDbtJobStatus("String0") + .assetDbtTestStatus("String0") + .assetDbtJobScheduleCronHumanized("String0") + .assetDbtJobLastRun(123456789L) + .assetDbtJobLastRunUrl("String0") + .assetDbtJobLastRunCreatedAt(123456789L) + .assetDbtJobLastRunUpdatedAt(123456789L) + .assetDbtJobLastRunDequedAt(123456789L) + .assetDbtJobLastRunStartedAt(123456789L) + .assetDbtJobLastRunTotalDuration("String0") + .assetDbtJobLastRunTotalDurationHumanized("String0") + .assetDbtJobLastRunQueuedDuration("String0") + .assetDbtJobLastRunQueuedDurationHumanized("String0") + .assetDbtJobLastRunRunDuration("String0") + .assetDbtJobLastRunRunDurationHumanized("String0") + .assetDbtJobLastRunGitBranch("String0") + .assetDbtJobLastRunGitSha("String0") + .assetDbtJobLastRunStatusMessage("String0") + .assetDbtJobLastRunOwnerThreadId("String0") + .assetDbtJobLastRunExecutedByThreadId("String0") + .assetDbtJobLastRunArtifactsSaved(true) + .assetDbtJobLastRunArtifactS3Path("String0") + .assetDbtJobLastRunHasDocsGenerated(true) + .assetDbtJobLastRunHasSourcesGenerated(true) + .assetDbtJobLastRunNotificationsSent(true) + .assetDbtJobNextRun(123456789L) + .assetDbtJobNextRunHumanized("String0") + .assetDbtEnvironmentName("String0") + .assetDbtEnvironmentDbtVersion("String0") + .assetDbtTag("String0") + .assetDbtTag("String1") + .assetDbtSemanticLayerProxyUrl("String0") + .assetDbtSourceFreshnessCriteria("String0") + .sampleDataUrl("String0") + .assetTag("String0") + .assetTag("String1") + .assetMcIncidentName("String0") + .assetMcIncidentName("String1") + .assetMcIncidentQualifiedName("String0") + .assetMcIncidentQualifiedName("String1") + .assetMcAlertQualifiedName("String0") + .assetMcAlertQualifiedName("String1") + .assetMcMonitorName("String0") + .assetMcMonitorName("String1") + .assetMcMonitorQualifiedName("String0") + .assetMcMonitorQualifiedName("String1") + .assetMcMonitorStatus("String0") + .assetMcMonitorStatus("String1") + .assetMcMonitorType("String0") + .assetMcMonitorType("String1") + .assetMcMonitorScheduleType("String0") + .assetMcMonitorScheduleType("String1") + .assetMcIncidentType("String0") + .assetMcIncidentType("String1") + .assetMcIncidentSubType("String0") + .assetMcIncidentSubType("String1") + .assetMcIncidentSeverity("String0") + .assetMcIncidentSeverity("String1") + .assetMcIncidentPriority("String0") + .assetMcIncidentPriority("String1") + .assetMcIncidentState("String0") + .assetMcIncidentState("String1") + .assetMcIsMonitored(true) + .assetMcLastSyncRunAt(123456789L) + .addStarredBy("String0") + .addStarredBy("String1") + .starredDetail(StarredDetails.builder() + .assetStarredBy("String0") + .assetStarredAt(123456789L) + .build()) + .starredDetail(StarredDetails.builder() + .assetStarredBy("String1") + .assetStarredAt(987654321L) + .build()) + .starredCount(123) + .assetAnomaloDQStatus("String0") + .assetAnomaloCheckCount(123456789L) + .assetAnomaloFailedCheckCount(123456789L) + .assetAnomaloCheckStatuses("String0") + .assetAnomaloLastCheckRunAt(123456789L) + .assetAnomaloAppliedCheckType("String0") + .assetAnomaloAppliedCheckType("String1") + .assetAnomaloFailedCheckType("String0") + .assetAnomaloFailedCheckType("String1") + .assetAnomaloSourceUrl("String0") + .assetSodaDQStatus("String0") + .assetSodaCheckCount(123456789L) + .assetSodaLastSyncRunAt(123456789L) + .assetSodaLastScanAt(123456789L) + .assetSodaCheckStatuses("String0") + .assetSodaSourceURL("String0") + .assetIcon(AtlanIcon.ATLAN_TAG) + .assetSummaryProvider(AssetSummaryProvider.builder() + .assetSummaryProviderName("String0") + .assetSummaryProviderUrl("String0") + .build()) + .assetSummary("String0") + .assetSummaryFilterToken("String0") + .assetSummaryFilterToken("String1") + .assetExternalDQScoreValue(123.456) + .assetExternalDQTestEntity("String0") + .assetExternalDQTestEntity("String1") + .assetExternalDQTestLatestScore(123.456) + .assetExternalDQTestLatestScore(654.321) + .assetExternalDQTestAvgScore(123.456) + .assetExternalDQTestAvgScore(654.321) + .assetExternalDQTestMinScore(123.456) + .assetExternalDQTestMinScore(654.321) + .assetExternalDQMetadataDetail( + "String0", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String0") + .assetExternalDQSourceLogo("String0") + .assetExternalDQSourceURL("String0") + .assetExternalDQLastSyncRunAt(123456789L) + .assetExternalDQTestEntityTypeName("String0") + .assetExternalDQTestEntityName("String0") + .assetExternalDQTestTotalCount(123) + .assetExternalDQTestLastRunSuccessCount(123) + .assetExternalDQTestLastRunFailureCount(123) + .assetExternalDQTestLastRunTotalRulesCount(123456789L) + .assetExternalDQTestLastRunSuccessRulesCount(123456789L) + .assetExternalDQTestLastRunFailureRulesCount(123456789L) + .assetExternalDQOverallScoreValue("String0") + .assetExternalDQOverallScoreType("String0") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(123456789L) + .assetExternalDQTestStatsByCategory(Map.of( + "String0", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String0", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(123) + .build())) + .build())) + .build()) + .build()) + .assetExternalDQMetadataDetail( + "String1", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String1") + .assetExternalDQSourceLogo("String1") + .assetExternalDQSourceURL("String1") + .assetExternalDQLastSyncRunAt(987654321L) + .assetExternalDQTestEntityTypeName("String1") + .assetExternalDQTestEntityName("String1") + .assetExternalDQTestTotalCount(456) + .assetExternalDQTestLastRunSuccessCount(456) + .assetExternalDQTestLastRunFailureCount(456) + .assetExternalDQTestLastRunTotalRulesCount(987654321L) + .assetExternalDQTestLastRunSuccessRulesCount(987654321L) + .assetExternalDQTestLastRunFailureRulesCount(987654321L) + .assetExternalDQOverallScoreValue("String1") + .assetExternalDQOverallScoreType("String1") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(987654321L) + .assetExternalDQTestStatsByCategory(Map.of( + "String1", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String1", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(456) + .build())) + .build())) + .build()) + .build()) + .isPartial(true) + .isAIGenerated(true) + .assetCoverImage("String0") + .assetThemeHex("String0") + .lexicographicalSortOrder("String0") + .hasContract(true) + .assetRedirectGUID("String0") + .assetRedirectGUID("String1") + .assetPolicyGUID("String0") + .assetPolicyGUID("String1") + .assetPoliciesCount(123456789L) + .domainGUID("String0") + .domainGUID("String1") + .nonCompliantAssetPolicyGUID("String0") + .nonCompliantAssetPolicyGUID("String1") + .productGUID("String0") + .productGUID("String1") + .outputProductGUID("String0") + .outputProductGUID("String1") + .applicationQualifiedName("String0") + .applicationFieldQualifiedName("String0") + .assetUserDefinedType("String0") + .assetInternalPopularityScore(123.456) + .assetDQScheduleType(DataQualityScheduleType.ON_DATA_CHANGE) + .assetDQScheduleCrontab("String0") + .assetDQScheduleTimeZone("String0") + .assetDQScheduleSourceSyncStatus(DataQualitySourceSyncStatus.SUCCESSFUL) + .assetDQScheduleSourceSyncedAt(123456789L) + .assetDQScheduleSourceSyncErrorMessage("String0") + .assetDQScheduleSourceSyncErrorCode("String0") + .assetDQScheduleSourceSyncRawError("String0") + .assetDQRuleAttachedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleAttachedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleFailedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleFailedDimension(DataQualityDimension.TIMELINESS) + .assetDQRulePassedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRulePassedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleAttachedRuleType("String0") + .assetDQRuleAttachedRuleType("String1") + .assetDQRuleFailedRuleType("String0") + .assetDQRuleFailedRuleType("String1") + .assetDQRulePassedRuleType("String0") + .assetDQRulePassedRuleType("String1") + .assetDQRuleResultTag("String0") + .assetDQRuleResultTag("String1") + .assetDQRuleLastRunAt(123456789L) + .assetDQManualRunStatus(AssetDQRunStatus.SUCCESSFUL) + .assetDQRuleTotalCount(123456789L) + .assetDQRuleFailedCount(123456789L) + .assetDQRulePassedCount(123456789L) + .assetDQResult(DataQualityResult.PASS) + .assetDQFreshnessValue(123456789L) + .assetDQFreshnessExpectation(123456789L) + .assetDQRowScopeFilterColumnQualifiedName("String0") + .assetSpaceQualifiedName("String0") + .assetSpaceName("String0") + .assetImmutaRequestUrl("String0") + .assetImmutaRequestType("String0") + .assetGCPDataplexMetadataDetails(AssetGCPDataplexMetadata.builder() + .assetGCPDataplexLastSyncRunAt(123456789L) + .assetGCPDataplexEntryName("String0") + .assetGCPDataplexAspectDetails(Map.of( + "String0", + AssetGCPDataplexAspectMetadata.builder() + .assetGCPDataplexAspectFullName("String0") + .assetGCPDataplexAspectDisplayName("String0") + .assetGCPDataplexAspectType("String0") + .assetGCPDataplexAspectTypeLabels(Map.of("String0", "String0")) + .assetGCPDataplexAspectCreatedAt(123456789L) + .assetGCPDataplexAspectUpdatedAt(123456789L) + .assetGCPDataplexAspectFields(Map.of("String0", "String0")) + .build())) + .build()) + .addAssetGCPDataplexAspect("String0") + .addAssetGCPDataplexAspect("String1") + .addAssetGCPDataplexAspectField("String0") + .addAssetGCPDataplexAspectField("String1") + .assetSmusMetadataFormName("String0") + .assetSmusMetadataFormName("String1") + .assetSmusMetadataFormKeyValueDetail("String0") + .assetSmusMetadataFormKeyValueDetail("String1") + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String0") + .assetMetadataFormDescription("String0") + .assetMetadataFormDomainId("String0") + .assetMetadataFormProjectId("String0") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.ENABLED) + .assetMetadataFormRevision("String0") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String1") + .assetMetadataFormDescription("String1") + .assetMetadataFormDomainId("String1") + .assetMetadataFormProjectId("String1") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.DISABLED) + .assetMetadataFormRevision("String1") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .addAssetAiAlias("String0") + .addAssetAiAlias("String1") + .assetHasAiReadme(true) + .quickSightAnalysisVisualQualifiedName("String0") + .quickSightAnalysisQualifiedName("String0") + .quickSightAnalysisFieldExpression("String0") + .quickSightAnalysisFieldDataSetIdentifier("String0") + .quickSightAnalysisVisual(QuickSightAnalysisVisual.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .anomaloCheck(AnomaloCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .application(Application.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .applicationField(ApplicationField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatest(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatestCertified(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceDatasetRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .file(File.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .file(File.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .link(Link.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .link(Link.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcIncident(MCIncident.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcIncident(MCIncident.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcMonitor(MCMonitor.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcMonitor(MCMonitor.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .metric(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metric(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .readme(Readme.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject(SchemaRegistrySubject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject( + SchemaRegistrySubject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sodaCheck(SodaCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sodaCheck(SodaCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipFrom(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipFrom( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipTo(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipTo( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .build(); + + @BeforeClass + void init() throws InterruptedException { + MockAtlanTenant.initializeClient(); + } + + @Test + void serdeCycleQuickSightAnalysisField() throws IOException { + assertNotNull(full, "Unable to build sample instance of QuickSightAnalysisField,"); + final int hash = full.hashCode(); + // Builder equivalency + assertEquals( + full.toBuilder().build(), + full, + "Unable to converting QuickSightAnalysisField via builder back to its original state,"); + // Serialization + final String serialized = full.toJson(MockAtlanTenant.client); + assertNotNull(serialized, "Unable to serialize sample instance of QuickSightAnalysisField,"); + assertEquals(full.hashCode(), hash, "Serialization mutated the original value,"); + // Deserialization + final QuickSightAnalysisField frodo = + MockAtlanTenant.client.readValue(serialized, QuickSightAnalysisField.class); + assertNotNull( + frodo, "Unable to reverse-read serialized value back into an instance of QuickSightAnalysisField,"); + // Serialized equivalency + String backAgain = frodo.toJson(MockAtlanTenant.client); + assertEquals(backAgain, serialized, "Serialization is not equivalent after serde loop,"); + // Deserialized equivalency + assertEquals(frodo, full, "Deserialization is not equivalent after serde loop,"); + } +} diff --git a/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisTest.java b/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisTest.java index 8eb4e1ed0d..01323a1082 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisTest.java @@ -98,6 +98,7 @@ public class QuickSightAnalysisTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisVisualTest.java b/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisVisualTest.java index 10af720353..a73137e116 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisVisualTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QuickSightAnalysisVisualTest.java @@ -98,6 +98,7 @@ public class QuickSightAnalysisVisualTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1144,6 +1145,9 @@ public class QuickSightAnalysisVisualTest { .assetHasAiReadme(true) .quickSightAnalysisQualifiedName("String0") .quickSightAnalysis(QuickSightAnalysis.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .quickSightAnalysisField(QuickSightAnalysisField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .quickSightAnalysisField( + QuickSightAnalysisField.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/QuickSightDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/QuickSightDashboardTest.java index ed71cef7ec..736bdfb1fa 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QuickSightDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QuickSightDashboardTest.java @@ -98,6 +98,7 @@ public class QuickSightDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QuickSightDashboardVisualTest.java b/sdk/src/test/java/com/atlan/model/assets/QuickSightDashboardVisualTest.java index b1e048e070..3cfd9d869e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QuickSightDashboardVisualTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QuickSightDashboardVisualTest.java @@ -98,6 +98,7 @@ public class QuickSightDashboardVisualTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QuickSightDatasetFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/QuickSightDatasetFieldTest.java index cc88dad475..eb38257ef8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QuickSightDatasetFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QuickSightDatasetFieldTest.java @@ -98,6 +98,7 @@ public class QuickSightDatasetFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QuickSightDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/QuickSightDatasetTest.java index 82d3bdbfed..5842af608c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QuickSightDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QuickSightDatasetTest.java @@ -98,6 +98,7 @@ public class QuickSightDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/QuickSightFolderTest.java b/sdk/src/test/java/com/atlan/model/assets/QuickSightFolderTest.java index c58155f9e9..099e4ddb84 100644 --- a/sdk/src/test/java/com/atlan/model/assets/QuickSightFolderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/QuickSightFolderTest.java @@ -98,6 +98,7 @@ public class QuickSightFolderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ReadmeTemplateTest.java b/sdk/src/test/java/com/atlan/model/assets/ReadmeTemplateTest.java index 7208248705..d8bdb24af8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ReadmeTemplateTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ReadmeTemplateTest.java @@ -100,6 +100,7 @@ public class ReadmeTemplateTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ReadmeTest.java b/sdk/src/test/java/com/atlan/model/assets/ReadmeTest.java index 41cf71a368..9ae11cdd27 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ReadmeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ReadmeTest.java @@ -100,6 +100,7 @@ public class ReadmeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/RedashDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/RedashDashboardTest.java index 7326f2fa41..33d8047381 100644 --- a/sdk/src/test/java/com/atlan/model/assets/RedashDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/RedashDashboardTest.java @@ -96,6 +96,7 @@ public class RedashDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/RedashQueryTest.java b/sdk/src/test/java/com/atlan/model/assets/RedashQueryTest.java index 5f57016dff..00f6f5b5a3 100644 --- a/sdk/src/test/java/com/atlan/model/assets/RedashQueryTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/RedashQueryTest.java @@ -96,6 +96,7 @@ public class RedashQueryTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/RedashVisualizationTest.java b/sdk/src/test/java/com/atlan/model/assets/RedashVisualizationTest.java index 2a07769b9d..642eec388a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/RedashVisualizationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/RedashVisualizationTest.java @@ -96,6 +96,7 @@ public class RedashVisualizationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/S3BucketTest.java b/sdk/src/test/java/com/atlan/model/assets/S3BucketTest.java index 50eba25d5f..d58ba4f95f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/S3BucketTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/S3BucketTest.java @@ -100,6 +100,7 @@ public class S3BucketTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/S3ObjectTest.java b/sdk/src/test/java/com/atlan/model/assets/S3ObjectTest.java index 5331c5d2fd..cf6a9685c9 100644 --- a/sdk/src/test/java/com/atlan/model/assets/S3ObjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/S3ObjectTest.java @@ -100,6 +100,7 @@ public class S3ObjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/S3PrefixTest.java b/sdk/src/test/java/com/atlan/model/assets/S3PrefixTest.java index 0037e3e257..9d0fa93d17 100644 --- a/sdk/src/test/java/com/atlan/model/assets/S3PrefixTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/S3PrefixTest.java @@ -100,6 +100,7 @@ public class S3PrefixTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWADSOFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWADSOFieldTest.java index 62fa779612..c6d6149bc8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWADSOFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWADSOFieldTest.java @@ -108,6 +108,7 @@ public class SAPBWADSOFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWADSOTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWADSOTest.java index 62624942e5..0831e56cef 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWADSOTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWADSOTest.java @@ -109,6 +109,7 @@ public class SAPBWADSOTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWCompositeProviderFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWCompositeProviderFieldTest.java index 506a142a43..f66e255cb0 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWCompositeProviderFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWCompositeProviderFieldTest.java @@ -108,6 +108,7 @@ public class SAPBWCompositeProviderFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWCompositeProviderTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWCompositeProviderTest.java index 7a303a8325..bba8bbfa25 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWCompositeProviderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWCompositeProviderTest.java @@ -108,6 +108,7 @@ public class SAPBWCompositeProviderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWDTPTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWDTPTest.java index ebc3eab62b..94ce509eb0 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWDTPTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWDTPTest.java @@ -108,6 +108,7 @@ public class SAPBWDTPTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWDataSourceFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWDataSourceFieldTest.java index 1f32454165..4f2a3b354c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWDataSourceFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWDataSourceFieldTest.java @@ -108,6 +108,7 @@ public class SAPBWDataSourceFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWDataSourceTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWDataSourceTest.java index 51405d98c8..12edd4962a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWDataSourceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWDataSourceTest.java @@ -108,6 +108,7 @@ public class SAPBWDataSourceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoAreaTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoAreaTest.java index 1713f0b669..63c1d9e3c9 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoAreaTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoAreaTest.java @@ -108,6 +108,7 @@ public class SAPBWInfoAreaTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoObjectTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoObjectTest.java index cd0f8d1e98..bfede0969e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoObjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoObjectTest.java @@ -108,6 +108,7 @@ public class SAPBWInfoObjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoSourceFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoSourceFieldTest.java index fed1338a5e..eae59927a0 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoSourceFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoSourceFieldTest.java @@ -108,6 +108,7 @@ public class SAPBWInfoSourceFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoSourceTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoSourceTest.java index 93bcf3e190..417c9c0a7f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoSourceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWInfoSourceTest.java @@ -108,6 +108,7 @@ public class SAPBWInfoSourceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWQueryElementTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWQueryElementTest.java index ebd610fa1e..5cee71bfa2 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWQueryElementTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWQueryElementTest.java @@ -108,6 +108,7 @@ public class SAPBWQueryElementTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWQueryTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWQueryTest.java index 24d5d79bef..e448bcdb8d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWQueryTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWQueryTest.java @@ -108,6 +108,7 @@ public class SAPBWQueryTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPBWTransformationTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPBWTransformationTest.java index 5a6a42cece..1c11ccb57d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPBWTransformationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPBWTransformationTest.java @@ -108,6 +108,7 @@ public class SAPBWTransformationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPColumnProcessTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPColumnProcessTest.java index c56bb9fc24..3a2cd81812 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPColumnProcessTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPColumnProcessTest.java @@ -102,6 +102,7 @@ public class SAPColumnProcessTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1154,9 +1155,12 @@ public class SAPColumnProcessTest { .additionalEtlContext("String0") .aiDatasetType(AIDatasetType.TRAINING) .isPassThrough(true) + .processDerivation(ProcessLineageDerivation.STATIC) .adfActivity(AdfActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .bigqueryRoutine(BigqueryRoutine.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryRoutine(BigqueryRoutine.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fabricActivity(FabricActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .fabricActivity(FabricActivity.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fivetranConnector(FivetranConnector.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/SAPProcessTest.java b/sdk/src/test/java/com/atlan/model/assets/SAPProcessTest.java index a13edc90ef..8ba24f6da2 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SAPProcessTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SAPProcessTest.java @@ -102,6 +102,7 @@ public class SAPProcessTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1154,9 +1155,12 @@ public class SAPProcessTest { .additionalEtlContext("String0") .aiDatasetType(AIDatasetType.TRAINING) .isPassThrough(true) + .processDerivation(ProcessLineageDerivation.STATIC) .adfActivity(AdfActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .airflowTask(AirflowTask.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .bigqueryRoutine(BigqueryRoutine.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryRoutine(BigqueryRoutine.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fabricActivity(FabricActivity.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .fabricActivity(FabricActivity.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .fivetranConnector(FivetranConnector.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/SSRSDataSetTest.java b/sdk/src/test/java/com/atlan/model/assets/SSRSDataSetTest.java index 8972171ee1..db4d08b8fa 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SSRSDataSetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SSRSDataSetTest.java @@ -109,6 +109,7 @@ public class SSRSDataSetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SSRSFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/SSRSFieldTest.java index 721f513f32..763ebf423d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SSRSFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SSRSFieldTest.java @@ -109,6 +109,7 @@ public class SSRSFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SSRSFolderTest.java b/sdk/src/test/java/com/atlan/model/assets/SSRSFolderTest.java index f2678051f7..8eb5a836a8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SSRSFolderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SSRSFolderTest.java @@ -109,6 +109,7 @@ public class SSRSFolderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SSRSReportTest.java b/sdk/src/test/java/com/atlan/model/assets/SSRSReportTest.java index 299c975014..5e4cb9ec1c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SSRSReportTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SSRSReportTest.java @@ -109,6 +109,7 @@ public class SSRSReportTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SageMakerFeatureGroupTest.java b/sdk/src/test/java/com/atlan/model/assets/SageMakerFeatureGroupTest.java index f5ead2336c..b6e8e6279b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SageMakerFeatureGroupTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SageMakerFeatureGroupTest.java @@ -103,6 +103,7 @@ public class SageMakerFeatureGroupTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SageMakerFeatureTest.java b/sdk/src/test/java/com/atlan/model/assets/SageMakerFeatureTest.java index 7a02757ebf..f49c67bdd5 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SageMakerFeatureTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SageMakerFeatureTest.java @@ -103,6 +103,7 @@ public class SageMakerFeatureTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SageMakerModelDeploymentTest.java b/sdk/src/test/java/com/atlan/model/assets/SageMakerModelDeploymentTest.java index e4421f0f2e..66ee7dcf60 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SageMakerModelDeploymentTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SageMakerModelDeploymentTest.java @@ -103,6 +103,7 @@ public class SageMakerModelDeploymentTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SageMakerModelGroupTest.java b/sdk/src/test/java/com/atlan/model/assets/SageMakerModelGroupTest.java index e9f84e777c..697974963a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SageMakerModelGroupTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SageMakerModelGroupTest.java @@ -103,6 +103,7 @@ public class SageMakerModelGroupTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SageMakerModelTest.java b/sdk/src/test/java/com/atlan/model/assets/SageMakerModelTest.java index 7e62b9bd9a..5ec485ffa9 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SageMakerModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SageMakerModelTest.java @@ -103,6 +103,7 @@ public class SageMakerModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioAssetSchemaTest.java b/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioAssetSchemaTest.java index 7cc2bd3adf..f0d2ae7bfe 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioAssetSchemaTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioAssetSchemaTest.java @@ -101,6 +101,7 @@ public class SageMakerUnifiedStudioAssetSchemaTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioAssetTest.java b/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioAssetTest.java index e3d5a8f6ef..e991d134bd 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioAssetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioAssetTest.java @@ -101,6 +101,7 @@ public class SageMakerUnifiedStudioAssetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioProjectTest.java b/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioProjectTest.java index ea85e924d4..0baeff1b9e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioProjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioProjectTest.java @@ -101,6 +101,7 @@ public class SageMakerUnifiedStudioProjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1152,10 +1153,12 @@ public class SageMakerUnifiedStudioProjectTest { .smusProjectSsoUser(SageMakerUnifiedStudioSsoUser.builder() .smusSsoUserEmail("String0") .smusSsoUserRole("String0") + .smusSsoUserFullName("String0") .build()) .smusProjectSsoUser(SageMakerUnifiedStudioSsoUser.builder() .smusSsoUserEmail("String1") .smusSsoUserRole("String1") + .smusSsoUserFullName("String1") .build()) .smusPublishedAsset(SageMakerUnifiedStudioPublishedAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .smusPublishedAsset(SageMakerUnifiedStudioPublishedAsset.refByQualifiedName( diff --git a/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioPublishedAssetTest.java b/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioPublishedAssetTest.java index b500a10e0c..c83afa7259 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioPublishedAssetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioPublishedAssetTest.java @@ -101,6 +101,7 @@ public class SageMakerUnifiedStudioPublishedAssetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1151,6 +1152,7 @@ public class SageMakerUnifiedStudioPublishedAssetTest { .smusAssetRevision("String0") .smusAssetSourceIdentifier("String0") .smusPublishedAssetSubscriptionsCount(123456789L) + .smusPublishedAssetFilters("String0") .smusProject(SageMakerUnifiedStudioProject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .smusAssetSchema(SageMakerUnifiedStudioAssetSchema.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .smusAssetSchema(SageMakerUnifiedStudioAssetSchema.refByQualifiedName( diff --git a/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioSubscribedAssetTest.java b/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioSubscribedAssetTest.java index 71348d1e36..0f123f05d4 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioSubscribedAssetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SageMakerUnifiedStudioSubscribedAssetTest.java @@ -101,6 +101,7 @@ public class SageMakerUnifiedStudioSubscribedAssetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SalesforceDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/SalesforceDashboardTest.java index 5a159ace23..5fd0c21393 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SalesforceDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SalesforceDashboardTest.java @@ -97,6 +97,7 @@ public class SalesforceDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SalesforceFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/SalesforceFieldTest.java index ea70768e73..3bbe40f9e9 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SalesforceFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SalesforceFieldTest.java @@ -97,6 +97,7 @@ public class SalesforceFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SalesforceObjectTest.java b/sdk/src/test/java/com/atlan/model/assets/SalesforceObjectTest.java index ef287a5380..5e9a30e783 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SalesforceObjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SalesforceObjectTest.java @@ -97,6 +97,7 @@ public class SalesforceObjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SalesforceOrganizationTest.java b/sdk/src/test/java/com/atlan/model/assets/SalesforceOrganizationTest.java index ec2aa3facf..a377a62aa9 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SalesforceOrganizationTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SalesforceOrganizationTest.java @@ -97,6 +97,7 @@ public class SalesforceOrganizationTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SalesforceReportTest.java b/sdk/src/test/java/com/atlan/model/assets/SalesforceReportTest.java index b452970e3b..665f61508a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SalesforceReportTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SalesforceReportTest.java @@ -97,6 +97,7 @@ public class SalesforceReportTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudColumnTest.java new file mode 100644 index 0000000000..f656c27562 --- /dev/null +++ b/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudColumnTest.java @@ -0,0 +1,1414 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import static org.testng.Assert.*; + +import com.atlan.mock.MockAtlanTenant; +import com.atlan.model.core.AtlanTag; +import com.atlan.model.core.CustomMetadataAttributes; +import com.atlan.model.enums.*; +import com.atlan.model.structs.*; +import java.io.IOException; +import java.util.*; +import javax.annotation.processing.Generated; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@SuppressWarnings("deprecation") +public class SapAnalyticsCloudColumnTest { + + private final SapAnalyticsCloudColumn full = SapAnalyticsCloudColumn._internal() + .guid("guid") + .displayText("displayText") + .status(AtlanStatus.ACTIVE) + .createdBy("createdBy") + .updatedBy("updatedBy") + .createTime(123456789L) + .updateTime(123456789L) + .isIncomplete(false) + .deleteHandler("SOFT") + .meaningNames(Set.of("meaningName1", "meaningName2")) + .meanings(Set.of( + Meaning.builder() + .termGuid("termGuid1") + .relationGuid("relationGuid1") + .displayText("displayText1") + .confidence(100) + .build(), + Meaning.builder() + .termGuid("termGuid2") + .relationGuid("relationGuid2") + .displayText("displayText2") + .confidence(100) + .build())) + .qualifiedName("qualifiedName") + .atlanTag(AtlanTag.of("String0")) + .atlanTag(AtlanTag.builder().typeName("String1").propagate(false).build()) + .customMetadata( + "String0", + CustomMetadataAttributes.builder() + .attribute("String0", 123.456) + .attribute("String1", true) + .build()) + .customMetadata( + "String1", + CustomMetadataAttributes.builder() + // Note: for equivalency this MUST be a Long (not an Integer), as deserialization + // will always produce a Long + .attribute("String0", 789L) + .attribute("String1", "AnotherString") + .build()) + .sapAnalyticsCloudResourceId("String0") + .sapAnalyticsCloudObjectId("String0") + .sapAnalyticsCloudRepositoryPartition("String0") + .sapAnalyticsCloudWorkspaceId("String0") + .sapAnalyticsCloudWorkspaceName("String0") + .sapAnalyticsCloudParentFolderQualifiedName("String0") + .sapAnalyticsCloudParentFolderName("String0") + .sapTechnicalName("String0") + .sapLogicalName("String0") + .sapPackageName("String0") + .sapComponentName("String0") + .sapDataType("String0") + .sapFieldCount(123456789L) + .sapFieldOrder(123) + .catalogDatasetGuid("String0") + .name("String0") + .displayName("String0") + .description("String0") + .assetSourceReadme("String0") + .userDescription("String0") + .assetAiGeneratedDescription("String0") + .assetAiGeneratedDescriptionConfidence(123.456) + .assetAiGeneratedDescriptionReasoning("String0") + .tenantId("String0") + .certificateStatus(CertificateStatus.DEPRECATED) + .certificateStatusMessage("String0") + .certificateUpdatedBy("String0") + .certificateUpdatedAt(123456789L) + .announcementTitle("String0") + .announcementMessage("String0") + .announcementType(AtlanAnnouncementType.INFORMATION) + .announcementUpdatedAt(123456789L) + .announcementUpdatedBy("String0") + .assetAnnouncementExpiredAt(123456789L) + .ownerUser("String0") + .ownerUser("String1") + .ownerGroup("String0") + .ownerGroup("String1") + .adminUser("String0") + .adminUser("String1") + .adminGroup("String0") + .adminGroup("String1") + .viewerUser("String0") + .viewerUser("String1") + .viewerGroup("String0") + .viewerGroup("String1") + .connectorName("String0") + .connectionName("String0") + .connectionQualifiedName("String0") + .assetManagedBy("String0") + .hasLineage(true) + .isDiscoverable(true) + .isEditable(true) + .subType("String0") + .viewScore(123.456) + .popularityScore(123.456) + .sourceOwners("String0") + .assetSourceId("String0") + .sourceCreatedBy("String0") + .sourceCreatedAt(123456789L) + .sourceUpdatedAt(123456789L) + .sourceUpdatedBy("String0") + .sourceURL("String0") + .sourceEmbedURL("String0") + .lastSyncWorkflowName("String0") + .lastSyncRunAt(123456789L) + .lastSyncRun("String0") + .adminRole("String0") + .adminRole("String1") + .sourceReadCount(123456789L) + .sourceReadUserCount(123456789L) + .sourceLastReadAt(123456789L) + .lastRowChangedAt(123456789L) + .sourceTotalCost(123.456) + .sourceCostUnit(SourceCostUnitType.CREDITS) + .sourceReadQueryCost(123.456) + .sourceReadRecentUser("String0") + .sourceReadRecentUser("String1") + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadTopUser("String0") + .sourceReadTopUser("String1") + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceQueryComputeCost("String0") + .sourceQueryComputeCost("String1") + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .dbtQualifiedName("String0") + .assetDbtWorkflowLastUpdated("String0") + .assetDbtAlias("String0") + .assetDbtMeta("String0") + .assetDbtUniqueId("String0") + .assetDbtAccountName("String0") + .assetDbtProjectName("String0") + .assetDbtPackageName("String0") + .assetDbtJobName("String0") + .assetDbtJobSchedule("String0") + .assetDbtJobStatus("String0") + .assetDbtTestStatus("String0") + .assetDbtJobScheduleCronHumanized("String0") + .assetDbtJobLastRun(123456789L) + .assetDbtJobLastRunUrl("String0") + .assetDbtJobLastRunCreatedAt(123456789L) + .assetDbtJobLastRunUpdatedAt(123456789L) + .assetDbtJobLastRunDequedAt(123456789L) + .assetDbtJobLastRunStartedAt(123456789L) + .assetDbtJobLastRunTotalDuration("String0") + .assetDbtJobLastRunTotalDurationHumanized("String0") + .assetDbtJobLastRunQueuedDuration("String0") + .assetDbtJobLastRunQueuedDurationHumanized("String0") + .assetDbtJobLastRunRunDuration("String0") + .assetDbtJobLastRunRunDurationHumanized("String0") + .assetDbtJobLastRunGitBranch("String0") + .assetDbtJobLastRunGitSha("String0") + .assetDbtJobLastRunStatusMessage("String0") + .assetDbtJobLastRunOwnerThreadId("String0") + .assetDbtJobLastRunExecutedByThreadId("String0") + .assetDbtJobLastRunArtifactsSaved(true) + .assetDbtJobLastRunArtifactS3Path("String0") + .assetDbtJobLastRunHasDocsGenerated(true) + .assetDbtJobLastRunHasSourcesGenerated(true) + .assetDbtJobLastRunNotificationsSent(true) + .assetDbtJobNextRun(123456789L) + .assetDbtJobNextRunHumanized("String0") + .assetDbtEnvironmentName("String0") + .assetDbtEnvironmentDbtVersion("String0") + .assetDbtTag("String0") + .assetDbtTag("String1") + .assetDbtSemanticLayerProxyUrl("String0") + .assetDbtSourceFreshnessCriteria("String0") + .sampleDataUrl("String0") + .assetTag("String0") + .assetTag("String1") + .assetMcIncidentName("String0") + .assetMcIncidentName("String1") + .assetMcIncidentQualifiedName("String0") + .assetMcIncidentQualifiedName("String1") + .assetMcAlertQualifiedName("String0") + .assetMcAlertQualifiedName("String1") + .assetMcMonitorName("String0") + .assetMcMonitorName("String1") + .assetMcMonitorQualifiedName("String0") + .assetMcMonitorQualifiedName("String1") + .assetMcMonitorStatus("String0") + .assetMcMonitorStatus("String1") + .assetMcMonitorType("String0") + .assetMcMonitorType("String1") + .assetMcMonitorScheduleType("String0") + .assetMcMonitorScheduleType("String1") + .assetMcIncidentType("String0") + .assetMcIncidentType("String1") + .assetMcIncidentSubType("String0") + .assetMcIncidentSubType("String1") + .assetMcIncidentSeverity("String0") + .assetMcIncidentSeverity("String1") + .assetMcIncidentPriority("String0") + .assetMcIncidentPriority("String1") + .assetMcIncidentState("String0") + .assetMcIncidentState("String1") + .assetMcIsMonitored(true) + .assetMcLastSyncRunAt(123456789L) + .addStarredBy("String0") + .addStarredBy("String1") + .starredDetail(StarredDetails.builder() + .assetStarredBy("String0") + .assetStarredAt(123456789L) + .build()) + .starredDetail(StarredDetails.builder() + .assetStarredBy("String1") + .assetStarredAt(987654321L) + .build()) + .starredCount(123) + .assetAnomaloDQStatus("String0") + .assetAnomaloCheckCount(123456789L) + .assetAnomaloFailedCheckCount(123456789L) + .assetAnomaloCheckStatuses("String0") + .assetAnomaloLastCheckRunAt(123456789L) + .assetAnomaloAppliedCheckType("String0") + .assetAnomaloAppliedCheckType("String1") + .assetAnomaloFailedCheckType("String0") + .assetAnomaloFailedCheckType("String1") + .assetAnomaloSourceUrl("String0") + .assetSodaDQStatus("String0") + .assetSodaCheckCount(123456789L) + .assetSodaLastSyncRunAt(123456789L) + .assetSodaLastScanAt(123456789L) + .assetSodaCheckStatuses("String0") + .assetSodaSourceURL("String0") + .assetIcon(AtlanIcon.ATLAN_TAG) + .assetSummaryProvider(AssetSummaryProvider.builder() + .assetSummaryProviderName("String0") + .assetSummaryProviderUrl("String0") + .build()) + .assetSummary("String0") + .assetSummaryFilterToken("String0") + .assetSummaryFilterToken("String1") + .assetExternalDQScoreValue(123.456) + .assetExternalDQTestEntity("String0") + .assetExternalDQTestEntity("String1") + .assetExternalDQTestLatestScore(123.456) + .assetExternalDQTestLatestScore(654.321) + .assetExternalDQTestAvgScore(123.456) + .assetExternalDQTestAvgScore(654.321) + .assetExternalDQTestMinScore(123.456) + .assetExternalDQTestMinScore(654.321) + .assetExternalDQMetadataDetail( + "String0", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String0") + .assetExternalDQSourceLogo("String0") + .assetExternalDQSourceURL("String0") + .assetExternalDQLastSyncRunAt(123456789L) + .assetExternalDQTestEntityTypeName("String0") + .assetExternalDQTestEntityName("String0") + .assetExternalDQTestTotalCount(123) + .assetExternalDQTestLastRunSuccessCount(123) + .assetExternalDQTestLastRunFailureCount(123) + .assetExternalDQTestLastRunTotalRulesCount(123456789L) + .assetExternalDQTestLastRunSuccessRulesCount(123456789L) + .assetExternalDQTestLastRunFailureRulesCount(123456789L) + .assetExternalDQOverallScoreValue("String0") + .assetExternalDQOverallScoreType("String0") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(123456789L) + .assetExternalDQTestStatsByCategory(Map.of( + "String0", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String0", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(123) + .build())) + .build())) + .build()) + .build()) + .assetExternalDQMetadataDetail( + "String1", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String1") + .assetExternalDQSourceLogo("String1") + .assetExternalDQSourceURL("String1") + .assetExternalDQLastSyncRunAt(987654321L) + .assetExternalDQTestEntityTypeName("String1") + .assetExternalDQTestEntityName("String1") + .assetExternalDQTestTotalCount(456) + .assetExternalDQTestLastRunSuccessCount(456) + .assetExternalDQTestLastRunFailureCount(456) + .assetExternalDQTestLastRunTotalRulesCount(987654321L) + .assetExternalDQTestLastRunSuccessRulesCount(987654321L) + .assetExternalDQTestLastRunFailureRulesCount(987654321L) + .assetExternalDQOverallScoreValue("String1") + .assetExternalDQOverallScoreType("String1") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(987654321L) + .assetExternalDQTestStatsByCategory(Map.of( + "String1", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String1", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(456) + .build())) + .build())) + .build()) + .build()) + .isPartial(true) + .isAIGenerated(true) + .assetCoverImage("String0") + .assetThemeHex("String0") + .lexicographicalSortOrder("String0") + .hasContract(true) + .assetRedirectGUID("String0") + .assetRedirectGUID("String1") + .assetPolicyGUID("String0") + .assetPolicyGUID("String1") + .assetPoliciesCount(123456789L) + .domainGUID("String0") + .domainGUID("String1") + .nonCompliantAssetPolicyGUID("String0") + .nonCompliantAssetPolicyGUID("String1") + .productGUID("String0") + .productGUID("String1") + .outputProductGUID("String0") + .outputProductGUID("String1") + .applicationQualifiedName("String0") + .applicationFieldQualifiedName("String0") + .assetUserDefinedType("String0") + .assetInternalPopularityScore(123.456) + .assetDQScheduleType(DataQualityScheduleType.ON_DATA_CHANGE) + .assetDQScheduleCrontab("String0") + .assetDQScheduleTimeZone("String0") + .assetDQScheduleSourceSyncStatus(DataQualitySourceSyncStatus.SUCCESSFUL) + .assetDQScheduleSourceSyncedAt(123456789L) + .assetDQScheduleSourceSyncErrorMessage("String0") + .assetDQScheduleSourceSyncErrorCode("String0") + .assetDQScheduleSourceSyncRawError("String0") + .assetDQRuleAttachedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleAttachedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleFailedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleFailedDimension(DataQualityDimension.TIMELINESS) + .assetDQRulePassedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRulePassedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleAttachedRuleType("String0") + .assetDQRuleAttachedRuleType("String1") + .assetDQRuleFailedRuleType("String0") + .assetDQRuleFailedRuleType("String1") + .assetDQRulePassedRuleType("String0") + .assetDQRulePassedRuleType("String1") + .assetDQRuleResultTag("String0") + .assetDQRuleResultTag("String1") + .assetDQRuleLastRunAt(123456789L) + .assetDQManualRunStatus(AssetDQRunStatus.SUCCESSFUL) + .assetDQRuleTotalCount(123456789L) + .assetDQRuleFailedCount(123456789L) + .assetDQRulePassedCount(123456789L) + .assetDQResult(DataQualityResult.PASS) + .assetDQFreshnessValue(123456789L) + .assetDQFreshnessExpectation(123456789L) + .assetDQRowScopeFilterColumnQualifiedName("String0") + .assetSpaceQualifiedName("String0") + .assetSpaceName("String0") + .assetImmutaRequestUrl("String0") + .assetImmutaRequestType("String0") + .assetGCPDataplexMetadataDetails(AssetGCPDataplexMetadata.builder() + .assetGCPDataplexLastSyncRunAt(123456789L) + .assetGCPDataplexEntryName("String0") + .assetGCPDataplexAspectDetails(Map.of( + "String0", + AssetGCPDataplexAspectMetadata.builder() + .assetGCPDataplexAspectFullName("String0") + .assetGCPDataplexAspectDisplayName("String0") + .assetGCPDataplexAspectType("String0") + .assetGCPDataplexAspectTypeLabels(Map.of("String0", "String0")) + .assetGCPDataplexAspectCreatedAt(123456789L) + .assetGCPDataplexAspectUpdatedAt(123456789L) + .assetGCPDataplexAspectFields(Map.of("String0", "String0")) + .build())) + .build()) + .addAssetGCPDataplexAspect("String0") + .addAssetGCPDataplexAspect("String1") + .addAssetGCPDataplexAspectField("String0") + .addAssetGCPDataplexAspectField("String1") + .assetSmusMetadataFormName("String0") + .assetSmusMetadataFormName("String1") + .assetSmusMetadataFormKeyValueDetail("String0") + .assetSmusMetadataFormKeyValueDetail("String1") + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String0") + .assetMetadataFormDescription("String0") + .assetMetadataFormDomainId("String0") + .assetMetadataFormProjectId("String0") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.ENABLED) + .assetMetadataFormRevision("String0") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String1") + .assetMetadataFormDescription("String1") + .assetMetadataFormDomainId("String1") + .assetMetadataFormProjectId("String1") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.DISABLED) + .assetMetadataFormRevision("String1") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .addAssetAiAlias("String0") + .addAssetAiAlias("String1") + .assetHasAiReadme(true) + .dataType("String0") + .subDataType("String0") + .columnCompression("String0") + .columnEncoding("String0") + .rawDataTypeDefinition("String0") + .order(123) + .nestedColumnOrder("String0") + .nestedColumnCount(123) + .putColumnHierarchy(Map.of("key1", "value1")) + .putColumnHierarchy(Map.of("key2", "value2")) + .isPartition(true) + .partitionOrder(123) + .isClustered(true) + .isPrimary(true) + .isForeign(true) + .isIndexed(true) + .isSort(true) + .isDist(true) + .isPinned(true) + .pinnedBy("String0") + .pinnedAt(123456789L) + .precision(123) + .defaultValue("String0") + .isNullable(true) + .numericScale(123.456) + .maxLength(123456789L) + .validation("String0", "String0") + .validation("String1", "String1") + .parentColumnQualifiedName("String0") + .parentColumnName("String0") + .columnDistinctValuesCount(123) + .columnDistinctValuesCountLong(123456789L) + .columnDistinctValuesPercentage(123.456) + .columnHistogram(Histogram.builder() + .boundaries(List.of(123.456, 654.321)) + .frequencies(List.of(123.456, 654.321)) + .build()) + .columnMax(123.456) + .columnMin(123.456) + .columnMean(123.456) + .columnSum(123.456) + .columnMedian(123.456) + .columnStandardDeviation(123.456) + .columnUniqueValuesCount(123) + .columnUniqueValuesCountLong(123456789L) + .columnAverage(123.456) + .columnAverageLength(123.456) + .columnDuplicateValuesCount(123) + .columnDuplicateValuesCountLong(123456789L) + .columnMaximumStringLength(123) + .addColumnMax("String0") + .addColumnMax("String1") + .columnMinimumStringLength(123) + .addColumnMin("String0") + .addColumnMin("String1") + .columnMissingValuesCount(123) + .columnMissingValuesCountLong(123456789L) + .columnMissingValuesPercentage(123.456) + .columnUniquenessPercentage(123.456) + .columnVariance(123.456) + .columnTopValue(ColumnValueFrequencyMap.builder() + .columnValue("String0") + .columnValueFrequency(123456789L) + .build()) + .columnTopValue(ColumnValueFrequencyMap.builder() + .columnValue("String1") + .columnValueFrequency(987654321L) + .build()) + .columnMaxValue(123.456) + .columnMinValue(123.456) + .columnMeanValue(123.456) + .columnSumValue(123.456) + .columnMedianValue(123.456) + .columnStandardDeviationValue(123.456) + .columnAverageValue(123.456) + .columnVarianceValue(123.456) + .columnAverageLengthValue(123.456) + .columnDistributionHistogram(AssetHistogram.builder() + .assetHistogramBoundaries(List.of(123.456, 654.321)) + .assetHistogramFrequencies(List.of(123.456, 654.321)) + .build()) + .columnDepthLevel(123) + .nosqlCollectionName("String0") + .nosqlCollectionQualifiedName("String0") + .columnIsMeasure(true) + .columnMeasureType("String0") + .columnAiInsightsIsMeasure(true) + .columnAiInsightsMeasureType("String0") + .columnAiInsightsIsDimension(true) + .columnAiInsightsDimensionType("String0") + .columnAiInsightsForeignKeyColumnQualifiedName("String0") + .queryCount(123456789L) + .queryUserCount(123456789L) + .putQueryUserMap("String0", 123456789L) + .putQueryUserMap("String1", 987654321L) + .queryCountUpdatedAt(123456789L) + .databaseName("String0") + .databaseQualifiedName("String0") + .schemaName("String0") + .schemaQualifiedName("String0") + .tableName("String0") + .tableQualifiedName("String0") + .viewName("String0") + .viewQualifiedName("String0") + .calculationViewName("String0") + .calculationViewQualifiedName("String0") + .isProfiled(true) + .lastProfiledAt(123456789L) + .sqlAIModelContextQualifiedName("String0") + .sqlIsSecure(true) + .sqlHasAiInsights(true) + .sqlAiInsightsLastAnalyzedAt(123456789L) + .sqlAiInsightsPopularBusinessQuestionCount(123) + .sqlAiInsightsPopularJoinCount(123) + .sqlAiInsightsPopularFilterCount(123) + .sqlAiInsightsRelationshipCount(123) + .sqlCoalesceLastRunStatus("String0") + .sqlCoalesceNodeStatus("String0") + .sqlCoalesceLastRunAt(123456789L) + .sqlCoalesceNodeType("String0") + .sqlCoalesceEnvironmentId("String0") + .sqlCoalesceEnvironmentName("String0") + .sqlCoalesceProjectId("String0") + .sqlCoalesceProjectName("String0") + .sqlShareQualifiedName("String0") + .sqlShareQualifiedName("String1") + .sapAnalyticsCloudModelQualifiedName("String0") + .sapAnalyticsCloudModelName("String0") + .cosmosMongoDBCollection(CosmosMongoDBCollection.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metricTimestamp(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metricTimestamp(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dataQualityMetricDimension(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataQualityMetricDimension(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqBaseColumnRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseColumnRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceColumnRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceColumnRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dbtModel(DbtModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dbtModel(DbtModel.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sqlDbtModel(DbtModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sqlDbtModel(DbtModel.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dbtTest(DbtTest.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dbtTest(DbtTest.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dbtSource(DbtSource.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dbtSource(DbtSource.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sqlDBTSource(DbtSource.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sqlDBTSource(DbtSource.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dbtMetric(DbtMetric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dbtMetric(DbtMetric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dbtModelColumn(DbtModelColumn.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dbtModelColumn(DbtModelColumn.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .columnDbtModelColumn(DbtModelColumn.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .columnDbtModelColumn(DbtModelColumn.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dbtSeedAsset(DbtSeed.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dbtSeedAsset(DbtSeed.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mongoDBCollection(MongoDBCollection.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .table(Table.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .nestedColumn(Column.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .nestedColumn(Column.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .parentColumn(Column.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .tablePartition(TablePartition.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .view(View.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .calculationView(CalculationView.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .materializedView(MaterializedView.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .addForeignKeyTo(Column.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .addForeignKeyTo(Column.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .foreignKeyFrom(Column.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .query(AtlanQuery.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .query(AtlanQuery.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sapAnalyticsCloudModel(SapAnalyticsCloudModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .snowflakeDynamicTable(SnowflakeDynamicTable.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .snowflakeSemanticLogicalTable( + SnowflakeSemanticLogicalTable.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .snowflakeSemanticLogicalTable( + SnowflakeSemanticLogicalTable.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sqlInsightOutgoingJoin(SqlInsightJoin.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sqlInsightOutgoingJoin( + SqlInsightJoin.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sqlInsightIncomingJoin(SqlInsightJoin.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sqlInsightIncomingJoin( + SqlInsightJoin.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sqlInsightFilter(SqlInsightFilter.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sqlInsightFilter(SqlInsightFilter.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sqlInsightBusinessQuestion(SqlInsightBusinessQuestion.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sqlInsightBusinessQuestion( + SqlInsightBusinessQuestion.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .anomaloCheck(AnomaloCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .application(Application.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .applicationField(ApplicationField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatest(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatestCertified(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceDatasetRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .file(File.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .file(File.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .link(Link.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .link(Link.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcIncident(MCIncident.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcIncident(MCIncident.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcMonitor(MCMonitor.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcMonitor(MCMonitor.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .metric(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metric(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .readme(Readme.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject(SchemaRegistrySubject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject( + SchemaRegistrySubject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sodaCheck(SodaCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sodaCheck(SodaCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipFrom(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipFrom( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipTo(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipTo( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .build(); + + @BeforeClass + void init() throws InterruptedException { + MockAtlanTenant.initializeClient(); + } + + @Test + void serdeCycleSapAnalyticsCloudColumn() throws IOException { + assertNotNull(full, "Unable to build sample instance of SapAnalyticsCloudColumn,"); + final int hash = full.hashCode(); + // Builder equivalency + assertEquals( + full.toBuilder().build(), + full, + "Unable to converting SapAnalyticsCloudColumn via builder back to its original state,"); + // Serialization + final String serialized = full.toJson(MockAtlanTenant.client); + assertNotNull(serialized, "Unable to serialize sample instance of SapAnalyticsCloudColumn,"); + assertEquals(full.hashCode(), hash, "Serialization mutated the original value,"); + // Deserialization + final SapAnalyticsCloudColumn frodo = + MockAtlanTenant.client.readValue(serialized, SapAnalyticsCloudColumn.class); + assertNotNull( + frodo, "Unable to reverse-read serialized value back into an instance of SapAnalyticsCloudColumn,"); + // Serialized equivalency + String backAgain = frodo.toJson(MockAtlanTenant.client); + assertEquals(backAgain, serialized, "Serialization is not equivalent after serde loop,"); + // Deserialized equivalency + assertEquals(frodo, full, "Deserialization is not equivalent after serde loop,"); + } +} diff --git a/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudFolderTest.java b/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudFolderTest.java new file mode 100644 index 0000000000..043a9071c9 --- /dev/null +++ b/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudFolderTest.java @@ -0,0 +1,1237 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import static org.testng.Assert.*; + +import com.atlan.mock.MockAtlanTenant; +import com.atlan.model.core.AtlanTag; +import com.atlan.model.core.CustomMetadataAttributes; +import com.atlan.model.enums.*; +import com.atlan.model.structs.*; +import java.io.IOException; +import java.util.*; +import javax.annotation.processing.Generated; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@SuppressWarnings("deprecation") +public class SapAnalyticsCloudFolderTest { + + private final SapAnalyticsCloudFolder full = SapAnalyticsCloudFolder._internal() + .guid("guid") + .displayText("displayText") + .status(AtlanStatus.ACTIVE) + .createdBy("createdBy") + .updatedBy("updatedBy") + .createTime(123456789L) + .updateTime(123456789L) + .isIncomplete(false) + .deleteHandler("SOFT") + .meaningNames(Set.of("meaningName1", "meaningName2")) + .meanings(Set.of( + Meaning.builder() + .termGuid("termGuid1") + .relationGuid("relationGuid1") + .displayText("displayText1") + .confidence(100) + .build(), + Meaning.builder() + .termGuid("termGuid2") + .relationGuid("relationGuid2") + .displayText("displayText2") + .confidence(100) + .build())) + .qualifiedName("qualifiedName") + .atlanTag(AtlanTag.of("String0")) + .atlanTag(AtlanTag.builder().typeName("String1").propagate(false).build()) + .customMetadata( + "String0", + CustomMetadataAttributes.builder() + .attribute("String0", 123.456) + .attribute("String1", true) + .build()) + .customMetadata( + "String1", + CustomMetadataAttributes.builder() + // Note: for equivalency this MUST be a Long (not an Integer), as deserialization + // will always produce a Long + .attribute("String0", 789L) + .attribute("String1", "AnotherString") + .build()) + .sapAnalyticsCloudResourceId("String0") + .sapAnalyticsCloudObjectId("String0") + .sapAnalyticsCloudRepositoryPartition("String0") + .sapAnalyticsCloudWorkspaceId("String0") + .sapAnalyticsCloudWorkspaceName("String0") + .sapAnalyticsCloudParentFolderQualifiedName("String0") + .sapAnalyticsCloudParentFolderName("String0") + .sapTechnicalName("String0") + .sapLogicalName("String0") + .sapPackageName("String0") + .sapComponentName("String0") + .sapDataType("String0") + .sapFieldCount(123456789L) + .sapFieldOrder(123) + .catalogDatasetGuid("String0") + .name("String0") + .displayName("String0") + .description("String0") + .assetSourceReadme("String0") + .userDescription("String0") + .assetAiGeneratedDescription("String0") + .assetAiGeneratedDescriptionConfidence(123.456) + .assetAiGeneratedDescriptionReasoning("String0") + .tenantId("String0") + .certificateStatus(CertificateStatus.DEPRECATED) + .certificateStatusMessage("String0") + .certificateUpdatedBy("String0") + .certificateUpdatedAt(123456789L) + .announcementTitle("String0") + .announcementMessage("String0") + .announcementType(AtlanAnnouncementType.INFORMATION) + .announcementUpdatedAt(123456789L) + .announcementUpdatedBy("String0") + .assetAnnouncementExpiredAt(123456789L) + .ownerUser("String0") + .ownerUser("String1") + .ownerGroup("String0") + .ownerGroup("String1") + .adminUser("String0") + .adminUser("String1") + .adminGroup("String0") + .adminGroup("String1") + .viewerUser("String0") + .viewerUser("String1") + .viewerGroup("String0") + .viewerGroup("String1") + .connectorName("String0") + .connectionName("String0") + .connectionQualifiedName("String0") + .assetManagedBy("String0") + .hasLineage(true) + .isDiscoverable(true) + .isEditable(true) + .subType("String0") + .viewScore(123.456) + .popularityScore(123.456) + .sourceOwners("String0") + .assetSourceId("String0") + .sourceCreatedBy("String0") + .sourceCreatedAt(123456789L) + .sourceUpdatedAt(123456789L) + .sourceUpdatedBy("String0") + .sourceURL("String0") + .sourceEmbedURL("String0") + .lastSyncWorkflowName("String0") + .lastSyncRunAt(123456789L) + .lastSyncRun("String0") + .adminRole("String0") + .adminRole("String1") + .sourceReadCount(123456789L) + .sourceReadUserCount(123456789L) + .sourceLastReadAt(123456789L) + .lastRowChangedAt(123456789L) + .sourceTotalCost(123.456) + .sourceCostUnit(SourceCostUnitType.CREDITS) + .sourceReadQueryCost(123.456) + .sourceReadRecentUser("String0") + .sourceReadRecentUser("String1") + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadTopUser("String0") + .sourceReadTopUser("String1") + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceQueryComputeCost("String0") + .sourceQueryComputeCost("String1") + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .dbtQualifiedName("String0") + .assetDbtWorkflowLastUpdated("String0") + .assetDbtAlias("String0") + .assetDbtMeta("String0") + .assetDbtUniqueId("String0") + .assetDbtAccountName("String0") + .assetDbtProjectName("String0") + .assetDbtPackageName("String0") + .assetDbtJobName("String0") + .assetDbtJobSchedule("String0") + .assetDbtJobStatus("String0") + .assetDbtTestStatus("String0") + .assetDbtJobScheduleCronHumanized("String0") + .assetDbtJobLastRun(123456789L) + .assetDbtJobLastRunUrl("String0") + .assetDbtJobLastRunCreatedAt(123456789L) + .assetDbtJobLastRunUpdatedAt(123456789L) + .assetDbtJobLastRunDequedAt(123456789L) + .assetDbtJobLastRunStartedAt(123456789L) + .assetDbtJobLastRunTotalDuration("String0") + .assetDbtJobLastRunTotalDurationHumanized("String0") + .assetDbtJobLastRunQueuedDuration("String0") + .assetDbtJobLastRunQueuedDurationHumanized("String0") + .assetDbtJobLastRunRunDuration("String0") + .assetDbtJobLastRunRunDurationHumanized("String0") + .assetDbtJobLastRunGitBranch("String0") + .assetDbtJobLastRunGitSha("String0") + .assetDbtJobLastRunStatusMessage("String0") + .assetDbtJobLastRunOwnerThreadId("String0") + .assetDbtJobLastRunExecutedByThreadId("String0") + .assetDbtJobLastRunArtifactsSaved(true) + .assetDbtJobLastRunArtifactS3Path("String0") + .assetDbtJobLastRunHasDocsGenerated(true) + .assetDbtJobLastRunHasSourcesGenerated(true) + .assetDbtJobLastRunNotificationsSent(true) + .assetDbtJobNextRun(123456789L) + .assetDbtJobNextRunHumanized("String0") + .assetDbtEnvironmentName("String0") + .assetDbtEnvironmentDbtVersion("String0") + .assetDbtTag("String0") + .assetDbtTag("String1") + .assetDbtSemanticLayerProxyUrl("String0") + .assetDbtSourceFreshnessCriteria("String0") + .sampleDataUrl("String0") + .assetTag("String0") + .assetTag("String1") + .assetMcIncidentName("String0") + .assetMcIncidentName("String1") + .assetMcIncidentQualifiedName("String0") + .assetMcIncidentQualifiedName("String1") + .assetMcAlertQualifiedName("String0") + .assetMcAlertQualifiedName("String1") + .assetMcMonitorName("String0") + .assetMcMonitorName("String1") + .assetMcMonitorQualifiedName("String0") + .assetMcMonitorQualifiedName("String1") + .assetMcMonitorStatus("String0") + .assetMcMonitorStatus("String1") + .assetMcMonitorType("String0") + .assetMcMonitorType("String1") + .assetMcMonitorScheduleType("String0") + .assetMcMonitorScheduleType("String1") + .assetMcIncidentType("String0") + .assetMcIncidentType("String1") + .assetMcIncidentSubType("String0") + .assetMcIncidentSubType("String1") + .assetMcIncidentSeverity("String0") + .assetMcIncidentSeverity("String1") + .assetMcIncidentPriority("String0") + .assetMcIncidentPriority("String1") + .assetMcIncidentState("String0") + .assetMcIncidentState("String1") + .assetMcIsMonitored(true) + .assetMcLastSyncRunAt(123456789L) + .addStarredBy("String0") + .addStarredBy("String1") + .starredDetail(StarredDetails.builder() + .assetStarredBy("String0") + .assetStarredAt(123456789L) + .build()) + .starredDetail(StarredDetails.builder() + .assetStarredBy("String1") + .assetStarredAt(987654321L) + .build()) + .starredCount(123) + .assetAnomaloDQStatus("String0") + .assetAnomaloCheckCount(123456789L) + .assetAnomaloFailedCheckCount(123456789L) + .assetAnomaloCheckStatuses("String0") + .assetAnomaloLastCheckRunAt(123456789L) + .assetAnomaloAppliedCheckType("String0") + .assetAnomaloAppliedCheckType("String1") + .assetAnomaloFailedCheckType("String0") + .assetAnomaloFailedCheckType("String1") + .assetAnomaloSourceUrl("String0") + .assetSodaDQStatus("String0") + .assetSodaCheckCount(123456789L) + .assetSodaLastSyncRunAt(123456789L) + .assetSodaLastScanAt(123456789L) + .assetSodaCheckStatuses("String0") + .assetSodaSourceURL("String0") + .assetIcon(AtlanIcon.ATLAN_TAG) + .assetSummaryProvider(AssetSummaryProvider.builder() + .assetSummaryProviderName("String0") + .assetSummaryProviderUrl("String0") + .build()) + .assetSummary("String0") + .assetSummaryFilterToken("String0") + .assetSummaryFilterToken("String1") + .assetExternalDQScoreValue(123.456) + .assetExternalDQTestEntity("String0") + .assetExternalDQTestEntity("String1") + .assetExternalDQTestLatestScore(123.456) + .assetExternalDQTestLatestScore(654.321) + .assetExternalDQTestAvgScore(123.456) + .assetExternalDQTestAvgScore(654.321) + .assetExternalDQTestMinScore(123.456) + .assetExternalDQTestMinScore(654.321) + .assetExternalDQMetadataDetail( + "String0", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String0") + .assetExternalDQSourceLogo("String0") + .assetExternalDQSourceURL("String0") + .assetExternalDQLastSyncRunAt(123456789L) + .assetExternalDQTestEntityTypeName("String0") + .assetExternalDQTestEntityName("String0") + .assetExternalDQTestTotalCount(123) + .assetExternalDQTestLastRunSuccessCount(123) + .assetExternalDQTestLastRunFailureCount(123) + .assetExternalDQTestLastRunTotalRulesCount(123456789L) + .assetExternalDQTestLastRunSuccessRulesCount(123456789L) + .assetExternalDQTestLastRunFailureRulesCount(123456789L) + .assetExternalDQOverallScoreValue("String0") + .assetExternalDQOverallScoreType("String0") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(123456789L) + .assetExternalDQTestStatsByCategory(Map.of( + "String0", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String0", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(123) + .build())) + .build())) + .build()) + .build()) + .assetExternalDQMetadataDetail( + "String1", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String1") + .assetExternalDQSourceLogo("String1") + .assetExternalDQSourceURL("String1") + .assetExternalDQLastSyncRunAt(987654321L) + .assetExternalDQTestEntityTypeName("String1") + .assetExternalDQTestEntityName("String1") + .assetExternalDQTestTotalCount(456) + .assetExternalDQTestLastRunSuccessCount(456) + .assetExternalDQTestLastRunFailureCount(456) + .assetExternalDQTestLastRunTotalRulesCount(987654321L) + .assetExternalDQTestLastRunSuccessRulesCount(987654321L) + .assetExternalDQTestLastRunFailureRulesCount(987654321L) + .assetExternalDQOverallScoreValue("String1") + .assetExternalDQOverallScoreType("String1") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(987654321L) + .assetExternalDQTestStatsByCategory(Map.of( + "String1", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String1", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(456) + .build())) + .build())) + .build()) + .build()) + .isPartial(true) + .isAIGenerated(true) + .assetCoverImage("String0") + .assetThemeHex("String0") + .lexicographicalSortOrder("String0") + .hasContract(true) + .assetRedirectGUID("String0") + .assetRedirectGUID("String1") + .assetPolicyGUID("String0") + .assetPolicyGUID("String1") + .assetPoliciesCount(123456789L) + .domainGUID("String0") + .domainGUID("String1") + .nonCompliantAssetPolicyGUID("String0") + .nonCompliantAssetPolicyGUID("String1") + .productGUID("String0") + .productGUID("String1") + .outputProductGUID("String0") + .outputProductGUID("String1") + .applicationQualifiedName("String0") + .applicationFieldQualifiedName("String0") + .assetUserDefinedType("String0") + .assetInternalPopularityScore(123.456) + .assetDQScheduleType(DataQualityScheduleType.ON_DATA_CHANGE) + .assetDQScheduleCrontab("String0") + .assetDQScheduleTimeZone("String0") + .assetDQScheduleSourceSyncStatus(DataQualitySourceSyncStatus.SUCCESSFUL) + .assetDQScheduleSourceSyncedAt(123456789L) + .assetDQScheduleSourceSyncErrorMessage("String0") + .assetDQScheduleSourceSyncErrorCode("String0") + .assetDQScheduleSourceSyncRawError("String0") + .assetDQRuleAttachedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleAttachedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleFailedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleFailedDimension(DataQualityDimension.TIMELINESS) + .assetDQRulePassedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRulePassedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleAttachedRuleType("String0") + .assetDQRuleAttachedRuleType("String1") + .assetDQRuleFailedRuleType("String0") + .assetDQRuleFailedRuleType("String1") + .assetDQRulePassedRuleType("String0") + .assetDQRulePassedRuleType("String1") + .assetDQRuleResultTag("String0") + .assetDQRuleResultTag("String1") + .assetDQRuleLastRunAt(123456789L) + .assetDQManualRunStatus(AssetDQRunStatus.SUCCESSFUL) + .assetDQRuleTotalCount(123456789L) + .assetDQRuleFailedCount(123456789L) + .assetDQRulePassedCount(123456789L) + .assetDQResult(DataQualityResult.PASS) + .assetDQFreshnessValue(123456789L) + .assetDQFreshnessExpectation(123456789L) + .assetDQRowScopeFilterColumnQualifiedName("String0") + .assetSpaceQualifiedName("String0") + .assetSpaceName("String0") + .assetImmutaRequestUrl("String0") + .assetImmutaRequestType("String0") + .assetGCPDataplexMetadataDetails(AssetGCPDataplexMetadata.builder() + .assetGCPDataplexLastSyncRunAt(123456789L) + .assetGCPDataplexEntryName("String0") + .assetGCPDataplexAspectDetails(Map.of( + "String0", + AssetGCPDataplexAspectMetadata.builder() + .assetGCPDataplexAspectFullName("String0") + .assetGCPDataplexAspectDisplayName("String0") + .assetGCPDataplexAspectType("String0") + .assetGCPDataplexAspectTypeLabels(Map.of("String0", "String0")) + .assetGCPDataplexAspectCreatedAt(123456789L) + .assetGCPDataplexAspectUpdatedAt(123456789L) + .assetGCPDataplexAspectFields(Map.of("String0", "String0")) + .build())) + .build()) + .addAssetGCPDataplexAspect("String0") + .addAssetGCPDataplexAspect("String1") + .addAssetGCPDataplexAspectField("String0") + .addAssetGCPDataplexAspectField("String1") + .assetSmusMetadataFormName("String0") + .assetSmusMetadataFormName("String1") + .assetSmusMetadataFormKeyValueDetail("String0") + .assetSmusMetadataFormKeyValueDetail("String1") + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String0") + .assetMetadataFormDescription("String0") + .assetMetadataFormDomainId("String0") + .assetMetadataFormProjectId("String0") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.ENABLED) + .assetMetadataFormRevision("String0") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String1") + .assetMetadataFormDescription("String1") + .assetMetadataFormDomainId("String1") + .assetMetadataFormProjectId("String1") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.DISABLED) + .assetMetadataFormRevision("String1") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .addAssetAiAlias("String0") + .addAssetAiAlias("String1") + .assetHasAiReadme(true) + .sapAnalyticsCloudSubFolder(SapAnalyticsCloudFolder.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapAnalyticsCloudSubFolder( + SapAnalyticsCloudFolder.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sapAnalyticsCloudParentFolder(SapAnalyticsCloudFolder.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapAnalyticsCloudModel(SapAnalyticsCloudModel.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapAnalyticsCloudModel( + SapAnalyticsCloudModel.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sapAnalyticsCloudStory(SapAnalyticsCloudStory.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapAnalyticsCloudStory( + SapAnalyticsCloudStory.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .anomaloCheck(AnomaloCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .application(Application.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .applicationField(ApplicationField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatest(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatestCertified(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceDatasetRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .file(File.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .file(File.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .link(Link.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .link(Link.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcIncident(MCIncident.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcIncident(MCIncident.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcMonitor(MCMonitor.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcMonitor(MCMonitor.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .metric(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metric(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .readme(Readme.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject(SchemaRegistrySubject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject( + SchemaRegistrySubject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sodaCheck(SodaCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sodaCheck(SodaCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipFrom(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipFrom( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipTo(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipTo( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .build(); + + @BeforeClass + void init() throws InterruptedException { + MockAtlanTenant.initializeClient(); + } + + @Test + void serdeCycleSapAnalyticsCloudFolder() throws IOException { + assertNotNull(full, "Unable to build sample instance of SapAnalyticsCloudFolder,"); + final int hash = full.hashCode(); + // Builder equivalency + assertEquals( + full.toBuilder().build(), + full, + "Unable to converting SapAnalyticsCloudFolder via builder back to its original state,"); + // Serialization + final String serialized = full.toJson(MockAtlanTenant.client); + assertNotNull(serialized, "Unable to serialize sample instance of SapAnalyticsCloudFolder,"); + assertEquals(full.hashCode(), hash, "Serialization mutated the original value,"); + // Deserialization + final SapAnalyticsCloudFolder frodo = + MockAtlanTenant.client.readValue(serialized, SapAnalyticsCloudFolder.class); + assertNotNull( + frodo, "Unable to reverse-read serialized value back into an instance of SapAnalyticsCloudFolder,"); + // Serialized equivalency + String backAgain = frodo.toJson(MockAtlanTenant.client); + assertEquals(backAgain, serialized, "Serialization is not equivalent after serde loop,"); + // Deserialized equivalency + assertEquals(frodo, full, "Deserialization is not equivalent after serde loop,"); + } +} diff --git a/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudModelTest.java b/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudModelTest.java new file mode 100644 index 0000000000..0a6d531efd --- /dev/null +++ b/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudModelTest.java @@ -0,0 +1,1242 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import static org.testng.Assert.*; + +import com.atlan.mock.MockAtlanTenant; +import com.atlan.model.core.AtlanTag; +import com.atlan.model.core.CustomMetadataAttributes; +import com.atlan.model.enums.*; +import com.atlan.model.structs.*; +import java.io.IOException; +import java.util.*; +import javax.annotation.processing.Generated; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@SuppressWarnings("deprecation") +public class SapAnalyticsCloudModelTest { + + private final SapAnalyticsCloudModel full = SapAnalyticsCloudModel._internal() + .guid("guid") + .displayText("displayText") + .status(AtlanStatus.ACTIVE) + .createdBy("createdBy") + .updatedBy("updatedBy") + .createTime(123456789L) + .updateTime(123456789L) + .isIncomplete(false) + .deleteHandler("SOFT") + .meaningNames(Set.of("meaningName1", "meaningName2")) + .meanings(Set.of( + Meaning.builder() + .termGuid("termGuid1") + .relationGuid("relationGuid1") + .displayText("displayText1") + .confidence(100) + .build(), + Meaning.builder() + .termGuid("termGuid2") + .relationGuid("relationGuid2") + .displayText("displayText2") + .confidence(100) + .build())) + .qualifiedName("qualifiedName") + .atlanTag(AtlanTag.of("String0")) + .atlanTag(AtlanTag.builder().typeName("String1").propagate(false).build()) + .customMetadata( + "String0", + CustomMetadataAttributes.builder() + .attribute("String0", 123.456) + .attribute("String1", true) + .build()) + .customMetadata( + "String1", + CustomMetadataAttributes.builder() + // Note: for equivalency this MUST be a Long (not an Integer), as deserialization + // will always produce a Long + .attribute("String0", 789L) + .attribute("String1", "AnotherString") + .build()) + .sapAnalyticsCloudResourceId("String0") + .sapAnalyticsCloudObjectId("String0") + .sapAnalyticsCloudRepositoryPartition("String0") + .sapAnalyticsCloudWorkspaceId("String0") + .sapAnalyticsCloudWorkspaceName("String0") + .sapAnalyticsCloudParentFolderQualifiedName("String0") + .sapAnalyticsCloudParentFolderName("String0") + .sapTechnicalName("String0") + .sapLogicalName("String0") + .sapPackageName("String0") + .sapComponentName("String0") + .sapDataType("String0") + .sapFieldCount(123456789L) + .sapFieldOrder(123) + .catalogDatasetGuid("String0") + .name("String0") + .displayName("String0") + .description("String0") + .assetSourceReadme("String0") + .userDescription("String0") + .assetAiGeneratedDescription("String0") + .assetAiGeneratedDescriptionConfidence(123.456) + .assetAiGeneratedDescriptionReasoning("String0") + .tenantId("String0") + .certificateStatus(CertificateStatus.DEPRECATED) + .certificateStatusMessage("String0") + .certificateUpdatedBy("String0") + .certificateUpdatedAt(123456789L) + .announcementTitle("String0") + .announcementMessage("String0") + .announcementType(AtlanAnnouncementType.INFORMATION) + .announcementUpdatedAt(123456789L) + .announcementUpdatedBy("String0") + .assetAnnouncementExpiredAt(123456789L) + .ownerUser("String0") + .ownerUser("String1") + .ownerGroup("String0") + .ownerGroup("String1") + .adminUser("String0") + .adminUser("String1") + .adminGroup("String0") + .adminGroup("String1") + .viewerUser("String0") + .viewerUser("String1") + .viewerGroup("String0") + .viewerGroup("String1") + .connectorName("String0") + .connectionName("String0") + .connectionQualifiedName("String0") + .assetManagedBy("String0") + .hasLineage(true) + .isDiscoverable(true) + .isEditable(true) + .subType("String0") + .viewScore(123.456) + .popularityScore(123.456) + .sourceOwners("String0") + .assetSourceId("String0") + .sourceCreatedBy("String0") + .sourceCreatedAt(123456789L) + .sourceUpdatedAt(123456789L) + .sourceUpdatedBy("String0") + .sourceURL("String0") + .sourceEmbedURL("String0") + .lastSyncWorkflowName("String0") + .lastSyncRunAt(123456789L) + .lastSyncRun("String0") + .adminRole("String0") + .adminRole("String1") + .sourceReadCount(123456789L) + .sourceReadUserCount(123456789L) + .sourceLastReadAt(123456789L) + .lastRowChangedAt(123456789L) + .sourceTotalCost(123.456) + .sourceCostUnit(SourceCostUnitType.CREDITS) + .sourceReadQueryCost(123.456) + .sourceReadRecentUser("String0") + .sourceReadRecentUser("String1") + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadTopUser("String0") + .sourceReadTopUser("String1") + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceQueryComputeCost("String0") + .sourceQueryComputeCost("String1") + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .dbtQualifiedName("String0") + .assetDbtWorkflowLastUpdated("String0") + .assetDbtAlias("String0") + .assetDbtMeta("String0") + .assetDbtUniqueId("String0") + .assetDbtAccountName("String0") + .assetDbtProjectName("String0") + .assetDbtPackageName("String0") + .assetDbtJobName("String0") + .assetDbtJobSchedule("String0") + .assetDbtJobStatus("String0") + .assetDbtTestStatus("String0") + .assetDbtJobScheduleCronHumanized("String0") + .assetDbtJobLastRun(123456789L) + .assetDbtJobLastRunUrl("String0") + .assetDbtJobLastRunCreatedAt(123456789L) + .assetDbtJobLastRunUpdatedAt(123456789L) + .assetDbtJobLastRunDequedAt(123456789L) + .assetDbtJobLastRunStartedAt(123456789L) + .assetDbtJobLastRunTotalDuration("String0") + .assetDbtJobLastRunTotalDurationHumanized("String0") + .assetDbtJobLastRunQueuedDuration("String0") + .assetDbtJobLastRunQueuedDurationHumanized("String0") + .assetDbtJobLastRunRunDuration("String0") + .assetDbtJobLastRunRunDurationHumanized("String0") + .assetDbtJobLastRunGitBranch("String0") + .assetDbtJobLastRunGitSha("String0") + .assetDbtJobLastRunStatusMessage("String0") + .assetDbtJobLastRunOwnerThreadId("String0") + .assetDbtJobLastRunExecutedByThreadId("String0") + .assetDbtJobLastRunArtifactsSaved(true) + .assetDbtJobLastRunArtifactS3Path("String0") + .assetDbtJobLastRunHasDocsGenerated(true) + .assetDbtJobLastRunHasSourcesGenerated(true) + .assetDbtJobLastRunNotificationsSent(true) + .assetDbtJobNextRun(123456789L) + .assetDbtJobNextRunHumanized("String0") + .assetDbtEnvironmentName("String0") + .assetDbtEnvironmentDbtVersion("String0") + .assetDbtTag("String0") + .assetDbtTag("String1") + .assetDbtSemanticLayerProxyUrl("String0") + .assetDbtSourceFreshnessCriteria("String0") + .sampleDataUrl("String0") + .assetTag("String0") + .assetTag("String1") + .assetMcIncidentName("String0") + .assetMcIncidentName("String1") + .assetMcIncidentQualifiedName("String0") + .assetMcIncidentQualifiedName("String1") + .assetMcAlertQualifiedName("String0") + .assetMcAlertQualifiedName("String1") + .assetMcMonitorName("String0") + .assetMcMonitorName("String1") + .assetMcMonitorQualifiedName("String0") + .assetMcMonitorQualifiedName("String1") + .assetMcMonitorStatus("String0") + .assetMcMonitorStatus("String1") + .assetMcMonitorType("String0") + .assetMcMonitorType("String1") + .assetMcMonitorScheduleType("String0") + .assetMcMonitorScheduleType("String1") + .assetMcIncidentType("String0") + .assetMcIncidentType("String1") + .assetMcIncidentSubType("String0") + .assetMcIncidentSubType("String1") + .assetMcIncidentSeverity("String0") + .assetMcIncidentSeverity("String1") + .assetMcIncidentPriority("String0") + .assetMcIncidentPriority("String1") + .assetMcIncidentState("String0") + .assetMcIncidentState("String1") + .assetMcIsMonitored(true) + .assetMcLastSyncRunAt(123456789L) + .addStarredBy("String0") + .addStarredBy("String1") + .starredDetail(StarredDetails.builder() + .assetStarredBy("String0") + .assetStarredAt(123456789L) + .build()) + .starredDetail(StarredDetails.builder() + .assetStarredBy("String1") + .assetStarredAt(987654321L) + .build()) + .starredCount(123) + .assetAnomaloDQStatus("String0") + .assetAnomaloCheckCount(123456789L) + .assetAnomaloFailedCheckCount(123456789L) + .assetAnomaloCheckStatuses("String0") + .assetAnomaloLastCheckRunAt(123456789L) + .assetAnomaloAppliedCheckType("String0") + .assetAnomaloAppliedCheckType("String1") + .assetAnomaloFailedCheckType("String0") + .assetAnomaloFailedCheckType("String1") + .assetAnomaloSourceUrl("String0") + .assetSodaDQStatus("String0") + .assetSodaCheckCount(123456789L) + .assetSodaLastSyncRunAt(123456789L) + .assetSodaLastScanAt(123456789L) + .assetSodaCheckStatuses("String0") + .assetSodaSourceURL("String0") + .assetIcon(AtlanIcon.ATLAN_TAG) + .assetSummaryProvider(AssetSummaryProvider.builder() + .assetSummaryProviderName("String0") + .assetSummaryProviderUrl("String0") + .build()) + .assetSummary("String0") + .assetSummaryFilterToken("String0") + .assetSummaryFilterToken("String1") + .assetExternalDQScoreValue(123.456) + .assetExternalDQTestEntity("String0") + .assetExternalDQTestEntity("String1") + .assetExternalDQTestLatestScore(123.456) + .assetExternalDQTestLatestScore(654.321) + .assetExternalDQTestAvgScore(123.456) + .assetExternalDQTestAvgScore(654.321) + .assetExternalDQTestMinScore(123.456) + .assetExternalDQTestMinScore(654.321) + .assetExternalDQMetadataDetail( + "String0", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String0") + .assetExternalDQSourceLogo("String0") + .assetExternalDQSourceURL("String0") + .assetExternalDQLastSyncRunAt(123456789L) + .assetExternalDQTestEntityTypeName("String0") + .assetExternalDQTestEntityName("String0") + .assetExternalDQTestTotalCount(123) + .assetExternalDQTestLastRunSuccessCount(123) + .assetExternalDQTestLastRunFailureCount(123) + .assetExternalDQTestLastRunTotalRulesCount(123456789L) + .assetExternalDQTestLastRunSuccessRulesCount(123456789L) + .assetExternalDQTestLastRunFailureRulesCount(123456789L) + .assetExternalDQOverallScoreValue("String0") + .assetExternalDQOverallScoreType("String0") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(123456789L) + .assetExternalDQTestStatsByCategory(Map.of( + "String0", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String0", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(123) + .build())) + .build())) + .build()) + .build()) + .assetExternalDQMetadataDetail( + "String1", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String1") + .assetExternalDQSourceLogo("String1") + .assetExternalDQSourceURL("String1") + .assetExternalDQLastSyncRunAt(987654321L) + .assetExternalDQTestEntityTypeName("String1") + .assetExternalDQTestEntityName("String1") + .assetExternalDQTestTotalCount(456) + .assetExternalDQTestLastRunSuccessCount(456) + .assetExternalDQTestLastRunFailureCount(456) + .assetExternalDQTestLastRunTotalRulesCount(987654321L) + .assetExternalDQTestLastRunSuccessRulesCount(987654321L) + .assetExternalDQTestLastRunFailureRulesCount(987654321L) + .assetExternalDQOverallScoreValue("String1") + .assetExternalDQOverallScoreType("String1") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(987654321L) + .assetExternalDQTestStatsByCategory(Map.of( + "String1", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String1", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(456) + .build())) + .build())) + .build()) + .build()) + .isPartial(true) + .isAIGenerated(true) + .assetCoverImage("String0") + .assetThemeHex("String0") + .lexicographicalSortOrder("String0") + .hasContract(true) + .assetRedirectGUID("String0") + .assetRedirectGUID("String1") + .assetPolicyGUID("String0") + .assetPolicyGUID("String1") + .assetPoliciesCount(123456789L) + .domainGUID("String0") + .domainGUID("String1") + .nonCompliantAssetPolicyGUID("String0") + .nonCompliantAssetPolicyGUID("String1") + .productGUID("String0") + .productGUID("String1") + .outputProductGUID("String0") + .outputProductGUID("String1") + .applicationQualifiedName("String0") + .applicationFieldQualifiedName("String0") + .assetUserDefinedType("String0") + .assetInternalPopularityScore(123.456) + .assetDQScheduleType(DataQualityScheduleType.ON_DATA_CHANGE) + .assetDQScheduleCrontab("String0") + .assetDQScheduleTimeZone("String0") + .assetDQScheduleSourceSyncStatus(DataQualitySourceSyncStatus.SUCCESSFUL) + .assetDQScheduleSourceSyncedAt(123456789L) + .assetDQScheduleSourceSyncErrorMessage("String0") + .assetDQScheduleSourceSyncErrorCode("String0") + .assetDQScheduleSourceSyncRawError("String0") + .assetDQRuleAttachedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleAttachedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleFailedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleFailedDimension(DataQualityDimension.TIMELINESS) + .assetDQRulePassedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRulePassedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleAttachedRuleType("String0") + .assetDQRuleAttachedRuleType("String1") + .assetDQRuleFailedRuleType("String0") + .assetDQRuleFailedRuleType("String1") + .assetDQRulePassedRuleType("String0") + .assetDQRulePassedRuleType("String1") + .assetDQRuleResultTag("String0") + .assetDQRuleResultTag("String1") + .assetDQRuleLastRunAt(123456789L) + .assetDQManualRunStatus(AssetDQRunStatus.SUCCESSFUL) + .assetDQRuleTotalCount(123456789L) + .assetDQRuleFailedCount(123456789L) + .assetDQRulePassedCount(123456789L) + .assetDQResult(DataQualityResult.PASS) + .assetDQFreshnessValue(123456789L) + .assetDQFreshnessExpectation(123456789L) + .assetDQRowScopeFilterColumnQualifiedName("String0") + .assetSpaceQualifiedName("String0") + .assetSpaceName("String0") + .assetImmutaRequestUrl("String0") + .assetImmutaRequestType("String0") + .assetGCPDataplexMetadataDetails(AssetGCPDataplexMetadata.builder() + .assetGCPDataplexLastSyncRunAt(123456789L) + .assetGCPDataplexEntryName("String0") + .assetGCPDataplexAspectDetails(Map.of( + "String0", + AssetGCPDataplexAspectMetadata.builder() + .assetGCPDataplexAspectFullName("String0") + .assetGCPDataplexAspectDisplayName("String0") + .assetGCPDataplexAspectType("String0") + .assetGCPDataplexAspectTypeLabels(Map.of("String0", "String0")) + .assetGCPDataplexAspectCreatedAt(123456789L) + .assetGCPDataplexAspectUpdatedAt(123456789L) + .assetGCPDataplexAspectFields(Map.of("String0", "String0")) + .build())) + .build()) + .addAssetGCPDataplexAspect("String0") + .addAssetGCPDataplexAspect("String1") + .addAssetGCPDataplexAspectField("String0") + .addAssetGCPDataplexAspectField("String1") + .assetSmusMetadataFormName("String0") + .assetSmusMetadataFormName("String1") + .assetSmusMetadataFormKeyValueDetail("String0") + .assetSmusMetadataFormKeyValueDetail("String1") + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String0") + .assetMetadataFormDescription("String0") + .assetMetadataFormDomainId("String0") + .assetMetadataFormProjectId("String0") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.ENABLED) + .assetMetadataFormRevision("String0") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String1") + .assetMetadataFormDescription("String1") + .assetMetadataFormDomainId("String1") + .assetMetadataFormProjectId("String1") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.DISABLED) + .assetMetadataFormRevision("String1") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .addAssetAiAlias("String0") + .addAssetAiAlias("String1") + .assetHasAiReadme(true) + .sapAnalyticsCloudModelKind("String0") + .sapAnalyticsCloudDataAccessMode("String0") + .sapAnalyticsCloudProviderId("String0") + .sapAnalyticsCloudModelId("String0") + .sapAnalyticsCloudStoryCount(123456789L) + .sapAnalyticsCloudLiveConnectionId("String0") + .sapAnalyticsCloudLiveConnectionName("String0") + .sapAnalyticsCloudLiveConnectionType("String0") + .sapAnalyticsCloudLiveConnectionSystemType("String0") + .sapAnalyticsCloudLiveConnectionHost("String0") + .sapAnalyticsCloudLiveConnectionPort(123) + .sapAnalyticsCloudLiveConnectionProtocol("String0") + .sapAnalyticsCloudFolder(SapAnalyticsCloudFolder.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapAnalyticsCloudColumn(SapAnalyticsCloudColumn.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapAnalyticsCloudColumn( + SapAnalyticsCloudColumn.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .anomaloCheck(AnomaloCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .application(Application.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .applicationField(ApplicationField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatest(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatestCertified(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceDatasetRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .file(File.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .file(File.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .link(Link.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .link(Link.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcIncident(MCIncident.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcIncident(MCIncident.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcMonitor(MCMonitor.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcMonitor(MCMonitor.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .metric(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metric(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .readme(Readme.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject(SchemaRegistrySubject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject( + SchemaRegistrySubject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sodaCheck(SodaCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sodaCheck(SodaCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipFrom(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipFrom( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipTo(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipTo( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .build(); + + @BeforeClass + void init() throws InterruptedException { + MockAtlanTenant.initializeClient(); + } + + @Test + void serdeCycleSapAnalyticsCloudModel() throws IOException { + assertNotNull(full, "Unable to build sample instance of SapAnalyticsCloudModel,"); + final int hash = full.hashCode(); + // Builder equivalency + assertEquals( + full.toBuilder().build(), + full, + "Unable to converting SapAnalyticsCloudModel via builder back to its original state,"); + // Serialization + final String serialized = full.toJson(MockAtlanTenant.client); + assertNotNull(serialized, "Unable to serialize sample instance of SapAnalyticsCloudModel,"); + assertEquals(full.hashCode(), hash, "Serialization mutated the original value,"); + // Deserialization + final SapAnalyticsCloudModel frodo = MockAtlanTenant.client.readValue(serialized, SapAnalyticsCloudModel.class); + assertNotNull( + frodo, "Unable to reverse-read serialized value back into an instance of SapAnalyticsCloudModel,"); + // Serialized equivalency + String backAgain = frodo.toJson(MockAtlanTenant.client); + assertEquals(backAgain, serialized, "Serialization is not equivalent after serde loop,"); + // Deserialized equivalency + assertEquals(frodo, full, "Deserialization is not equivalent after serde loop,"); + } +} diff --git a/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudStoryTest.java b/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudStoryTest.java new file mode 100644 index 0000000000..d3374cb018 --- /dev/null +++ b/sdk/src/test/java/com/atlan/model/assets/SapAnalyticsCloudStoryTest.java @@ -0,0 +1,1229 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import static org.testng.Assert.*; + +import com.atlan.mock.MockAtlanTenant; +import com.atlan.model.core.AtlanTag; +import com.atlan.model.core.CustomMetadataAttributes; +import com.atlan.model.enums.*; +import com.atlan.model.structs.*; +import java.io.IOException; +import java.util.*; +import javax.annotation.processing.Generated; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@SuppressWarnings("deprecation") +public class SapAnalyticsCloudStoryTest { + + private final SapAnalyticsCloudStory full = SapAnalyticsCloudStory._internal() + .guid("guid") + .displayText("displayText") + .status(AtlanStatus.ACTIVE) + .createdBy("createdBy") + .updatedBy("updatedBy") + .createTime(123456789L) + .updateTime(123456789L) + .isIncomplete(false) + .deleteHandler("SOFT") + .meaningNames(Set.of("meaningName1", "meaningName2")) + .meanings(Set.of( + Meaning.builder() + .termGuid("termGuid1") + .relationGuid("relationGuid1") + .displayText("displayText1") + .confidence(100) + .build(), + Meaning.builder() + .termGuid("termGuid2") + .relationGuid("relationGuid2") + .displayText("displayText2") + .confidence(100) + .build())) + .qualifiedName("qualifiedName") + .atlanTag(AtlanTag.of("String0")) + .atlanTag(AtlanTag.builder().typeName("String1").propagate(false).build()) + .customMetadata( + "String0", + CustomMetadataAttributes.builder() + .attribute("String0", 123.456) + .attribute("String1", true) + .build()) + .customMetadata( + "String1", + CustomMetadataAttributes.builder() + // Note: for equivalency this MUST be a Long (not an Integer), as deserialization + // will always produce a Long + .attribute("String0", 789L) + .attribute("String1", "AnotherString") + .build()) + .sapAnalyticsCloudResourceId("String0") + .sapAnalyticsCloudObjectId("String0") + .sapAnalyticsCloudRepositoryPartition("String0") + .sapAnalyticsCloudWorkspaceId("String0") + .sapAnalyticsCloudWorkspaceName("String0") + .sapAnalyticsCloudParentFolderQualifiedName("String0") + .sapAnalyticsCloudParentFolderName("String0") + .sapTechnicalName("String0") + .sapLogicalName("String0") + .sapPackageName("String0") + .sapComponentName("String0") + .sapDataType("String0") + .sapFieldCount(123456789L) + .sapFieldOrder(123) + .catalogDatasetGuid("String0") + .name("String0") + .displayName("String0") + .description("String0") + .assetSourceReadme("String0") + .userDescription("String0") + .assetAiGeneratedDescription("String0") + .assetAiGeneratedDescriptionConfidence(123.456) + .assetAiGeneratedDescriptionReasoning("String0") + .tenantId("String0") + .certificateStatus(CertificateStatus.DEPRECATED) + .certificateStatusMessage("String0") + .certificateUpdatedBy("String0") + .certificateUpdatedAt(123456789L) + .announcementTitle("String0") + .announcementMessage("String0") + .announcementType(AtlanAnnouncementType.INFORMATION) + .announcementUpdatedAt(123456789L) + .announcementUpdatedBy("String0") + .assetAnnouncementExpiredAt(123456789L) + .ownerUser("String0") + .ownerUser("String1") + .ownerGroup("String0") + .ownerGroup("String1") + .adminUser("String0") + .adminUser("String1") + .adminGroup("String0") + .adminGroup("String1") + .viewerUser("String0") + .viewerUser("String1") + .viewerGroup("String0") + .viewerGroup("String1") + .connectorName("String0") + .connectionName("String0") + .connectionQualifiedName("String0") + .assetManagedBy("String0") + .hasLineage(true) + .isDiscoverable(true) + .isEditable(true) + .subType("String0") + .viewScore(123.456) + .popularityScore(123.456) + .sourceOwners("String0") + .assetSourceId("String0") + .sourceCreatedBy("String0") + .sourceCreatedAt(123456789L) + .sourceUpdatedAt(123456789L) + .sourceUpdatedBy("String0") + .sourceURL("String0") + .sourceEmbedURL("String0") + .lastSyncWorkflowName("String0") + .lastSyncRunAt(123456789L) + .lastSyncRun("String0") + .adminRole("String0") + .adminRole("String1") + .sourceReadCount(123456789L) + .sourceReadUserCount(123456789L) + .sourceLastReadAt(123456789L) + .lastRowChangedAt(123456789L) + .sourceTotalCost(123.456) + .sourceCostUnit(SourceCostUnitType.CREDITS) + .sourceReadQueryCost(123.456) + .sourceReadRecentUser("String0") + .sourceReadRecentUser("String1") + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadTopUser("String0") + .sourceReadTopUser("String1") + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceQueryComputeCost("String0") + .sourceQueryComputeCost("String1") + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .dbtQualifiedName("String0") + .assetDbtWorkflowLastUpdated("String0") + .assetDbtAlias("String0") + .assetDbtMeta("String0") + .assetDbtUniqueId("String0") + .assetDbtAccountName("String0") + .assetDbtProjectName("String0") + .assetDbtPackageName("String0") + .assetDbtJobName("String0") + .assetDbtJobSchedule("String0") + .assetDbtJobStatus("String0") + .assetDbtTestStatus("String0") + .assetDbtJobScheduleCronHumanized("String0") + .assetDbtJobLastRun(123456789L) + .assetDbtJobLastRunUrl("String0") + .assetDbtJobLastRunCreatedAt(123456789L) + .assetDbtJobLastRunUpdatedAt(123456789L) + .assetDbtJobLastRunDequedAt(123456789L) + .assetDbtJobLastRunStartedAt(123456789L) + .assetDbtJobLastRunTotalDuration("String0") + .assetDbtJobLastRunTotalDurationHumanized("String0") + .assetDbtJobLastRunQueuedDuration("String0") + .assetDbtJobLastRunQueuedDurationHumanized("String0") + .assetDbtJobLastRunRunDuration("String0") + .assetDbtJobLastRunRunDurationHumanized("String0") + .assetDbtJobLastRunGitBranch("String0") + .assetDbtJobLastRunGitSha("String0") + .assetDbtJobLastRunStatusMessage("String0") + .assetDbtJobLastRunOwnerThreadId("String0") + .assetDbtJobLastRunExecutedByThreadId("String0") + .assetDbtJobLastRunArtifactsSaved(true) + .assetDbtJobLastRunArtifactS3Path("String0") + .assetDbtJobLastRunHasDocsGenerated(true) + .assetDbtJobLastRunHasSourcesGenerated(true) + .assetDbtJobLastRunNotificationsSent(true) + .assetDbtJobNextRun(123456789L) + .assetDbtJobNextRunHumanized("String0") + .assetDbtEnvironmentName("String0") + .assetDbtEnvironmentDbtVersion("String0") + .assetDbtTag("String0") + .assetDbtTag("String1") + .assetDbtSemanticLayerProxyUrl("String0") + .assetDbtSourceFreshnessCriteria("String0") + .sampleDataUrl("String0") + .assetTag("String0") + .assetTag("String1") + .assetMcIncidentName("String0") + .assetMcIncidentName("String1") + .assetMcIncidentQualifiedName("String0") + .assetMcIncidentQualifiedName("String1") + .assetMcAlertQualifiedName("String0") + .assetMcAlertQualifiedName("String1") + .assetMcMonitorName("String0") + .assetMcMonitorName("String1") + .assetMcMonitorQualifiedName("String0") + .assetMcMonitorQualifiedName("String1") + .assetMcMonitorStatus("String0") + .assetMcMonitorStatus("String1") + .assetMcMonitorType("String0") + .assetMcMonitorType("String1") + .assetMcMonitorScheduleType("String0") + .assetMcMonitorScheduleType("String1") + .assetMcIncidentType("String0") + .assetMcIncidentType("String1") + .assetMcIncidentSubType("String0") + .assetMcIncidentSubType("String1") + .assetMcIncidentSeverity("String0") + .assetMcIncidentSeverity("String1") + .assetMcIncidentPriority("String0") + .assetMcIncidentPriority("String1") + .assetMcIncidentState("String0") + .assetMcIncidentState("String1") + .assetMcIsMonitored(true) + .assetMcLastSyncRunAt(123456789L) + .addStarredBy("String0") + .addStarredBy("String1") + .starredDetail(StarredDetails.builder() + .assetStarredBy("String0") + .assetStarredAt(123456789L) + .build()) + .starredDetail(StarredDetails.builder() + .assetStarredBy("String1") + .assetStarredAt(987654321L) + .build()) + .starredCount(123) + .assetAnomaloDQStatus("String0") + .assetAnomaloCheckCount(123456789L) + .assetAnomaloFailedCheckCount(123456789L) + .assetAnomaloCheckStatuses("String0") + .assetAnomaloLastCheckRunAt(123456789L) + .assetAnomaloAppliedCheckType("String0") + .assetAnomaloAppliedCheckType("String1") + .assetAnomaloFailedCheckType("String0") + .assetAnomaloFailedCheckType("String1") + .assetAnomaloSourceUrl("String0") + .assetSodaDQStatus("String0") + .assetSodaCheckCount(123456789L) + .assetSodaLastSyncRunAt(123456789L) + .assetSodaLastScanAt(123456789L) + .assetSodaCheckStatuses("String0") + .assetSodaSourceURL("String0") + .assetIcon(AtlanIcon.ATLAN_TAG) + .assetSummaryProvider(AssetSummaryProvider.builder() + .assetSummaryProviderName("String0") + .assetSummaryProviderUrl("String0") + .build()) + .assetSummary("String0") + .assetSummaryFilterToken("String0") + .assetSummaryFilterToken("String1") + .assetExternalDQScoreValue(123.456) + .assetExternalDQTestEntity("String0") + .assetExternalDQTestEntity("String1") + .assetExternalDQTestLatestScore(123.456) + .assetExternalDQTestLatestScore(654.321) + .assetExternalDQTestAvgScore(123.456) + .assetExternalDQTestAvgScore(654.321) + .assetExternalDQTestMinScore(123.456) + .assetExternalDQTestMinScore(654.321) + .assetExternalDQMetadataDetail( + "String0", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String0") + .assetExternalDQSourceLogo("String0") + .assetExternalDQSourceURL("String0") + .assetExternalDQLastSyncRunAt(123456789L) + .assetExternalDQTestEntityTypeName("String0") + .assetExternalDQTestEntityName("String0") + .assetExternalDQTestTotalCount(123) + .assetExternalDQTestLastRunSuccessCount(123) + .assetExternalDQTestLastRunFailureCount(123) + .assetExternalDQTestLastRunTotalRulesCount(123456789L) + .assetExternalDQTestLastRunSuccessRulesCount(123456789L) + .assetExternalDQTestLastRunFailureRulesCount(123456789L) + .assetExternalDQOverallScoreValue("String0") + .assetExternalDQOverallScoreType("String0") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(123456789L) + .assetExternalDQTestStatsByCategory(Map.of( + "String0", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String0", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(123) + .build())) + .build())) + .build()) + .build()) + .assetExternalDQMetadataDetail( + "String1", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String1") + .assetExternalDQSourceLogo("String1") + .assetExternalDQSourceURL("String1") + .assetExternalDQLastSyncRunAt(987654321L) + .assetExternalDQTestEntityTypeName("String1") + .assetExternalDQTestEntityName("String1") + .assetExternalDQTestTotalCount(456) + .assetExternalDQTestLastRunSuccessCount(456) + .assetExternalDQTestLastRunFailureCount(456) + .assetExternalDQTestLastRunTotalRulesCount(987654321L) + .assetExternalDQTestLastRunSuccessRulesCount(987654321L) + .assetExternalDQTestLastRunFailureRulesCount(987654321L) + .assetExternalDQOverallScoreValue("String1") + .assetExternalDQOverallScoreType("String1") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(987654321L) + .assetExternalDQTestStatsByCategory(Map.of( + "String1", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String1", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(456) + .build())) + .build())) + .build()) + .build()) + .isPartial(true) + .isAIGenerated(true) + .assetCoverImage("String0") + .assetThemeHex("String0") + .lexicographicalSortOrder("String0") + .hasContract(true) + .assetRedirectGUID("String0") + .assetRedirectGUID("String1") + .assetPolicyGUID("String0") + .assetPolicyGUID("String1") + .assetPoliciesCount(123456789L) + .domainGUID("String0") + .domainGUID("String1") + .nonCompliantAssetPolicyGUID("String0") + .nonCompliantAssetPolicyGUID("String1") + .productGUID("String0") + .productGUID("String1") + .outputProductGUID("String0") + .outputProductGUID("String1") + .applicationQualifiedName("String0") + .applicationFieldQualifiedName("String0") + .assetUserDefinedType("String0") + .assetInternalPopularityScore(123.456) + .assetDQScheduleType(DataQualityScheduleType.ON_DATA_CHANGE) + .assetDQScheduleCrontab("String0") + .assetDQScheduleTimeZone("String0") + .assetDQScheduleSourceSyncStatus(DataQualitySourceSyncStatus.SUCCESSFUL) + .assetDQScheduleSourceSyncedAt(123456789L) + .assetDQScheduleSourceSyncErrorMessage("String0") + .assetDQScheduleSourceSyncErrorCode("String0") + .assetDQScheduleSourceSyncRawError("String0") + .assetDQRuleAttachedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleAttachedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleFailedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleFailedDimension(DataQualityDimension.TIMELINESS) + .assetDQRulePassedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRulePassedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleAttachedRuleType("String0") + .assetDQRuleAttachedRuleType("String1") + .assetDQRuleFailedRuleType("String0") + .assetDQRuleFailedRuleType("String1") + .assetDQRulePassedRuleType("String0") + .assetDQRulePassedRuleType("String1") + .assetDQRuleResultTag("String0") + .assetDQRuleResultTag("String1") + .assetDQRuleLastRunAt(123456789L) + .assetDQManualRunStatus(AssetDQRunStatus.SUCCESSFUL) + .assetDQRuleTotalCount(123456789L) + .assetDQRuleFailedCount(123456789L) + .assetDQRulePassedCount(123456789L) + .assetDQResult(DataQualityResult.PASS) + .assetDQFreshnessValue(123456789L) + .assetDQFreshnessExpectation(123456789L) + .assetDQRowScopeFilterColumnQualifiedName("String0") + .assetSpaceQualifiedName("String0") + .assetSpaceName("String0") + .assetImmutaRequestUrl("String0") + .assetImmutaRequestType("String0") + .assetGCPDataplexMetadataDetails(AssetGCPDataplexMetadata.builder() + .assetGCPDataplexLastSyncRunAt(123456789L) + .assetGCPDataplexEntryName("String0") + .assetGCPDataplexAspectDetails(Map.of( + "String0", + AssetGCPDataplexAspectMetadata.builder() + .assetGCPDataplexAspectFullName("String0") + .assetGCPDataplexAspectDisplayName("String0") + .assetGCPDataplexAspectType("String0") + .assetGCPDataplexAspectTypeLabels(Map.of("String0", "String0")) + .assetGCPDataplexAspectCreatedAt(123456789L) + .assetGCPDataplexAspectUpdatedAt(123456789L) + .assetGCPDataplexAspectFields(Map.of("String0", "String0")) + .build())) + .build()) + .addAssetGCPDataplexAspect("String0") + .addAssetGCPDataplexAspect("String1") + .addAssetGCPDataplexAspectField("String0") + .addAssetGCPDataplexAspectField("String1") + .assetSmusMetadataFormName("String0") + .assetSmusMetadataFormName("String1") + .assetSmusMetadataFormKeyValueDetail("String0") + .assetSmusMetadataFormKeyValueDetail("String1") + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String0") + .assetMetadataFormDescription("String0") + .assetMetadataFormDomainId("String0") + .assetMetadataFormProjectId("String0") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.ENABLED) + .assetMetadataFormRevision("String0") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String1") + .assetMetadataFormDescription("String1") + .assetMetadataFormDomainId("String1") + .assetMetadataFormProjectId("String1") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.DISABLED) + .assetMetadataFormRevision("String1") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .addAssetAiAlias("String0") + .addAssetAiAlias("String1") + .assetHasAiReadme(true) + .sapAnalyticsCloudStoryKind("String0") + .sapAnalyticsCloudIsSample(true) + .sapAnalyticsCloudFolder(SapAnalyticsCloudFolder.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .anomaloCheck(AnomaloCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .application(Application.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .applicationField(ApplicationField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatest(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatestCertified(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceDatasetRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .file(File.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .file(File.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .link(Link.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .link(Link.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcIncident(MCIncident.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcIncident(MCIncident.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcMonitor(MCMonitor.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcMonitor(MCMonitor.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .metric(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metric(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .readme(Readme.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject(SchemaRegistrySubject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject( + SchemaRegistrySubject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sodaCheck(SodaCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sodaCheck(SodaCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipFrom(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipFrom( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipTo(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipTo( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .build(); + + @BeforeClass + void init() throws InterruptedException { + MockAtlanTenant.initializeClient(); + } + + @Test + void serdeCycleSapAnalyticsCloudStory() throws IOException { + assertNotNull(full, "Unable to build sample instance of SapAnalyticsCloudStory,"); + final int hash = full.hashCode(); + // Builder equivalency + assertEquals( + full.toBuilder().build(), + full, + "Unable to converting SapAnalyticsCloudStory via builder back to its original state,"); + // Serialization + final String serialized = full.toJson(MockAtlanTenant.client); + assertNotNull(serialized, "Unable to serialize sample instance of SapAnalyticsCloudStory,"); + assertEquals(full.hashCode(), hash, "Serialization mutated the original value,"); + // Deserialization + final SapAnalyticsCloudStory frodo = MockAtlanTenant.client.readValue(serialized, SapAnalyticsCloudStory.class); + assertNotNull( + frodo, "Unable to reverse-read serialized value back into an instance of SapAnalyticsCloudStory,"); + // Serialized equivalency + String backAgain = frodo.toJson(MockAtlanTenant.client); + assertEquals(backAgain, serialized, "Serialization is not equivalent after serde loop,"); + // Deserialized equivalency + assertEquals(frodo, full, "Deserialization is not equivalent after serde loop,"); + } +} diff --git a/sdk/src/test/java/com/atlan/model/assets/SapDatasphereReplicationFlowTest.java b/sdk/src/test/java/com/atlan/model/assets/SapDatasphereReplicationFlowTest.java new file mode 100644 index 0000000000..ffd7e8d474 --- /dev/null +++ b/sdk/src/test/java/com/atlan/model/assets/SapDatasphereReplicationFlowTest.java @@ -0,0 +1,1245 @@ +/* SPDX-License-Identifier: Apache-2.0 + Copyright 2022 Atlan Pte. Ltd. */ +package com.atlan.model.assets; + +import static org.testng.Assert.*; + +import com.atlan.mock.MockAtlanTenant; +import com.atlan.model.core.AtlanTag; +import com.atlan.model.core.CustomMetadataAttributes; +import com.atlan.model.enums.*; +import com.atlan.model.structs.*; +import java.io.IOException; +import java.util.*; +import javax.annotation.processing.Generated; +import org.testng.annotations.BeforeClass; +import org.testng.annotations.Test; + +@Generated(value = "com.atlan.generators.ModelGeneratorV2") +@SuppressWarnings("deprecation") +public class SapDatasphereReplicationFlowTest { + + private final SapDatasphereReplicationFlow full = SapDatasphereReplicationFlow._internal() + .guid("guid") + .displayText("displayText") + .status(AtlanStatus.ACTIVE) + .createdBy("createdBy") + .updatedBy("updatedBy") + .createTime(123456789L) + .updateTime(123456789L) + .isIncomplete(false) + .deleteHandler("SOFT") + .meaningNames(Set.of("meaningName1", "meaningName2")) + .meanings(Set.of( + Meaning.builder() + .termGuid("termGuid1") + .relationGuid("relationGuid1") + .displayText("displayText1") + .confidence(100) + .build(), + Meaning.builder() + .termGuid("termGuid2") + .relationGuid("relationGuid2") + .displayText("displayText2") + .confidence(100) + .build())) + .qualifiedName("qualifiedName") + .atlanTag(AtlanTag.of("String0")) + .atlanTag(AtlanTag.builder().typeName("String1").propagate(false).build()) + .customMetadata( + "String0", + CustomMetadataAttributes.builder() + .attribute("String0", 123.456) + .attribute("String1", true) + .build()) + .customMetadata( + "String1", + CustomMetadataAttributes.builder() + // Note: for equivalency this MUST be a Long (not an Integer), as deserialization + // will always produce a Long + .attribute("String0", 789L) + .attribute("String1", "AnotherString") + .build()) + .flowStartedAt(123456789L) + .flowFinishedAt(123456789L) + .flowStatus("String0") + .flowSchedule("String0") + .flowProjectName("String0") + .flowProjectQualifiedName("String0") + .flowFolderName("String0") + .flowFolderQualifiedName("String0") + .flowReusableUnitName("String0") + .flowReusableUnitQualifiedName("String0") + .flowId("String0") + .flowRunId("String0") + .flowErrorMessage("String0") + .flowInputParameter("String0", "String0") + .flowInputParameter("String1", "String1") + .name("String0") + .displayName("String0") + .description("String0") + .assetSourceReadme("String0") + .userDescription("String0") + .assetAiGeneratedDescription("String0") + .assetAiGeneratedDescriptionConfidence(123.456) + .assetAiGeneratedDescriptionReasoning("String0") + .tenantId("String0") + .certificateStatus(CertificateStatus.DEPRECATED) + .certificateStatusMessage("String0") + .certificateUpdatedBy("String0") + .certificateUpdatedAt(123456789L) + .announcementTitle("String0") + .announcementMessage("String0") + .announcementType(AtlanAnnouncementType.INFORMATION) + .announcementUpdatedAt(123456789L) + .announcementUpdatedBy("String0") + .assetAnnouncementExpiredAt(123456789L) + .ownerUser("String0") + .ownerUser("String1") + .ownerGroup("String0") + .ownerGroup("String1") + .adminUser("String0") + .adminUser("String1") + .adminGroup("String0") + .adminGroup("String1") + .viewerUser("String0") + .viewerUser("String1") + .viewerGroup("String0") + .viewerGroup("String1") + .connectorName("String0") + .connectionName("String0") + .connectionQualifiedName("String0") + .assetManagedBy("String0") + .hasLineage(true) + .isDiscoverable(true) + .isEditable(true) + .subType("String0") + .viewScore(123.456) + .popularityScore(123.456) + .sourceOwners("String0") + .assetSourceId("String0") + .sourceCreatedBy("String0") + .sourceCreatedAt(123456789L) + .sourceUpdatedAt(123456789L) + .sourceUpdatedBy("String0") + .sourceURL("String0") + .sourceEmbedURL("String0") + .lastSyncWorkflowName("String0") + .lastSyncRunAt(123456789L) + .lastSyncRun("String0") + .adminRole("String0") + .adminRole("String1") + .sourceReadCount(123456789L) + .sourceReadUserCount(123456789L) + .sourceLastReadAt(123456789L) + .lastRowChangedAt(123456789L) + .sourceTotalCost(123.456) + .sourceCostUnit(SourceCostUnitType.CREDITS) + .sourceReadQueryCost(123.456) + .sourceReadRecentUser("String0") + .sourceReadRecentUser("String1") + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadRecentUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadTopUser("String0") + .sourceReadTopUser("String1") + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadTopUserRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadPopularQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadExpensiveQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceReadSlowQueryRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .sourceQueryComputeCost("String0") + .sourceQueryComputeCost("String1") + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sourceQueryComputeCostRecord(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) + .dbtQualifiedName("String0") + .assetDbtWorkflowLastUpdated("String0") + .assetDbtAlias("String0") + .assetDbtMeta("String0") + .assetDbtUniqueId("String0") + .assetDbtAccountName("String0") + .assetDbtProjectName("String0") + .assetDbtPackageName("String0") + .assetDbtJobName("String0") + .assetDbtJobSchedule("String0") + .assetDbtJobStatus("String0") + .assetDbtTestStatus("String0") + .assetDbtJobScheduleCronHumanized("String0") + .assetDbtJobLastRun(123456789L) + .assetDbtJobLastRunUrl("String0") + .assetDbtJobLastRunCreatedAt(123456789L) + .assetDbtJobLastRunUpdatedAt(123456789L) + .assetDbtJobLastRunDequedAt(123456789L) + .assetDbtJobLastRunStartedAt(123456789L) + .assetDbtJobLastRunTotalDuration("String0") + .assetDbtJobLastRunTotalDurationHumanized("String0") + .assetDbtJobLastRunQueuedDuration("String0") + .assetDbtJobLastRunQueuedDurationHumanized("String0") + .assetDbtJobLastRunRunDuration("String0") + .assetDbtJobLastRunRunDurationHumanized("String0") + .assetDbtJobLastRunGitBranch("String0") + .assetDbtJobLastRunGitSha("String0") + .assetDbtJobLastRunStatusMessage("String0") + .assetDbtJobLastRunOwnerThreadId("String0") + .assetDbtJobLastRunExecutedByThreadId("String0") + .assetDbtJobLastRunArtifactsSaved(true) + .assetDbtJobLastRunArtifactS3Path("String0") + .assetDbtJobLastRunHasDocsGenerated(true) + .assetDbtJobLastRunHasSourcesGenerated(true) + .assetDbtJobLastRunNotificationsSent(true) + .assetDbtJobNextRun(123456789L) + .assetDbtJobNextRunHumanized("String0") + .assetDbtEnvironmentName("String0") + .assetDbtEnvironmentDbtVersion("String0") + .assetDbtTag("String0") + .assetDbtTag("String1") + .assetDbtSemanticLayerProxyUrl("String0") + .assetDbtSourceFreshnessCriteria("String0") + .sampleDataUrl("String0") + .assetTag("String0") + .assetTag("String1") + .assetMcIncidentName("String0") + .assetMcIncidentName("String1") + .assetMcIncidentQualifiedName("String0") + .assetMcIncidentQualifiedName("String1") + .assetMcAlertQualifiedName("String0") + .assetMcAlertQualifiedName("String1") + .assetMcMonitorName("String0") + .assetMcMonitorName("String1") + .assetMcMonitorQualifiedName("String0") + .assetMcMonitorQualifiedName("String1") + .assetMcMonitorStatus("String0") + .assetMcMonitorStatus("String1") + .assetMcMonitorType("String0") + .assetMcMonitorType("String1") + .assetMcMonitorScheduleType("String0") + .assetMcMonitorScheduleType("String1") + .assetMcIncidentType("String0") + .assetMcIncidentType("String1") + .assetMcIncidentSubType("String0") + .assetMcIncidentSubType("String1") + .assetMcIncidentSeverity("String0") + .assetMcIncidentSeverity("String1") + .assetMcIncidentPriority("String0") + .assetMcIncidentPriority("String1") + .assetMcIncidentState("String0") + .assetMcIncidentState("String1") + .assetMcIsMonitored(true) + .assetMcLastSyncRunAt(123456789L) + .addStarredBy("String0") + .addStarredBy("String1") + .starredDetail(StarredDetails.builder() + .assetStarredBy("String0") + .assetStarredAt(123456789L) + .build()) + .starredDetail(StarredDetails.builder() + .assetStarredBy("String1") + .assetStarredAt(987654321L) + .build()) + .starredCount(123) + .assetAnomaloDQStatus("String0") + .assetAnomaloCheckCount(123456789L) + .assetAnomaloFailedCheckCount(123456789L) + .assetAnomaloCheckStatuses("String0") + .assetAnomaloLastCheckRunAt(123456789L) + .assetAnomaloAppliedCheckType("String0") + .assetAnomaloAppliedCheckType("String1") + .assetAnomaloFailedCheckType("String0") + .assetAnomaloFailedCheckType("String1") + .assetAnomaloSourceUrl("String0") + .assetSodaDQStatus("String0") + .assetSodaCheckCount(123456789L) + .assetSodaLastSyncRunAt(123456789L) + .assetSodaLastScanAt(123456789L) + .assetSodaCheckStatuses("String0") + .assetSodaSourceURL("String0") + .assetIcon(AtlanIcon.ATLAN_TAG) + .assetSummaryProvider(AssetSummaryProvider.builder() + .assetSummaryProviderName("String0") + .assetSummaryProviderUrl("String0") + .build()) + .assetSummary("String0") + .assetSummaryFilterToken("String0") + .assetSummaryFilterToken("String1") + .assetExternalDQScoreValue(123.456) + .assetExternalDQTestEntity("String0") + .assetExternalDQTestEntity("String1") + .assetExternalDQTestLatestScore(123.456) + .assetExternalDQTestLatestScore(654.321) + .assetExternalDQTestAvgScore(123.456) + .assetExternalDQTestAvgScore(654.321) + .assetExternalDQTestMinScore(123.456) + .assetExternalDQTestMinScore(654.321) + .assetExternalDQMetadataDetail( + "String0", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String0") + .assetExternalDQSourceLogo("String0") + .assetExternalDQSourceURL("String0") + .assetExternalDQLastSyncRunAt(123456789L) + .assetExternalDQTestEntityTypeName("String0") + .assetExternalDQTestEntityName("String0") + .assetExternalDQTestTotalCount(123) + .assetExternalDQTestLastRunSuccessCount(123) + .assetExternalDQTestLastRunFailureCount(123) + .assetExternalDQTestLastRunTotalRulesCount(123456789L) + .assetExternalDQTestLastRunSuccessRulesCount(123456789L) + .assetExternalDQTestLastRunFailureRulesCount(123456789L) + .assetExternalDQOverallScoreValue("String0") + .assetExternalDQOverallScoreType("String0") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(123456789L) + .assetExternalDQTestStatsByCategory(Map.of( + "String0", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String0", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(123) + .build())) + .build())) + .build()) + .build()) + .assetExternalDQMetadataDetail( + "String1", + AssetExternalDQMetadata.builder() + .assetExternalDQSystemName("String1") + .assetExternalDQSourceLogo("String1") + .assetExternalDQSourceURL("String1") + .assetExternalDQLastSyncRunAt(987654321L) + .assetExternalDQTestEntityTypeName("String1") + .assetExternalDQTestEntityName("String1") + .assetExternalDQTestTotalCount(456) + .assetExternalDQTestLastRunSuccessCount(456) + .assetExternalDQTestLastRunFailureCount(456) + .assetExternalDQTestLastRunTotalRulesCount(987654321L) + .assetExternalDQTestLastRunSuccessRulesCount(987654321L) + .assetExternalDQTestLastRunFailureRulesCount(987654321L) + .assetExternalDQOverallScoreValue("String1") + .assetExternalDQOverallScoreType("String1") + .assetExternalDQScoreDimensions(List.of( + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String0") + .assetExternalDQScoreDimensionDescription("String0") + .assetExternalDQScoreDimensionScoreValue("String0") + .assetExternalDQScoreDimensionScoreType("String0") + .build(), + AssetExternalDQScoreBreakdownByDimension.builder() + .assetExternalDQScoreDimensionName("String1") + .assetExternalDQScoreDimensionDescription("String1") + .assetExternalDQScoreDimensionScoreValue("String1") + .assetExternalDQScoreDimensionScoreType("String1") + .build())) + .assetExternalDQTests(List.of( + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String0") + .assetExternalDQTestId("String0") + .assetExternalDQTestDescription("String0") + .assetExternalDQTestScheduleType("String0") + .assetExternalDQTestLastRunStatus("String0") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build(), + AssetExternalDQTestDetails.builder() + .assetExternalDQTestName("String1") + .assetExternalDQTestId("String1") + .assetExternalDQTestDescription("String1") + .assetExternalDQTestScheduleType("String1") + .assetExternalDQTestLastRunStatus("String1") + .assetExternalDQTestRuns(List.of( + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String0") + .assetExternalDQTestRunStartedAt(123456789L) + .assetExternalDQTestRunEndedAt(123456789L) + .assetExternalDQTestRunStatus("String0") + .assetExternalDQTestRunScoreValue("String0") + .assetExternalDQTestScoreType("String0") + .assetExternalDQTestTotalRulesCount(123456789L) + .assetExternalDQTestPassedRulesCount(123456789L) + .assetExternalDQTestFailedRulesCount(123456789L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String0") + .assetExternalDQTestMetricUpperBound( + "String0") + .assetExternalDQTestMetricLowerBound( + "String0") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build(), + AssetExternalDQTestRunHistory.builder() + .assetExternalDQTestRunId("String1") + .assetExternalDQTestRunStartedAt(987654321L) + .assetExternalDQTestRunEndedAt(987654321L) + .assetExternalDQTestRunStatus("String1") + .assetExternalDQTestRunScoreValue("String1") + .assetExternalDQTestScoreType("String1") + .assetExternalDQTestTotalRulesCount(987654321L) + .assetExternalDQTestPassedRulesCount(987654321L) + .assetExternalDQTestFailedRulesCount(987654321L) + .assetExternalDQTestMetricInfo( + AssetExternalDQTestMetric.builder() + .assetExternalDQTestMetricObservedValue( + "String1") + .assetExternalDQTestMetricUpperBound( + "String1") + .assetExternalDQTestMetricLowerBound( + "String1") + .build()) + .assetExternalDQTestScoreDimensions(List.of( + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String0") + .assetExternalDQTestScoreDimensionDescription( + "String0") + .assetExternalDQTestScoreDimensionScoreValue( + "String0") + .assetExternalDQTestScoreDimensionScoreType( + "String0") + .build(), + AssetExternalDQTestScoreDimension.builder() + .assetExternalDQTestScoreDimensionName( + "String1") + .assetExternalDQTestScoreDimensionDescription( + "String1") + .assetExternalDQTestScoreDimensionScoreValue( + "String1") + .assetExternalDQTestScoreDimensionScoreType( + "String1") + .build())) + .assetExternalDQTestRules(List.of( + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String0") + .assetExternalDQTestRuleEvaluationStatus( + "String0") + .assetExternalDQTestRuleEvaluatedAt( + 123456789L) + .assetExternalDQTestRuleImpact("String0") + .assetExternalDQTestRuleType("String0") + .assetExternalDQTestRuleColumnName( + "String0") + .assetExternalDQTestRuleDimension("String0") + .build(), + AssetExternalDQTestRule.builder() + .assetExternalDQTestRuleName("String1") + .assetExternalDQTestRuleEvaluationStatus( + "String1") + .assetExternalDQTestRuleEvaluatedAt( + 987654321L) + .assetExternalDQTestRuleImpact("String1") + .assetExternalDQTestRuleType("String1") + .assetExternalDQTestRuleColumnName( + "String1") + .assetExternalDQTestRuleDimension("String1") + .build())) + .build())) + .build())) + .assetExternalDQTestStats(AssetExternalDQTestStats.builder() + .assetExternalDQTestLastAssessedAt(987654321L) + .assetExternalDQTestStatsByCategory(Map.of( + "String1", + AssetExternalDQTestStatsByCategory.builder() + .assetExternalDQTestsByStatus(Map.of( + "String1", + AssetExternalDQTestsByStatus.builder() + .assetExternalDQTestCountForStatus(456) + .build())) + .build())) + .build()) + .build()) + .isPartial(true) + .isAIGenerated(true) + .assetCoverImage("String0") + .assetThemeHex("String0") + .lexicographicalSortOrder("String0") + .hasContract(true) + .assetRedirectGUID("String0") + .assetRedirectGUID("String1") + .assetPolicyGUID("String0") + .assetPolicyGUID("String1") + .assetPoliciesCount(123456789L) + .domainGUID("String0") + .domainGUID("String1") + .nonCompliantAssetPolicyGUID("String0") + .nonCompliantAssetPolicyGUID("String1") + .productGUID("String0") + .productGUID("String1") + .outputProductGUID("String0") + .outputProductGUID("String1") + .applicationQualifiedName("String0") + .applicationFieldQualifiedName("String0") + .assetUserDefinedType("String0") + .assetInternalPopularityScore(123.456) + .assetDQScheduleType(DataQualityScheduleType.ON_DATA_CHANGE) + .assetDQScheduleCrontab("String0") + .assetDQScheduleTimeZone("String0") + .assetDQScheduleSourceSyncStatus(DataQualitySourceSyncStatus.SUCCESSFUL) + .assetDQScheduleSourceSyncedAt(123456789L) + .assetDQScheduleSourceSyncErrorMessage("String0") + .assetDQScheduleSourceSyncErrorCode("String0") + .assetDQScheduleSourceSyncRawError("String0") + .assetDQRuleAttachedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleAttachedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleFailedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRuleFailedDimension(DataQualityDimension.TIMELINESS) + .assetDQRulePassedDimension(DataQualityDimension.COMPLETENESS) + .assetDQRulePassedDimension(DataQualityDimension.TIMELINESS) + .assetDQRuleAttachedRuleType("String0") + .assetDQRuleAttachedRuleType("String1") + .assetDQRuleFailedRuleType("String0") + .assetDQRuleFailedRuleType("String1") + .assetDQRulePassedRuleType("String0") + .assetDQRulePassedRuleType("String1") + .assetDQRuleResultTag("String0") + .assetDQRuleResultTag("String1") + .assetDQRuleLastRunAt(123456789L) + .assetDQManualRunStatus(AssetDQRunStatus.SUCCESSFUL) + .assetDQRuleTotalCount(123456789L) + .assetDQRuleFailedCount(123456789L) + .assetDQRulePassedCount(123456789L) + .assetDQResult(DataQualityResult.PASS) + .assetDQFreshnessValue(123456789L) + .assetDQFreshnessExpectation(123456789L) + .assetDQRowScopeFilterColumnQualifiedName("String0") + .assetSpaceQualifiedName("String0") + .assetSpaceName("String0") + .assetImmutaRequestUrl("String0") + .assetImmutaRequestType("String0") + .assetGCPDataplexMetadataDetails(AssetGCPDataplexMetadata.builder() + .assetGCPDataplexLastSyncRunAt(123456789L) + .assetGCPDataplexEntryName("String0") + .assetGCPDataplexAspectDetails(Map.of( + "String0", + AssetGCPDataplexAspectMetadata.builder() + .assetGCPDataplexAspectFullName("String0") + .assetGCPDataplexAspectDisplayName("String0") + .assetGCPDataplexAspectType("String0") + .assetGCPDataplexAspectTypeLabels(Map.of("String0", "String0")) + .assetGCPDataplexAspectCreatedAt(123456789L) + .assetGCPDataplexAspectUpdatedAt(123456789L) + .assetGCPDataplexAspectFields(Map.of("String0", "String0")) + .build())) + .build()) + .addAssetGCPDataplexAspect("String0") + .addAssetGCPDataplexAspect("String1") + .addAssetGCPDataplexAspectField("String0") + .addAssetGCPDataplexAspectField("String1") + .assetSmusMetadataFormName("String0") + .assetSmusMetadataFormName("String1") + .assetSmusMetadataFormKeyValueDetail("String0") + .assetSmusMetadataFormKeyValueDetail("String1") + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String0") + .assetMetadataFormDescription("String0") + .assetMetadataFormDomainId("String0") + .assetMetadataFormProjectId("String0") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.ENABLED) + .assetMetadataFormRevision("String0") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .assetSmusMetadataFormDetail(AssetSmusMetadataFormDetails.builder() + .assetMetadataFormName("String1") + .assetMetadataFormDescription("String1") + .assetMetadataFormDomainId("String1") + .assetMetadataFormProjectId("String1") + .assetMetadataFormStatus(AssetSmusMetadataFormStatus.DISABLED) + .assetMetadataFormRevision("String1") + .assetMetadataFormFields(List.of(Map.of("key1", "value1"), Map.of("key2", "value2"))) + .build()) + .addAssetAiAlias("String0") + .addAssetAiAlias("String1") + .assetHasAiReadme(true) + .sapDatasphereReplicationFlowSpaceName("String0") + .sapDatasphereReplicationFlowSpaceQualifiedName("String0") + .sapDatasphereReplicationFlowSourceConnection("String0") + .sapDatasphereReplicationFlowTargetConnection("String0") + .sapDatasphereReplicationFlowLoadType("String0") + .sapDatasphereReplicationFlowDatasetCount(123456789L) + .flowDataResult(LineageProcess.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .flowDataResult(LineageProcess.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .flowPredecessor(FlowControlOperation.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .flowPredecessor(FlowControlOperation.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .flowSuccessor(FlowControlOperation.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .flowSuccessor(FlowControlOperation.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .flowControlledOperation(FlowControlOperation.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .flowControlledOperation( + FlowControlOperation.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .flowControlledBy(FlowControlOperation.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapDatasphereSchema(Schema.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .anomaloCheck(AnomaloCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .application(Application.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .applicationField(ApplicationField.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatest(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dataContractLatestCertified(DataContract.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqBaseDatasetRule(DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .dqReferenceDatasetRule(DataQualityRule.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .dqReferenceDatasetRule( + DataQualityRule.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .file(File.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .file(File.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .inputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .inputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .link(Link.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .link(Link.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcIncident(MCIncident.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcIncident(MCIncident.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .mcMonitor(MCMonitor.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .mcMonitor(MCMonitor.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .metric(Metric.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .metric(Metric.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .outputPortDataProduct(DataProduct.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .outputPortDataProduct(DataProduct.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .readme(Readme.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject(SchemaRegistrySubject.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .schemaRegistrySubject( + SchemaRegistrySubject.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sodaCheck(SodaCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sodaCheck(SodaCheck.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipFrom(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipFrom( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .userDefRelationshipTo(IndistinctAsset.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .userDefRelationshipTo( + IndistinctAsset.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .build(); + + @BeforeClass + void init() throws InterruptedException { + MockAtlanTenant.initializeClient(); + } + + @Test + void serdeCycleSapDatasphereReplicationFlow() throws IOException { + assertNotNull(full, "Unable to build sample instance of SapDatasphereReplicationFlow,"); + final int hash = full.hashCode(); + // Builder equivalency + assertEquals( + full.toBuilder().build(), + full, + "Unable to converting SapDatasphereReplicationFlow via builder back to its original state,"); + // Serialization + final String serialized = full.toJson(MockAtlanTenant.client); + assertNotNull(serialized, "Unable to serialize sample instance of SapDatasphereReplicationFlow,"); + assertEquals(full.hashCode(), hash, "Serialization mutated the original value,"); + // Deserialization + final SapDatasphereReplicationFlow frodo = + MockAtlanTenant.client.readValue(serialized, SapDatasphereReplicationFlow.class); + assertNotNull( + frodo, + "Unable to reverse-read serialized value back into an instance of SapDatasphereReplicationFlow,"); + // Serialized equivalency + String backAgain = frodo.toJson(MockAtlanTenant.client); + assertEquals(backAgain, serialized, "Serialization is not equivalent after serde loop,"); + // Deserialized equivalency + assertEquals(frodo, full, "Deserialization is not equivalent after serde loop,"); + } +} diff --git a/sdk/src/test/java/com/atlan/model/assets/SapErpAbapProgramTest.java b/sdk/src/test/java/com/atlan/model/assets/SapErpAbapProgramTest.java index 61159526aa..78a77260c6 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SapErpAbapProgramTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SapErpAbapProgramTest.java @@ -102,6 +102,7 @@ public class SapErpAbapProgramTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SapErpCdsViewTest.java b/sdk/src/test/java/com/atlan/model/assets/SapErpCdsViewTest.java index dc25db9455..902723a6cd 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SapErpCdsViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SapErpCdsViewTest.java @@ -102,6 +102,7 @@ public class SapErpCdsViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SapErpColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/SapErpColumnTest.java index 3d0850abc3..e22809cd46 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SapErpColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SapErpColumnTest.java @@ -102,6 +102,7 @@ public class SapErpColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SapErpComponentTest.java b/sdk/src/test/java/com/atlan/model/assets/SapErpComponentTest.java index a7f371309b..a505f9df29 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SapErpComponentTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SapErpComponentTest.java @@ -102,6 +102,7 @@ public class SapErpComponentTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SapErpFioriAppTest.java b/sdk/src/test/java/com/atlan/model/assets/SapErpFioriAppTest.java index 0745d5e1e0..87637463d4 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SapErpFioriAppTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SapErpFioriAppTest.java @@ -102,6 +102,7 @@ public class SapErpFioriAppTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SapErpFunctionModuleTest.java b/sdk/src/test/java/com/atlan/model/assets/SapErpFunctionModuleTest.java index 16d766350e..bcb9cc0b35 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SapErpFunctionModuleTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SapErpFunctionModuleTest.java @@ -102,6 +102,7 @@ public class SapErpFunctionModuleTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SapErpTableTest.java b/sdk/src/test/java/com/atlan/model/assets/SapErpTableTest.java index 797a4f16e6..bf6b3440a8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SapErpTableTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SapErpTableTest.java @@ -102,6 +102,7 @@ public class SapErpTableTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1151,6 +1152,8 @@ public class SapErpTableTest { .sapErpColumn(SapErpColumn.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .sapErpColumn(SapErpColumn.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .sapErpComponent(SapErpComponent.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapErpRelatedTable(SapErpTable.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapErpRelatedTable(SapErpTable.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .anomaloCheck(AnomaloCheck.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/SapErpTransactionCodeTest.java b/sdk/src/test/java/com/atlan/model/assets/SapErpTransactionCodeTest.java index d9fc2bdb9d..d42d33ef4f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SapErpTransactionCodeTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SapErpTransactionCodeTest.java @@ -102,6 +102,7 @@ public class SapErpTransactionCodeTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SapErpViewTest.java b/sdk/src/test/java/com/atlan/model/assets/SapErpViewTest.java index bf27cf2bcc..d25ce8f7e0 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SapErpViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SapErpViewTest.java @@ -102,6 +102,7 @@ public class SapErpViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SchemaRegistrySubjectTest.java b/sdk/src/test/java/com/atlan/model/assets/SchemaRegistrySubjectTest.java index d3240b0617..73b328327f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SchemaRegistrySubjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SchemaRegistrySubjectTest.java @@ -97,6 +97,7 @@ public class SchemaRegistrySubjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SchemaRegistryVersionTest.java b/sdk/src/test/java/com/atlan/model/assets/SchemaRegistryVersionTest.java index 783b4ec0b8..f9c8a4aec7 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SchemaRegistryVersionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SchemaRegistryVersionTest.java @@ -97,6 +97,7 @@ public class SchemaRegistryVersionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SchemaTest.java b/sdk/src/test/java/com/atlan/model/assets/SchemaTest.java index 58842f4d5d..6706da8f46 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SchemaTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SchemaTest.java @@ -130,6 +130,7 @@ public class SchemaTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1178,6 +1179,8 @@ public class SchemaTest { .schemaExternalLocation("String0") .viewCount(123) .linkedSchemaQualifiedName("String0") + .bigqueryRoutine(BigqueryRoutine.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .bigqueryRoutine(BigqueryRoutine.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .databricksAIModelContext(DatabricksAIModelContext.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .databricksAIModelContext( DatabricksAIModelContext.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) @@ -1195,6 +1198,10 @@ public class SchemaTest { .sqlDBTSource(DbtSource.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .dbtSeedAsset(DbtSeed.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .dbtSeedAsset(DbtSeed.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) + .sapDatasphereReplicationFlow( + SapDatasphereReplicationFlow.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) + .sapDatasphereReplicationFlow( + SapDatasphereReplicationFlow.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .calculationView(CalculationView.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .calculationView(CalculationView.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) .function(Function.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) diff --git a/sdk/src/test/java/com/atlan/model/assets/SemanticDimensionTest.java b/sdk/src/test/java/com/atlan/model/assets/SemanticDimensionTest.java index b4d5d14db5..68bc01c334 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SemanticDimensionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SemanticDimensionTest.java @@ -95,6 +95,7 @@ public class SemanticDimensionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SemanticEntityTest.java b/sdk/src/test/java/com/atlan/model/assets/SemanticEntityTest.java index aa86057261..cacdc7c655 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SemanticEntityTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SemanticEntityTest.java @@ -95,6 +95,7 @@ public class SemanticEntityTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SemanticFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/SemanticFieldTest.java index 183de39ed6..aded5b432f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SemanticFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SemanticFieldTest.java @@ -95,6 +95,7 @@ public class SemanticFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SemanticMeasureTest.java b/sdk/src/test/java/com/atlan/model/assets/SemanticMeasureTest.java index 57f8704fe3..5b1c47f6b7 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SemanticMeasureTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SemanticMeasureTest.java @@ -95,6 +95,7 @@ public class SemanticMeasureTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SemanticModelTest.java b/sdk/src/test/java/com/atlan/model/assets/SemanticModelTest.java index 6872f7e150..92c81cce1a 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SemanticModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SemanticModelTest.java @@ -95,6 +95,7 @@ public class SemanticModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SigmaDataElementFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/SigmaDataElementFieldTest.java index 046417f38b..f87d4a5564 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SigmaDataElementFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SigmaDataElementFieldTest.java @@ -101,6 +101,7 @@ public class SigmaDataElementFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SigmaDataElementTest.java b/sdk/src/test/java/com/atlan/model/assets/SigmaDataElementTest.java index 24ea743749..a6227ba798 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SigmaDataElementTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SigmaDataElementTest.java @@ -101,6 +101,7 @@ public class SigmaDataElementTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SigmaDataModelColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/SigmaDataModelColumnTest.java index a22d1866a8..2542551722 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SigmaDataModelColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SigmaDataModelColumnTest.java @@ -101,6 +101,7 @@ public class SigmaDataModelColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SigmaDataModelTest.java b/sdk/src/test/java/com/atlan/model/assets/SigmaDataModelTest.java index 87d7eca2af..5aa1407e35 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SigmaDataModelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SigmaDataModelTest.java @@ -101,6 +101,7 @@ public class SigmaDataModelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SigmaDatasetColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/SigmaDatasetColumnTest.java index 7903ab18e9..c478db7d5e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SigmaDatasetColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SigmaDatasetColumnTest.java @@ -101,6 +101,7 @@ public class SigmaDatasetColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SigmaDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/SigmaDatasetTest.java index a930ed2b36..807f4ef271 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SigmaDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SigmaDatasetTest.java @@ -101,6 +101,7 @@ public class SigmaDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SigmaPageTest.java b/sdk/src/test/java/com/atlan/model/assets/SigmaPageTest.java index 6c11c8aeca..acbf096d39 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SigmaPageTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SigmaPageTest.java @@ -101,6 +101,7 @@ public class SigmaPageTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SigmaWorkbookTest.java b/sdk/src/test/java/com/atlan/model/assets/SigmaWorkbookTest.java index a6b46b1ab1..67b6503676 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SigmaWorkbookTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SigmaWorkbookTest.java @@ -101,6 +101,7 @@ public class SigmaWorkbookTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SisenseDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/SisenseDashboardTest.java index b162c120ff..102bec938f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SisenseDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SisenseDashboardTest.java @@ -95,6 +95,7 @@ public class SisenseDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SisenseDatamodelTableTest.java b/sdk/src/test/java/com/atlan/model/assets/SisenseDatamodelTableTest.java index 38a32c1197..1ed88b0cb1 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SisenseDatamodelTableTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SisenseDatamodelTableTest.java @@ -95,6 +95,7 @@ public class SisenseDatamodelTableTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SisenseDatamodelTest.java b/sdk/src/test/java/com/atlan/model/assets/SisenseDatamodelTest.java index f4fb09c118..9dbb80be35 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SisenseDatamodelTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SisenseDatamodelTest.java @@ -95,6 +95,7 @@ public class SisenseDatamodelTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SisenseFolderTest.java b/sdk/src/test/java/com/atlan/model/assets/SisenseFolderTest.java index 1e84caeab8..48ecf3eeb9 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SisenseFolderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SisenseFolderTest.java @@ -95,6 +95,7 @@ public class SisenseFolderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SisenseWidgetTest.java b/sdk/src/test/java/com/atlan/model/assets/SisenseWidgetTest.java index b0da65868c..7fa3dc243f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SisenseWidgetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SisenseWidgetTest.java @@ -95,6 +95,7 @@ public class SisenseWidgetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SnowflakeAIModelContextTest.java b/sdk/src/test/java/com/atlan/model/assets/SnowflakeAIModelContextTest.java index e1d9a9a92b..4a42fa9fae 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SnowflakeAIModelContextTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SnowflakeAIModelContextTest.java @@ -130,6 +130,7 @@ public class SnowflakeAIModelContextTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SnowflakeAIModelVersionTest.java b/sdk/src/test/java/com/atlan/model/assets/SnowflakeAIModelVersionTest.java index db9368f05e..4015c05c72 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SnowflakeAIModelVersionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SnowflakeAIModelVersionTest.java @@ -130,6 +130,7 @@ public class SnowflakeAIModelVersionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SnowflakeListingTest.java b/sdk/src/test/java/com/atlan/model/assets/SnowflakeListingTest.java index e415a3991d..3371c579a7 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SnowflakeListingTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SnowflakeListingTest.java @@ -130,6 +130,7 @@ public class SnowflakeListingTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticDimensionTest.java b/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticDimensionTest.java index 001b977e49..0cec8d9bec 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticDimensionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticDimensionTest.java @@ -130,6 +130,7 @@ public class SnowflakeSemanticDimensionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticFactTest.java b/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticFactTest.java index 04c006f4a1..c9e40339bf 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticFactTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticFactTest.java @@ -130,6 +130,7 @@ public class SnowflakeSemanticFactTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticLogicalTableTest.java b/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticLogicalTableTest.java index 7c66e4bfdf..07d0e533e7 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticLogicalTableTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticLogicalTableTest.java @@ -130,6 +130,7 @@ public class SnowflakeSemanticLogicalTableTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticMetricTest.java b/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticMetricTest.java index 173bd15f4e..ca02e26267 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticMetricTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticMetricTest.java @@ -130,6 +130,7 @@ public class SnowflakeSemanticMetricTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticViewTest.java b/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticViewTest.java index a3cc3d3adf..16f2a296db 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SnowflakeSemanticViewTest.java @@ -130,6 +130,7 @@ public class SnowflakeSemanticViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SnowflakeShareTest.java b/sdk/src/test/java/com/atlan/model/assets/SnowflakeShareTest.java index 1ba1b800ed..0bb588d0e2 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SnowflakeShareTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SnowflakeShareTest.java @@ -130,6 +130,7 @@ public class SnowflakeShareTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SodaCheckTest.java b/sdk/src/test/java/com/atlan/model/assets/SodaCheckTest.java index 0d2ad862a6..f5eb0d9191 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SodaCheckTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SodaCheckTest.java @@ -96,6 +96,7 @@ public class SodaCheckTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SourceTagTest.java b/sdk/src/test/java/com/atlan/model/assets/SourceTagTest.java index f82cdac4da..abe980039e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SourceTagTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SourceTagTest.java @@ -109,6 +109,7 @@ public class SourceTagTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SparkJobTest.java b/sdk/src/test/java/com/atlan/model/assets/SparkJobTest.java index 5684b3e3a0..88f9b29dd9 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SparkJobTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SparkJobTest.java @@ -100,6 +100,7 @@ public class SparkJobTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SqlInsightBusinessQuestionTest.java b/sdk/src/test/java/com/atlan/model/assets/SqlInsightBusinessQuestionTest.java index 05b8a0f71d..4903447c7f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SqlInsightBusinessQuestionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SqlInsightBusinessQuestionTest.java @@ -95,6 +95,7 @@ public class SqlInsightBusinessQuestionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) @@ -1139,11 +1140,36 @@ public class SqlInsightBusinessQuestionTest { .addAssetAiAlias("String0") .addAssetAiAlias("String1") .assetHasAiReadme(true) + .sqlInsightBusinessQuestionDatasetQualifiedName("String0") .sqlInsightBusinessQuestionText("String0") .sqlInsightBusinessQuestionCanonicalSQL("String0") .sqlInsightBusinessQuestionQueryCount(123) .sqlInsightBusinessQuestionUniqueUsers(123) .sqlInsightBusinessQuestionLastSeenAt(123456789L) + .sqlInsightBusinessQuestionExampleQuery(PopularityInsights.builder() + .recordUser("String0") + .recordQuery("String0") + .recordQueryDuration(123456789L) + .recordQueryCount(123456789L) + .recordTotalUserCount(123456789L) + .recordComputeCost(123.456) + .recordMaxComputeCost(123.456) + .recordComputeCostUnit(SourceCostUnitType.CREDITS) + .recordLastTimestamp(123456789L) + .recordWarehouse("String0") + .build()) + .sqlInsightBusinessQuestionExampleQuery(PopularityInsights.builder() + .recordUser("String1") + .recordQuery("String1") + .recordQueryDuration(987654321L) + .recordQueryCount(987654321L) + .recordTotalUserCount(987654321L) + .recordComputeCost(654.321) + .recordMaxComputeCost(654.321) + .recordComputeCostUnit(SourceCostUnitType.BYTES) + .recordLastTimestamp(987654321L) + .recordWarehouse("String1") + .build()) .sqlInsightDataset(Table.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByGuid("705d96f4-bdb6-4792-8dfe-8dc4ca3d2c23")) .assignedTerm(GlossaryTerm.refByQualifiedName("default/snowflake/1234567890/test/qualifiedName")) diff --git a/sdk/src/test/java/com/atlan/model/assets/SqlInsightFilterTest.java b/sdk/src/test/java/com/atlan/model/assets/SqlInsightFilterTest.java index 023cf30b9d..5adb0ca71b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SqlInsightFilterTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SqlInsightFilterTest.java @@ -95,6 +95,7 @@ public class SqlInsightFilterTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SqlInsightJoinTest.java b/sdk/src/test/java/com/atlan/model/assets/SqlInsightJoinTest.java index 547106fe00..56e2fc64a8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SqlInsightJoinTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SqlInsightJoinTest.java @@ -95,6 +95,7 @@ public class SqlInsightJoinTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/StarburstDatasetColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/StarburstDatasetColumnTest.java index 26965c841c..3fbf7d8b2f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/StarburstDatasetColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/StarburstDatasetColumnTest.java @@ -133,6 +133,7 @@ public class StarburstDatasetColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/StarburstDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/StarburstDatasetTest.java index cf894e724c..231c5de051 100644 --- a/sdk/src/test/java/com/atlan/model/assets/StarburstDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/StarburstDatasetTest.java @@ -133,6 +133,7 @@ public class StarburstDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SupersetChartTest.java b/sdk/src/test/java/com/atlan/model/assets/SupersetChartTest.java index 3be1177fe1..dbb6d972e6 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SupersetChartTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SupersetChartTest.java @@ -97,6 +97,7 @@ public class SupersetChartTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SupersetDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/SupersetDashboardTest.java index 4bd129885e..16f992a187 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SupersetDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SupersetDashboardTest.java @@ -97,6 +97,7 @@ public class SupersetDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/SupersetDatasetTest.java b/sdk/src/test/java/com/atlan/model/assets/SupersetDatasetTest.java index 23703dc95d..cffe002079 100644 --- a/sdk/src/test/java/com/atlan/model/assets/SupersetDatasetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/SupersetDatasetTest.java @@ -97,6 +97,7 @@ public class SupersetDatasetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TablePartitionTest.java b/sdk/src/test/java/com/atlan/model/assets/TablePartitionTest.java index 1b0dd496e9..8fcf578dc2 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TablePartitionTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TablePartitionTest.java @@ -130,6 +130,7 @@ public class TablePartitionTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableTest.java b/sdk/src/test/java/com/atlan/model/assets/TableTest.java index 9c30790c2c..1a867d8d0f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableTest.java @@ -130,6 +130,7 @@ public class TableTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauCalculatedFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauCalculatedFieldTest.java index 9994d7039a..5b44cbdce8 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauCalculatedFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauCalculatedFieldTest.java @@ -107,6 +107,7 @@ public class TableauCalculatedFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauDashboardFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauDashboardFieldTest.java index 72f2664f00..a6c0a29678 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauDashboardFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauDashboardFieldTest.java @@ -107,6 +107,7 @@ public class TableauDashboardFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauDashboardTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauDashboardTest.java index 935e563eaf..42965b8e1c 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauDashboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauDashboardTest.java @@ -107,6 +107,7 @@ public class TableauDashboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauDatasourceFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauDatasourceFieldTest.java index 7d365776e6..648943c26f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauDatasourceFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauDatasourceFieldTest.java @@ -107,6 +107,7 @@ public class TableauDatasourceFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauDatasourceTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauDatasourceTest.java index 649571e121..5e7c84834d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauDatasourceTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauDatasourceTest.java @@ -107,6 +107,7 @@ public class TableauDatasourceTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauFlowTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauFlowTest.java index 8545bb5b01..5af48a3c57 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauFlowTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauFlowTest.java @@ -107,6 +107,7 @@ public class TableauFlowTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauMetricTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauMetricTest.java index c1ffdb9942..26e1eb4fe5 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauMetricTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauMetricTest.java @@ -107,6 +107,7 @@ public class TableauMetricTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauProjectTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauProjectTest.java index c9510c8984..b0c0a2100e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauProjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauProjectTest.java @@ -107,6 +107,7 @@ public class TableauProjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauSiteTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauSiteTest.java index 01845590db..bd5790ad0e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauSiteTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauSiteTest.java @@ -107,6 +107,7 @@ public class TableauSiteTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauWorkbookTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauWorkbookTest.java index 67cec4bfda..d4d6f465ad 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauWorkbookTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauWorkbookTest.java @@ -107,6 +107,7 @@ public class TableauWorkbookTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauWorksheetFieldTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauWorksheetFieldTest.java index b516b19b30..9b84708fca 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauWorksheetFieldTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauWorksheetFieldTest.java @@ -107,6 +107,7 @@ public class TableauWorksheetFieldTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/TableauWorksheetTest.java b/sdk/src/test/java/com/atlan/model/assets/TableauWorksheetTest.java index 2b49f884c3..d12594db3e 100644 --- a/sdk/src/test/java/com/atlan/model/assets/TableauWorksheetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/TableauWorksheetTest.java @@ -107,6 +107,7 @@ public class TableauWorksheetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotAnswerTest.java b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotAnswerTest.java index 5c61346895..907521d61d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotAnswerTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotAnswerTest.java @@ -99,6 +99,7 @@ public class ThoughtspotAnswerTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotColumnTest.java b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotColumnTest.java index 250ae276de..22ded84a3d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotColumnTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotColumnTest.java @@ -99,6 +99,7 @@ public class ThoughtspotColumnTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotDashletTest.java b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotDashletTest.java index 87f73f8049..8946016408 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotDashletTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotDashletTest.java @@ -99,6 +99,7 @@ public class ThoughtspotDashletTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotLiveboardTest.java b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotLiveboardTest.java index 2794c3c727..b4aecf574d 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotLiveboardTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotLiveboardTest.java @@ -99,6 +99,7 @@ public class ThoughtspotLiveboardTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotTableTest.java b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotTableTest.java index 8e9234928f..8b11e8447f 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotTableTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotTableTest.java @@ -99,6 +99,7 @@ public class ThoughtspotTableTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotViewTest.java b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotViewTest.java index 8b4feac24d..72ca05be57 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotViewTest.java @@ -99,6 +99,7 @@ public class ThoughtspotViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotWorksheetTest.java b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotWorksheetTest.java index c8cbbffd53..02900a780b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ThoughtspotWorksheetTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ThoughtspotWorksheetTest.java @@ -99,6 +99,7 @@ public class ThoughtspotWorksheetTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/UnstructuredContainerTest.java b/sdk/src/test/java/com/atlan/model/assets/UnstructuredContainerTest.java index 403be4c9d3..e5add65372 100644 --- a/sdk/src/test/java/com/atlan/model/assets/UnstructuredContainerTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/UnstructuredContainerTest.java @@ -100,6 +100,7 @@ public class UnstructuredContainerTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/UnstructuredFolderTest.java b/sdk/src/test/java/com/atlan/model/assets/UnstructuredFolderTest.java index 59fc14c150..82928eca8b 100644 --- a/sdk/src/test/java/com/atlan/model/assets/UnstructuredFolderTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/UnstructuredFolderTest.java @@ -100,6 +100,7 @@ public class UnstructuredFolderTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/UnstructuredObjectTest.java b/sdk/src/test/java/com/atlan/model/assets/UnstructuredObjectTest.java index e6f17b42db..3174de3fce 100644 --- a/sdk/src/test/java/com/atlan/model/assets/UnstructuredObjectTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/UnstructuredObjectTest.java @@ -100,6 +100,7 @@ public class UnstructuredObjectTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true) diff --git a/sdk/src/test/java/com/atlan/model/assets/ViewTest.java b/sdk/src/test/java/com/atlan/model/assets/ViewTest.java index a4d5d0a48e..0c80185b72 100644 --- a/sdk/src/test/java/com/atlan/model/assets/ViewTest.java +++ b/sdk/src/test/java/com/atlan/model/assets/ViewTest.java @@ -130,6 +130,7 @@ public class ViewTest { .connectorName("String0") .connectionName("String0") .connectionQualifiedName("String0") + .assetManagedBy("String0") .hasLineage(true) .isDiscoverable(true) .isEditable(true)