From 32238fecc774c47f8fc8ea48409d765491927677 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 18 Sep 2018 19:53:15 +0000 Subject: [PATCH] Generated from af2b72334f7829e4d9c19f0fe66a255e74af10e6 Merge pull request #5 from hosunmsft/add_hq_node_to_adla_job_contract add hierarchyQueueNode to JobInformation(Basic) --- .../analytics/models/JobInformation.java | 16 ++++++++++++++++ .../analytics/models/JobInformationBasic.java | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/azure-datalake/analytics/src/main/java/com/microsoft/azure/datalake/analytics/models/JobInformation.java b/azure-datalake/analytics/src/main/java/com/microsoft/azure/datalake/analytics/models/JobInformation.java index 63c1055741f0..a8ca977fa846 100644 --- a/azure-datalake/analytics/src/main/java/com/microsoft/azure/datalake/analytics/models/JobInformation.java +++ b/azure-datalake/analytics/src/main/java/com/microsoft/azure/datalake/analytics/models/JobInformation.java @@ -111,6 +111,13 @@ public class JobInformation { @JsonProperty(value = "stateAuditRecords", access = JsonProperty.Access.WRITE_ONLY) private List stateAuditRecords; + /** + * the name of hierarchy queue node this job is assigned to, null if job + * has not been assigned yet or the account doesn't have hierarchy queue. + */ + @JsonProperty(value = "hierarchyQueueNode", access = JsonProperty.Access.WRITE_ONLY) + private String hierarchyQueueNode; + /** * Gets or sets the job specific properties. */ @@ -320,6 +327,15 @@ public List stateAuditRecords() { return this.stateAuditRecords; } + /** + * Get the name of hierarchy queue node this job is assigned to, null if job has not been assigned yet or the account doesn't have hierarchy queue. + * + * @return the hierarchyQueueNode value + */ + public String hierarchyQueueNode() { + return this.hierarchyQueueNode; + } + /** * Get gets or sets the job specific properties. * diff --git a/azure-datalake/analytics/src/main/java/com/microsoft/azure/datalake/analytics/models/JobInformationBasic.java b/azure-datalake/analytics/src/main/java/com/microsoft/azure/datalake/analytics/models/JobInformationBasic.java index 9ae5f1f4597f..7bd6f8c7c594 100644 --- a/azure-datalake/analytics/src/main/java/com/microsoft/azure/datalake/analytics/models/JobInformationBasic.java +++ b/azure-datalake/analytics/src/main/java/com/microsoft/azure/datalake/analytics/models/JobInformationBasic.java @@ -117,6 +117,13 @@ public class JobInformationBasic { @JsonProperty(value = "related") private JobRelationshipProperties related; + /** + * the name of hierarchy queue node this job is assigned to, null if job + * has not been assigned yet or the account doesn't have hierarchy queue. + */ + @JsonProperty(value = "hierarchyQueueNode", access = JsonProperty.Access.WRITE_ONLY) + private String hierarchyQueueNode; + /** * Get the job's unique identifier (a GUID). * @@ -285,4 +292,13 @@ public JobInformationBasic withRelated(JobRelationshipProperties related) { return this; } + /** + * Get the name of hierarchy queue node this job is assigned to, null if job has not been assigned yet or the account doesn't have hierarchy queue. + * + * @return the hierarchyQueueNode value + */ + public String hierarchyQueueNode() { + return this.hierarchyQueueNode; + } + }