Skip to content

Commit b25c6cf

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

5 files changed

Lines changed: 25 additions & 0 deletions

File tree

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

Lines changed: 5 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.AppWorkflowRunStatus;
1111
import com.atlan.model.enums.AtlanAnnouncementType;
12+
import com.atlan.model.enums.AtlanAppWorkflowOwnership;
1213
import com.atlan.model.enums.CertificateStatus;
1314
import com.atlan.model.fields.AtlanField;
1415
import com.atlan.model.relations.Reference;
@@ -127,6 +128,10 @@ public class AppWorkflowRun extends Asset implements IAppWorkflowRun, ICatalog,
127128
@Attribute
128129
String appWorkflowRunTemporalRunId;
129130

131+
/** Ownership of the parent workflow at execution time: SYSTEM (managed by Atlan) or USER (user-authored). Denormalized from the workflow so run-history listings can filter without a join. */
132+
@Attribute
133+
AtlanAppWorkflowOwnership appWorkflowRunWorkflowOwnership;
134+
130135
/** The workflow that contains the workflow run. */
131136
@Attribute
132137
IAtlanAppWorkflow atlanAppWorkflow;

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ public class DataQualityRule extends Asset implements IDataQualityRule, IDataQua
135135
@Date
136136
Long dqRuleLatestResultFetchedAt;
137137

138+
/** Total number of rows that the rule's last run evaluated. */
139+
@Attribute
140+
Long dqRuleLatestTotalRowsEvaluated;
141+
138142
/** List of unique reference column's qualified names related to this rule. */
139143
@Attribute
140144
@Singular

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import com.atlan.model.enums.AppWorkflowRunStatus;
66
import com.atlan.model.enums.AssetDQRunStatus;
77
import com.atlan.model.enums.AtlanAnnouncementType;
8+
import com.atlan.model.enums.AtlanAppWorkflowOwnership;
89
import com.atlan.model.enums.AtlanConnectorType;
910
import com.atlan.model.enums.AtlanIcon;
1011
import com.atlan.model.enums.AtlanStatus;
@@ -109,6 +110,10 @@ public interface IAppWorkflowRun {
109110
KeywordField APP_WORKFLOW_RUN_TEMPORAL_RUN_ID =
110111
new KeywordField("appWorkflowRunTemporalRunId", "appWorkflowRunTemporalRunId");
111112

113+
/** Ownership of the parent workflow at execution time: SYSTEM (managed by Atlan) or USER (user-authored). Denormalized from the workflow so run-history listings can filter without a join. */
114+
KeywordField APP_WORKFLOW_RUN_WORKFLOW_OWNERSHIP =
115+
new KeywordField("appWorkflowRunWorkflowOwnership", "appWorkflowRunWorkflowOwnership");
116+
112117
/** List of groups who administer this asset. (This is only used for certain asset types.) */
113118
SortedSet<String> getAdminGroups();
114119

@@ -192,6 +197,9 @@ default SortedSet<IAnomaloCheck> getAnomaloChecks() {
192197
/** Unique identifier for the temporal run associated with this workflow execution. */
193198
String getAppWorkflowRunTemporalRunId();
194199

200+
/** Ownership of the parent workflow at execution time: SYSTEM (managed by Atlan) or USER (user-authored). Denormalized from the workflow so run-history listings can filter without a join. */
201+
AtlanAppWorkflowOwnership getAppWorkflowRunWorkflowOwnership();
202+
195203
/** Application owning the Asset. */
196204
default IApplication getApplication() {
197205
return null;

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ public interface IDataQualityRule {
107107
NumericField DQ_RULE_LATEST_RESULT_FETCHED_AT =
108108
new NumericField("dqRuleLatestResultFetchedAt", "dqRuleLatestResultFetchedAt");
109109

110+
/** Total number of rows that the rule's last run evaluated. */
111+
NumericField DQ_RULE_LATEST_TOTAL_ROWS_EVALUATED =
112+
new NumericField("dqRuleLatestTotalRowsEvaluated", "dqRuleLatestTotalRowsEvaluated");
113+
110114
/** List of unique reference column's qualified names related to this rule. */
111115
KeywordField DQ_RULE_REFERENCE_COLUMN_QUALIFIED_NAMES =
112116
new KeywordField("dqRuleReferenceColumnQualifiedNames", "dqRuleReferenceColumnQualifiedNames");
@@ -706,6 +710,9 @@ default IAsset getDqRuleBaseDataset() {
706710
/** Time (epoch) at which the latest rule result was fetched. */
707711
Long getDqRuleLatestResultFetchedAt();
708712

713+
/** Total number of rows that the rule's last run evaluated. */
714+
Long getDqRuleLatestTotalRowsEvaluated();
715+
709716
/** List of unique reference column's qualified names related to this rule. */
710717
SortedSet<String> getDqRuleReferenceColumnQualifiedNames();
711718

sdk/src/test/java/com/atlan/model/assets/DataQualityRuleTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,6 +1155,7 @@ public class DataQualityRuleTest {
11551155
.dqRuleLatestResultComputedAt(123456789L)
11561156
.dqRuleLatestResultFetchedAt(123456789L)
11571157
.dqRuleLatestMetricValue("String0")
1158+
.dqRuleLatestTotalRowsEvaluated(123456789L)
11581159
.dqRuleLatestMetricValueComputedAt(123456789L)
11591160
.dqRuleDimension(DataQualityDimension.COMPLETENESS)
11601161
.dqRuleTemplateName("String0")

0 commit comments

Comments
 (0)