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.
Files changed (183) hide show
  1. __init__.py +1 -0
  2. py4heappe/__init__.py +1 -0
  3. py4heappe/cli/__init__.py +1 -0
  4. py4heappe/cli/auth.py +153 -0
  5. py4heappe/cli/command_template.py +370 -0
  6. py4heappe/cli/configuration.py +65 -0
  7. py4heappe/cli/information.py +163 -0
  8. py4heappe/cli/job_management.py +211 -0
  9. py4heappe/cli/report.py +173 -0
  10. py4heappe/core/__init__.py +167 -0
  11. py4heappe/core/api/__init__.py +12 -0
  12. py4heappe/core/api/cluster_information_api.py +308 -0
  13. py4heappe/core/api/data_transfer_api.py +405 -0
  14. py4heappe/core/api/file_transfer_api.py +498 -0
  15. py4heappe/core/api/job_management_api.py +866 -0
  16. py4heappe/core/api/job_reporting_api.py +692 -0
  17. py4heappe/core/api/management_api.py +2540 -0
  18. py4heappe/core/api/user_and_limitation_management_api.py +676 -0
  19. py4heappe/core/api_client.py +632 -0
  20. py4heappe/core/base/__init__.py +1 -0
  21. py4heappe/core/base/exceptions.py +41 -0
  22. py4heappe/core/base/logger.py +11 -0
  23. py4heappe/core/base/utils.py +43 -0
  24. py4heappe/core/configuration.py +247 -0
  25. py4heappe/core/models/__init__.py +155 -0
  26. py4heappe/core/models/adaptor_user.py +398 -0
  27. py4heappe/core/models/adaptor_user_group.py +268 -0
  28. py4heappe/core/models/adaptor_user_role.py +242 -0
  29. py4heappe/core/models/adaptor_user_role_ext.py +138 -0
  30. py4heappe/core/models/adaptor_user_role_type.py +95 -0
  31. py4heappe/core/models/adaptor_user_type.py +91 -0
  32. py4heappe/core/models/adaptor_user_user_group_role.py +320 -0
  33. py4heappe/core/models/allocated_nodes_ips_model.py +136 -0
  34. py4heappe/core/models/authenticate_lexis_token_model.py +110 -0
  35. py4heappe/core/models/authenticate_user_digital_signature_model.py +110 -0
  36. py4heappe/core/models/authenticate_user_open_id_model.py +110 -0
  37. py4heappe/core/models/authenticate_user_open_id_open_stack_model.py +136 -0
  38. py4heappe/core/models/authenticate_user_password_model.py +110 -0
  39. py4heappe/core/models/authentication_credentials.py +110 -0
  40. py4heappe/core/models/bad_request_result.py +110 -0
  41. py4heappe/core/models/cancel_job_model.py +136 -0
  42. py4heappe/core/models/cluster.py +478 -0
  43. py4heappe/core/models/cluster_authentication_credentials.py +375 -0
  44. py4heappe/core/models/cluster_authentication_credentials_auth_type.py +97 -0
  45. py4heappe/core/models/cluster_connection_protocol.py +91 -0
  46. py4heappe/core/models/cluster_detailed_report_ext.py +214 -0
  47. py4heappe/core/models/cluster_ext.py +188 -0
  48. py4heappe/core/models/cluster_init_report_ext.py +136 -0
  49. py4heappe/core/models/cluster_node_type.py +528 -0
  50. py4heappe/core/models/cluster_node_type_detailed_report_ext.py +240 -0
  51. py4heappe/core/models/cluster_node_type_ext.py +292 -0
  52. py4heappe/core/models/cluster_node_type_for_task_ext.py +188 -0
  53. py4heappe/core/models/cluster_node_type_report_ext.py +214 -0
  54. py4heappe/core/models/cluster_node_type_requested_group.py +136 -0
  55. py4heappe/core/models/cluster_node_type_resource_usage_ext.py +292 -0
  56. py4heappe/core/models/cluster_node_usage_ext.py +318 -0
  57. py4heappe/core/models/cluster_project.py +347 -0
  58. py4heappe/core/models/cluster_project_credential.py +294 -0
  59. py4heappe/core/models/cluster_proxy_connection.py +243 -0
  60. py4heappe/core/models/cluster_proxy_connection_ext.py +214 -0
  61. py4heappe/core/models/cluster_report_ext.py +215 -0
  62. py4heappe/core/models/command_template.py +557 -0
  63. py4heappe/core/models/command_template_ext.py +240 -0
  64. py4heappe/core/models/command_template_parameter.py +347 -0
  65. py4heappe/core/models/command_template_parameter_ext.py +136 -0
  66. py4heappe/core/models/command_template_parameter_value_ext.py +136 -0
  67. py4heappe/core/models/contact.py +269 -0
  68. py4heappe/core/models/copy_job_data_from_temp_model.py +162 -0
  69. py4heappe/core/models/copy_job_data_to_temp_model.py +162 -0
  70. py4heappe/core/models/create_command_inner_template_parameter_model.py +162 -0
  71. py4heappe/core/models/create_command_template_from_generic_model.py +292 -0
  72. py4heappe/core/models/create_command_template_model.py +318 -0
  73. py4heappe/core/models/create_command_template_parameter_model.py +214 -0
  74. py4heappe/core/models/create_job_by_project_model.py +136 -0
  75. py4heappe/core/models/create_project_assignment_to_cluster_model.py +188 -0
  76. py4heappe/core/models/create_project_model.py +318 -0
  77. py4heappe/core/models/create_secure_shell_key_model.py +162 -0
  78. py4heappe/core/models/create_secure_shell_key_model_obsolete.py +188 -0
  79. py4heappe/core/models/current_cluster_node_usage_model.py +136 -0
  80. py4heappe/core/models/current_info_for_job_model.py +136 -0
  81. py4heappe/core/models/data_transfer_method_ext.py +188 -0
  82. py4heappe/core/models/delete_job_model.py +136 -0
  83. py4heappe/core/models/deployment_type_ext.py +91 -0
  84. py4heappe/core/models/digital_signature_credentials_ext.py +162 -0
  85. py4heappe/core/models/download_file_from_cluster_model.py +162 -0
  86. py4heappe/core/models/download_parts_of_job_files_from_cluster_model.py +162 -0
  87. py4heappe/core/models/end_data_transfer_model.py +136 -0
  88. py4heappe/core/models/end_file_transfer_model.py +162 -0
  89. py4heappe/core/models/environment_variable_ext.py +136 -0
  90. py4heappe/core/models/extended_command_template_ext.py +370 -0
  91. py4heappe/core/models/extended_command_template_parameter_ext.py +188 -0
  92. py4heappe/core/models/extended_project_info_ext.py +318 -0
  93. py4heappe/core/models/file_information_ext.py +136 -0
  94. py4heappe/core/models/file_transfer_cipher_type.py +94 -0
  95. py4heappe/core/models/file_transfer_cipher_type_ext.py +93 -0
  96. py4heappe/core/models/file_transfer_key_credentials_ext.py +240 -0
  97. py4heappe/core/models/file_transfer_method.py +294 -0
  98. py4heappe/core/models/file_transfer_method_ext.py +240 -0
  99. py4heappe/core/models/file_transfer_protocol.py +91 -0
  100. py4heappe/core/models/file_transfer_protocol_ext.py +91 -0
  101. py4heappe/core/models/get_command_template_parameters_name_model.py +188 -0
  102. py4heappe/core/models/get_current_usage_and_limitations_for_current_user_model.py +110 -0
  103. py4heappe/core/models/get_data_transfer_method_model.py +188 -0
  104. py4heappe/core/models/get_file_transfer_method_model.py +136 -0
  105. py4heappe/core/models/http_get_to_job_node_model.py +241 -0
  106. py4heappe/core/models/http_header_ext.py +136 -0
  107. py4heappe/core/models/http_post_to_job_node_model.py +267 -0
  108. py4heappe/core/models/initialize_cluster_script_directory_model.py +162 -0
  109. py4heappe/core/models/instance_information_ext.py +344 -0
  110. py4heappe/core/models/job_detailed_report_ext.py +318 -0
  111. py4heappe/core/models/job_file_content_ext.py +214 -0
  112. py4heappe/core/models/job_report_ext.py +188 -0
  113. py4heappe/core/models/job_specification_by_project_ext.py +448 -0
  114. py4heappe/core/models/job_specification_ext.py +448 -0
  115. py4heappe/core/models/job_state_aggregation_report_ext.py +162 -0
  116. py4heappe/core/models/job_state_ext.py +96 -0
  117. py4heappe/core/models/lexis_credentials_ext.py +137 -0
  118. py4heappe/core/models/list_changed_files_for_job_model.py +136 -0
  119. py4heappe/core/models/list_jobs_for_current_user_model.py +110 -0
  120. py4heappe/core/models/modify_command_template_from_generic_model.py +292 -0
  121. py4heappe/core/models/modify_command_template_model.py +292 -0
  122. py4heappe/core/models/modify_command_template_parameter_model.py +214 -0
  123. py4heappe/core/models/modify_project_assignment_to_cluster_model.py +188 -0
  124. py4heappe/core/models/modify_project_model.py +292 -0
  125. py4heappe/core/models/node_used_cores_and_limitation_ext.py +110 -0
  126. py4heappe/core/models/open_id_credentials_ext.py +137 -0
  127. py4heappe/core/models/open_stack_application_credentials_ext.py +136 -0
  128. py4heappe/core/models/password_credentials_ext.py +136 -0
  129. py4heappe/core/models/problem_details.py +89 -0
  130. py4heappe/core/models/project.py +482 -0
  131. py4heappe/core/models/project_contact.py +215 -0
  132. py4heappe/core/models/project_detailed_report_ext.py +292 -0
  133. py4heappe/core/models/project_ext.py +266 -0
  134. py4heappe/core/models/project_for_task_ext.py +214 -0
  135. py4heappe/core/models/project_list_report_ext.py +214 -0
  136. py4heappe/core/models/project_reference_ext.py +137 -0
  137. py4heappe/core/models/project_report_ext.py +240 -0
  138. py4heappe/core/models/project_resource_usage_ext.py +266 -0
  139. py4heappe/core/models/proxy_type.py +91 -0
  140. py4heappe/core/models/proxy_type_ext.py +91 -0
  141. py4heappe/core/models/public_key_ext.py +188 -0
  142. py4heappe/core/models/recreate_secure_shell_key_model.py +214 -0
  143. py4heappe/core/models/regenerate_secure_shell_key_model.py +188 -0
  144. py4heappe/core/models/regenerate_secure_shell_key_model_obsolete.py +188 -0
  145. py4heappe/core/models/remove_command_template_model.py +136 -0
  146. py4heappe/core/models/remove_command_template_parameter_model.py +136 -0
  147. py4heappe/core/models/remove_project_assignment_to_cluster_model.py +162 -0
  148. py4heappe/core/models/remove_project_model.py +136 -0
  149. py4heappe/core/models/remove_secure_shell_key_model.py +162 -0
  150. py4heappe/core/models/remove_secure_shell_key_model_obsolete.py +162 -0
  151. py4heappe/core/models/resource_allocation_type_ext.py +91 -0
  152. py4heappe/core/models/resource_limitation_ext.py +136 -0
  153. py4heappe/core/models/resource_usage_ext.py +163 -0
  154. py4heappe/core/models/scheduler_type.py +92 -0
  155. py4heappe/core/models/ssh_key_user_credentials_model.py +136 -0
  156. py4heappe/core/models/submit_job_model.py +136 -0
  157. py4heappe/core/models/submitted_job_info_ext.py +318 -0
  158. py4heappe/core/models/submitted_task_info_ext.py +370 -0
  159. py4heappe/core/models/synchronizable_files_ext.py +92 -0
  160. py4heappe/core/models/task_detailed_report_ext.py +318 -0
  161. py4heappe/core/models/task_file_offset_ext.py +162 -0
  162. py4heappe/core/models/task_paralization_parameter_ext.py +162 -0
  163. py4heappe/core/models/task_priority_ext.py +97 -0
  164. py4heappe/core/models/task_report_ext.py +266 -0
  165. py4heappe/core/models/task_specification_ext.py +682 -0
  166. py4heappe/core/models/task_state_ext.py +95 -0
  167. py4heappe/core/models/test_cluster_access_for_account_model.py +162 -0
  168. py4heappe/core/models/test_cluster_access_for_account_model_obsolete.py +162 -0
  169. py4heappe/core/models/unauthorized_result.py +110 -0
  170. py4heappe/core/models/usage_type.py +90 -0
  171. py4heappe/core/models/usage_type_ext.py +90 -0
  172. py4heappe/core/models/user_group_detailed_report_ext.py +240 -0
  173. py4heappe/core/models/user_group_list_report_ext.py +240 -0
  174. py4heappe/core/models/user_group_report_ext.py +240 -0
  175. py4heappe/core/models/version_information_ext.py +162 -0
  176. py4heappe/core/rest.py +311 -0
  177. py4heappe-1.0.0.dist-info/METADATA +147 -0
  178. py4heappe-1.0.0.dist-info/RECORD +183 -0
  179. py4heappe-1.0.0.dist-info/WHEEL +5 -0
  180. py4heappe-1.0.0.dist-info/entry_points.txt +2 -0
  181. py4heappe-1.0.0.dist-info/licenses/LICENSE +20 -0
  182. py4heappe-1.0.0.dist-info/top_level.txt +3 -0
  183. py4heappe_cli.py +22 -0
