@tapis/tapis-typescript-systems 0.0.5 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +5 -4
  4. package/dist/apis/ChildSystemsApi.d.ts +10 -10
  5. package/dist/apis/ChildSystemsApi.js +84 -65
  6. package/dist/apis/CredentialsApi.d.ts +25 -24
  7. package/dist/apis/CredentialsApi.js +172 -138
  8. package/dist/apis/GeneralApi.d.ts +6 -6
  9. package/dist/apis/GeneralApi.js +18 -11
  10. package/dist/apis/PermissionsApi.d.ts +10 -10
  11. package/dist/apis/PermissionsApi.js +112 -89
  12. package/dist/apis/SchedulerProfilesApi.d.ts +10 -10
  13. package/dist/apis/SchedulerProfilesApi.js +95 -72
  14. package/dist/apis/SharingApi.d.ts +12 -12
  15. package/dist/apis/SharingApi.js +122 -95
  16. package/dist/apis/SystemsApi.d.ts +61 -46
  17. package/dist/apis/SystemsApi.js +473 -341
  18. package/dist/apis/index.js +21 -10
  19. package/dist/index.d.ts +2 -2
  20. package/dist/index.js +17 -6
  21. package/dist/models/AuthnEnum.d.ts +12 -9
  22. package/dist/models/AuthnEnum.js +28 -13
  23. package/dist/models/Capability.d.ts +9 -3
  24. package/dist/models/Capability.js +37 -22
  25. package/dist/models/CategoryEnum.d.ts +14 -12
  26. package/dist/models/CategoryEnum.js +30 -16
  27. package/dist/models/Credential.d.ts +26 -3
  28. package/dist/models/Credential.js +47 -33
  29. package/dist/models/DatatypeEnum.d.ts +11 -9
  30. package/dist/models/DatatypeEnum.js +27 -13
  31. package/dist/models/JobRuntime.d.ts +8 -3
  32. package/dist/models/JobRuntime.js +27 -17
  33. package/dist/models/KeyValueInputModeEnum.d.ts +10 -8
  34. package/dist/models/KeyValueInputModeEnum.js +26 -12
  35. package/dist/models/KeyValuePair.d.ts +8 -3
  36. package/dist/models/KeyValuePair.js +32 -22
  37. package/dist/models/ListTypeEnum.d.ts +9 -7
  38. package/dist/models/ListTypeEnum.js +25 -11
  39. package/dist/models/LogicalQueue.d.ts +13 -2
  40. package/dist/models/LogicalQueue.js +48 -34
  41. package/dist/models/ModuleLoadSpec.d.ts +7 -2
  42. package/dist/models/ModuleLoadSpec.js +25 -15
  43. package/dist/models/OperationTypeEnum.d.ts +20 -18
  44. package/dist/models/OperationTypeEnum.js +36 -22
  45. package/dist/models/ReqMatchConstraints.d.ts +7 -2
  46. package/dist/models/ReqMatchConstraints.js +23 -12
  47. package/dist/models/ReqPatchSystem.d.ts +13 -3
  48. package/dist/models/ReqPatchSystem.js +76 -63
  49. package/dist/models/ReqPerms.d.ts +7 -2
  50. package/dist/models/ReqPerms.js +23 -12
  51. package/dist/models/ReqPostChildSystem.d.ts +7 -2
  52. package/dist/models/ReqPostChildSystem.js +28 -16
  53. package/dist/models/ReqPostPutCredential.d.ts +7 -2
  54. package/dist/models/ReqPostPutCredential.js +36 -28
  55. package/dist/models/ReqPostSchedulerProfile.d.ts +9 -3
  56. package/dist/models/ReqPostSchedulerProfile.js +33 -22
  57. package/dist/models/ReqPostSystem.d.ts +15 -3
  58. package/dist/models/ReqPostSystem.js +101 -76
  59. package/dist/models/ReqPutSystem.d.ts +13 -3
  60. package/dist/models/ReqPutSystem.js +74 -61
  61. package/dist/models/ReqSearchSystems.d.ts +7 -2
  62. package/dist/models/ReqSearchSystems.js +23 -12
  63. package/dist/models/ReqShareUpdate.d.ts +7 -2
  64. package/dist/models/ReqShareUpdate.js +23 -12
  65. package/dist/models/ReqUnlinkChildren.d.ts +7 -2
  66. package/dist/models/ReqUnlinkChildren.js +22 -14
  67. package/dist/models/ReqUpdateCredential.d.ts +7 -2
  68. package/dist/models/ReqUpdateCredential.js +38 -30
  69. package/dist/models/RespBasic.d.ts +7 -2
  70. package/dist/models/RespBasic.js +34 -26
  71. package/dist/models/RespBoolean.d.ts +8 -3
  72. package/dist/models/RespBoolean.js +35 -27
  73. package/dist/models/RespChangeCount.d.ts +8 -3
  74. package/dist/models/RespChangeCount.js +35 -27
  75. package/dist/models/RespCredential.d.ts +8 -3
  76. package/dist/models/RespCredential.js +35 -27
  77. package/dist/models/RespGlobusAuthUrl.d.ts +8 -3
  78. package/dist/models/RespGlobusAuthUrl.js +35 -27
  79. package/dist/models/RespName.d.ts +69 -0
  80. package/dist/models/RespName.js +62 -0
  81. package/dist/models/RespNameArray.d.ts +8 -3
  82. package/dist/models/RespNameArray.js +35 -27
  83. package/dist/models/RespResourceUrl.d.ts +8 -3
  84. package/dist/models/RespResourceUrl.js +35 -27
  85. package/dist/models/RespSchedulerProfile.d.ts +8 -3
  86. package/dist/models/RespSchedulerProfile.js +35 -27
  87. package/dist/models/RespSchedulerProfiles.d.ts +8 -3
  88. package/dist/models/RespSchedulerProfiles.js +35 -27
  89. package/dist/models/RespShareInfo.d.ts +8 -3
  90. package/dist/models/RespShareInfo.js +35 -27
  91. package/dist/models/RespSystem.d.ts +8 -3
  92. package/dist/models/RespSystem.js +35 -27
  93. package/dist/models/RespSystemHistory.d.ts +8 -3
  94. package/dist/models/RespSystemHistory.js +35 -27
  95. package/dist/models/RespSystems.d.ts +9 -3
  96. package/dist/models/RespSystems.js +36 -27
  97. package/dist/models/RespSystemsMetadata.d.ts +7 -2
  98. package/dist/models/RespSystemsMetadata.js +32 -24
  99. package/dist/models/ResultBoolean.d.ts +7 -2
  100. package/dist/models/ResultBoolean.js +22 -14
  101. package/dist/models/ResultChangeCount.d.ts +7 -2
  102. package/dist/models/ResultChangeCount.js +22 -14
  103. package/dist/models/ResultGlobusAuthUrl.d.ts +7 -2
  104. package/dist/models/ResultGlobusAuthUrl.js +26 -18
  105. package/dist/models/ResultName.d.ts +32 -0
  106. package/dist/models/ResultName.js +49 -0
  107. package/dist/models/ResultNameArray.d.ts +7 -2
  108. package/dist/models/ResultNameArray.js +22 -14
  109. package/dist/models/ResultResourceUrl.d.ts +7 -2
  110. package/dist/models/ResultResourceUrl.js +22 -14
  111. package/dist/models/RuntimeTypeEnum.d.ts +9 -7
  112. package/dist/models/RuntimeTypeEnum.js +25 -11
  113. package/dist/models/SchedulerHiddenOptionEnum.d.ts +8 -5
  114. package/dist/models/SchedulerHiddenOptionEnum.js +24 -9
  115. package/dist/models/SchedulerProfile.d.ts +9 -3
  116. package/dist/models/SchedulerProfile.js +35 -24
  117. package/dist/models/SchedulerTypeEnum.d.ts +12 -10
  118. package/dist/models/SchedulerTypeEnum.js +28 -14
  119. package/dist/models/ShareInfo.d.ts +14 -2
  120. package/dist/models/ShareInfo.js +29 -13
  121. package/dist/models/SkShareRecord.d.ts +86 -0
  122. package/dist/models/SkShareRecord.js +67 -0
  123. package/dist/models/SystemHistory.d.ts +8 -3
  124. package/dist/models/SystemHistory.js +35 -27
  125. package/dist/models/SystemTypeEnum.d.ts +10 -8
  126. package/dist/models/SystemTypeEnum.js +26 -12
  127. package/dist/models/TapisSystem.d.ts +45 -21
  128. package/dist/models/TapisSystem.js +114 -95
  129. package/dist/models/index.d.ts +3 -0
  130. package/dist/models/index.js +68 -54
  131. package/dist/runtime.d.ts +79 -37
  132. package/dist/runtime.js +311 -169
  133. package/package.json +6 -2
  134. package/src/apis/ChildSystemsApi.ts +47 -33
  135. package/src/apis/CredentialsApi.ts +124 -75
  136. package/src/apis/GeneralApi.ts +9 -7
  137. package/src/apis/PermissionsApi.ts +80 -45
  138. package/src/apis/SchedulerProfilesApi.ts +40 -29
  139. package/src/apis/SharingApi.ts +64 -41
  140. package/src/apis/SystemsApi.ts +306 -189
  141. package/src/index.ts +2 -2
  142. package/src/models/AuthnEnum.ts +26 -8
  143. package/src/models/Capability.ts +37 -19
  144. package/src/models/CategoryEnum.ts +28 -11
  145. package/src/models/Credential.ts +67 -31
  146. package/src/models/DatatypeEnum.ts +25 -8
  147. package/src/models/JobRuntime.ts +27 -14
  148. package/src/models/KeyValueInputModeEnum.ts +24 -7
  149. package/src/models/KeyValuePair.ts +33 -20
  150. package/src/models/ListTypeEnum.ts +23 -6
  151. package/src/models/LogicalQueue.ts +50 -31
  152. package/src/models/ModuleLoadSpec.ts +22 -12
  153. package/src/models/OperationTypeEnum.ts +34 -17
  154. package/src/models/ReqMatchConstraints.ts +20 -10
  155. package/src/models/ReqPatchSystem.ts +96 -69
  156. package/src/models/ReqPerms.ts +20 -10
  157. package/src/models/ReqPostChildSystem.ts +24 -13
  158. package/src/models/ReqPostPutCredential.ts +34 -25
  159. package/src/models/ReqPostSchedulerProfile.ts +38 -24
  160. package/src/models/ReqPostSystem.ts +123 -85
  161. package/src/models/ReqPutSystem.ts +94 -67
  162. package/src/models/ReqSearchSystems.ts +20 -10
  163. package/src/models/ReqShareUpdate.ts +20 -10
  164. package/src/models/ReqUnlinkChildren.ts +20 -11
  165. package/src/models/ReqUpdateCredential.ts +36 -27
  166. package/src/models/RespBasic.ts +32 -23
  167. package/src/models/RespBoolean.ts +35 -25
  168. package/src/models/RespChangeCount.ts +35 -25
  169. package/src/models/RespCredential.ts +35 -25
  170. package/src/models/RespGlobusAuthUrl.ts +35 -25
  171. package/src/models/RespName.ts +121 -0
  172. package/src/models/RespNameArray.ts +35 -25
  173. package/src/models/RespResourceUrl.ts +35 -25
  174. package/src/models/RespSchedulerProfile.ts +35 -25
  175. package/src/models/RespSchedulerProfiles.ts +35 -25
  176. package/src/models/RespShareInfo.ts +35 -25
  177. package/src/models/RespSystem.ts +35 -25
  178. package/src/models/RespSystemHistory.ts +35 -25
  179. package/src/models/RespSystems.ts +42 -29
  180. package/src/models/RespSystemsMetadata.ts +30 -21
  181. package/src/models/ResultBoolean.ts +20 -11
  182. package/src/models/ResultChangeCount.ts +20 -11
  183. package/src/models/ResultGlobusAuthUrl.ts +24 -15
  184. package/src/models/ResultName.ts +65 -0
  185. package/src/models/ResultNameArray.ts +20 -11
  186. package/src/models/ResultResourceUrl.ts +20 -11
  187. package/src/models/RuntimeTypeEnum.ts +23 -6
  188. package/src/models/SchedulerHiddenOptionEnum.ts +22 -4
  189. package/src/models/SchedulerProfile.ts +40 -26
  190. package/src/models/SchedulerTypeEnum.ts +26 -9
  191. package/src/models/ShareInfo.ts +38 -11
  192. package/src/models/SkShareRecord.ts +137 -0
  193. package/src/models/SystemHistory.ts +37 -25
  194. package/src/models/SystemTypeEnum.ts +24 -7
  195. package/src/models/TapisSystem.ts +173 -124
  196. package/src/models/index.ts +3 -0
  197. package/src/runtime.ts +217 -106
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.7.0
7
+ * The version of the OpenAPI document: 25Q4.2
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,17 +12,21 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
15
+ import { mapValues } from '../runtime';
16
+ import type { TapisSystem } from './TapisSystem';
16
17
  import {
17
- RespSystemsMetadata,
18
- RespSystemsMetadataFromJSON,
19
- RespSystemsMetadataFromJSONTyped,
20
- RespSystemsMetadataToJSON,
21
- TapisSystem,
22
18
  TapisSystemFromJSON,
23
19
  TapisSystemFromJSONTyped,
24
20
  TapisSystemToJSON,
25
- } from './';
21
+ TapisSystemToJSONTyped,
22
+ } from './TapisSystem';
23
+ import type { RespSystemsMetadata } from './RespSystemsMetadata';
24
+ import {
25
+ RespSystemsMetadataFromJSON,
26
+ RespSystemsMetadataFromJSONTyped,
27
+ RespSystemsMetadataToJSON,
28
+ RespSystemsMetadataToJSONTyped,
29
+ } from './RespSystemsMetadata';
26
30
 
