Py4HEAppE 1.0.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.
- __init__.py +1 -0
- py4heappe/__init__.py +1 -0
- py4heappe/cli/__init__.py +1 -0
- py4heappe/cli/auth.py +153 -0
- py4heappe/cli/command_template.py +370 -0
- py4heappe/cli/configuration.py +65 -0
- py4heappe/cli/information.py +163 -0
- py4heappe/cli/job_management.py +211 -0
- py4heappe/cli/report.py +173 -0
- py4heappe/core/__init__.py +167 -0
- py4heappe/core/api/__init__.py +12 -0
- py4heappe/core/api/cluster_information_api.py +308 -0
- py4heappe/core/api/data_transfer_api.py +405 -0
- py4heappe/core/api/file_transfer_api.py +498 -0
- py4heappe/core/api/job_management_api.py +866 -0
- py4heappe/core/api/job_reporting_api.py +692 -0
- py4heappe/core/api/management_api.py +2540 -0
- py4heappe/core/api/user_and_limitation_management_api.py +676 -0
- py4heappe/core/api_client.py +632 -0
- py4heappe/core/base/__init__.py +1 -0
- py4heappe/core/base/exceptions.py +41 -0
- py4heappe/core/base/logger.py +11 -0
- py4heappe/core/base/utils.py +43 -0
- py4heappe/core/configuration.py +247 -0
- py4heappe/core/models/__init__.py +155 -0
- py4heappe/core/models/adaptor_user.py +398 -0
- py4heappe/core/models/adaptor_user_group.py +268 -0
- py4heappe/core/models/adaptor_user_role.py +242 -0
- py4heappe/core/models/adaptor_user_role_ext.py +138 -0
- py4heappe/core/models/adaptor_user_role_type.py +95 -0
- py4heappe/core/models/adaptor_user_type.py +91 -0
- py4heappe/core/models/adaptor_user_user_group_role.py +320 -0
- py4heappe/core/models/allocated_nodes_ips_model.py +136 -0
- py4heappe/core/models/authenticate_lexis_token_model.py +110 -0
- py4heappe/core/models/authenticate_user_digital_signature_model.py +110 -0
- py4heappe/core/models/authenticate_user_open_id_model.py +110 -0
- py4heappe/core/models/authenticate_user_open_id_open_stack_model.py +136 -0
- py4heappe/core/models/authenticate_user_password_model.py +110 -0
- py4heappe/core/models/authentication_credentials.py +110 -0
- py4heappe/core/models/bad_request_result.py +110 -0
- py4heappe/core/models/cancel_job_model.py +136 -0
- py4heappe/core/models/cluster.py +478 -0
- py4heappe/core/models/cluster_authentication_credentials.py +375 -0
- py4heappe/core/models/cluster_authentication_credentials_auth_type.py +97 -0
- py4heappe/core/models/cluster_connection_protocol.py +91 -0
- py4heappe/core/models/cluster_detailed_report_ext.py +214 -0
- py4heappe/core/models/cluster_ext.py +188 -0
- py4heappe/core/models/cluster_init_report_ext.py +136 -0
- py4heappe/core/models/cluster_node_type.py +528 -0
- py4heappe/core/models/cluster_node_type_detailed_report_ext.py +240 -0
- py4heappe/core/models/cluster_node_type_ext.py +292 -0
- py4heappe/core/models/cluster_node_type_for_task_ext.py +188 -0
- py4heappe/core/models/cluster_node_type_report_ext.py +214 -0
- py4heappe/core/models/cluster_node_type_requested_group.py +136 -0
- py4heappe/core/models/cluster_node_type_resource_usage_ext.py +292 -0
- py4heappe/core/models/cluster_node_usage_ext.py +318 -0
- py4heappe/core/models/cluster_project.py +347 -0
- py4heappe/core/models/cluster_project_credential.py +294 -0
- py4heappe/core/models/cluster_proxy_connection.py +243 -0
- py4heappe/core/models/cluster_proxy_connection_ext.py +214 -0
- py4heappe/core/models/cluster_report_ext.py +215 -0
- py4heappe/core/models/command_template.py +557 -0
- py4heappe/core/models/command_template_ext.py +240 -0
- py4heappe/core/models/command_template_parameter.py +347 -0
- py4heappe/core/models/command_template_parameter_ext.py +136 -0
- py4heappe/core/models/command_template_parameter_value_ext.py +136 -0
- py4heappe/core/models/contact.py +269 -0
- py4heappe/core/models/copy_job_data_from_temp_model.py +162 -0
- py4heappe/core/models/copy_job_data_to_temp_model.py +162 -0
- py4heappe/core/models/create_command_inner_template_parameter_model.py +162 -0
- py4heappe/core/models/create_command_template_from_generic_model.py +292 -0
- py4heappe/core/models/create_command_template_model.py +318 -0
- py4heappe/core/models/create_command_template_parameter_model.py +214 -0
- py4heappe/core/models/create_job_by_project_model.py +136 -0
- py4heappe/core/models/create_project_assignment_to_cluster_model.py +188 -0
- py4heappe/core/models/create_project_model.py +318 -0
- py4heappe/core/models/create_secure_shell_key_model.py +162 -0
- py4heappe/core/models/create_secure_shell_key_model_obsolete.py +188 -0
- py4heappe/core/models/current_cluster_node_usage_model.py +136 -0
- py4heappe/core/models/current_info_for_job_model.py +136 -0
- py4heappe/core/models/data_transfer_method_ext.py +188 -0
- py4heappe/core/models/delete_job_model.py +136 -0
- py4heappe/core/models/deployment_type_ext.py +91 -0
- py4heappe/core/models/digital_signature_credentials_ext.py +162 -0
- py4heappe/core/models/download_file_from_cluster_model.py +162 -0
- py4heappe/core/models/download_parts_of_job_files_from_cluster_model.py +162 -0
- py4heappe/core/models/end_data_transfer_model.py +136 -0
- py4heappe/core/models/end_file_transfer_model.py +162 -0
- py4heappe/core/models/environment_variable_ext.py +136 -0
- py4heappe/core/models/extended_command_template_ext.py +370 -0
- py4heappe/core/models/extended_command_template_parameter_ext.py +188 -0
- py4heappe/core/models/extended_project_info_ext.py +318 -0
- py4heappe/core/models/file_information_ext.py +136 -0
- py4heappe/core/models/file_transfer_cipher_type.py +94 -0
- py4heappe/core/models/file_transfer_cipher_type_ext.py +93 -0
- py4heappe/core/models/file_transfer_key_credentials_ext.py +240 -0
- py4heappe/core/models/file_transfer_method.py +294 -0
- py4heappe/core/models/file_transfer_method_ext.py +240 -0
- py4heappe/core/models/file_transfer_protocol.py +91 -0
- py4heappe/core/models/file_transfer_protocol_ext.py +91 -0
- py4heappe/core/models/get_command_template_parameters_name_model.py +188 -0
- py4heappe/core/models/get_current_usage_and_limitations_for_current_user_model.py +110 -0
- py4heappe/core/models/get_data_transfer_method_model.py +188 -0
- py4heappe/core/models/get_file_transfer_method_model.py +136 -0
- py4heappe/core/models/http_get_to_job_node_model.py +241 -0
- py4heappe/core/models/http_header_ext.py +136 -0
- py4heappe/core/models/http_post_to_job_node_model.py +267 -0
- py4heappe/core/models/initialize_cluster_script_directory_model.py +162 -0
- py4heappe/core/models/instance_information_ext.py +344 -0
- py4heappe/core/models/job_detailed_report_ext.py +318 -0
- py4heappe/core/models/job_file_content_ext.py +214 -0
- py4heappe/core/models/job_report_ext.py +188 -0
- py4heappe/core/models/job_specification_by_project_ext.py +448 -0
- py4heappe/core/models/job_specification_ext.py +448 -0
- py4heappe/core/models/job_state_aggregation_report_ext.py +162 -0
- py4heappe/core/models/job_state_ext.py +96 -0
- py4heappe/core/models/lexis_credentials_ext.py +137 -0
- py4heappe/core/models/list_changed_files_for_job_model.py +136 -0
- py4heappe/core/models/list_jobs_for_current_user_model.py +110 -0
- py4heappe/core/models/modify_command_template_from_generic_model.py +292 -0
- py4heappe/core/models/modify_command_template_model.py +292 -0
- py4heappe/core/models/modify_command_template_parameter_model.py +214 -0
- py4heappe/core/models/modify_project_assignment_to_cluster_model.py +188 -0
- py4heappe/core/models/modify_project_model.py +292 -0
- py4heappe/core/models/node_used_cores_and_limitation_ext.py +110 -0
- py4heappe/core/models/open_id_credentials_ext.py +137 -0
- py4heappe/core/models/open_stack_application_credentials_ext.py +136 -0
- py4heappe/core/models/password_credentials_ext.py +136 -0
- py4heappe/core/models/problem_details.py +89 -0
- py4heappe/core/models/project.py +482 -0
- py4heappe/core/models/project_contact.py +215 -0
- py4heappe/core/models/project_detailed_report_ext.py +292 -0
- py4heappe/core/models/project_ext.py +266 -0
- py4heappe/core/models/project_for_task_ext.py +214 -0
- py4heappe/core/models/project_list_report_ext.py +214 -0
- py4heappe/core/models/project_reference_ext.py +137 -0
- py4heappe/core/models/project_report_ext.py +240 -0
- py4heappe/core/models/project_resource_usage_ext.py +266 -0
- py4heappe/core/models/proxy_type.py +91 -0
- py4heappe/core/models/proxy_type_ext.py +91 -0
- py4heappe/core/models/public_key_ext.py +188 -0
- py4heappe/core/models/recreate_secure_shell_key_model.py +214 -0
- py4heappe/core/models/regenerate_secure_shell_key_model.py +188 -0
- py4heappe/core/models/regenerate_secure_shell_key_model_obsolete.py +188 -0
- py4heappe/core/models/remove_command_template_model.py +136 -0
- py4heappe/core/models/remove_command_template_parameter_model.py +136 -0
- py4heappe/core/models/remove_project_assignment_to_cluster_model.py +162 -0
- py4heappe/core/models/remove_project_model.py +136 -0
- py4heappe/core/models/remove_secure_shell_key_model.py +162 -0
- py4heappe/core/models/remove_secure_shell_key_model_obsolete.py +162 -0
- py4heappe/core/models/resource_allocation_type_ext.py +91 -0
- py4heappe/core/models/resource_limitation_ext.py +136 -0
- py4heappe/core/models/resource_usage_ext.py +163 -0
- py4heappe/core/models/scheduler_type.py +92 -0
- py4heappe/core/models/ssh_key_user_credentials_model.py +136 -0
- py4heappe/core/models/submit_job_model.py +136 -0
- py4heappe/core/models/submitted_job_info_ext.py +318 -0
- py4heappe/core/models/submitted_task_info_ext.py +370 -0
- py4heappe/core/models/synchronizable_files_ext.py +92 -0
- py4heappe/core/models/task_detailed_report_ext.py +318 -0
- py4heappe/core/models/task_file_offset_ext.py +162 -0
- py4heappe/core/models/task_paralization_parameter_ext.py +162 -0
- py4heappe/core/models/task_priority_ext.py +97 -0
- py4heappe/core/models/task_report_ext.py +266 -0
- py4heappe/core/models/task_specification_ext.py +682 -0
- py4heappe/core/models/task_state_ext.py +95 -0
- py4heappe/core/models/test_cluster_access_for_account_model.py +162 -0
- py4heappe/core/models/test_cluster_access_for_account_model_obsolete.py +162 -0
- py4heappe/core/models/unauthorized_result.py +110 -0
- py4heappe/core/models/usage_type.py +90 -0
- py4heappe/core/models/usage_type_ext.py +90 -0
- py4heappe/core/models/user_group_detailed_report_ext.py +240 -0
- py4heappe/core/models/user_group_list_report_ext.py +240 -0
- py4heappe/core/models/user_group_report_ext.py +240 -0
- py4heappe/core/models/version_information_ext.py +162 -0
- py4heappe/core/rest.py +311 -0
- py4heappe-1.0.0.dist-info/METADATA +147 -0
- py4heappe-1.0.0.dist-info/RECORD +183 -0
- py4heappe-1.0.0.dist-info/WHEEL +5 -0
- py4heappe-1.0.0.dist-info/entry_points.txt +2 -0
- py4heappe-1.0.0.dist-info/licenses/LICENSE +20 -0
- py4heappe-1.0.0.dist-info/top_level.txt +3 -0
- py4heappe_cli.py +22 -0
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
HEAppE Web API
|
|
5
|
+
|
|
6
|
+
HEAppE middleware API v4.2.1 # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: v4.2.1
|
|
9
|
+
Contact: support.heappe@it4i.cz
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
class TaskDetailedReportExt(object):
|
|
19
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
|
|
21
|
+
Do not edit the class manually.
|
|
22
|
+
"""
|
|
23
|
+
"""
|
|
24
|
+
Attributes:
|
|
25
|
+
swagger_types (dict): The key is attribute name
|
|
26
|
+
and the value is attribute type.
|
|
27
|
+
attribute_map (dict): The key is attribute name
|
|
28
|
+
and the value is json key in definition.
|
|
29
|
+
"""
|
|
30
|
+
swagger_types = {
|
|
31
|
+
'id': 'int',
|
|
32
|
+
'scheduled_job_id': 'str',
|
|
33
|
+
'name': 'str',
|
|
34
|
+
'state': 'TaskStateExt',
|
|
35
|
+
'start_time': 'datetime',
|
|
36
|
+
'end_time': 'datetime',
|
|
37
|
+
'command_template_id': 'int',
|
|
38
|
+
'command_template_name': 'str',
|
|
39
|
+
'usage': 'float'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
attribute_map = {
|
|
43
|
+
'id': 'Id',
|
|
44
|
+
'scheduled_job_id': 'ScheduledJobId',
|
|
45
|
+
'name': 'Name',
|
|
46
|
+
'state': 'State',
|
|
47
|
+
'start_time': 'StartTime',
|
|
48
|
+
'end_time': 'EndTime',
|
|
49
|
+
'command_template_id': 'CommandTemplateId',
|
|
50
|
+
'command_template_name': 'CommandTemplateName',
|
|
51
|
+
'usage': 'Usage'
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
def __init__(self, id=None, scheduled_job_id=None, name=None, state=None, start_time=None, end_time=None, command_template_id=None, command_template_name=None, usage=None): # noqa: E501
|
|
55
|
+
"""TaskDetailedReportExt - a model defined in Swagger""" # noqa: E501
|
|
56
|
+
self._id = None
|
|
57
|
+
self._scheduled_job_id = None
|
|
58
|
+
self._name = None
|
|
59
|
+
self._state = None
|
|
60
|
+
self._start_time = None
|
|
61
|
+
self._end_time = None
|
|
62
|
+
self._command_template_id = None
|
|
63
|
+
self._command_template_name = None
|
|
64
|
+
self._usage = None
|
|
65
|
+
self.discriminator = None
|
|
66
|
+
if id is not None:
|
|
67
|
+
self.id = id
|
|
68
|
+
if scheduled_job_id is not None:
|
|
69
|
+
self.scheduled_job_id = scheduled_job_id
|
|
70
|
+
if name is not None:
|
|
71
|
+
self.name = name
|
|
72
|
+
if state is not None:
|
|
73
|
+
self.state = state
|
|
74
|
+
if start_time is not None:
|
|
75
|
+
self.start_time = start_time
|
|
76
|
+
if end_time is not None:
|
|
77
|
+
self.end_time = end_time
|
|
78
|
+
if command_template_id is not None:
|
|
79
|
+
self.command_template_id = command_template_id
|
|
80
|
+
if command_template_name is not None:
|
|
81
|
+
self.command_template_name = command_template_name
|
|
82
|
+
if usage is not None:
|
|
83
|
+
self.usage = usage
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def id(self):
|
|
87
|
+
"""Gets the id of this TaskDetailedReportExt. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The id of this TaskDetailedReportExt. # noqa: E501
|
|
91
|
+
:rtype: int
|
|
92
|
+
"""
|
|
93
|
+
return self._id
|
|
94
|
+
|
|
95
|
+
@id.setter
|
|
96
|
+
def id(self, id):
|
|
97
|
+
"""Sets the id of this TaskDetailedReportExt.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param id: The id of this TaskDetailedReportExt. # noqa: E501
|
|
101
|
+
:type: int
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._id = id
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def scheduled_job_id(self):
|
|
108
|
+
"""Gets the scheduled_job_id of this TaskDetailedReportExt. # noqa: E501
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
:return: The scheduled_job_id of this TaskDetailedReportExt. # noqa: E501
|
|
112
|
+
:rtype: str
|
|
113
|
+
"""
|
|
114
|
+
return self._scheduled_job_id
|
|
115
|
+
|
|
116
|
+
@scheduled_job_id.setter
|
|
117
|
+
def scheduled_job_id(self, scheduled_job_id):
|
|
118
|
+
"""Sets the scheduled_job_id of this TaskDetailedReportExt.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
:param scheduled_job_id: The scheduled_job_id of this TaskDetailedReportExt. # noqa: E501
|
|
122
|
+
:type: str
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
self._scheduled_job_id = scheduled_job_id
|
|
126
|
+
|
|
127
|
+
@property
|
|
128
|
+
def name(self):
|
|
129
|
+
"""Gets the name of this TaskDetailedReportExt. # noqa: E501
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:return: The name of this TaskDetailedReportExt. # noqa: E501
|
|
133
|
+
:rtype: str
|
|
134
|
+
"""
|
|
135
|
+
return self._name
|
|
136
|
+
|
|
137
|
+
@name.setter
|
|
138
|
+
def name(self, name):
|
|
139
|
+
"""Sets the name of this TaskDetailedReportExt.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
:param name: The name of this TaskDetailedReportExt. # noqa: E501
|
|
143
|
+
:type: str
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
self._name = name
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def state(self):
|
|
150
|
+
"""Gets the state of this TaskDetailedReportExt. # noqa: E501
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
:return: The state of this TaskDetailedReportExt. # noqa: E501
|
|
154
|
+
:rtype: TaskStateExt
|
|
155
|
+
"""
|
|
156
|
+
return self._state
|
|
157
|
+
|
|
158
|
+
@state.setter
|
|
159
|
+
def state(self, state):
|
|
160
|
+
"""Sets the state of this TaskDetailedReportExt.
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
:param state: The state of this TaskDetailedReportExt. # noqa: E501
|
|
164
|
+
:type: TaskStateExt
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
self._state = state
|
|
168
|
+
|
|
169
|
+
@property
|
|
170
|
+
def start_time(self):
|
|
171
|
+
"""Gets the start_time of this TaskDetailedReportExt. # noqa: E501
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:return: The start_time of this TaskDetailedReportExt. # noqa: E501
|
|
175
|
+
:rtype: datetime
|
|
176
|
+
"""
|
|
177
|
+
return self._start_time
|
|
178
|
+
|
|
179
|
+
@start_time.setter
|
|
180
|
+
def start_time(self, start_time):
|
|
181
|
+
"""Sets the start_time of this TaskDetailedReportExt.
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:param start_time: The start_time of this TaskDetailedReportExt. # noqa: E501
|
|
185
|
+
:type: datetime
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
self._start_time = start_time
|
|
189
|
+
|
|
190
|
+
@property
|
|
191
|
+
def end_time(self):
|
|
192
|
+
"""Gets the end_time of this TaskDetailedReportExt. # noqa: E501
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
:return: The end_time of this TaskDetailedReportExt. # noqa: E501
|
|
196
|
+
:rtype: datetime
|
|
197
|
+
"""
|
|
198
|
+
return self._end_time
|
|
199
|
+
|
|
200
|
+
@end_time.setter
|
|
201
|
+
def end_time(self, end_time):
|
|
202
|
+
"""Sets the end_time of this TaskDetailedReportExt.
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
:param end_time: The end_time of this TaskDetailedReportExt. # noqa: E501
|
|
206
|
+
:type: datetime
|
|
207
|
+
"""
|
|
208
|
+
|
|
209
|
+
self._end_time = end_time
|
|
210
|
+
|
|
211
|
+
@property
|
|
212
|
+
def command_template_id(self):
|
|
213
|
+
"""Gets the command_template_id of this TaskDetailedReportExt. # noqa: E501
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
:return: The command_template_id of this TaskDetailedReportExt. # noqa: E501
|
|
217
|
+
:rtype: int
|
|
218
|
+
"""
|
|
219
|
+
return self._command_template_id
|
|
220
|
+
|
|
221
|
+
@command_template_id.setter
|
|
222
|
+
def command_template_id(self, command_template_id):
|
|
223
|
+
"""Sets the command_template_id of this TaskDetailedReportExt.
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
:param command_template_id: The command_template_id of this TaskDetailedReportExt. # noqa: E501
|
|
227
|
+
:type: int
|
|
228
|
+
"""
|
|
229
|
+
|
|
230
|
+
self._command_template_id = command_template_id
|
|
231
|
+
|
|
232
|
+
@property
|
|
233
|
+
def command_template_name(self):
|
|
234
|
+
"""Gets the command_template_name of this TaskDetailedReportExt. # noqa: E501
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
:return: The command_template_name of this TaskDetailedReportExt. # noqa: E501
|
|
238
|
+
:rtype: str
|
|
239
|
+
"""
|
|
240
|
+
return self._command_template_name
|
|
241
|
+
|
|
242
|
+
@command_template_name.setter
|
|
243
|
+
def command_template_name(self, command_template_name):
|
|
244
|
+
"""Sets the command_template_name of this TaskDetailedReportExt.
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
:param command_template_name: The command_template_name of this TaskDetailedReportExt. # noqa: E501
|
|
248
|
+
:type: str
|
|
249
|
+
"""
|
|
250
|
+
|
|
251
|
+
self._command_template_name = command_template_name
|
|
252
|
+
|
|
253
|
+
@property
|
|
254
|
+
def usage(self):
|
|
255
|
+
"""Gets the usage of this TaskDetailedReportExt. # noqa: E501
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
:return: The usage of this TaskDetailedReportExt. # noqa: E501
|
|
259
|
+
:rtype: float
|
|
260
|
+
"""
|
|
261
|
+
return self._usage
|
|
262
|
+
|
|
263
|
+
@usage.setter
|
|
264
|
+
def usage(self, usage):
|
|
265
|
+
"""Sets the usage of this TaskDetailedReportExt.
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
:param usage: The usage of this TaskDetailedReportExt. # noqa: E501
|
|
269
|
+
:type: float
|
|
270
|
+
"""
|
|
271
|
+
|
|
272
|
+
self._usage = usage
|
|
273
|
+
|
|
274
|
+
def to_dict(self):
|
|
275
|
+
"""Returns the model properties as a dict"""
|
|
276
|
+
result = {}
|
|
277
|
+
|
|
278
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
279
|
+
value = getattr(self, attr)
|
|
280
|
+
if isinstance(value, list):
|
|
281
|
+
result[attr] = list(map(
|
|
282
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
283
|
+
value
|
|
284
|
+
))
|
|
285
|
+
elif hasattr(value, "to_dict"):
|
|
286
|
+
result[attr] = value.to_dict()
|
|
287
|
+
elif isinstance(value, dict):
|
|
288
|
+
result[attr] = dict(map(
|
|
289
|
+
lambda item: (item[0], item[1].to_dict())
|
|
290
|
+
if hasattr(item[1], "to_dict") else item,
|
|
291
|
+
value.items()
|
|
292
|
+
))
|
|
293
|
+
else:
|
|
294
|
+
result[attr] = value
|
|
295
|
+
if issubclass(TaskDetailedReportExt, dict):
|
|
296
|
+
for key, value in self.items():
|
|
297
|
+
result[key] = value
|
|
298
|
+
|
|
299
|
+
return result
|
|
300
|
+
|
|
301
|
+
def to_str(self):
|
|
302
|
+
"""Returns the string representation of the model"""
|
|
303
|
+
return pprint.pformat(self.to_dict())
|
|
304
|
+
|
|
305
|
+
def __repr__(self):
|
|
306
|
+
"""For `print` and `pprint`"""
|
|
307
|
+
return self.to_str()
|
|
308
|
+
|
|
309
|
+
def __eq__(self, other):
|
|
310
|
+
"""Returns true if both objects are equal"""
|
|
311
|
+
if not isinstance(other, TaskDetailedReportExt):
|
|
312
|
+
return False
|
|
313
|
+
|
|
314
|
+
return self.__dict__ == other.__dict__
|
|
315
|
+
|
|
316
|
+
def __ne__(self, other):
|
|
317
|
+
"""Returns true if both objects are not equal"""
|
|
318
|
+
return not self == other
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
HEAppE Web API
|
|
5
|
+
|
|
6
|
+
HEAppE middleware API v4.2.1 # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: v4.2.1
|
|
9
|
+
Contact: support.heappe@it4i.cz
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
class TaskFileOffsetExt(object):
|
|
19
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
|
|
21
|
+
Do not edit the class manually.
|
|
22
|
+
"""
|
|
23
|
+
"""
|
|
24
|
+
Attributes:
|
|
25
|
+
swagger_types (dict): The key is attribute name
|
|
26
|
+
and the value is attribute type.
|
|
27
|
+
attribute_map (dict): The key is attribute name
|
|
28
|
+
and the value is json key in definition.
|
|
29
|
+
"""
|
|
30
|
+
swagger_types = {
|
|
31
|
+
'submitted_task_info_id': 'int',
|
|
32
|
+
'file_type': 'SynchronizableFilesExt',
|
|
33
|
+
'offset': 'int'
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
attribute_map = {
|
|
37
|
+
'submitted_task_info_id': 'SubmittedTaskInfoId',
|
|
38
|
+
'file_type': 'FileType',
|
|
39
|
+
'offset': 'Offset'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
def __init__(self, submitted_task_info_id=None, file_type=None, offset=None): # noqa: E501
|
|
43
|
+
"""TaskFileOffsetExt - a model defined in Swagger""" # noqa: E501
|
|
44
|
+
self._submitted_task_info_id = None
|
|
45
|
+
self._file_type = None
|
|
46
|
+
self._offset = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
if submitted_task_info_id is not None:
|
|
49
|
+
self.submitted_task_info_id = submitted_task_info_id
|
|
50
|
+
if file_type is not None:
|
|
51
|
+
self.file_type = file_type
|
|
52
|
+
if offset is not None:
|
|
53
|
+
self.offset = offset
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def submitted_task_info_id(self):
|
|
57
|
+
"""Gets the submitted_task_info_id of this TaskFileOffsetExt. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The submitted_task_info_id of this TaskFileOffsetExt. # noqa: E501
|
|
61
|
+
:rtype: int
|
|
62
|
+
"""
|
|
63
|
+
return self._submitted_task_info_id
|
|
64
|
+
|
|
65
|
+
@submitted_task_info_id.setter
|
|
66
|
+
def submitted_task_info_id(self, submitted_task_info_id):
|
|
67
|
+
"""Sets the submitted_task_info_id of this TaskFileOffsetExt.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param submitted_task_info_id: The submitted_task_info_id of this TaskFileOffsetExt. # noqa: E501
|
|
71
|
+
:type: int
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._submitted_task_info_id = submitted_task_info_id
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
def file_type(self):
|
|
78
|
+
"""Gets the file_type of this TaskFileOffsetExt. # noqa: E501
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
:return: The file_type of this TaskFileOffsetExt. # noqa: E501
|
|
82
|
+
:rtype: SynchronizableFilesExt
|
|
83
|
+
"""
|
|
84
|
+
return self._file_type
|
|
85
|
+
|
|
86
|
+
@file_type.setter
|
|
87
|
+
def file_type(self, file_type):
|
|
88
|
+
"""Sets the file_type of this TaskFileOffsetExt.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:param file_type: The file_type of this TaskFileOffsetExt. # noqa: E501
|
|
92
|
+
:type: SynchronizableFilesExt
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
self._file_type = file_type
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
def offset(self):
|
|
99
|
+
"""Gets the offset of this TaskFileOffsetExt. # noqa: E501
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
:return: The offset of this TaskFileOffsetExt. # noqa: E501
|
|
103
|
+
:rtype: int
|
|
104
|
+
"""
|
|
105
|
+
return self._offset
|
|
106
|
+
|
|
107
|
+
@offset.setter
|
|
108
|
+
def offset(self, offset):
|
|
109
|
+
"""Sets the offset of this TaskFileOffsetExt.
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:param offset: The offset of this TaskFileOffsetExt. # noqa: E501
|
|
113
|
+
:type: int
|
|
114
|
+
"""
|
|
115
|
+
|
|
116
|
+
self._offset = offset
|
|
117
|
+
|
|
118
|
+
def to_dict(self):
|
|
119
|
+
"""Returns the model properties as a dict"""
|
|
120
|
+
result = {}
|
|
121
|
+
|
|
122
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
123
|
+
value = getattr(self, attr)
|
|
124
|
+
if isinstance(value, list):
|
|
125
|
+
result[attr] = list(map(
|
|
126
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
127
|
+
value
|
|
128
|
+
))
|
|
129
|
+
elif hasattr(value, "to_dict"):
|
|
130
|
+
result[attr] = value.to_dict()
|
|
131
|
+
elif isinstance(value, dict):
|
|
132
|
+
result[attr] = dict(map(
|
|
133
|
+
lambda item: (item[0], item[1].to_dict())
|
|
134
|
+
if hasattr(item[1], "to_dict") else item,
|
|
135
|
+
value.items()
|
|
136
|
+
))
|
|
137
|
+
else:
|
|
138
|
+
result[attr] = value
|
|
139
|
+
if issubclass(TaskFileOffsetExt, dict):
|
|
140
|
+
for key, value in self.items():
|
|
141
|
+
result[key] = value
|
|
142
|
+
|
|
143
|
+
return result
|
|
144
|
+
|
|
145
|
+
def to_str(self):
|
|
146
|
+
"""Returns the string representation of the model"""
|
|
147
|
+
return pprint.pformat(self.to_dict())
|
|
148
|
+
|
|
149
|
+
def __repr__(self):
|
|
150
|
+
"""For `print` and `pprint`"""
|
|
151
|
+
return self.to_str()
|
|
152
|
+
|
|
153
|
+
def __eq__(self, other):
|
|
154
|
+
"""Returns true if both objects are equal"""
|
|
155
|
+
if not isinstance(other, TaskFileOffsetExt):
|
|
156
|
+
return False
|
|
157
|
+
|
|
158
|
+
return self.__dict__ == other.__dict__
|
|
159
|
+
|
|
160
|
+
def __ne__(self, other):
|
|
161
|
+
"""Returns true if both objects are not equal"""
|
|
162
|
+
return not self == other
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
HEAppE Web API
|
|
5
|
+
|
|
6
|
+
HEAppE middleware API v4.2.1 # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: v4.2.1
|
|
9
|
+
Contact: support.heappe@it4i.cz
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
class TaskParalizationParameterExt(object):
|
|
19
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
|
|
21
|
+
Do not edit the class manually.
|
|
22
|
+
"""
|
|
23
|
+
"""
|
|
24
|
+
Attributes:
|
|
25
|
+
swagger_types (dict): The key is attribute name
|
|
26
|
+
and the value is attribute type.
|
|
27
|
+
attribute_map (dict): The key is attribute name
|
|
28
|
+
and the value is json key in definition.
|
|
29
|
+
"""
|
|
30
|
+
swagger_types = {
|
|
31
|
+
'mpi_processes': 'int',
|
|
32
|
+
'open_mp_threads': 'int',
|
|
33
|
+
'max_cores': 'int'
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
attribute_map = {
|
|
37
|
+
'mpi_processes': 'MPIProcesses',
|
|
38
|
+
'open_mp_threads': 'OpenMPThreads',
|
|
39
|
+
'max_cores': 'MaxCores'
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
def __init__(self, mpi_processes=None, open_mp_threads=None, max_cores=None): # noqa: E501
|
|
43
|
+
"""TaskParalizationParameterExt - a model defined in Swagger""" # noqa: E501
|
|
44
|
+
self._mpi_processes = None
|
|
45
|
+
self._open_mp_threads = None
|
|
46
|
+
self._max_cores = None
|
|
47
|
+
self.discriminator = None
|
|
48
|
+
if mpi_processes is not None:
|
|
49
|
+
self.mpi_processes = mpi_processes
|
|
50
|
+
if open_mp_threads is not None:
|
|
51
|
+
self.open_mp_threads = open_mp_threads
|
|
52
|
+
if max_cores is not None:
|
|
53
|
+
self.max_cores = max_cores
|
|
54
|
+
|
|
55
|
+
@property
|
|
56
|
+
def mpi_processes(self):
|
|
57
|
+
"""Gets the mpi_processes of this TaskParalizationParameterExt. # noqa: E501
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
:return: The mpi_processes of this TaskParalizationParameterExt. # noqa: E501
|
|
61
|
+
:rtype: int
|
|
62
|
+
"""
|
|
63
|
+
return self._mpi_processes
|
|
64
|
+
|
|
65
|
+
@mpi_processes.setter
|
|
66
|
+
def mpi_processes(self, mpi_processes):
|
|
67
|
+
"""Sets the mpi_processes of this TaskParalizationParameterExt.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
:param mpi_processes: The mpi_processes of this TaskParalizationParameterExt. # noqa: E501
|
|
71
|
+
:type: int
|
|
72
|
+
"""
|
|
73
|
+
|
|
74
|
+
self._mpi_processes = mpi_processes
|
|
75
|
+
|
|
76
|
+
@property
|
|
77
|
+
def open_mp_threads(self):
|
|
78
|
+
"""Gets the open_mp_threads of this TaskParalizationParameterExt. # noqa: E501
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
:return: The open_mp_threads of this TaskParalizationParameterExt. # noqa: E501
|
|
82
|
+
:rtype: int
|
|
83
|
+
"""
|
|
84
|
+
return self._open_mp_threads
|
|
85
|
+
|
|
86
|
+
@open_mp_threads.setter
|
|
87
|
+
def open_mp_threads(self, open_mp_threads):
|
|
88
|
+
"""Sets the open_mp_threads of this TaskParalizationParameterExt.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
:param open_mp_threads: The open_mp_threads of this TaskParalizationParameterExt. # noqa: E501
|
|
92
|
+
:type: int
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
self._open_mp_threads = open_mp_threads
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
def max_cores(self):
|
|
99
|
+
"""Gets the max_cores of this TaskParalizationParameterExt. # noqa: E501
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
:return: The max_cores of this TaskParalizationParameterExt. # noqa: E501
|
|
103
|
+
:rtype: int
|
|
104
|
+
"""
|
|
105
|
+
return self._max_cores
|
|
106
|
+
|
|
107
|
+
@max_cores.setter
|
|
108
|
+
def max_cores(self, max_cores):
|
|
109
|
+
"""Sets the max_cores of this TaskParalizationParameterExt.
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
:param max_cores: The max_cores of this TaskParalizationParameterExt. # noqa: E501
|
|
113
|
+
:type: int
|
|
114
|
+
"""
|
|
115
|
+
|
|
116
|
+
self._max_cores = max_cores
|
|
117
|
+
|
|
118
|
+
def to_dict(self):
|
|
119
|
+
"""Returns the model properties as a dict"""
|
|
120
|
+
result = {}
|
|
121
|
+
|
|
122
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
123
|
+
value = getattr(self, attr)
|
|
124
|
+
if isinstance(value, list):
|
|
125
|
+
result[attr] = list(map(
|
|
126
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
127
|
+
value
|
|
128
|
+
))
|
|
129
|
+
elif hasattr(value, "to_dict"):
|
|
130
|
+
result[attr] = value.to_dict()
|
|
131
|
+
elif isinstance(value, dict):
|
|
132
|
+
result[attr] = dict(map(
|
|
133
|
+
lambda item: (item[0], item[1].to_dict())
|
|
134
|
+
if hasattr(item[1], "to_dict") else item,
|
|
135
|
+
value.items()
|
|
136
|
+
))
|
|
137
|
+
else:
|
|
138
|
+
result[attr] = value
|
|
139
|
+
if issubclass(TaskParalizationParameterExt, dict):
|
|
140
|
+
for key, value in self.items():
|
|
141
|
+
result[key] = value
|
|
142
|
+
|
|
143
|
+
return result
|
|
144
|
+
|
|
145
|
+
def to_str(self):
|
|
146
|
+
"""Returns the string representation of the model"""
|
|
147
|
+
return pprint.pformat(self.to_dict())
|
|
148
|
+
|
|
149
|
+
def __repr__(self):
|
|
150
|
+
"""For `print` and `pprint`"""
|
|
151
|
+
return self.to_str()
|
|
152
|
+
|
|
153
|
+
def __eq__(self, other):
|
|
154
|
+
"""Returns true if both objects are equal"""
|
|
155
|
+
if not isinstance(other, TaskParalizationParameterExt):
|
|
156
|
+
return False
|
|
157
|
+
|
|
158
|
+
return self.__dict__ == other.__dict__
|
|
159
|
+
|
|
160
|
+
def __ne__(self, other):
|
|
161
|
+
"""Returns true if both objects are not equal"""
|
|
162
|
+
return not self == other
|