qi-compute-api-client 0.7.0__py3-none-any.whl → 0.17.0__py3-none-any.whl
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.
Potentially problematic release.
This version of qi-compute-api-client might be problematic. Click here for more details.
- compute_api_client/__init__.py +22 -19
- compute_api_client/api/__init__.py +5 -6
- compute_api_client/api/algorithms_api.py +1333 -553
- compute_api_client/api/backend_api.py +1501 -0
- compute_api_client/api/backend_types_api.py +684 -0
- compute_api_client/api/batch_jobs_api.py +1937 -0
- compute_api_client/api/commits_api.py +1068 -435
- compute_api_client/api/files_api.py +1075 -435
- compute_api_client/api/final_results_api.py +736 -338
- compute_api_client/api/jobs_api.py +1653 -0
- compute_api_client/api/languages_api.py +556 -217
- compute_api_client/api/members_api.py +1057 -435
- compute_api_client/api/metadata_api.py +736 -337
- compute_api_client/api/permissions_api.py +1055 -421
- compute_api_client/api/projects_api.py +1604 -676
- compute_api_client/api/reservations_api.py +1124 -427
- compute_api_client/api/results_api.py +738 -337
- compute_api_client/api/teams_api.py +567 -220
- compute_api_client/api/transactions_api.py +679 -218
- compute_api_client/api/users_api.py +1090 -435
- compute_api_client/api_client.py +346 -304
- compute_api_client/api_response.py +21 -0
- compute_api_client/configuration.py +54 -67
- compute_api_client/docs/Algorithm.md +20 -3
- compute_api_client/docs/AlgorithmIn.md +20 -3
- compute_api_client/docs/AlgorithmType.md +0 -1
- compute_api_client/docs/AlgorithmsApi.md +78 -77
- compute_api_client/docs/Backend.md +33 -0
- compute_api_client/docs/BackendApi.md +419 -0
- compute_api_client/docs/BackendPatch.md +29 -0
- compute_api_client/docs/{RunStatus.md → BackendStatus.md} +1 -2
- compute_api_client/docs/BackendType.md +36 -0
- compute_api_client/docs/{RuntimeTypesApi.md → BackendTypesApi.md} +58 -31
- compute_api_client/docs/BackendWithAuthentication.md +34 -0
- compute_api_client/docs/BatchJob.md +38 -0
- compute_api_client/docs/BatchJobIn.md +29 -0
- compute_api_client/docs/{RuntimeStatus.md → BatchJobStatus.md} +1 -2
- compute_api_client/docs/{BatchRunsApi.md → BatchJobsApi.md} +170 -147
- compute_api_client/docs/Commit.md +18 -1
- compute_api_client/docs/CommitIn.md +17 -0
- compute_api_client/docs/CommitsApi.md +62 -71
- compute_api_client/docs/CompileStage.md +0 -1
- compute_api_client/docs/Domain.md +0 -1
- compute_api_client/docs/File.md +21 -4
- compute_api_client/docs/FileIn.md +21 -4
- compute_api_client/docs/FilesApi.md +65 -71
- compute_api_client/docs/FinalResult.md +20 -3
- compute_api_client/docs/FinalResultIn.md +19 -2
- compute_api_client/docs/FinalResultsApi.md +44 -71
- compute_api_client/docs/HTTPNotFoundError.md +17 -0
- compute_api_client/docs/HTTPValidationError.md +18 -1
- compute_api_client/docs/Job.md +36 -0
- compute_api_client/docs/JobIn.md +31 -0
- compute_api_client/docs/JobPatch.md +28 -0
- compute_api_client/docs/{BatchRunStatus.md → JobStatus.md} +1 -2
- compute_api_client/docs/{RunsApi.md → JobsApi.md} +137 -122
- compute_api_client/docs/Language.md +17 -0
- compute_api_client/docs/LanguagesApi.md +30 -12
- compute_api_client/docs/LocationInner.md +17 -0
- compute_api_client/docs/Member.md +19 -2
- compute_api_client/docs/MemberIn.md +19 -2
- compute_api_client/docs/MembersApi.md +59 -24
- compute_api_client/docs/Metadata.md +20 -3
- compute_api_client/docs/MetadataApi.md +49 -33
- compute_api_client/docs/MetadataIn.md +19 -2
- compute_api_client/docs/Permission.md +17 -0
- compute_api_client/docs/PermissionGroup.md +17 -0
- compute_api_client/docs/PermissionsApi.md +68 -28
- compute_api_client/docs/Project.md +20 -3
- compute_api_client/docs/ProjectIn.md +18 -1
- compute_api_client/docs/ProjectPatch.md +19 -2
- compute_api_client/docs/ProjectsApi.md +84 -36
- compute_api_client/docs/Reservation.md +21 -4
- compute_api_client/docs/ReservationIn.md +19 -2
- compute_api_client/docs/ReservationsApi.md +66 -24
- compute_api_client/docs/Result.md +23 -6
- compute_api_client/docs/ResultIn.md +19 -2
- compute_api_client/docs/ResultsApi.md +42 -26
- compute_api_client/docs/Role.md +0 -1
- compute_api_client/docs/ShareType.md +0 -1
- compute_api_client/docs/Team.md +18 -1
- compute_api_client/docs/TeamsApi.md +37 -14
- compute_api_client/docs/Transaction.md +21 -4
- compute_api_client/docs/TransactionsApi.md +50 -14
- compute_api_client/docs/User.md +21 -4
- compute_api_client/docs/UserIn.md +17 -0
- compute_api_client/docs/UsersApi.md +62 -24
- compute_api_client/docs/ValidationError.md +18 -1
- compute_api_client/exceptions.py +19 -16
- compute_api_client/models/__init__.py +16 -14
- compute_api_client/models/algorithm.py +78 -237
- compute_api_client/models/algorithm_in.py +76 -204
- compute_api_client/models/algorithm_type.py +21 -87
- compute_api_client/models/backend.py +100 -0
- compute_api_client/models/backend_patch.py +90 -0
- compute_api_client/models/backend_status.py +47 -0
- compute_api_client/models/backend_type.py +105 -0
- compute_api_client/models/backend_with_authentication.py +102 -0
- compute_api_client/models/batch_job.py +129 -0
- compute_api_client/models/batch_job_in.py +89 -0
- compute_api_client/models/batch_job_status.py +48 -0
- compute_api_client/models/commit.py +72 -230
- compute_api_client/models/commit_in.py +67 -169
- compute_api_client/models/compile_stage.py +23 -89
- compute_api_client/models/domain.py +22 -88
- compute_api_client/models/file.py +74 -288
- compute_api_client/models/file_in.py +72 -254
- compute_api_client/models/final_result.py +68 -198
- compute_api_client/models/final_result_in.py +63 -137
- compute_api_client/models/http_not_found_error.py +60 -105
- compute_api_client/models/http_validation_error.py +69 -105
- compute_api_client/models/job.py +120 -0
- compute_api_client/models/job_in.py +99 -0
- compute_api_client/models/job_patch.py +88 -0
- compute_api_client/models/job_status.py +48 -0
- compute_api_client/models/language.py +67 -172
- compute_api_client/models/location_inner.py +125 -84
- compute_api_client/models/member.py +70 -236
- compute_api_client/models/member_in.py +68 -203
- compute_api_client/models/metadata.py +68 -198
- compute_api_client/models/metadata_in.py +68 -137
- compute_api_client/models/permission.py +67 -172
- compute_api_client/models/permission_group.py +65 -142
- compute_api_client/models/project.py +74 -256
- compute_api_client/models/project_in.py +69 -195
- compute_api_client/models/project_patch.py +89 -192
- compute_api_client/models/reservation.py +79 -290
- compute_api_client/models/reservation_in.py +68 -200
- compute_api_client/models/result.py +101 -359
- compute_api_client/models/result_in.py +95 -291
- compute_api_client/models/role.py +21 -87
- compute_api_client/models/share_type.py +22 -88
- compute_api_client/models/team.py +69 -198
- compute_api_client/models/transaction.py +93 -299
- compute_api_client/models/user.py +75 -276
- compute_api_client/models/user_in.py +73 -243
- compute_api_client/models/validation_error.py +73 -160
- compute_api_client/rest.py +55 -114
- {qi_compute_api_client-0.7.0.dist-info → qi_compute_api_client-0.17.0.dist-info}/METADATA +47 -40
- qi_compute_api_client-0.17.0.dist-info/RECORD +142 -0
- compute_api_client/api/batch_runs_api.py +0 -862
- compute_api_client/api/runs_api.py +0 -723
- compute_api_client/api/runtime_api.py +0 -449
- compute_api_client/api/runtime_types_api.py +0 -303
- compute_api_client/docs/BatchRun.md +0 -21
- compute_api_client/docs/BatchRunIn.md +0 -12
- compute_api_client/docs/Run.md +0 -19
- compute_api_client/docs/RunIn.md +0 -14
- compute_api_client/docs/Runtime.md +0 -16
- compute_api_client/docs/RuntimeApi.md +0 -229
- compute_api_client/docs/RuntimeType.md +0 -19
- compute_api_client/docs/RuntimeWithAuthentication.md +0 -17
- compute_api_client/models/batch_run.py +0 -423
- compute_api_client/models/batch_run_in.py +0 -171
- compute_api_client/models/batch_run_status.py +0 -114
- compute_api_client/models/run.py +0 -376
- compute_api_client/models/run_in.py +0 -233
- compute_api_client/models/run_status.py +0 -114
- compute_api_client/models/runtime.py +0 -290
- compute_api_client/models/runtime_status.py +0 -113
- compute_api_client/models/runtime_type.py +0 -357
- compute_api_client/models/runtime_with_authentication.py +0 -320
- qi_compute_api_client-0.7.0.dist-info/RECORD +0 -137
- {qi_compute_api_client-0.7.0.dist-info → qi_compute_api_client-0.17.0.dist-info}/LICENSE.md +0 -0
- {qi_compute_api_client-0.7.0.dist-info → qi_compute_api_client-0.17.0.dist-info}/WHEEL +0 -0
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
# compute_api_client.
|
|
1
|
+
# compute_api_client.BackendTypesApi
|
|
2
2
|
|
|
3
3
|
All URIs are relative to *http://localhost*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
7
|
+
[**read_backend_type_backend_types_id_get**](BackendTypesApi.md#read_backend_type_backend_types_id_get) | **GET** /backend_types/{id} | Retrieve backend type
|
|
8
|
+
[**read_backend_types_backend_types_get**](BackendTypesApi.md#read_backend_types_backend_types_get) | **GET** /backend_types/ | List backend types
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
# **
|
|
12
|
-
>
|
|
11
|
+
# **read_backend_type_backend_types_id_get**
|
|
12
|
+
> BackendType read_backend_type_backend_types_id_get(id)
|
|
13
13
|
|
|
14
|
-
Retrieve
|
|
14
|
+
Retrieve backend type
|
|
15
15
|
|
|
16
|
-
Get
|
|
16
|
+
Get backend type by ID.
|
|
17
17
|
|
|
18
18
|
### Example
|
|
19
19
|
|
|
20
20
|
* Api Key Authentication (user):
|
|
21
21
|
```python
|
|
22
|
-
from __future__ import print_function
|
|
23
22
|
import time
|
|
23
|
+
import os
|
|
24
24
|
import compute_api_client
|
|
25
|
+
from compute_api_client.models.backend_type import BackendType
|
|
25
26
|
from compute_api_client.rest import ApiException
|
|
26
27
|
from pprint import pprint
|
|
28
|
+
|
|
27
29
|
# Defining the host is optional and defaults to http://localhost
|
|
28
30
|
# See configuration.py for a list of all supported configuration parameters.
|
|
29
31
|
configuration = compute_api_client.Configuration(
|
|
@@ -36,25 +38,28 @@ configuration = compute_api_client.Configuration(
|
|
|
36
38
|
# satisfies your auth use case.
|
|
37
39
|
|
|
38
40
|
# Configure API key authorization: user
|
|
39
|
-
configuration.api_key['user'] =
|
|
41
|
+
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
40
42
|
|
|
41
43
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
42
44
|
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
43
45
|
|
|
44
46
|
# Enter a context with an instance of the API client
|
|
45
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
47
|
+
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
46
48
|
# Create an instance of the API class
|
|
47
|
-
api_instance = compute_api_client.
|
|
49
|
+
api_instance = compute_api_client.BackendTypesApi(api_client)
|
|
48
50
|
id = 56 # int |
|
|
49
51
|
|
|
50
52
|
try:
|
|
51
|
-
# Retrieve
|
|
52
|
-
api_response = api_instance.
|
|
53
|
+
# Retrieve backend type
|
|
54
|
+
api_response = await api_instance.read_backend_type_backend_types_id_get(id)
|
|
55
|
+
print("The response of BackendTypesApi->read_backend_type_backend_types_id_get:\n")
|
|
53
56
|
pprint(api_response)
|
|
54
|
-
except
|
|
55
|
-
print("Exception when calling
|
|
57
|
+
except Exception as e:
|
|
58
|
+
print("Exception when calling BackendTypesApi->read_backend_type_backend_types_id_get: %s\n" % e)
|
|
56
59
|
```
|
|
57
60
|
|
|
61
|
+
|
|
62
|
+
|
|
58
63
|
### Parameters
|
|
59
64
|
|
|
60
65
|
Name | Type | Description | Notes
|
|
@@ -63,7 +68,7 @@ Name | Type | Description | Notes
|
|
|
63
68
|
|
|
64
69
|
### Return type
|
|
65
70
|
|
|
66
|
-
[**
|
|
71
|
+
[**BackendType**](BackendType.md)
|
|
67
72
|
|
|
68
73
|
### Authorization
|
|
69
74
|
|
|
@@ -83,22 +88,24 @@ Name | Type | Description | Notes
|
|
|
83
88
|
|
|
84
89
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
85
90
|
|
|
86
|
-
# **
|
|
87
|
-
>
|
|
91
|
+
# **read_backend_types_backend_types_get**
|
|
92
|
+
> List[BackendType] read_backend_types_backend_types_get(latest=latest, id=id, name=name, infrastructure=infrastructure, description=description, image_id=image_id, is_hardware=is_hardware)
|
|
88
93
|
|
|
89
|
-
List
|
|
94
|
+
List backend types
|
|
90
95
|
|
|
91
|
-
Read
|
|
96
|
+
Read backend types.
|
|
92
97
|
|
|
93
98
|
### Example
|
|
94
99
|
|
|
95
100
|
* Api Key Authentication (user):
|
|
96
101
|
```python
|
|
97
|
-
from __future__ import print_function
|
|
98
102
|
import time
|
|
103
|
+
import os
|
|
99
104
|
import compute_api_client
|
|
105
|
+
from compute_api_client.models.backend_type import BackendType
|
|
100
106
|
from compute_api_client.rest import ApiException
|
|
101
107
|
from pprint import pprint
|
|
108
|
+
|
|
102
109
|
# Defining the host is optional and defaults to http://localhost
|
|
103
110
|
# See configuration.py for a list of all supported configuration parameters.
|
|
104
111
|
configuration = compute_api_client.Configuration(
|
|
@@ -111,30 +118,49 @@ configuration = compute_api_client.Configuration(
|
|
|
111
118
|
# satisfies your auth use case.
|
|
112
119
|
|
|
113
120
|
# Configure API key authorization: user
|
|
114
|
-
configuration.api_key['user'] =
|
|
121
|
+
configuration.api_key['user'] = os.environ["API_KEY"]
|
|
115
122
|
|
|
116
123
|
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
117
124
|
# configuration.api_key_prefix['user'] = 'Bearer'
|
|
118
125
|
|
|
119
126
|
# Enter a context with an instance of the API client
|
|
120
|
-
with compute_api_client.ApiClient(configuration) as api_client:
|
|
127
|
+
async with compute_api_client.ApiClient(configuration) as api_client:
|
|
121
128
|
# Create an instance of the API class
|
|
122
|
-
api_instance = compute_api_client.
|
|
123
|
-
|
|
129
|
+
api_instance = compute_api_client.BackendTypesApi(api_client)
|
|
130
|
+
latest = True # bool | (optional)
|
|
131
|
+
id = 56 # int | (optional)
|
|
132
|
+
name = 'name_example' # str | (optional)
|
|
133
|
+
infrastructure = 'infrastructure_example' # str | (optional)
|
|
134
|
+
description = 'description_example' # str | (optional)
|
|
135
|
+
image_id = 'image_id_example' # str | (optional)
|
|
136
|
+
is_hardware = True # bool | (optional)
|
|
137
|
+
|
|
124
138
|
try:
|
|
125
|
-
# List
|
|
126
|
-
api_response = api_instance.
|
|
139
|
+
# List backend types
|
|
140
|
+
api_response = await api_instance.read_backend_types_backend_types_get(latest=latest, id=id, name=name, infrastructure=infrastructure, description=description, image_id=image_id, is_hardware=is_hardware)
|
|
141
|
+
print("The response of BackendTypesApi->read_backend_types_backend_types_get:\n")
|
|
127
142
|
pprint(api_response)
|
|
128
|
-
except
|
|
129
|
-
print("Exception when calling
|
|
143
|
+
except Exception as e:
|
|
144
|
+
print("Exception when calling BackendTypesApi->read_backend_types_backend_types_get: %s\n" % e)
|
|
130
145
|
```
|
|
131
146
|
|
|
147
|
+
|
|
148
|
+
|
|
132
149
|
### Parameters
|
|
133
|
-
|
|
150
|
+
|
|
151
|
+
Name | Type | Description | Notes
|
|
152
|
+
------------- | ------------- | ------------- | -------------
|
|
153
|
+
**latest** | **bool**| | [optional]
|
|
154
|
+
**id** | **int**| | [optional]
|
|
155
|
+
**name** | **str**| | [optional]
|
|
156
|
+
**infrastructure** | **str**| | [optional]
|
|
157
|
+
**description** | **str**| | [optional]
|
|
158
|
+
**image_id** | **str**| | [optional]
|
|
159
|
+
**is_hardware** | **bool**| | [optional]
|
|
134
160
|
|
|
135
161
|
### Return type
|
|
136
162
|
|
|
137
|
-
[**
|
|
163
|
+
[**List[BackendType]**](BackendType.md)
|
|
138
164
|
|
|
139
165
|
### Authorization
|
|
140
166
|
|
|
@@ -149,6 +175,7 @@ This endpoint does not need any parameter.
|
|
|
149
175
|
| Status code | Description | Response headers |
|
|
150
176
|
|-------------|-------------|------------------|
|
|
151
177
|
**200** | Successful Response | - |
|
|
178
|
+
**422** | Validation Error | - |
|
|
152
179
|
|
|
153
180
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
154
181
|
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# BackendWithAuthentication
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**id** | **int** | |
|
|
8
|
+
**name** | **str** | |
|
|
9
|
+
**location** | **str** | |
|
|
10
|
+
**backend_type_id** | **int** | |
|
|
11
|
+
**status** | [**BackendStatus**](BackendStatus.md) | |
|
|
12
|
+
**last_heartbeat** | **datetime** | |
|
|
13
|
+
**authentication_hash** | **str** | |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
from compute_api_client.models.backend_with_authentication import BackendWithAuthentication
|
|
19
|
+
|
|
20
|
+
# TODO update the JSON string below
|
|
21
|
+
json = "{}"
|
|
22
|
+
# create an instance of BackendWithAuthentication from a JSON string
|
|
23
|
+
backend_with_authentication_instance = BackendWithAuthentication.from_json(json)
|
|
24
|
+
# print the JSON string representation of the object
|
|
25
|
+
print BackendWithAuthentication.to_json()
|
|
26
|
+
|
|
27
|
+
# convert the object into a dict
|
|
28
|
+
backend_with_authentication_dict = backend_with_authentication_instance.to_dict()
|
|
29
|
+
# create an instance of BackendWithAuthentication from a dict
|
|
30
|
+
backend_with_authentication_form_dict = backend_with_authentication.from_dict(backend_with_authentication_dict)
|
|
31
|
+
```
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# BatchJob
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**id** | **int** | |
|
|
8
|
+
**created_on** | **datetime** | |
|
|
9
|
+
**status** | [**BatchJobStatus**](BatchJobStatus.md) | |
|
|
10
|
+
**user_id** | **int** | |
|
|
11
|
+
**backend_type_id** | **int** | |
|
|
12
|
+
**backend_id** | **int** | |
|
|
13
|
+
**queued_at** | **datetime** | |
|
|
14
|
+
**reserved_at** | **datetime** | |
|
|
15
|
+
**finished_at** | **datetime** | |
|
|
16
|
+
**job_ids** | **List[int]** | |
|
|
17
|
+
**aggregated_algorithm_type** | [**AlgorithmType**](AlgorithmType.md) | |
|
|
18
|
+
|
|
19
|
+
## Example
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
from compute_api_client.models.batch_job import BatchJob
|
|
23
|
+
|
|
24
|
+
# TODO update the JSON string below
|
|
25
|
+
json = "{}"
|
|
26
|
+
# create an instance of BatchJob from a JSON string
|
|
27
|
+
batch_job_instance = BatchJob.from_json(json)
|
|
28
|
+
# print the JSON string representation of the object
|
|
29
|
+
print BatchJob.to_json()
|
|
30
|
+
|
|
31
|
+
# convert the object into a dict
|
|
32
|
+
batch_job_dict = batch_job_instance.to_dict()
|
|
33
|
+
# create an instance of BatchJob from a dict
|
|
34
|
+
batch_job_form_dict = batch_job.from_dict(batch_job_dict)
|
|
35
|
+
```
|
|
36
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# BatchJobIn
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
Name | Type | Description | Notes
|
|
6
|
+
------------ | ------------- | ------------- | -------------
|
|
7
|
+
**user_id** | **int** | |
|
|
8
|
+
**backend_type_id** | **int** | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```python
|
|
13
|
+
from compute_api_client.models.batch_job_in import BatchJobIn
|
|
14
|
+
|
|
15
|
+
# TODO update the JSON string below
|
|
16
|
+
json = "{}"
|
|
17
|
+
# create an instance of BatchJobIn from a JSON string
|
|
18
|
+
batch_job_in_instance = BatchJobIn.from_json(json)
|
|
19
|
+
# print the JSON string representation of the object
|
|
20
|
+
print BatchJobIn.to_json()
|
|
21
|
+
|
|
22
|
+
# convert the object into a dict
|
|
23
|
+
batch_job_in_dict = batch_job_in_instance.to_dict()
|
|
24
|
+
# create an instance of BatchJobIn from a dict
|
|
25
|
+
batch_job_in_form_dict = batch_job_in.from_dict(batch_job_in_dict)
|
|
26
|
+
```
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
28
|
+
|
|
29
|
+
|