27
31
  /**
28
32
  *
@@ -74,42 +78,51 @@ export interface RespSystems {
74
78
  metadata?: RespSystemsMetadata;
75
79
  }
76
80
 
81
+ /**
82
+ * Check if a given object implements the RespSystems interface.
83
+ */
84
+ export function instanceOfRespSystems(value: object): value is RespSystems {
85
+ return true;
86
+ }
87
+
77
88
  export function RespSystemsFromJSON(json: any): RespSystems {
78
89
  return RespSystemsFromJSONTyped(json, false);
79
90
  }
80
91
 
81
92
  export function RespSystemsFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespSystems {
82
- if ((json === undefined) || (json === null)) {
93
+ if (json == null) {
83
94
  return json;
84
95
  }
85
96
  return {
86
97
 
87
- 'status': !exists(json, 'status') ? undefined : json['status'],
88
- 'message': !exists(json, 'message') ? undefined : json['message'],
89
- 'version': !exists(json, 'version') ? undefined : json['version'],
90
- 'commit': !exists(json, 'commit') ? undefined : json['commit'],
91
- 'build': !exists(json, 'build') ? undefined : json['build'],
92
- 'result': !exists(json, 'result') ? undefined : ((json['result'] as Array<any>).map(TapisSystemFromJSON)),
93
- 'metadata': !exists(json, 'metadata') ? undefined : RespSystemsMetadataFromJSON(json['metadata']),
98
+ 'status': json['status'] == null ? undefined : json['status'],
99
+ 'message': json['message'] == null ? undefined : json['message'],
100
+ 'version': json['version'] == null ? undefined : json['version'],
101
+ 'commit': json['commit'] == null ? undefined : json['commit'],
102
+ 'build': json['build'] == null ? undefined : json['build'],
103
+ 'result': json['result'] == null ? undefined : ((json['result'] as Array<any>).map(TapisSystemFromJSON)),
104
+ 'metadata': json['metadata'] == null ? undefined : RespSystemsMetadataFromJSON(json['metadata']),
94
105
  };
95
106
  }
96
107
 
97
- export function RespSystemsToJSON(value?: RespSystems | null): any {
98
- if (value === undefined) {
99
- return undefined;
100
- }
101
- if (value === null) {
102
- return null;
108
+ export function RespSystemsToJSON(json: any): RespSystems {
109
+ return RespSystemsToJSONTyped(json, false);
110
+ }
111
+
112
+ export function RespSystemsToJSONTyped(value?: RespSystems | null, ignoreDiscriminator: boolean = false): any {
113
+ if (value == null) {
114
+ return value;
103
115
  }
116
+
104
117
  return {
105
118
 
106
- 'status': value.status,
107
- 'message': value.message,
108
- 'version': value.version,
109
- 'commit': value.commit,
110
- 'build': value.build,
111
- 'result': value.result === undefined ? undefined : ((value.result as Array<any>).map(TapisSystemToJSON)),
112
- 'metadata': RespSystemsMetadataToJSON(value.metadata),
119
+ 'status': value['status'],
120
+ 'message': value['message'],
121
+ 'version': value['version'],
122
+ 'commit': value['commit'],
123
+ 'build': value['build'],
124
+ 'result': value['result'] == null ? undefined : ((value['result'] as Array<any>).map(TapisSystemToJSON)),
125
+ 'metadata': RespSystemsMetadataToJSON(value['metadata']),
113
126
  };
114
127
  }
115
128
 
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.7.0
7
+ * The version of the OpenAPI document: 25Q4.2
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
15
+ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -57,40 +57,49 @@ export interface RespSystemsMetadata {
57
57
  totalCount?: number;
58
58
  }
59
59
 
60
+ /**
61
+ * Check if a given object implements the RespSystemsMetadata interface.
62
+ */
63
+ export function instanceOfRespSystemsMetadata(value: object): value is RespSystemsMetadata {
64
+ return true;
65
+ }
66
+
60
67
  export function RespSystemsMetadataFromJSON(json: any): RespSystemsMetadata {
61
68
  return RespSystemsMetadataFromJSONTyped(json, false);
62
69
  }
63
70
 
64
71
  export function RespSystemsMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): RespSystemsMetadata {
65
- if ((json === undefined) || (json === null)) {
72
+ if (json == null) {
66
73
  return json;
67
74
  }
68
75
  return {
69
76
 
70
- 'recordCount': !exists(json, 'recordCount') ? undefined : json['recordCount'],
71
- 'recordLimit': !exists(json, 'recordLimit') ? undefined : json['recordLimit'],
72
- 'recordsSkipped': !exists(json, 'recordsSkipped') ? undefined : json['recordsSkipped'],
73
- 'orderBy': !exists(json, 'orderBy') ? undefined : json['orderBy'],
74
- 'startAfter': !exists(json, 'startAfter') ? undefined : json['startAfter'],
75
- 'totalCount': !exists(json, 'totalCount') ? undefined : json['totalCount'],
77
+ 'recordCount': json['recordCount'] == null ? undefined : json['recordCount'],
78
+ 'recordLimit': json['recordLimit'] == null ? undefined : json['recordLimit'],
79
+ 'recordsSkipped': json['recordsSkipped'] == null ? undefined : json['recordsSkipped'],
80
+ 'orderBy': json['orderBy'] == null ? undefined : json['orderBy'],
81
+ 'startAfter': json['startAfter'] == null ? undefined : json['startAfter'],
82
+ 'totalCount': json['totalCount'] == null ? undefined : json['totalCount'],
76
83
  };
77
84
  }
78
85
 
79
- export function RespSystemsMetadataToJSON(value?: RespSystemsMetadata | null): any {
80
- if (value === undefined) {
81
- return undefined;
82
- }
83
- if (value === null) {
84
- return null;
86
+ export function RespSystemsMetadataToJSON(json: any): RespSystemsMetadata {
87
+ return RespSystemsMetadataToJSONTyped(json, false);
88
+ }
89
+
90
+ export function RespSystemsMetadataToJSONTyped(value?: RespSystemsMetadata | null, ignoreDiscriminator: boolean = false): any {
91
+ if (value == null) {
92
+ return value;
85
93
  }
94
+
86
95
  return {
87
96
 
88
- 'recordCount': value.recordCount,
89
- 'recordLimit': value.recordLimit,
90
- 'recordsSkipped': value.recordsSkipped,
91
- 'orderBy': value.orderBy,
92
- 'startAfter': value.startAfter,
93
- 'totalCount': value.totalCount,
97
+ 'recordCount': value['recordCount'],
98
+ 'recordLimit': value['recordLimit'],
99
+ 'recordsSkipped': value['recordsSkipped'],
100
+ 'orderBy': value['orderBy'],
101
+ 'startAfter': value['startAfter'],
102
+ 'totalCount': value['totalCount'],
94
103
  };
95
104
  }
96
105
 
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.7.0
7
+ * The version of the OpenAPI document: 25Q4.2
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
15
+ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -27,30 +27,39 @@ export interface ResultBoolean {
27
27
  aBool?: boolean;
28
28
  }
29
29
 
30
+ /**
31
+ * Check if a given object implements the ResultBoolean interface.
32
+ */
33
+ export function instanceOfResultBoolean(value: object): value is ResultBoolean {
34
+ return true;
35
+ }
36
+
30
37
  export function ResultBooleanFromJSON(json: any): ResultBoolean {
31
38
  return ResultBooleanFromJSONTyped(json, false);
32
39
  }
33
40
 
34
41
  export function ResultBooleanFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultBoolean {
35
- if ((json === undefined) || (json === null)) {
42
+ if (json == null) {
36
43
  return json;
37
44
  }
38
45
  return {
39
46
 
40
- 'aBool': !exists(json, 'aBool') ? undefined : json['aBool'],
47
+ 'aBool': json['aBool'] == null ? undefined : json['aBool'],
41
48
  };
42
49
  }
43
50
 
44
- export function ResultBooleanToJSON(value?: ResultBoolean | null): any {
45
- if (value === undefined) {
46
- return undefined;
47
- }
48
- if (value === null) {
49
- return null;
51
+ export function ResultBooleanToJSON(json: any): ResultBoolean {
52
+ return ResultBooleanToJSONTyped(json, false);
53
+ }
54
+
55
+ export function ResultBooleanToJSONTyped(value?: ResultBoolean | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
50
58
  }
59
+
51
60
  return {
52
61
 
53
- 'aBool': value.aBool,
62
+ 'aBool': value['aBool'],
54
63
  };
55
64
  }
56
65
 
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.7.0
7
+ * The version of the OpenAPI document: 25Q4.2
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
15
+ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -27,30 +27,39 @@ export interface ResultChangeCount {
27
27
  changes?: number;
28
28
  }
29
29
 
30
+ /**
31
+ * Check if a given object implements the ResultChangeCount interface.
32
+ */
33
+ export function instanceOfResultChangeCount(value: object): value is ResultChangeCount {
34
+ return true;
35
+ }
36
+
30
37
  export function ResultChangeCountFromJSON(json: any): ResultChangeCount {
31
38
  return ResultChangeCountFromJSONTyped(json, false);
32
39
  }
33
40
 
34
41
  export function ResultChangeCountFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultChangeCount {
35
- if ((json === undefined) || (json === null)) {
42
+ if (json == null) {
36
43
  return json;
37
44
  }
38
45
  return {
39
46
 
40
- 'changes': !exists(json, 'changes') ? undefined : json['changes'],
47
+ 'changes': json['changes'] == null ? undefined : json['changes'],
41
48
  };
42
49
  }
43
50
 
44
- export function ResultChangeCountToJSON(value?: ResultChangeCount | null): any {
45
- if (value === undefined) {
46
- return undefined;
47
- }
48
- if (value === null) {
49
- return null;
51
+ export function ResultChangeCountToJSON(json: any): ResultChangeCount {
52
+ return ResultChangeCountToJSONTyped(json, false);
53
+ }
54
+
55
+ export function ResultChangeCountToJSONTyped(value?: ResultChangeCount | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
50
58
  }
59
+
51
60
  return {
52
61
 
53
- 'changes': value.changes,
62
+ 'changes': value['changes'],
54
63
  };
55
64
  }
56
65
 
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.7.0
7
+ * The version of the OpenAPI document: 25Q4.2
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
15
+ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -39,34 +39,43 @@ export interface ResultGlobusAuthUrl {
39
39
  systemId?: string;
40
40
  }
41
41
 
42
+ /**
43
+ * Check if a given object implements the ResultGlobusAuthUrl interface.
44
+ */
45
+ export function instanceOfResultGlobusAuthUrl(value: object): value is ResultGlobusAuthUrl {
46
+ return true;
47
+ }
48
+
42
49
  export function ResultGlobusAuthUrlFromJSON(json: any): ResultGlobusAuthUrl {
43
50
  return ResultGlobusAuthUrlFromJSONTyped(json, false);
44
51
  }
45
52
 
46
53
  export function ResultGlobusAuthUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultGlobusAuthUrl {
47
- if ((json === undefined) || (json === null)) {
54
+ if (json == null) {
48
55
  return json;
49
56
  }
50
57
  return {
51
58
 
52
- 'url': !exists(json, 'url') ? undefined : json['url'],
53
- 'sessionId': !exists(json, 'sessionId') ? undefined : json['sessionId'],
54
- 'systemId': !exists(json, 'systemId') ? undefined : json['systemId'],
59
+ 'url': json['url'] == null ? undefined : json['url'],
60
+ 'sessionId': json['sessionId'] == null ? undefined : json['sessionId'],
61
+ 'systemId': json['systemId'] == null ? undefined : json['systemId'],
55
62
  };
56
63
  }
57
64
 
58
- export function ResultGlobusAuthUrlToJSON(value?: ResultGlobusAuthUrl | null): any {
59
- if (value === undefined) {
60
- return undefined;
61
- }
62
- if (value === null) {
63
- return null;
65
+ export function ResultGlobusAuthUrlToJSON(json: any): ResultGlobusAuthUrl {
66
+ return ResultGlobusAuthUrlToJSONTyped(json, false);
67
+ }
68
+
69
+ export function ResultGlobusAuthUrlToJSONTyped(value?: ResultGlobusAuthUrl | null, ignoreDiscriminator: boolean = false): any {
70
+ if (value == null) {
71
+ return value;
64
72
  }
73
+
65
74
  return {
66
75
 
67
- 'url': value.url,
68
- 'sessionId': value.sessionId,
69
- 'systemId': value.systemId,
76
+ 'url': value['url'],
77
+ 'sessionId': value['sessionId'],
78
+ 'systemId': value['systemId'],
70
79
  };
71
80
  }
72
81
 
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Tapis Systems API
5
+ * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
+ *
7
+ * The version of the OpenAPI document: 25Q4.2
8
+ * Contact: cicsupport@tacc.utexas.edu
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ResultName
20
+ */
21
+ export interface ResultName {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ResultName
26
+ */
27
+ name?: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the ResultName interface.
32
+ */
33
+ export function instanceOfResultName(value: object): value is ResultName {
34
+ return true;
35
+ }
36
+
37
+ export function ResultNameFromJSON(json: any): ResultName {
38
+ return ResultNameFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function ResultNameFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultName {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'name': json['name'] == null ? undefined : json['name'],
48
+ };
49
+ }
50
+
51
+ export function ResultNameToJSON(json: any): ResultName {
52
+ return ResultNameToJSONTyped(json, false);
53
+ }
54
+
55
+ export function ResultNameToJSONTyped(value?: ResultName | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'name': value['name'],
63
+ };
64
+ }
65
+
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.7.0
7
+ * The version of the OpenAPI document: 25Q4.2
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
15
+ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -27,30 +27,39 @@ export interface ResultNameArray {
27
27
  names?: Array<string>;
28
28
  }
29
29
 
30
+ /**
31
+ * Check if a given object implements the ResultNameArray interface.
32
+ */
33
+ export function instanceOfResultNameArray(value: object): value is ResultNameArray {
34
+ return true;
35
+ }
36
+
30
37
  export function ResultNameArrayFromJSON(json: any): ResultNameArray {
31
38
  return ResultNameArrayFromJSONTyped(json, false);
32
39
  }
33
40
 
34
41
  export function ResultNameArrayFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultNameArray {
35
- if ((json === undefined) || (json === null)) {
42
+ if (json == null) {
36
43
  return json;
37
44
  }
38
45
  return {
39
46
 
40
- 'names': !exists(json, 'names') ? undefined : json['names'],
47
+ 'names': json['names'] == null ? undefined : json['names'],
41
48
  };
42
49
  }
43
50
 
44
- export function ResultNameArrayToJSON(value?: ResultNameArray | null): any {
45
- if (value === undefined) {
46
- return undefined;
47
- }
48
- if (value === null) {
49
- return null;
51
+ export function ResultNameArrayToJSON(json: any): ResultNameArray {
52
+ return ResultNameArrayToJSONTyped(json, false);
53
+ }
54
+
55
+ export function ResultNameArrayToJSONTyped(value?: ResultNameArray | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
50
58
  }
59
+
51
60
  return {
52
61
 
53
- 'names': value.names,
62
+ 'names': value['names'],
54
63
  };
55
64
  }
56
65
 
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.7.0
7
+ * The version of the OpenAPI document: 25Q4.2
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
- import { exists, mapValues } from '../runtime';
15
+ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -27,30 +27,39 @@ export interface ResultResourceUrl {
27
27
  url?: string;
28
28
  }
29
29
 
30
+ /**
31
+ * Check if a given object implements the ResultResourceUrl interface.
32
+ */
33
+ export function instanceOfResultResourceUrl(value: object): value is ResultResourceUrl {
34
+ return true;
35
+ }
36
+
30
37
  export function ResultResourceUrlFromJSON(json: any): ResultResourceUrl {
31
38
  return ResultResourceUrlFromJSONTyped(json, false);
32
39
  }
33
40
 
34
41
  export function ResultResourceUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultResourceUrl {
35
- if ((json === undefined) || (json === null)) {
42
+ if (json == null) {
36
43
  return json;
37
44
  }
38
45
  return {
39
46
 
40
- 'url': !exists(json, 'url') ? undefined : json['url'],
47
+ 'url': json['url'] == null ? undefined : json['url'],
41
48
  };
42
49
  }
43
50
 
44
- export function ResultResourceUrlToJSON(value?: ResultResourceUrl | null): any {
45
- if (value === undefined) {
46
- return undefined;
47
- }
48
- if (value === null) {
49
- return null;
51
+ export function ResultResourceUrlToJSON(json: any): ResultResourceUrl {
52
+ return ResultResourceUrlToJSONTyped(json, false);
53
+ }
54
+
55
+ export function ResultResourceUrlToJSONTyped(value?: ResultResourceUrl | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
50
58
  }
59
+
51
60
  return {
52
61
 
53
- 'url': value.url,
62
+ 'url': value['url'],
54
63
  };
55
64
  }
56
65
 
@@ -4,7 +4,7 @@
4
4
  * Tapis Systems API
5
5
  * The Tapis Systems API provides for management of Tapis Systems including permissions, credentials and Scheduler Profiles.
6
6
  *
7
- * The version of the OpenAPI document: 1.7.0
7
+ * The version of the OpenAPI document: 25Q4.2
8
8
  * Contact: cicsupport@tacc.utexas.edu
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,15 +12,28 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
+
15
16
  /**
16
17
  *
17
18
  * @export
18
- * @enum {string}
19
19
  */
20
- export enum RuntimeTypeEnum {
21
- Docker = 'DOCKER',
22
- Singularity = 'SINGULARITY',
23
- Zip = 'ZIP'
20
+ export const RuntimeTypeEnum = {
21
+ Docker: 'DOCKER',
22
+ Singularity: 'SINGULARITY',
23
+ Zip: 'ZIP'
24
+ } as const;
25
+ export type RuntimeTypeEnum = typeof RuntimeTypeEnum[keyof typeof RuntimeTypeEnum];
26
+
27
+
28
+ export function instanceOfRuntimeTypeEnum(value: any): boolean {
29
+ for (const key in RuntimeTypeEnum) {
30
+ if (Object.prototype.hasOwnProperty.call(RuntimeTypeEnum, key)) {
31
+ if (RuntimeTypeEnum[key as keyof typeof RuntimeTypeEnum] === value) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ return false;
24
37
  }
25
38
 
26
39
  export function RuntimeTypeEnumFromJSON(json: any): RuntimeTypeEnum {
@@ -35,3 +48,7 @@ export function RuntimeTypeEnumToJSON(value?: RuntimeTypeEnum | null): any {
35
48
  return value as any;
36
49
  }
37
50
 
51
+ export function RuntimeTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): RuntimeTypeEnum {
52
+ return value as RuntimeTypeEnum;
53
+ }
54
+