Skip to content

Commit 9337937

Browse files
Sync Java SDK models from atlanhq/models
Source commit: 9dad3ef0c21ac56fa3c4927762ca06eede9e7d90 Source ref: refs/heads/master Co-Authored-By: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent e2a416d commit 9337937

780 files changed

Lines changed: 10440 additions & 6 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sdk/src/main/java/com/atlan/model/assets/AIModelVersion.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import com.atlan.exception.ErrorCode;
88
import com.atlan.exception.InvalidRequestException;
99
import com.atlan.exception.NotFoundException;
10+
import com.atlan.model.enums.AIModelVersionStage;
1011
import com.atlan.model.enums.AtlanAnnouncementType;
1112
import com.atlan.model.enums.CertificateStatus;
1213
import com.atlan.model.enums.EthicalAIAccountabilityConfig;
@@ -59,6 +60,19 @@ public class AIModelVersion extends Asset implements IAIModelVersion, IAI, ICata
5960
@Attribute
6061
IAIModel aiModel;
6162

63+
/** Unique name of the AI model to which this version belongs, used to navigate from a version back to its parent model. */
64+
@Attribute
65+
String aiModelQualifiedName;
66+
67+
/** Evaluation and performance metrics recorded for this AI model version, stored as key-value pairs (e.g. accuracy, F1 score, precision, recall). */
68+
@Attribute
69+
@Singular
70+
Map<String, String> aiModelVersionMetrics;
71+
72+
/** Lifecycle deployment stage of this AI model version, indicating its readiness for production use. */
73+
@Attribute
74+
AIModelVersionStage aiModelVersionStage;
75+
6276
/** Accountability configuration for ensuring the ethical use of an AI asset */
6377
@Attribute
6478
EthicalAIAccountabilityConfig ethicalAIAccountabilityConfig;

sdk/src/main/java/com/atlan/model/assets/Asset.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,14 @@ public abstract class Asset extends Reference implements IAsset, IReferenceable
489489
@Attribute
490490
AtlanIcon assetIcon;
491491

492+
/** The type of request form on Immuta applicable for the asset. */
493+
@Attribute
494+
String assetImmutaRequestType;
495+
496+
/** URL of the request form on Immuta relevant to the asset. */
497+
@Attribute
498+
String assetImmutaRequestUrl;
499+
492500
/** Internal Popularity score for this asset. */
493501
@Attribute
494502
Double assetInternalPopularityScore;

sdk/src/main/java/com/atlan/model/assets/AzureEventHub.java

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public class AzureEventHub extends Asset
5151
@Builder.Default
5252
String typeName = TYPE_NAME;
5353

54-
/** TBC */
54+
/** Operational status of the Azure Event Hub at the source. */
5555
@Attribute
5656
String azureEventHubStatus;
5757

@@ -70,23 +70,44 @@ public class AzureEventHub extends Asset
7070
@Singular
7171
SortedSet<ISparkJob> inputToSparkJobs;
7272

73+
/** Kafka cluster containing this topic. */
74+
@Attribute
75+
IKafkaCluster kafkaCluster;
76+
7377
/** Consumer groups subscribed to this topic. */
7478
@Attribute
7579
@Singular
7680
SortedSet<IKafkaConsumerGroup> kafkaConsumerGroups;
7781

82+
/** Schema fields defined within this Kafka topic. */
83+
@Attribute
84+
@Singular
85+
SortedSet<IKafkaField> kafkaFields;
86+
7887
/** Cleanup policy for this topic. */
7988
@Attribute
8089
KafkaTopicCleanupPolicy kafkaTopicCleanupPolicy;
8190

91+
/** Unique name of the Kafka cluster in which this topic exists. */
92+
@Attribute
93+
String kafkaTopicClusterQualifiedName;
94+
8295
/** Type of compression used for this topic. */
8396
@Attribute
8497
KafkaTopicCompressionType kafkaTopicCompressionType;
8598

99+
/** Number of consumer groups consuming this topic. */
100+
@Attribute
101+
Long kafkaTopicConsumerCount;
102+
86103
/** Whether this topic is an internal topic (true) or not (false). */
87104
@Attribute
88105
Boolean kafkaTopicIsInternal;
89106

107+
/** Whether this topic is fully managed by a schema registry (true) or not (false). */
108+
@Attribute
109+
Boolean kafkaTopicIsSchemaManaged;
110+
90111
/** Comma seperated Cleanup policy for this topic. */
91112
@Attribute
92113
String kafkaTopicLogCleanupPolicy;
@@ -103,10 +124,18 @@ public class AzureEventHub extends Asset
103124
@Attribute
104125
Long kafkaTopicReplicationFactor;
105126

127+
/** Maximum size in bytes that a topic can grow to before discarding old messages; -1 means unlimited. */
128+
@Attribute
129+
Long kafkaTopicRetentionBytes;
130+
106131
/** Amount of time messages will be retained in this topic, in milliseconds. */
107132
@Attribute
108133
Long kafkaTopicRetentionTimeInMs;
109134

135+
/** Name of the schema registry subject governing this topic, if any. */
136+
@Attribute
137+
String kafkaTopicSchemaRegistrySubjectName;
138+
110139
/** Segment size for this topic. */
111140
@Attribute
112141
Long kafkaTopicSegmentBytes;

