7 using System.Collections.Generic;
20 public class AdminAlterJobsRequest : KineticaData
28 public const string CANCEL =
"cancel";
37 public const string JOB_TAG =
"job_tag";
41 public IList<long>
job_ids {
get;
set; } =
new List<long>();
51 public string action {
get;
set; }
62 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
91 IDictionary<string, string>
options =
null)
93 this.job_ids =
job_ids ??
new List<long>();
94 this.action =
action ??
"";
102 public class AdminAlterJobsResponse : KineticaData
105 public IList<long>
job_ids {
get;
set; } =
new List<long>();
108 public string action {
get;
set; }
111 public IList<string>
status {
get;
set; } =
new List<string>();
114 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
const string JOB_TAG
Job tag returned in call to create the job
AdminAlterJobsRequest()
Constructs an AdminAlterJobsRequest object with default parameters.
IList< long > job_ids
Jobs to be modified.
IDictionary< string, string > options
Optional parameters.
string action
Action requested on the jobs.
AdminAlterJobsRequest(IList< long > job_ids, string action, IDictionary< string, string > options=null)
Constructs an AdminAlterJobsRequest object with the specified parameters.
IList< long > job_ids
Jobs on which the action was performed.
string action
Action to be performed on the jobs specified by job_ids.
IDictionary< string, string > info
Additional information.
IList< string > status
Status of the requested action for each job.