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,375 @@
|
|
|
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 ClusterAuthenticationCredentials(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
|
+
'username': 'str',
|
|
33
|
+
'password': 'str',
|
|
34
|
+
'private_key_file': 'str',
|
|
35
|
+
'private_key_password': 'str',
|
|
36
|
+
'authentication_type': 'ClusterAuthenticationCredentialsAuthType',
|
|
37
|
+
'cipher_type': 'FileTransferCipherType',
|
|
38
|
+
'public_key_fingerprint': 'str',
|
|
39
|
+
'is_generated': 'bool',
|
|
40
|
+
'is_deleted': 'bool',
|
|
41
|
+
'cluster_project_credentials': 'list[ClusterProjectCredential]'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
attribute_map = {
|
|
45
|
+
'id': 'Id',
|
|
46
|
+
'username': 'Username',
|
|
47
|
+
'password': 'Password',
|
|
48
|
+
'private_key_file': 'PrivateKeyFile',
|
|
49
|
+
'private_key_password': 'PrivateKeyPassword',
|
|
50
|
+
'authentication_type': 'AuthenticationType',
|
|
51
|
+
'cipher_type': 'CipherType',
|
|
52
|
+
'public_key_fingerprint': 'PublicKeyFingerprint',
|
|
53
|
+
'is_generated': 'IsGenerated',
|
|
54
|
+
'is_deleted': 'IsDeleted',
|
|
55
|
+
'cluster_project_credentials': 'ClusterProjectCredentials'
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
def __init__(self, id=None, username=None, password=None, private_key_file=None, private_key_password=None, authentication_type=None, cipher_type=None, public_key_fingerprint=None, is_generated=None, is_deleted=None, cluster_project_credentials=None): # noqa: E501
|
|
59
|
+
"""ClusterAuthenticationCredentials - a model defined in Swagger""" # noqa: E501
|
|
60
|
+
self._id = None
|
|
61
|
+
self._username = None
|
|
62
|
+
self._password = None
|
|
63
|
+
self._private_key_file = None
|
|
64
|
+
self._private_key_password = None
|
|
65
|
+
self._authentication_type = None
|
|
66
|
+
self._cipher_type = None
|
|
67
|
+
self._public_key_fingerprint = None
|
|
68
|
+
self._is_generated = None
|
|
69
|
+
self._is_deleted = None
|
|
70
|
+
self._cluster_project_credentials = None
|
|
71
|
+
self.discriminator = None
|
|
72
|
+
if id is not None:
|
|
73
|
+
self.id = id
|
|
74
|
+
self.username = username
|
|
75
|
+
if password is not None:
|
|
76
|
+
self.password = password
|
|
77
|
+
if private_key_file is not None:
|
|
78
|
+
self.private_key_file = private_key_file
|
|
79
|
+
if private_key_password is not None:
|
|
80
|
+
self.private_key_password = private_key_password
|
|
81
|
+
self.authentication_type = authentication_type
|
|
82
|
+
self.cipher_type = cipher_type
|
|
83
|
+
if public_key_fingerprint is not None:
|
|
84
|
+
self.public_key_fingerprint = public_key_fingerprint
|
|
85
|
+
self.is_generated = is_generated
|
|
86
|
+
self.is_deleted = is_deleted
|
|
87
|
+
if cluster_project_credentials is not None:
|
|
88
|
+
self.cluster_project_credentials = cluster_project_credentials
|
|
89
|
+
|
|
90
|
+
@property
|
|
91
|
+
def id(self):
|
|
92
|
+
"""Gets the id of this ClusterAuthenticationCredentials. # noqa: E501
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
:return: The id of this ClusterAuthenticationCredentials. # noqa: E501
|
|
96
|
+
:rtype: int
|
|
97
|
+
"""
|
|
98
|
+
return self._id
|
|
99
|
+
|
|
100
|
+
@id.setter
|
|
101
|
+
def id(self, id):
|
|
102
|
+
"""Sets the id of this ClusterAuthenticationCredentials.
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
:param id: The id of this ClusterAuthenticationCredentials. # noqa: E501
|
|
106
|
+
:type: int
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
self._id = id
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def username(self):
|
|
113
|
+
"""Gets the username of this ClusterAuthenticationCredentials. # noqa: E501
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:return: The username of this ClusterAuthenticationCredentials. # noqa: E501
|
|
117
|
+
:rtype: str
|
|
118
|
+
"""
|
|
119
|
+
return self._username
|
|
120
|
+
|
|
121
|
+
@username.setter
|
|
122
|
+
def username(self, username):
|
|
123
|
+
"""Sets the username of this ClusterAuthenticationCredentials.
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
:param username: The username of this ClusterAuthenticationCredentials. # noqa: E501
|
|
127
|
+
:type: str
|
|
128
|
+
"""
|
|
129
|
+
if username is None:
|
|
130
|
+
raise ValueError("Invalid value for `username`, must not be `None`") # noqa: E501
|
|
131
|
+
|
|
132
|
+
self._username = username
|
|
133
|
+
|
|
134
|
+
@property
|
|
135
|
+
def password(self):
|
|
136
|
+
"""Gets the password of this ClusterAuthenticationCredentials. # noqa: E501
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
:return: The password of this ClusterAuthenticationCredentials. # noqa: E501
|
|
140
|
+
:rtype: str
|
|
141
|
+
"""
|
|
142
|
+
return self._password
|
|
143
|
+
|
|
144
|
+
@password.setter
|
|
145
|
+
def password(self, password):
|
|
146
|
+
"""Sets the password of this ClusterAuthenticationCredentials.
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
:param password: The password of this ClusterAuthenticationCredentials. # noqa: E501
|
|
150
|
+
:type: str
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
self._password = password
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def private_key_file(self):
|
|
157
|
+
"""Gets the private_key_file of this ClusterAuthenticationCredentials. # noqa: E501
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
:return: The private_key_file of this ClusterAuthenticationCredentials. # noqa: E501
|
|
161
|
+
:rtype: str
|
|
162
|
+
"""
|
|
163
|
+
return self._private_key_file
|
|
164
|
+
|
|
165
|
+
@private_key_file.setter
|
|
166
|
+
def private_key_file(self, private_key_file):
|
|
167
|
+
"""Sets the private_key_file of this ClusterAuthenticationCredentials.
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
:param private_key_file: The private_key_file of this ClusterAuthenticationCredentials. # noqa: E501
|
|
171
|
+
:type: str
|
|
172
|
+
"""
|
|
173
|
+
|
|
174
|
+
self._private_key_file = private_key_file
|
|
175
|
+
|
|
176
|
+
@property
|
|
177
|
+
def private_key_password(self):
|
|
178
|
+
"""Gets the private_key_password of this ClusterAuthenticationCredentials. # noqa: E501
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
:return: The private_key_password of this ClusterAuthenticationCredentials. # noqa: E501
|
|
182
|
+
:rtype: str
|
|
183
|
+
"""
|
|
184
|
+
return self._private_key_password
|
|
185
|
+
|
|
186
|
+
@private_key_password.setter
|
|
187
|
+
def private_key_password(self, private_key_password):
|
|
188
|
+
"""Sets the private_key_password of this ClusterAuthenticationCredentials.
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
:param private_key_password: The private_key_password of this ClusterAuthenticationCredentials. # noqa: E501
|
|
192
|
+
:type: str
|
|
193
|
+
"""
|
|
194
|
+
|
|
195
|
+
self._private_key_password = private_key_password
|
|
196
|
+
|
|
197
|
+
@property
|
|
198
|
+
def authentication_type(self):
|
|
199
|
+
"""Gets the authentication_type of this ClusterAuthenticationCredentials. # noqa: E501
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
:return: The authentication_type of this ClusterAuthenticationCredentials. # noqa: E501
|
|
203
|
+
:rtype: ClusterAuthenticationCredentialsAuthType
|
|
204
|
+
"""
|
|
205
|
+
return self._authentication_type
|
|
206
|
+
|
|
207
|
+
@authentication_type.setter
|
|
208
|
+
def authentication_type(self, authentication_type):
|
|
209
|
+
"""Sets the authentication_type of this ClusterAuthenticationCredentials.
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
:param authentication_type: The authentication_type of this ClusterAuthenticationCredentials. # noqa: E501
|
|
213
|
+
:type: ClusterAuthenticationCredentialsAuthType
|
|
214
|
+
"""
|
|
215
|
+
if authentication_type is None:
|
|
216
|
+
raise ValueError("Invalid value for `authentication_type`, must not be `None`") # noqa: E501
|
|
217
|
+
|
|
218
|
+
self._authentication_type = authentication_type
|
|
219
|
+
|
|
220
|
+
@property
|
|
221
|
+
def cipher_type(self):
|
|
222
|
+
"""Gets the cipher_type of this ClusterAuthenticationCredentials. # noqa: E501
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
:return: The cipher_type of this ClusterAuthenticationCredentials. # noqa: E501
|
|
226
|
+
:rtype: FileTransferCipherType
|
|
227
|
+
"""
|
|
228
|
+
return self._cipher_type
|
|
229
|
+
|
|
230
|
+
@cipher_type.setter
|
|
231
|
+
def cipher_type(self, cipher_type):
|
|
232
|
+
"""Sets the cipher_type of this ClusterAuthenticationCredentials.
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
:param cipher_type: The cipher_type of this ClusterAuthenticationCredentials. # noqa: E501
|
|
236
|
+
:type: FileTransferCipherType
|
|
237
|
+
"""
|
|
238
|
+
if cipher_type is None:
|
|
239
|
+
raise ValueError("Invalid value for `cipher_type`, must not be `None`") # noqa: E501
|
|
240
|
+
|
|
241
|
+
self._cipher_type = cipher_type
|
|
242
|
+
|
|
243
|
+
@property
|
|
244
|
+
def public_key_fingerprint(self):
|
|
245
|
+
"""Gets the public_key_fingerprint of this ClusterAuthenticationCredentials. # noqa: E501
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
:return: The public_key_fingerprint of this ClusterAuthenticationCredentials. # noqa: E501
|
|
249
|
+
:rtype: str
|
|
250
|
+
"""
|
|
251
|
+
return self._public_key_fingerprint
|
|
252
|
+
|
|
253
|
+
@public_key_fingerprint.setter
|
|
254
|
+
def public_key_fingerprint(self, public_key_fingerprint):
|
|
255
|
+
"""Sets the public_key_fingerprint of this ClusterAuthenticationCredentials.
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
:param public_key_fingerprint: The public_key_fingerprint of this ClusterAuthenticationCredentials. # noqa: E501
|
|
259
|
+
:type: str
|
|
260
|
+
"""
|
|
261
|
+
|
|
262
|
+
self._public_key_fingerprint = public_key_fingerprint
|
|
263
|
+
|
|
264
|
+
@property
|
|
265
|
+
def is_generated(self):
|
|
266
|
+
"""Gets the is_generated of this ClusterAuthenticationCredentials. # noqa: E501
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
:return: The is_generated of this ClusterAuthenticationCredentials. # noqa: E501
|
|
270
|
+
:rtype: bool
|
|
271
|
+
"""
|
|
272
|
+
return self._is_generated
|
|
273
|
+
|
|
274
|
+
@is_generated.setter
|
|
275
|
+
def is_generated(self, is_generated):
|
|
276
|
+
"""Sets the is_generated of this ClusterAuthenticationCredentials.
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
:param is_generated: The is_generated of this ClusterAuthenticationCredentials. # noqa: E501
|
|
280
|
+
:type: bool
|
|
281
|
+
"""
|
|
282
|
+
if is_generated is None:
|
|
283
|
+
raise ValueError("Invalid value for `is_generated`, must not be `None`") # noqa: E501
|
|
284
|
+
|
|
285
|
+
self._is_generated = is_generated
|
|
286
|
+
|
|
287
|
+
@property
|
|
288
|
+
def is_deleted(self):
|
|
289
|
+
"""Gets the is_deleted of this ClusterAuthenticationCredentials. # noqa: E501
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
:return: The is_deleted of this ClusterAuthenticationCredentials. # noqa: E501
|
|
293
|
+
:rtype: bool
|
|
294
|
+
"""
|
|
295
|
+
return self._is_deleted
|
|
296
|
+
|
|
297
|
+
@is_deleted.setter
|
|
298
|
+
def is_deleted(self, is_deleted):
|
|
299
|
+
"""Sets the is_deleted of this ClusterAuthenticationCredentials.
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
:param is_deleted: The is_deleted of this ClusterAuthenticationCredentials. # noqa: E501
|
|
303
|
+
:type: bool
|
|
304
|
+
"""
|
|
305
|
+
if is_deleted is None:
|
|
306
|
+
raise ValueError("Invalid value for `is_deleted`, must not be `None`") # noqa: E501
|
|
307
|
+
|
|
308
|
+
self._is_deleted = is_deleted
|
|
309
|
+
|
|
310
|
+
@property
|
|
311
|
+
def cluster_project_credentials(self):
|
|
312
|
+
"""Gets the cluster_project_credentials of this ClusterAuthenticationCredentials. # noqa: E501
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
:return: The cluster_project_credentials of this ClusterAuthenticationCredentials. # noqa: E501
|
|
316
|
+
:rtype: list[ClusterProjectCredential]
|
|
317
|
+
"""
|
|
318
|
+
return self._cluster_project_credentials
|
|
319
|
+
|
|
320
|
+
@cluster_project_credentials.setter
|
|
321
|
+
def cluster_project_credentials(self, cluster_project_credentials):
|
|
322
|
+
"""Sets the cluster_project_credentials of this ClusterAuthenticationCredentials.
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
:param cluster_project_credentials: The cluster_project_credentials of this ClusterAuthenticationCredentials. # noqa: E501
|
|
326
|
+
:type: list[ClusterProjectCredential]
|
|
327
|
+
"""
|
|
328
|
+
|
|
329
|
+
self._cluster_project_credentials = cluster_project_credentials
|
|
330
|
+
|
|
331
|
+
def to_dict(self):
|
|
332
|
+
"""Returns the model properties as a dict"""
|
|
333
|
+
result = {}
|
|
334
|
+
|
|
335
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
336
|
+
value = getattr(self, attr)
|
|
337
|
+
if isinstance(value, list):
|
|
338
|
+
result[attr] = list(map(
|
|
339
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
340
|
+
value
|
|
341
|
+
))
|
|
342
|
+
elif hasattr(value, "to_dict"):
|
|
343
|
+
result[attr] = value.to_dict()
|
|
344
|
+
elif isinstance(value, dict):
|
|
345
|
+
result[attr] = dict(map(
|
|
346
|
+
lambda item: (item[0], item[1].to_dict())
|
|
347
|
+
if hasattr(item[1], "to_dict") else item,
|
|
348
|
+
value.items()
|
|
349
|
+
))
|
|
350
|
+
else:
|
|
351
|
+
result[attr] = value
|
|
352
|
+
if issubclass(ClusterAuthenticationCredentials, dict):
|
|
353
|
+
for key, value in self.items():
|
|
354
|
+
result[key] = value
|
|
355
|
+
|
|
356
|
+
return result
|
|
357
|
+
|
|
358
|
+
def to_str(self):
|
|
359
|
+
"""Returns the string representation of the model"""
|
|
360
|
+
return pprint.pformat(self.to_dict())
|
|
361
|
+
|
|
362
|
+
def __repr__(self):
|
|
363
|
+
"""For `print` and `pprint`"""
|
|
364
|
+
return self.to_str()
|
|
365
|
+
|
|
366
|
+
def __eq__(self, other):
|
|
367
|
+
"""Returns true if both objects are equal"""
|
|
368
|
+
if not isinstance(other, ClusterAuthenticationCredentials):
|
|
369
|
+
return False
|
|
370
|
+
|
|
371
|
+
return self.__dict__ == other.__dict__
|
|
372
|
+
|
|
373
|
+
def __ne__(self, other):
|
|
374
|
+
"""Returns true if both objects are not equal"""
|
|
375
|
+
return not self == other
|
|
@@ -0,0 +1,97 @@
|
|
|
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 ClusterAuthenticationCredentialsAuthType(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
|
+
"""
|
|
25
|
+
allowed enum values
|
|
26
|
+
"""
|
|
27
|
+
_1 = "1"
|
|
28
|
+
_2 = "2"
|
|
29
|
+
_3 = "3"
|
|
30
|
+
_4 = "4"
|
|
31
|
+
_5 = "5"
|
|
32
|
+
_6 = "6"
|
|
33
|
+
_7 = "7"
|
|
34
|
+
_8 = "8"
|
|
35
|
+
_9 = "9"
|
|
36
|
+
"""
|
|
37
|
+
Attributes:
|
|
38
|
+
swagger_types (dict): The key is attribute name
|
|
39
|
+
and the value is attribute type.
|
|
40
|
+
attribute_map (dict): The key is attribute name
|
|
41
|
+
and the value is json key in definition.
|
|
42
|
+
"""
|
|
43
|
+
swagger_types = {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
attribute_map = {
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
def __init__(self): # noqa: E501
|
|
50
|
+
"""ClusterAuthenticationCredentialsAuthType - a model defined in Swagger""" # noqa: E501
|
|
51
|
+
self.discriminator = None
|
|
52
|
+
|
|
53
|
+
def to_dict(self):
|
|
54
|
+
"""Returns the model properties as a dict"""
|
|
55
|
+
result = {}
|
|
56
|
+
|
|
57
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
58
|
+
value = getattr(self, attr)
|
|
59
|
+
if isinstance(value, list):
|
|
60
|
+
result[attr] = list(map(
|
|
61
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
62
|
+
value
|
|
63
|
+
))
|
|
64
|
+
elif hasattr(value, "to_dict"):
|
|
65
|
+
result[attr] = value.to_dict()
|
|
66
|
+
elif isinstance(value, dict):
|
|
67
|
+
result[attr] = dict(map(
|
|
68
|
+
lambda item: (item[0], item[1].to_dict())
|
|
69
|
+
if hasattr(item[1], "to_dict") else item,
|
|
70
|
+
value.items()
|
|
71
|
+
))
|
|
72
|
+
else:
|
|
73
|
+
result[attr] = value
|
|
74
|
+
if issubclass(ClusterAuthenticationCredentialsAuthType, dict):
|
|
75
|
+
for key, value in self.items():
|
|
76
|
+
result[key] = value
|
|
77
|
+
|
|
78
|
+
return result
|
|
79
|
+
|
|
80
|
+
def to_str(self):
|
|
81
|
+
"""Returns the string representation of the model"""
|
|
82
|
+
return pprint.pformat(self.to_dict())
|
|
83
|
+
|
|
84
|
+
def __repr__(self):
|
|
85
|
+
"""For `print` and `pprint`"""
|
|
86
|
+
return self.to_str()
|
|
87
|
+
|
|
88
|
+
def __eq__(self, other):
|
|
89
|
+
"""Returns true if both objects are equal"""
|
|
90
|
+
if not isinstance(other, ClusterAuthenticationCredentialsAuthType):
|
|
91
|
+
return False
|
|
92
|
+
|
|
93
|
+
return self.__dict__ == other.__dict__
|
|
94
|
+
|
|
95
|
+
def __ne__(self, other):
|
|
96
|
+
"""Returns true if both objects are not equal"""
|
|
97
|
+
return not self == other
|
|
@@ -0,0 +1,91 @@
|
|
|
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 ClusterConnectionProtocol(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
|
+
"""
|
|
25
|
+
allowed enum values
|
|
26
|
+
"""
|
|
27
|
+
_1 = "1"
|
|
28
|
+
_2 = "2"
|
|
29
|
+
_4 = "4"
|
|
30
|
+
"""
|
|
31
|
+
Attributes:
|
|
32
|
+
swagger_types (dict): The key is attribute name
|
|
33
|
+
and the value is attribute type.
|
|
34
|
+
attribute_map (dict): The key is attribute name
|
|
35
|
+
and the value is json key in definition.
|
|
36
|
+
"""
|
|
37
|
+
swagger_types = {
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
def __init__(self): # noqa: E501
|
|
44
|
+
"""ClusterConnectionProtocol - a model defined in Swagger""" # noqa: E501
|
|
45
|
+
self.discriminator = None
|
|
46
|
+
|
|
47
|
+
def to_dict(self):
|
|
48
|
+
"""Returns the model properties as a dict"""
|
|
49
|
+
result = {}
|
|
50
|
+
|
|
51
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
52
|
+
value = getattr(self, attr)
|
|
53
|
+
if isinstance(value, list):
|
|
54
|
+
result[attr] = list(map(
|
|
55
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
56
|
+
value
|
|
57
|
+
))
|
|
58
|
+
elif hasattr(value, "to_dict"):
|
|
59
|
+
result[attr] = value.to_dict()
|
|
60
|
+
elif isinstance(value, dict):
|
|
61
|
+
result[attr] = dict(map(
|
|
62
|
+
lambda item: (item[0], item[1].to_dict())
|
|
63
|
+
if hasattr(item[1], "to_dict") else item,
|
|
64
|
+
value.items()
|
|
65
|
+
))
|
|
66
|
+
else:
|
|
67
|
+
result[attr] = value
|
|
68
|
+
if issubclass(ClusterConnectionProtocol, dict):
|
|
69
|
+
for key, value in self.items():
|
|
70
|
+
result[key] = value
|
|
71
|
+
|
|
72
|
+
return result
|
|
73
|
+
|
|
74
|
+
def to_str(self):
|
|
75
|
+
"""Returns the string representation of the model"""
|
|
76
|
+
return pprint.pformat(self.to_dict())
|
|
77
|
+
|
|
78
|
+
def __repr__(self):
|
|
79
|
+
"""For `print` and `pprint`"""
|
|
80
|
+
return self.to_str()
|
|
81
|
+
|
|
82
|
+
def __eq__(self, other):
|
|
83
|
+
"""Returns true if both objects are equal"""
|
|
84
|
+
if not isinstance(other, ClusterConnectionProtocol):
|
|
85
|
+
return False
|
|
86
|
+
|
|
87
|
+
return self.__dict__ == other.__dict__
|
|
88
|
+
|
|
89
|
+
def __ne__(self, other):
|
|
90
|
+
"""Returns true if both objects are not equal"""
|
|
91
|
+
return not self == other
|