@@ -0,0 +1,682 @@
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 TaskSpecificationExt(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
+ 'name': 'str',
32
+ 'min_cores': 'int',
33
+ 'max_cores': 'int',
34
+ 'walltime_limit': 'int',
35
+ 'placement_policy': 'str',
36
+ 'priority': 'TaskPriorityExt',
37
+ 'job_arrays': 'str',
38
+ 'is_exclusive': 'bool',
39
+ 'is_rerunnable': 'bool',
40
+ 'standard_input_file': 'str',
41
+ 'standard_output_file': 'str',
42
+ 'standard_error_file': 'str',
43
+ 'progress_file': 'str',
44
+ 'log_file': 'str',
45
+ 'cluster_task_subdirectory': 'str',
46
+ 'cluster_node_type_id': 'int',
47
+ 'command_template_id': 'int',
48
+ 'cpu_hyper_threading': 'bool',
49
+ 'required_nodes': 'list[str]',
50
+ 'task_paralization_parameters': 'list[TaskParalizationParameterExt]',
51
+ 'environment_variables': 'list[EnvironmentVariableExt]',
52
+ 'depends_on': 'list[TaskSpecificationExt]',
53
+ 'template_parameter_values': 'list[CommandTemplateParameterValueExt]'
54
+ }
55
+
56
+ attribute_map = {
57
+ 'name': 'Name',
58
+ 'min_cores': 'MinCores',
59
+ 'max_cores': 'MaxCores',
60
+ 'walltime_limit': 'WalltimeLimit',
61
+ 'placement_policy': 'PlacementPolicy',
62
+ 'priority': 'Priority',
63
+ 'job_arrays': 'JobArrays',
64
+ 'is_exclusive': 'IsExclusive',
65
+ 'is_rerunnable': 'IsRerunnable',
66
+ 'standard_input_file': 'StandardInputFile',
67
+ 'standard_output_file': 'StandardOutputFile',
68
+ 'standard_error_file': 'StandardErrorFile',
69
+ 'progress_file': 'ProgressFile',
70
+ 'log_file': 'LogFile',
71
+ 'cluster_task_subdirectory': 'ClusterTaskSubdirectory',
72
+ 'cluster_node_type_id': 'ClusterNodeTypeId',
73
+ 'command_template_id': 'CommandTemplateId',
74
+ 'cpu_hyper_threading': 'CpuHyperThreading',
75
+ 'required_nodes': 'RequiredNodes',
76
+ 'task_paralization_parameters': 'TaskParalizationParameters',
77
+ 'environment_variables': 'EnvironmentVariables',
78
+ 'depends_on': 'DependsOn',
79
+ 'template_parameter_values': 'TemplateParameterValues'
80
+ }
81
+
82
+ def __init__(self, name=None, min_cores=None, max_cores=None, walltime_limit=None, placement_policy=None, priority=None, job_arrays=None, is_exclusive=None, is_rerunnable=None, standard_input_file=None, standard_output_file=None, standard_error_file=None, progress_file=None, log_file=None, cluster_task_subdirectory=None, cluster_node_type_id=None, command_template_id=None, cpu_hyper_threading=None, required_nodes=None, task_paralization_parameters=None, environment_variables=None, depends_on=None, template_parameter_values=None): # noqa: E501
83
+ """TaskSpecificationExt - a model defined in Swagger""" # noqa: E501
84
+ self._name = None
85
+ self._min_cores = None
86
+ self._max_cores = None
87
+ self._walltime_limit = None
88
+ self._placement_policy = None
89
+ self._priority = None
90
+ self._job_arrays = None
91
+ self._is_exclusive = None
92
+ self._is_rerunnable = None
93
+ self._standard_input_file = None
94
+ self._standard_output_file = None
95
+ self._standard_error_file = None
96
+ self._progress_file = None
97
+ self._log_file = None
98
+ self._cluster_task_subdirectory = None
99
+ self._cluster_node_type_id = None
100
+ self._command_template_id = None
101
+ self._cpu_hyper_threading = None
102
+ self._required_nodes = None
103
+ self._task_paralization_parameters = None
104
+ self._environment_variables = None
105
+ self._depends_on = None
106
+ self._template_parameter_values = None
107
+ self.discriminator = None
108
+ if name is not None:
109
+ self.name = name
110
+ if min_cores is not None:
111
+ self.min_cores = min_cores
112
+ if max_cores is not None:
113
+ self.max_cores = max_cores
114
+ if walltime_limit is not None:
115
+ self.walltime_limit = walltime_limit
116
+ if placement_policy is not None:
117
+ self.placement_policy = placement_policy
118
+ if priority is not None:
119
+ self.priority = priority
120
+ if job_arrays is not None:
121
+ self.job_arrays = job_arrays
122
+ if is_exclusive is not None:
123
+ self.is_exclusive = is_exclusive
124
+ if is_rerunnable is not None:
125
+ self.is_rerunnable = is_rerunnable
126
+ if standard_input_file is not None:
127
+ self.standard_input_file = standard_input_file
128
+ if standard_output_file is not None:
129
+ self.standard_output_file = standard_output_file
130
+ if standard_error_file is not None:
131
+ self.standard_error_file = standard_error_file
132
+ if progress_file is not None:
133
+ self.progress_file = progress_file
134
+ if log_file is not None:
135
+ self.log_file = log_file
136
+ if cluster_task_subdirectory is not None:
137
+ self.cluster_task_subdirectory = cluster_task_subdirectory
138
+ if cluster_node_type_id is not None:
139
+ self.cluster_node_type_id = cluster_node_type_id
140
+ if command_template_id is not None:
141
+ self.command_template_id = command_template_id
142
+ if cpu_hyper_threading is not None:
143
+ self.cpu_hyper_threading = cpu_hyper_threading
144
+ if required_nodes is not None:
145
+ self.required_nodes = required_nodes
146
+ if task_paralization_parameters is not None:
147
+ self.task_paralization_parameters = task_paralization_parameters
148
+ if environment_variables is not None:
149
+ self.environment_variables = environment_variables
150
+ if depends_on is not None:
151
+ self.depends_on = depends_on
152
+ if template_parameter_values is not None:
153
+ self.template_parameter_values = template_parameter_values
154
+
155
+ @property
156
+ def name(self):
157
+ """Gets the name of this TaskSpecificationExt. # noqa: E501
158
+
159
+
160
+ :return: The name of this TaskSpecificationExt. # noqa: E501
161
+ :rtype: str
162
+ """
163
+ return self._name
164
+
165
+ @name.setter
166
+ def name(self, name):
167
+ """Sets the name of this TaskSpecificationExt.
168
+
169
+
170
+ :param name: The name of this TaskSpecificationExt. # noqa: E501
171
+ :type: str
172
+ """
173
+
174
+ self._name = name
175
+
176
+ @property
177
+ def min_cores(self):
178
+ """Gets the min_cores of this TaskSpecificationExt. # noqa: E501
179
+
180
+
181
+ :return: The min_cores of this TaskSpecificationExt. # noqa: E501
182
+ :rtype: int
183
+ """
184
+ return self._min_cores
185
+
186
+ @min_cores.setter
187
+ def min_cores(self, min_cores):
188
+ """Sets the min_cores of this TaskSpecificationExt.
189
+
190
+
191
+ :param min_cores: The min_cores of this TaskSpecificationExt. # noqa: E501
192
+ :type: int
193
+ """
194
+
195
+ self._min_cores = min_cores
196
+
197
+ @property
198
+ def max_cores(self):
199
+ """Gets the max_cores of this TaskSpecificationExt. # noqa: E501
200
+
201
+
202
+ :return: The max_cores of this TaskSpecificationExt. # noqa: E501
203
+ :rtype: int
204
+ """
205
+ return self._max_cores
206
+
207
+ @max_cores.setter
208
+ def max_cores(self, max_cores):
209
+ """Sets the max_cores of this TaskSpecificationExt.
210
+
211
+
212
+ :param max_cores: The max_cores of this TaskSpecificationExt. # noqa: E501
213
+ :type: int
214
+ """
215
+
216
+ self._max_cores = max_cores
217
+
218
+ @property
219
+ def walltime_limit(self):
220
+ """Gets the walltime_limit of this TaskSpecificationExt. # noqa: E501
221
+
222
+
223
+ :return: The walltime_limit of this TaskSpecificationExt. # noqa: E501
224
+ :rtype: int
225
+ """
226
+ return self._walltime_limit
227
+
228
+ @walltime_limit.setter
229
+ def walltime_limit(self, walltime_limit):
230
+ """Sets the walltime_limit of this TaskSpecificationExt.
231
+
232
+
233
+ :param walltime_limit: The walltime_limit of this TaskSpecificationExt. # noqa: E501
234
+ :type: int
235
+ """
236
+
237
+ self._walltime_limit = walltime_limit
238
+
239
+ @property
240
+ def placement_policy(self):
241
+ """Gets the placement_policy of this TaskSpecificationExt. # noqa: E501
242
+
243
+
244
+ :return: The placement_policy of this TaskSpecificationExt. # noqa: E501
245
+ :rtype: str
246
+ """
247
+ return self._placement_policy
248
+
249
+ @placement_policy.setter
250
+ def placement_policy(self, placement_policy):
251
+ """Sets the placement_policy of this TaskSpecificationExt.
252
+
253
+
254
+ :param placement_policy: The placement_policy of this TaskSpecificationExt. # noqa: E501
255
+ :type: str
256
+ """
257
+
258
+ self._placement_policy = placement_policy
259
+
260
+ @property
261
+ def priority(self):
262
+ """Gets the priority of this TaskSpecificationExt. # noqa: E501
263
+
264
+
265
+ :return: The priority of this TaskSpecificationExt. # noqa: E501
266
+ :rtype: TaskPriorityExt
267
+ """
268
+ return self._priority
269
+
270
+ @priority.setter
271
+ def priority(self, priority):
272
+ """Sets the priority of this TaskSpecificationExt.
273
+
274
+
275
+ :param priority: The priority of this TaskSpecificationExt. # noqa: E501
276
+ :type: TaskPriorityExt
277
+ """
278
+
279
+ self._priority = priority
280
+
281
+ @property
282
+ def job_arrays(self):
283
+ """Gets the job_arrays of this TaskSpecificationExt. # noqa: E501
284
+
285
+
286
+ :return: The job_arrays of this TaskSpecificationExt. # noqa: E501
287
+ :rtype: str
288
+ """
289
+ return self._job_arrays
290
+
291
+ @job_arrays.setter
292
+ def job_arrays(self, job_arrays):
293
+ """Sets the job_arrays of this TaskSpecificationExt.
294
+
295
+
296
+ :param job_arrays: The job_arrays of this TaskSpecificationExt. # noqa: E501
297
+ :type: str
298
+ """
299
+
300
+ self._job_arrays = job_arrays
301
+
302
+ @property
303
+ def is_exclusive(self):
304
+ """Gets the is_exclusive of this TaskSpecificationExt. # noqa: E501
305
+
306
+
307
+ :return: The is_exclusive of this TaskSpecificationExt. # noqa: E501
308
+ :rtype: bool
309
+ """
310
+ return self._is_exclusive
311
+
312
+ @is_exclusive.setter
313
+ def is_exclusive(self, is_exclusive):
314
+ """Sets the is_exclusive of this TaskSpecificationExt.
315
+
316
+
317
+ :param is_exclusive: The is_exclusive of this TaskSpecificationExt. # noqa: E501
318
+ :type: bool
319
+ """
320
+
321
+ self._is_exclusive = is_exclusive
322
+
323
+ @property
324
+ def is_rerunnable(self):
325
+ """Gets the is_rerunnable of this TaskSpecificationExt. # noqa: E501
326
+
327
+
328
+ :return: The is_rerunnable of this TaskSpecificationExt. # noqa: E501
329
+ :rtype: bool
330
+ """
331
+ return self._is_rerunnable
332
+
333
+ @is_rerunnable.setter
334
+ def is_rerunnable(self, is_rerunnable):
335
+ """Sets the is_rerunnable of this TaskSpecificationExt.
336
+
337
+
338
+ :param is_rerunnable: The is_rerunnable of this TaskSpecificationExt. # noqa: E501
339
+ :type: bool
340
+ """
341
+
342
+ self._is_rerunnable = is_rerunnable
343
+
344
+ @property
345
+ def standard_input_file(self):
346
+ """Gets the standard_input_file of this TaskSpecificationExt. # noqa: E501
347
+
348
+
349
+ :return: The standard_input_file of this TaskSpecificationExt. # noqa: E501
350
+ :rtype: str
351
+ """
352
+ return self._standard_input_file
353
+
354
+ @standard_input_file.setter
355
+ def standard_input_file(self, standard_input_file):
356
+ """Sets the standard_input_file of this TaskSpecificationExt.
357
+
358
+
359
+ :param standard_input_file: The standard_input_file of this TaskSpecificationExt. # noqa: E501
360
+ :type: str
361
+ """
362
+
363
+ self._standard_input_file = standard_input_file
364
+
365
+ @property
366
+ def standard_output_file(self):
367
+ """Gets the standard_output_file of this TaskSpecificationExt. # noqa: E501
368
+
369
+
370
+ :return: The standard_output_file of this TaskSpecificationExt. # noqa: E501
371
+ :rtype: str
372
+ """
373
+ return self._standard_output_file
374
+
375
+ @standard_output_file.setter
376
+ def standard_output_file(self, standard_output_file):
377
+ """Sets the standard_output_file of this TaskSpecificationExt.
378
+
379
+
380
+ :param standard_output_file: The standard_output_file of this TaskSpecificationExt. # noqa: E501
381
+ :type: str
382
+ """
383
+
384
+ self._standard_output_file = standard_output_file
385
+
386
+ @property
387
+ def standard_error_file(self):
388
+ """Gets the standard_error_file of this TaskSpecificationExt. # noqa: E501
389
+
390
+
391
+ :return: The standard_error_file of this TaskSpecificationExt. # noqa: E501
392
+ :rtype: str
393
+ """
394
+ return self._standard_error_file
395
+
396
+ @standard_error_file.setter
397
+ def standard_error_file(self, standard_error_file):
398
+ """Sets the standard_error_file of this TaskSpecificationExt.
399
+
400
+
401
+ :param standard_error_file: The standard_error_file of this TaskSpecificationExt. # noqa: E501
402
+ :type: str
403
+ """
404
+
405
+ self._standard_error_file = standard_error_file
406
+
407
+ @property
408
+ def progress_file(self):
409
+ """Gets the progress_file of this TaskSpecificationExt. # noqa: E501
410
+
411
+
412
+ :return: The progress_file of this TaskSpecificationExt. # noqa: E501
413
+ :rtype: str
414
+ """
415
+ return self._progress_file
416
+
417
+ @progress_file.setter
418
+ def progress_file(self, progress_file):
419
+ """Sets the progress_file of this TaskSpecificationExt.
420
+
421
+
422
+ :param progress_file: The progress_file of this TaskSpecificationExt. # noqa: E501
423
+ :type: str
424
+ """
425
+
426
+ self._progress_file = progress_file
427
+
428
+ @property
429
+ def log_file(self):
430
+ """Gets the log_file of this TaskSpecificationExt. # noqa: E501
431
+
432
+
433
+ :return: The log_file of this TaskSpecificationExt. # noqa: E501
434
+ :rtype: str
435
+ """
436
+ return self._log_file
437
+
438
+ @log_file.setter
439
+ def log_file(self, log_file):
440
+ """Sets the log_file of this TaskSpecificationExt.
441
+
442
+
443
+ :param log_file: The log_file of this TaskSpecificationExt. # noqa: E501
444
+ :type: str
445
+ """
446
+
447
+ self._log_file = log_file
448
+
449
+ @property
450
+ def cluster_task_subdirectory(self):
451
+ """Gets the cluster_task_subdirectory of this TaskSpecificationExt. # noqa: E501
452
+
453
+
454
+ :return: The cluster_task_subdirectory of this TaskSpecificationExt. # noqa: E501
455
+ :rtype: str
456
+ """
457
+ return self._cluster_task_subdirectory
458
+
459
+ @cluster_task_subdirectory.setter
460
+ def cluster_task_subdirectory(self, cluster_task_subdirectory):
461
+ """Sets the cluster_task_subdirectory of this TaskSpecificationExt.
462
+
463
+
464
+ :param cluster_task_subdirectory: The cluster_task_subdirectory of this TaskSpecificationExt. # noqa: E501
465
+ :type: str
466
+ """
467
+
468
+ self._cluster_task_subdirectory = cluster_task_subdirectory
469
+
470
+ @property
471
+ def cluster_node_type_id(self):
472
+ """Gets the cluster_node_type_id of this TaskSpecificationExt. # noqa: E501
473
+
474
+
475
+ :return: The cluster_node_type_id of this TaskSpecificationExt. # noqa: E501
476
+ :rtype: int
477
+ """
478
+ return self._cluster_node_type_id
479
+
480
+ @cluster_node_type_id.setter
481
+ def cluster_node_type_id(self, cluster_node_type_id):
482
+ """Sets the cluster_node_type_id of this TaskSpecificationExt.
483
+
484
+
485
+ :param cluster_node_type_id: The cluster_node_type_id of this TaskSpecificationExt. # noqa: E501
486
+ :type: int
487
+ """
488
+
489
+ self._cluster_node_type_id = cluster_node_type_id
490
+
491
+ @property
492
+ def command_template_id(self):
493
+ """Gets the command_template_id of this TaskSpecificationExt. # noqa: E501
494
+
495
+
496
+ :return: The command_template_id of this TaskSpecificationExt. # noqa: E501
497
+ :rtype: int
498
+ """
499
+ return self._command_template_id
500
+
501
+ @command_template_id.setter
502
+ def command_template_id(self, command_template_id):
503
+ """Sets the command_template_id of this TaskSpecificationExt.
504
+
505
+
506
+ :param command_template_id: The command_template_id of this TaskSpecificationExt. # noqa: E501
507
+ :type: int
508
+ """
509
+
510
+ self._command_template_id = command_template_id
511
+
512
+ @property
513
+ def cpu_hyper_threading(self):
514
+ """Gets the cpu_hyper_threading of this TaskSpecificationExt. # noqa: E501
515
+
516
+
517
+ :return: The cpu_hyper_threading of this TaskSpecificationExt. # noqa: E501
518
+ :rtype: bool
519
+ """
520
+ return self._cpu_hyper_threading
521
+
522
+ @cpu_hyper_threading.setter
523
+ def cpu_hyper_threading(self, cpu_hyper_threading):
524
+ """Sets the cpu_hyper_threading of this TaskSpecificationExt.
525
+
526
+
527
+ :param cpu_hyper_threading: The cpu_hyper_threading of this TaskSpecificationExt. # noqa: E501
528
+ :type: bool
529
+ """
530
+
531
+ self._cpu_hyper_threading = cpu_hyper_threading
532
+
533
+ @property
534
+ def required_nodes(self):
535
+ """Gets the required_nodes of this TaskSpecificationExt. # noqa: E501
536
+
537
+
538
+ :return: The required_nodes of this TaskSpecificationExt. # noqa: E501
539
+ :rtype: list[str]
540
+ """
541
+ return self._required_nodes
542
+
543
+ @required_nodes.setter
544
+ def required_nodes(self, required_nodes):
545
+ """Sets the required_nodes of this TaskSpecificationExt.
546
+
547
+
548
+ :param required_nodes: The required_nodes of this TaskSpecificationExt. # noqa: E501
549
+ :type: list[str]
550
+ """
551
+
552
+ self._required_nodes = required_nodes
553
+
554
+ @property
555
+ def task_paralization_parameters(self):
556
+ """Gets the task_paralization_parameters of this TaskSpecificationExt. # noqa: E501
557
+
558
+
559
+ :return: The task_paralization_parameters of this TaskSpecificationExt. # noqa: E501
560
+ :rtype: list[TaskParalizationParameterExt]
561
+ """
562
+ return self._task_paralization_parameters
563
+
564
+ @task_paralization_parameters.setter
565
+ def task_paralization_parameters(self, task_paralization_parameters):
566
+ """Sets the task_paralization_parameters of this TaskSpecificationExt.
567
+
568
+
569
+ :param task_paralization_parameters: The task_paralization_parameters of this TaskSpecificationExt. # noqa: E501
570
+ :type: list[TaskParalizationParameterExt]
571
+ """
572
+
573
+ self._task_paralization_parameters = task_paralization_parameters
574
+
575
+ @property
576
+ def environment_variables(self):
577
+ """Gets the environment_variables of this TaskSpecificationExt. # noqa: E501
578
+
579
+
580
+ :return: The environment_variables of this TaskSpecificationExt. # noqa: E501
581
+ :rtype: list[EnvironmentVariableExt]
582
+ """
583
+ return self._environment_variables
584
+
585
+ @environment_variables.setter
586
+ def environment_variables(self, environment_variables):
587
+ """Sets the environment_variables of this TaskSpecificationExt.
588
+
589
+
590
+ :param environment_variables: The environment_variables of this TaskSpecificationExt. # noqa: E501
591
+ :type: list[EnvironmentVariableExt]
592
+ """
593
+
594
+ self._environment_variables = environment_variables
595
+
596
+ @property
597
+ def depends_on(self):
598
+ """Gets the depends_on of this TaskSpecificationExt. # noqa: E501
599
+
600
+
601
+ :return: The depends_on of this TaskSpecificationExt. # noqa: E501
602
+ :rtype: list[TaskSpecificationExt]
603
+ """
604
+ return self._depends_on
605
+
606
+ @depends_on.setter
607
+ def depends_on(self, depends_on):
608
+ """Sets the depends_on of this TaskSpecificationExt.
609
+
610
+
611
+ :param depends_on: The depends_on of this TaskSpecificationExt. # noqa: E501
612
+ :type: list[TaskSpecificationExt]
613
+ """
614
+
615
+ self._depends_on = depends_on
616
+
617
+ @property
618
+ def template_parameter_values(self):
619
+ """Gets the template_parameter_values of this TaskSpecificationExt. # noqa: E501
620
+
621
+
622
+ :return: The template_parameter_values of this TaskSpecificationExt. # noqa: E501
623
+ :rtype: list[CommandTemplateParameterValueExt]
624
+ """
625
+ return self._template_parameter_values
626
+
627
+ @template_parameter_values.setter
628
+ def template_parameter_values(self, template_parameter_values):
629
+ """Sets the template_parameter_values of this TaskSpecificationExt.
630
+
631
+
632
+ :param template_parameter_values: The template_parameter_values of this TaskSpecificationExt. # noqa: E501
633
+ :type: list[CommandTemplateParameterValueExt]
634
+ """
635
+
636
+ self._template_parameter_values = template_parameter_values
637
+
638
+ def to_dict(self):
639
+ """Returns the model properties as a dict"""
640
+ result = {}
641
+
642
+ for attr, _ in six.iteritems(self.swagger_types):
643
+ value = getattr(self, attr)
644
+ if isinstance(value, list):
645
+ result[attr] = list(map(
646
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
647
+ value
648
+ ))
649
+ elif hasattr(value, "to_dict"):
650
+ result[attr] = value.to_dict()
651
+ elif isinstance(value, dict):
652
+ result[attr] = dict(map(
653
+ lambda item: (item[0], item[1].to_dict())
654
+ if hasattr(item[1], "to_dict") else item,
655
+ value.items()
656
+ ))
657
+ else:
658
+ result[attr] = value
659
+ if issubclass(TaskSpecificationExt, dict):
660
+ for key, value in self.items():
661
+ result[key] = value
662
+
663
+ return result
664
+
665
+ def to_str(self):
666
+ """Returns the string representation of the model"""
667
+ return pprint.pformat(self.to_dict())
668
+
669
+ def __repr__(self):
670
+ """For `print` and `pprint`"""
671
+ return self.to_str()
672
+
673
+ def __eq__(self, other):
674
+ """Returns true if both objects are equal"""
675
+ if not isinstance(other, TaskSpecificationExt):
676
+ return False
677
+
678
+ return self.__dict__ == other.__dict__
679
+
680
+ def __ne__(self, other):
681
+ """Returns true if both objects are not equal"""
682
+ return not self == other