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,320 @@
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 AdaptorUserUserGroupRole(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
+ 'adaptor_user_id': 'int',
32
+ 'adaptor_user': 'AdaptorUser',
33
+ 'adaptor_user_group_id': 'int',
34
+ 'adaptor_user_group': 'AdaptorUserGroup',
35
+ 'adaptor_user_role_id': 'int',
36
+ 'adaptor_user_role': 'AdaptorUserRole',
37
+ 'created_at': 'datetime',
38
+ 'modified_at': 'datetime',
39
+ 'is_deleted': 'bool'
40
+ }
41
+
42
+ attribute_map = {
43
+ 'adaptor_user_id': 'AdaptorUserId',
44
+ 'adaptor_user': 'AdaptorUser',
45
+ 'adaptor_user_group_id': 'AdaptorUserGroupId',
46
+ 'adaptor_user_group': 'AdaptorUserGroup',
47
+ 'adaptor_user_role_id': 'AdaptorUserRoleId',
48
+ 'adaptor_user_role': 'AdaptorUserRole',
49
+ 'created_at': 'CreatedAt',
50
+ 'modified_at': 'ModifiedAt',
51
+ 'is_deleted': 'IsDeleted'
52
+ }
53
+
54
+ def __init__(self, adaptor_user_id=None, adaptor_user=None, adaptor_user_group_id=None, adaptor_user_group=None, adaptor_user_role_id=None, adaptor_user_role=None, created_at=None, modified_at=None, is_deleted=None): # noqa: E501
55
+ """AdaptorUserUserGroupRole - a model defined in Swagger""" # noqa: E501
56
+ self._adaptor_user_id = None
57
+ self._adaptor_user = None
58
+ self._adaptor_user_group_id = None
59
+ self._adaptor_user_group = None
60
+ self._adaptor_user_role_id = None
61
+ self._adaptor_user_role = None
62
+ self._created_at = None
63
+ self._modified_at = None
64
+ self._is_deleted = None
65
+ self.discriminator = None
66
+ if adaptor_user_id is not None:
67
+ self.adaptor_user_id = adaptor_user_id
68
+ if adaptor_user is not None:
69
+ self.adaptor_user = adaptor_user
70
+ if adaptor_user_group_id is not None:
71
+ self.adaptor_user_group_id = adaptor_user_group_id
72
+ if adaptor_user_group is not None:
73
+ self.adaptor_user_group = adaptor_user_group
74
+ if adaptor_user_role_id is not None:
75
+ self.adaptor_user_role_id = adaptor_user_role_id
76
+ if adaptor_user_role is not None:
77
+ self.adaptor_user_role = adaptor_user_role
78
+ self.created_at = created_at
79
+ if modified_at is not None:
80
+ self.modified_at = modified_at
81
+ self.is_deleted = is_deleted
82
+
83
+ @property
84
+ def adaptor_user_id(self):
85
+ """Gets the adaptor_user_id of this AdaptorUserUserGroupRole. # noqa: E501
86
+
87
+
88
+ :return: The adaptor_user_id of this AdaptorUserUserGroupRole. # noqa: E501
89
+ :rtype: int
90
+ """
91
+ return self._adaptor_user_id
92
+
93
+ @adaptor_user_id.setter
94
+ def adaptor_user_id(self, adaptor_user_id):
95
+ """Sets the adaptor_user_id of this AdaptorUserUserGroupRole.
96
+
97
+
98
+ :param adaptor_user_id: The adaptor_user_id of this AdaptorUserUserGroupRole. # noqa: E501
99
+ :type: int
100
+ """
101
+
102
+ self._adaptor_user_id = adaptor_user_id
103
+
104
+ @property
105
+ def adaptor_user(self):
106
+ """Gets the adaptor_user of this AdaptorUserUserGroupRole. # noqa: E501
107
+
108
+
109
+ :return: The adaptor_user of this AdaptorUserUserGroupRole. # noqa: E501
110
+ :rtype: AdaptorUser
111
+ """
112
+ return self._adaptor_user
113
+
114
+ @adaptor_user.setter
115
+ def adaptor_user(self, adaptor_user):
116
+ """Sets the adaptor_user of this AdaptorUserUserGroupRole.
117
+
118
+
119
+ :param adaptor_user: The adaptor_user of this AdaptorUserUserGroupRole. # noqa: E501
120
+ :type: AdaptorUser
121
+ """
122
+
123
+ self._adaptor_user = adaptor_user
124
+
125
+ @property
126
+ def adaptor_user_group_id(self):
127
+ """Gets the adaptor_user_group_id of this AdaptorUserUserGroupRole. # noqa: E501
128
+
129
+
130
+ :return: The adaptor_user_group_id of this AdaptorUserUserGroupRole. # noqa: E501
131
+ :rtype: int
132
+ """
133
+ return self._adaptor_user_group_id
134
+
135
+ @adaptor_user_group_id.setter
136
+ def adaptor_user_group_id(self, adaptor_user_group_id):
137
+ """Sets the adaptor_user_group_id of this AdaptorUserUserGroupRole.
138
+
139
+
140
+ :param adaptor_user_group_id: The adaptor_user_group_id of this AdaptorUserUserGroupRole. # noqa: E501
141
+ :type: int
142
+ """
143
+
144
+ self._adaptor_user_group_id = adaptor_user_group_id
145
+
146
+ @property
147
+ def adaptor_user_group(self):
148
+ """Gets the adaptor_user_group of this AdaptorUserUserGroupRole. # noqa: E501
149
+
150
+
151
+ :return: The adaptor_user_group of this AdaptorUserUserGroupRole. # noqa: E501
152
+ :rtype: AdaptorUserGroup
153
+ """
154
+ return self._adaptor_user_group
155
+
156
+ @adaptor_user_group.setter
157
+ def adaptor_user_group(self, adaptor_user_group):
158
+ """Sets the adaptor_user_group of this AdaptorUserUserGroupRole.
159
+
160
+
161
+ :param adaptor_user_group: The adaptor_user_group of this AdaptorUserUserGroupRole. # noqa: E501
162
+ :type: AdaptorUserGroup
163
+ """
164
+
165
+ self._adaptor_user_group = adaptor_user_group
166
+
167
+ @property
168
+ def adaptor_user_role_id(self):
169
+ """Gets the adaptor_user_role_id of this AdaptorUserUserGroupRole. # noqa: E501
170
+
171
+
172
+ :return: The adaptor_user_role_id of this AdaptorUserUserGroupRole. # noqa: E501
173
+ :rtype: int
174
+ """
175
+ return self._adaptor_user_role_id
176
+
177
+ @adaptor_user_role_id.setter
178
+ def adaptor_user_role_id(self, adaptor_user_role_id):
179
+ """Sets the adaptor_user_role_id of this AdaptorUserUserGroupRole.
180
+
181
+
182
+ :param adaptor_user_role_id: The adaptor_user_role_id of this AdaptorUserUserGroupRole. # noqa: E501
183
+ :type: int
184
+ """
185
+
186
+ self._adaptor_user_role_id = adaptor_user_role_id
187
+
188
+ @property
189
+ def adaptor_user_role(self):
190
+ """Gets the adaptor_user_role of this AdaptorUserUserGroupRole. # noqa: E501
191
+
192
+
193
+ :return: The adaptor_user_role of this AdaptorUserUserGroupRole. # noqa: E501
194
+ :rtype: AdaptorUserRole
195
+ """
196
+ return self._adaptor_user_role
197
+
198
+ @adaptor_user_role.setter
199
+ def adaptor_user_role(self, adaptor_user_role):
200
+ """Sets the adaptor_user_role of this AdaptorUserUserGroupRole.
201
+
202
+
203
+ :param adaptor_user_role: The adaptor_user_role of this AdaptorUserUserGroupRole. # noqa: E501
204
+ :type: AdaptorUserRole
205
+ """
206
+
207
+ self._adaptor_user_role = adaptor_user_role
208
+
209
+ @property
210
+ def created_at(self):
211
+ """Gets the created_at of this AdaptorUserUserGroupRole. # noqa: E501
212
+
213
+
214
+ :return: The created_at of this AdaptorUserUserGroupRole. # noqa: E501
215
+ :rtype: datetime
216
+ """
217
+ return self._created_at
218
+
219
+ @created_at.setter
220
+ def created_at(self, created_at):
221
+ """Sets the created_at of this AdaptorUserUserGroupRole.
222
+
223
+
224
+ :param created_at: The created_at of this AdaptorUserUserGroupRole. # noqa: E501
225
+ :type: datetime
226
+ """
227
+ if created_at is None:
228
+ raise ValueError("Invalid value for `created_at`, must not be `None`") # noqa: E501
229
+
230
+ self._created_at = created_at
231
+
232
+ @property
233
+ def modified_at(self):
234
+ """Gets the modified_at of this AdaptorUserUserGroupRole. # noqa: E501
235
+
236
+
237
+ :return: The modified_at of this AdaptorUserUserGroupRole. # noqa: E501
238
+ :rtype: datetime
239
+ """
240
+ return self._modified_at
241
+
242
+ @modified_at.setter
243
+ def modified_at(self, modified_at):
244
+ """Sets the modified_at of this AdaptorUserUserGroupRole.
245
+
246
+
247
+ :param modified_at: The modified_at of this AdaptorUserUserGroupRole. # noqa: E501
248
+ :type: datetime
249
+ """
250
+
251
+ self._modified_at = modified_at
252
+
253
+ @property
254
+ def is_deleted(self):
255
+ """Gets the is_deleted of this AdaptorUserUserGroupRole. # noqa: E501
256
+
257
+
258
+ :return: The is_deleted of this AdaptorUserUserGroupRole. # noqa: E501
259
+ :rtype: bool
260
+ """
261
+ return self._is_deleted
262
+
263
+ @is_deleted.setter
264
+ def is_deleted(self, is_deleted):
265
+ """Sets the is_deleted of this AdaptorUserUserGroupRole.
266
+
267
+
268
+ :param is_deleted: The is_deleted of this AdaptorUserUserGroupRole. # noqa: E501
269
+ :type: bool
270
+ """
271
+ if is_deleted is None:
272
+ raise ValueError("Invalid value for `is_deleted`, must not be `None`") # noqa: E501
273
+
274
+ self._is_deleted = is_deleted
275
+
276
+ def to_dict(self):
277
+ """Returns the model properties as a dict"""
278
+ result = {}
279
+
280
+ for attr, _ in six.iteritems(self.swagger_types):
281
+ value = getattr(self, attr)
282
+ if isinstance(value, list):
283
+ result[attr] = list(map(
284
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
285
+ value
286
+ ))
287
+ elif hasattr(value, "to_dict"):
288
+ result[attr] = value.to_dict()
289
+ elif isinstance(value, dict):
290
+ result[attr] = dict(map(
291
+ lambda item: (item[0], item[1].to_dict())
292
+ if hasattr(item[1], "to_dict") else item,
293
+ value.items()
294
+ ))
295
+ else:
296
+ result[attr] = value
297
+ if issubclass(AdaptorUserUserGroupRole, dict):
298
+ for key, value in self.items():
299
+ result[key] = value
300
+
301
+ return result
302
+
303
+ def to_str(self):
304
+ """Returns the string representation of the model"""
305
+ return pprint.pformat(self.to_dict())
306
+
307
+ def __repr__(self):
308
+ """For `print` and `pprint`"""
309
+ return self.to_str()
310
+
311
+ def __eq__(self, other):
312
+ """Returns true if both objects are equal"""
313
+ if not isinstance(other, AdaptorUserUserGroupRole):
314
+ return False
315
+
316
+ return self.__dict__ == other.__dict__
317
+
318
+ def __ne__(self, other):
319
+ """Returns true if both objects are not equal"""
320
+ return not self == other
@@ -0,0 +1,136 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ HEAppE Web API
5
+
6
+ HEAppE middleware API v4.0.0 # noqa: E501
7
+
8
+ OpenAPI spec version: v4.0.0
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 AllocatedNodesIPsModel(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
+ 'SessionCode': 'str',
32
+ 'SubmittedTaskInfoId': 'int'
33
+ }
34
+
35
+ attribute_map = {
36
+ 'SessionCode': 'SessionCode',
37
+ 'SubmittedTaskInfoId': 'SubmittedTaskInfoId'
38
+ }
39
+
40
+ def __init__(self, SessionCode=None, SubmittedTaskInfoId=None): # noqa: E501
41
+ """AllocatedNodesIPsModel - a model defined in Swagger""" # noqa: E501
42
+ self.SessionCode = None
43
+ self.SubmittedTaskInfoId = None
44
+ self.discriminator = None
45
+ if SessionCode is not None:
46
+ self.SessionCode = SessionCode
47
+ if SubmittedTaskInfoId is not None:
48
+ self.SubmittedTaskInfoId = SubmittedTaskInfoId
49
+
50
+ @property
51
+ def session_code(self):
52
+ """Gets the session_code of this AllocatedNodesIPsModel. # noqa: E501
53
+
54
+
55
+ :return: The session_code of this AllocatedNodesIPsModel. # noqa: E501
56
+ :rtype: str
57
+ """
58
+ return self._session_code
59
+
60
+ @session_code.setter
61
+ def session_code(self, session_code):
62
+ """Sets the session_code of this AllocatedNodesIPsModel.
63
+
64
+
65
+ :param session_code: The session_code of this AllocatedNodesIPsModel. # noqa: E501
66
+ :type: str
67
+ """
68
+
69
+ self._session_code = session_code
70
+
71
+ @property
72
+ def SubmittedTaskInfoId(self):
73
+ """Gets the submitted_task_info_id of this AllocatedNodesIPsModel. # noqa: E501
74
+
75
+
76
+ :return: The submitted_task_info_id of this AllocatedNodesIPsModel. # noqa: E501
77
+ :rtype: int
78
+ """
79
+ return self.SubmittedTaskInfoId
80
+
81
+ @SubmittedTaskInfoId.setter
82
+ def SubmittedTaskInfoId(self, SubmittedTaskInfoId):
83
+ """Sets the submitted_task_info_id of this AllocatedNodesIPsModel.
84
+
85
+
86
+ :param submitted_task_info_id: The submitted_task_info_id of this AllocatedNodesIPsModel. # noqa: E501
87
+ :type: int
88
+ """
89
+
90
+ self.SubmittedTaskInfoId = SubmittedTaskInfoId
91
+
92
+ def to_dict(self):
93
+ """Returns the model properties as a dict"""
94
+ result = {}
95
+
96
+ for attr, _ in six.iteritems(self.swagger_types):
97
+ value = getattr(self, attr)
98
+ if isinstance(value, list):
99
+ result[attr] = list(map(
100
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
101
+ value
102
+ ))
103
+ elif hasattr(value, "to_dict"):
104
+ result[attr] = value.to_dict()
105
+ elif isinstance(value, dict):
106
+ result[attr] = dict(map(
107
+ lambda item: (item[0], item[1].to_dict())
108
+ if hasattr(item[1], "to_dict") else item,
109
+ value.items()
110
+ ))
111
+ else:
112
+ result[attr] = value
113
+ if issubclass(AllocatedNodesIPsModel, dict):
114
+ for key, value in self.items():
115
+ result[key] = value
116
+
117
+ return result
118
+
119
+ def to_str(self):
120
+ """Returns the string representation of the model"""
121
+ return pprint.pformat(self.to_dict())
122
+
123
+ def __repr__(self):
124
+ """For `print` and `pprint`"""
125
+ return self.to_str()
126
+
127
+ def __eq__(self, other):
128
+ """Returns true if both objects are equal"""
129
+ if not isinstance(other, AllocatedNodesIPsModel):
130
+ return False
131
+
132
+ return self.__dict__ == other.__dict__
133
+
134
+ def __ne__(self, other):
135
+ """Returns true if both objects are not equal"""
136
+ return not self == other
@@ -0,0 +1,110 @@
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 AuthenticateLexisTokenModel(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
+ 'credentials': 'LexisCredentialsExt'
32
+ }
33
+
34
+ attribute_map = {
35
+ 'credentials': 'Credentials'
36
+ }
37
+
38
+ def __init__(self, credentials=None): # noqa: E501
39
+ """AuthenticateLexisTokenModel - a model defined in Swagger""" # noqa: E501
40
+ self._credentials = None
41
+ self.discriminator = None
42
+ if credentials is not None:
43
+ self.credentials = credentials
44
+
45
+ @property
46
+ def credentials(self):
47
+ """Gets the credentials of this AuthenticateLexisTokenModel. # noqa: E501
48
+
49
+
50
+ :return: The credentials of this AuthenticateLexisTokenModel. # noqa: E501
51
+ :rtype: LexisCredentialsExt
52
+ """
53
+ return self._credentials
54
+
55
+ @credentials.setter
56
+ def credentials(self, credentials):
57
+ """Sets the credentials of this AuthenticateLexisTokenModel.
58
+
59
+
60
+ :param credentials: The credentials of this AuthenticateLexisTokenModel. # noqa: E501
61
+ :type: LexisCredentialsExt
62
+ """
63
+
64
+ self._credentials = credentials
65
+
66
+ def to_dict(self):
67
+ """Returns the model properties as a dict"""
68
+ result = {}
69
+
70
+ for attr, _ in six.iteritems(self.swagger_types):
71
+ value = getattr(self, attr)
72
+ if isinstance(value, list):
73
+ result[attr] = list(map(
74
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
75
+ value
76
+ ))
77
+ elif hasattr(value, "to_dict"):
78
+ result[attr] = value.to_dict()
79
+ elif isinstance(value, dict):
80
+ result[attr] = dict(map(
81
+ lambda item: (item[0], item[1].to_dict())
82
+ if hasattr(item[1], "to_dict") else item,
83
+ value.items()
84
+ ))
85
+ else:
86
+ result[attr] = value
87
+ if issubclass(AuthenticateLexisTokenModel, dict):
88
+ for key, value in self.items():
89
+ result[key] = value
90
+
91
+ return result
92
+
93
+ def to_str(self):
94
+ """Returns the string representation of the model"""
95
+ return pprint.pformat(self.to_dict())
96
+
97
+ def __repr__(self):
98
+ """For `print` and `pprint`"""
99
+ return self.to_str()
100
+
101
+ def __eq__(self, other):
102
+ """Returns true if both objects are equal"""
103
+ if not isinstance(other, AuthenticateLexisTokenModel):
104
+ return False
105
+
106
+ return self.__dict__ == other.__dict__
107
+
108
+ def __ne__(self, other):
109
+ """Returns true if both objects are not equal"""
110
+ return not self == other
@@ -0,0 +1,110 @@
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 AuthenticateUserDigitalSignatureModel(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
+ 'credentials': 'DigitalSignatureCredentialsExt'
32
+ }
33
+
34
+ attribute_map = {
35
+ 'credentials': 'Credentials'
36
+ }
37
+
38
+ def __init__(self, credentials=None): # noqa: E501
39
+ """AuthenticateUserDigitalSignatureModel - a model defined in Swagger""" # noqa: E501
40
+ self._credentials = None
41
+ self.discriminator = None
42
+ if credentials is not None:
43
+ self.credentials = credentials
44
+
45
+ @property
46
+ def credentials(self):
47
+ """Gets the credentials of this AuthenticateUserDigitalSignatureModel. # noqa: E501
48
+
49
+
50
+ :return: The credentials of this AuthenticateUserDigitalSignatureModel. # noqa: E501
51
+ :rtype: DigitalSignatureCredentialsExt
52
+ """
53
+ return self._credentials
54
+
55
+ @credentials.setter
56
+ def credentials(self, credentials):
57
+ """Sets the credentials of this AuthenticateUserDigitalSignatureModel.
58
+
59
+
60
+ :param credentials: The credentials of this AuthenticateUserDigitalSignatureModel. # noqa: E501
61
+ :type: DigitalSignatureCredentialsExt
62
+ """
63
+
64
+ self._credentials = credentials
65
+
66
+ def to_dict(self):
67
+ """Returns the model properties as a dict"""
68
+ result = {}
69
+
70
+ for attr, _ in six.iteritems(self.swagger_types):
71
+ value = getattr(self, attr)
72
+ if isinstance(value, list):
73
+ result[attr] = list(map(
74
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
75
+ value
76
+ ))
77
+ elif hasattr(value, "to_dict"):
78
+ result[attr] = value.to_dict()
79
+ elif isinstance(value, dict):
80
+ result[attr] = dict(map(
81
+ lambda item: (item[0], item[1].to_dict())
82
+ if hasattr(item[1], "to_dict") else item,
83
+ value.items()
84
+ ))
85
+ else:
86
+ result[attr] = value
87
+ if issubclass(AuthenticateUserDigitalSignatureModel, dict):
88
+ for key, value in self.items():
89
+ result[key] = value
90
+
91
+ return result
92
+
93
+ def to_str(self):
94
+ """Returns the string representation of the model"""
95
+ return pprint.pformat(self.to_dict())
96
+
97
+ def __repr__(self):
98
+ """For `print` and `pprint`"""
99
+ return self.to_str()
100
+
101
+ def __eq__(self, other):
102
+ """Returns true if both objects are equal"""
103
+ if not isinstance(other, AuthenticateUserDigitalSignatureModel):
104
+ return False
105
+
106
+ return self.__dict__ == other.__dict__
107
+
108
+ def __ne__(self, other):
109
+ """Returns true if both objects are not equal"""
110
+ return not self == other