Kinetica   C#   API  Version 7.2.3.0
AdminAlterJobs.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica
10 {
21  {
26  public struct Action
27  {
28  public const string CANCEL = "cancel";
29  } // end struct Action
30 
34  public struct Options
35  {
37  public const string JOB_TAG = "job_tag";
38  } // end struct Options
39 
41  public IList<long> job_ids { get; set; } = new List<long>();
42 
51  public string action { get; set; }
52 
62  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
63 
66  public AdminAlterJobsRequest() { }
67 
89  public AdminAlterJobsRequest( IList<long> job_ids,
90  string action,
91  IDictionary<string, string> options = null)
92  {
93  this.job_ids = job_ids ?? new List<long>();
94  this.action = action ?? "";
95  this.options = options ?? new Dictionary<string, string>();
96  } // end constructor
97  } // end class AdminAlterJobsRequest
98 
103  {
105  public IList<long> job_ids { get; set; } = new List<long>();
106 
108  public string action { get; set; }
109 
111  public IList<string> status { get; set; } = new List<string>();
112 
114  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
115  } // end class AdminAlterJobsResponse
116 } // end namespace kinetica
IDictionary< string, string > options
Optional parameters.
A set of string constants for the parameter options.
IList< long > job_ids
Jobs to be modified.
A set of string constants for the parameter action.
AdminAlterJobsRequest()
Constructs an AdminAlterJobsRequest object with default parameters.
IDictionary< string, string > info
Additional information.
A set of parameters for Kinetica.adminAlterJobs.
A set of results returned by Kinetica.adminAlterJobs.
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.
IList< string > status
Status of the requested action for each job.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string JOB_TAG
Job tag returned in call to create the job
string action
Action to be performed on the jobs specified by job_ids.