Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR datalake-analytics/data-plane] Add hierarchyQueueNode into JobInformation(Basic) #2403

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ public class JobInformation {
@JsonProperty(value = "stateAuditRecords", access = JsonProperty.Access.WRITE_ONLY)
private List<JobStateAuditRecord> 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.
*/
Expand Down Expand Up @@ -320,6 +327,15 @@ public List<JobStateAuditRecord> 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.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
*
Expand Down Expand Up @@ -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;
}

}