7 using System.Collections.Generic;
12 public class AlterModelRequest : KineticaData
16 public const string CONTAINER =
"container";
17 public const string CREDENTIAL =
"credential";
18 public const string REGISTRY =
"registry";
19 public const string REFRESH =
"refresh";
20 public const string REMOTE_MODEL_NAME =
"remote_model_name";
21 public const string REMOTE_MODEL_LOCATION =
"remote_model_location";
22 public const string REMOTE_MODEL_PROVIDER_TYPE =
"remote_model_provider_type";
23 public const string REMOTE_MODEL_TYPE =
"remote_model_type";
24 public const string STOP_DEPLOYMENT =
"stop_deployment";
27 public string model_name {
get;
set; }
28 public string action {
get;
set; }
29 public string _value {
get;
set; }
30 public IDictionary<string, string> options {
get;
set; } =
new Dictionary<string, string>();
32 public AlterModelRequest() { }
34 public AlterModelRequest(
string model_name,
37 IDictionary<string, string> options =
null)
39 this.model_name = model_name ??
"";
40 this.action = action ??
"";
41 this._value = _value ??
"";
42 this.options = options ??
new Dictionary<string, string>();
48 public class AlterModelResponse : KineticaData
50 public string model_name {
get;
set; }
51 public string action {
get;
set; }
52 public string _value {
get;
set; }
53 public IDictionary<string, string> info {
get;
set; } =
new Dictionary<string, string>();