sdk/src/main/java/com/atlan/model/assets/AzureEventHubConsumerGroup.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import com.atlan.exception.NotFoundException;
1010
import com.atlan.model.enums.AtlanAnnouncementType;
1111
import com.atlan.model.enums.CertificateStatus;
12+
import com.atlan.model.enums.KafkaConsumerGroupState;
1213
import com.atlan.model.fields.AtlanField;
1314
import com.atlan.model.relations.Reference;
1415
import com.atlan.model.relations.UniqueAttributes;
@@ -73,10 +74,19 @@ public class AzureEventHubConsumerGroup extends Asset
7374
@Singular
7475
SortedSet<ISparkJob> inputToSparkJobs;
7576

77+
/** List of topic-partition pairs assigned to this consumer group. */
78+
@Attribute
79+
@Singular
80+
SortedSet<String> kafkaConsumerGroupAssignedPartitions;
81+
7682
/** Number of members in this consumer group. */
7783
@Attribute
7884
Long kafkaConsumerGroupMemberCount;
7985

86+
/** State of this consumer group. */
87+
@Attribute
88+
KafkaConsumerGroupState kafkaConsumerGroupState;
89+
8090
/** List of consumption properties for Kafka topics, for this consumer group. */
8191
@Attribute
8292
@Singular

sdk/src/main/java/com/atlan/model/assets/DatabricksAIModelVersion.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import com.atlan.exception.ErrorCode;
88
import com.atlan.exception.InvalidRequestException;
99
import com.atlan.exception.NotFoundException;
10+
import com.atlan.model.enums.AIModelVersionStage;
1011
import com.atlan.model.enums.AtlanAnnouncementType;
1112
import com.atlan.model.enums.CertificateStatus;
1213
import com.atlan.model.enums.EthicalAIAccountabilityConfig;
@@ -68,6 +69,19 @@ public class DatabricksAIModelVersion extends Asset
6869
@Attribute
6970
IAIModel aiModel;
7071

72+
/** Unique name of the AI model to which this version belongs, used to navigate from a version back to its parent model. */
73+
@Attribute
74+
String aiModelQualifiedName;
75+
76+
/** Evaluation and performance metrics recorded for this AI model version, stored as key-value pairs (e.g. accuracy, F1 score, precision, recall). */
77+
@Attribute
78+
@Singular
79+
Map<String, String> aiModelVersionMetrics;
80+
81+
/** Lifecycle deployment stage of this AI model version, indicating its readiness for production use. */
82+
@Attribute
83+
AIModelVersionStage aiModelVersionStage;
84+
7185
/** Simple name of the calculation view in which this SQL asset exists, or empty if it does not exist within a calculation view. */
7286
@Attribute
7387
String calculationViewName;

sdk/src/main/java/com/atlan/model/assets/IADF.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,12 @@ default IApplicationField getApplicationField() {
346346
/** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */
347347
AtlanIcon getAssetIcon();
348348

349+
/** The type of request form on Immuta applicable for the asset. */
350+
String getAssetImmutaRequestType();
351+
352+
/** URL of the request form on Immuta relevant to the asset. */
353+
String getAssetImmutaRequestUrl();
354+
349355
/** Internal Popularity score for this asset. */
350356
Double getAssetInternalPopularityScore();
351357

sdk/src/main/java/com/atlan/model/assets/IADLS.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,12 @@ default IApplicationField getApplicationField() {
352352
/** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */
353353
AtlanIcon getAssetIcon();
354354

355+
/** The type of request form on Immuta applicable for the asset. */
356+
String getAssetImmutaRequestType();
357+
358+
/** URL of the request form on Immuta relevant to the asset. */
359+
String getAssetImmutaRequestUrl();
360+
355361
/** Internal Popularity score for this asset. */
356362
Double getAssetInternalPopularityScore();
357363

sdk/src/main/java/com/atlan/model/assets/IADLSAccount.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,12 @@ default IApplicationField getApplicationField() {
424424
/** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */
425425
AtlanIcon getAssetIcon();
426426

427+
/** The type of request form on Immuta applicable for the asset. */
428+
String getAssetImmutaRequestType();
429+
430+
/** URL of the request form on Immuta relevant to the asset. */
431+
String getAssetImmutaRequestUrl();
432+
427433
/** Internal Popularity score for this asset. */
428434
Double getAssetInternalPopularityScore();
429435

sdk/src/main/java/com/atlan/model/assets/IADLSContainer.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,12 @@ default IApplicationField getApplicationField() {
405405
/** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */
406406
AtlanIcon getAssetIcon();
407407

408+
/** The type of request form on Immuta applicable for the asset. */
409+
String getAssetImmutaRequestType();
410+
411+
/** URL of the request form on Immuta relevant to the asset. */
412+
String getAssetImmutaRequestUrl();
413+
408414
/** Internal Popularity score for this asset. */
409415
Double getAssetInternalPopularityScore();
410416

sdk/src/main/java/com/atlan/model/assets/IADLSObject.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,12 @@ default IApplicationField getApplicationField() {
482482
/** Name of the icon to use for this asset. (Only applies to glossaries, currently.) */
483483
AtlanIcon getAssetIcon();
484484

485+
/** The type of request form on Immuta applicable for the asset. */
486+
String getAssetImmutaRequestType();
487+
488+
/** URL of the request form on Immuta relevant to the asset. */
489+
String getAssetImmutaRequestUrl();
490+
485491
/** Internal Popularity score for this asset. */
486492
Double getAssetInternalPopularityScore();
487493

0 commit comments

Comments
 (0)