huaweicloudsdksfsturbo 3.1.160__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.
- huaweicloudsdksfsturbo/__init__.py +0 -0
- huaweicloudsdksfsturbo/v1/__init__.py +187 -0
- huaweicloudsdksfsturbo/v1/model/__init__.py +184 -0
- huaweicloudsdksfsturbo/v1/model/action_progress.py +115 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_request_body.py +313 -0
- huaweicloudsdksfsturbo/v1/model/add_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/auto_export_policy.py +173 -0
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request_body.py +142 -0
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/bss_info.py +200 -0
- huaweicloudsdksfsturbo/v1/model/bss_info_extend.py +115 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group.py +114 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/change_security_group_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/change_share_charge_mode_v2_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/change_share_name_req.py +110 -0
- huaweicloudsdksfsturbo/v1/model/change_share_name_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/change_share_name_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/client_ip_info.py +115 -0
- huaweicloudsdksfsturbo/v1/model/config_nas_target.py +170 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +138 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +278 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request_body.py +172 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_response.py +232 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request_body.py +201 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_task_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/create_fs_task_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +253 -0
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +345 -0
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/create_perm_rule_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_perm_rule_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/create_perm_rules_request_body.py +114 -0
- huaweicloudsdksfsturbo/v1/model/create_share_request.py +111 -0
- huaweicloudsdksfsturbo/v1/model/create_share_request_body.py +135 -0
- huaweicloudsdksfsturbo/v1/model/create_share_response.py +174 -0
- huaweicloudsdksfsturbo/v1/model/create_shared_tag_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/create_shared_tag_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/create_shared_tag_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_request_body.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_request.py +171 -0
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_response.py +199 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request_body.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request_body.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_request.py +170 -0
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_response.py +112 -0
- huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_hpc_cache_task_response.py +112 -0
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/delete_perm_rule_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_perm_rule_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_share_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/delete_share_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/delete_shared_tag_response.py +85 -0
- huaweicloudsdksfsturbo/v1/model/expand_share_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/expand_share_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/expand_share_response.py +145 -0
- huaweicloudsdksfsturbo/v1/model/extend.py +168 -0
- huaweicloudsdksfsturbo/v1/model/failure_details_message.py +114 -0
- huaweicloudsdksfsturbo/v1/model/fs_dir_req.py +114 -0
- huaweicloudsdksfsturbo/v1/model/fs_dir_uasge.py +114 -0
- huaweicloudsdksfsturbo/v1/model/fs_du_info.py +198 -0
- huaweicloudsdksfsturbo/v1/model/fs_file_count.py +289 -0
- huaweicloudsdksfsturbo/v1/model/get_sub_job_detail.py +289 -0
- huaweicloudsdksfsturbo/v1/model/list_backend_targets_request.py +172 -0
- huaweicloudsdksfsturbo/v1/model/list_backend_targets_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_request.py +200 -0
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +288 -0
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +172 -0
- huaweicloudsdksfsturbo/v1/model/list_perm_rules_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/list_share_types_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_share_types_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/list_shared_tags_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_shared_tags_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request.py +111 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py +259 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_resource.py +202 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_response.py +145 -0
- huaweicloudsdksfsturbo/v1/model/metadata.py +231 -0
- huaweicloudsdksfsturbo/v1/model/obs_data_repository.py +192 -0
- huaweicloudsdksfsturbo/v1/model/obs_data_repository_policy.py +111 -0
- huaweicloudsdksfsturbo/v1/model/obs_target_attributes.py +202 -0
- huaweicloudsdksfsturbo/v1/model/one_fs_task_resp.py +223 -0
- huaweicloudsdksfsturbo/v1/model/one_hpc_cache_task_info_resp.py +366 -0
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +170 -0
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +198 -0
- huaweicloudsdksfsturbo/v1/model/req_config_hpc_cache_backend.py +110 -0
- huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_data.py +171 -0
- huaweicloudsdksfsturbo/v1/model/req_update_hpc_cache_info.py +138 -0
- huaweicloudsdksfsturbo/v1/model/resource_tag.py +142 -0
- huaweicloudsdksfsturbo/v1/model/set_hpc_cache_backend_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/set_hpc_cache_backend_response.py +112 -0
- huaweicloudsdksfsturbo/v1/model/share.py +451 -0
- huaweicloudsdksfsturbo/v1/model/share_info.py +919 -0
- huaweicloudsdksfsturbo/v1/model/share_info_feature.py +173 -0
- huaweicloudsdksfsturbo/v1/model/share_info_features.py +111 -0
- huaweicloudsdksfsturbo/v1/model/share_name.py +114 -0
- huaweicloudsdksfsturbo/v1/model/share_type_available_zone.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_response_body.py +368 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage.py +161 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_bandwidth.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_capacity.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_type_usage_quantity.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution.py +186 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_bandwidth.py +231 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_capacity.py +173 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_iops.py +144 -0
- huaweicloudsdksfsturbo/v1/model/share_types_attribution_single_channel4_k_latency.py +144 -0
- huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_active_directory_domain_response.py +286 -0
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response.py +278 -0
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response_body.py +252 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/show_client_ip_info_response.py +170 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_quota_response.py +232 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_response.py +203 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_response.py +137 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_task_request.py +170 -0
- huaweicloudsdksfsturbo/v1/model/show_fs_task_response.py +253 -0
- huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_hpc_cache_task_response.py +402 -0
- huaweicloudsdksfsturbo/v1/model/show_job_detail_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_job_detail_response.py +344 -0
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +344 -0
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_request.py +142 -0
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +203 -0
- huaweicloudsdksfsturbo/v1/model/show_share_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_share_response.py +920 -0
- huaweicloudsdksfsturbo/v1/model/show_shared_tags_request.py +114 -0
- huaweicloudsdksfsturbo/v1/model/show_shared_tags_response.py +116 -0
- huaweicloudsdksfsturbo/v1/model/tag.py +142 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_request_body.py +313 -0
- huaweicloudsdksfsturbo/v1/model/update_active_directory_domain_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +172 -0
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_response.py +232 -0
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +142 -0
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request.py +139 -0
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +347 -0
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_response.py +166 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request_body.py +110 -0
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +166 -0
- huaweicloudsdksfsturbo/v1/model/update_one_perm_rule_request_info.py +144 -0
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_request.py +167 -0
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +203 -0
- huaweicloudsdksfsturbo/v1/region/__init__.py +0 -0
- huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +118 -0
- huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +3722 -0
- huaweicloudsdksfsturbo/v1/sfsturbo_client.py +3719 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/LICENSE +13 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/METADATA +26 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/RECORD +191 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/WHEEL +5 -0
- huaweicloudsdksfsturbo-3.1.160.dist-info/top_level.txt +1 -0
@@ -0,0 +1,170 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class OnePermRuleRequestInfo:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'ip_cidr': 'str',
|
21
|
+
'rw_type': 'str',
|
22
|
+
'user_type': 'str'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'ip_cidr': 'ip_cidr',
|
27
|
+
'rw_type': 'rw_type',
|
28
|
+
'user_type': 'user_type'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, ip_cidr=None, rw_type=None, user_type=None):
|
32
|
+
r"""OnePermRuleRequestInfo
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param ip_cidr: 授权对象的IP地址或网段,设置后不支持修改
|
37
|
+
:type ip_cidr: str
|
38
|
+
:param rw_type: 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
|
39
|
+
:type rw_type: str
|
40
|
+
:param user_type: 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:默认选项。客户端使用包括root用户在内的任何用户,NFS服务器都保持客户端使用的用户,不做映射。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。客户端使用非root用户时,NFS服务器保持客户端使用的用户,不做映射。 - all_squash:所有访问NFS服务器的客户端的用户都映射为匿名用户。
|
41
|
+
:type user_type: str
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._ip_cidr = None
|
47
|
+
self._rw_type = None
|
48
|
+
self._user_type = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.ip_cidr = ip_cidr
|
52
|
+
self.rw_type = rw_type
|
53
|
+
self.user_type = user_type
|
54
|
+
|
55
|
+
@property
|
56
|
+
def ip_cidr(self):
|
57
|
+
r"""Gets the ip_cidr of this OnePermRuleRequestInfo.
|
58
|
+
|
59
|
+
授权对象的IP地址或网段,设置后不支持修改
|
60
|
+
|
61
|
+
:return: The ip_cidr of this OnePermRuleRequestInfo.
|
62
|
+
:rtype: str
|
63
|
+
"""
|
64
|
+
return self._ip_cidr
|
65
|
+
|
66
|
+
@ip_cidr.setter
|
67
|
+
def ip_cidr(self, ip_cidr):
|
68
|
+
r"""Sets the ip_cidr of this OnePermRuleRequestInfo.
|
69
|
+
|
70
|
+
授权对象的IP地址或网段,设置后不支持修改
|
71
|
+
|
72
|
+
:param ip_cidr: The ip_cidr of this OnePermRuleRequestInfo.
|
73
|
+
:type ip_cidr: str
|
74
|
+
"""
|
75
|
+
self._ip_cidr = ip_cidr
|
76
|
+
|
77
|
+
@property
|
78
|
+
def rw_type(self):
|
79
|
+
r"""Gets the rw_type of this OnePermRuleRequestInfo.
|
80
|
+
|
81
|
+
授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
|
82
|
+
|
83
|
+
:return: The rw_type of this OnePermRuleRequestInfo.
|
84
|
+
:rtype: str
|
85
|
+
"""
|
86
|
+
return self._rw_type
|
87
|
+
|
88
|
+
@rw_type.setter
|
89
|
+
def rw_type(self, rw_type):
|
90
|
+
r"""Sets the rw_type of this OnePermRuleRequestInfo.
|
91
|
+
|
92
|
+
授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
|
93
|
+
|
94
|
+
:param rw_type: The rw_type of this OnePermRuleRequestInfo.
|
95
|
+
:type rw_type: str
|
96
|
+
"""
|
97
|
+
self._rw_type = rw_type
|
98
|
+
|
99
|
+
@property
|
100
|
+
def user_type(self):
|
101
|
+
r"""Gets the user_type of this OnePermRuleRequestInfo.
|
102
|
+
|
103
|
+
授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:默认选项。客户端使用包括root用户在内的任何用户,NFS服务器都保持客户端使用的用户,不做映射。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。客户端使用非root用户时,NFS服务器保持客户端使用的用户,不做映射。 - all_squash:所有访问NFS服务器的客户端的用户都映射为匿名用户。
|
104
|
+
|
105
|
+
:return: The user_type of this OnePermRuleRequestInfo.
|
106
|
+
:rtype: str
|
107
|
+
"""
|
108
|
+
return self._user_type
|
109
|
+
|
110
|
+
@user_type.setter
|
111
|
+
def user_type(self, user_type):
|
112
|
+
r"""Sets the user_type of this OnePermRuleRequestInfo.
|
113
|
+
|
114
|
+
授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:默认选项。客户端使用包括root用户在内的任何用户,NFS服务器都保持客户端使用的用户,不做映射。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。客户端使用非root用户时,NFS服务器保持客户端使用的用户,不做映射。 - all_squash:所有访问NFS服务器的客户端的用户都映射为匿名用户。
|
115
|
+
|
116
|
+
:param user_type: The user_type of this OnePermRuleRequestInfo.
|
117
|
+
:type user_type: str
|
118
|
+
"""
|
119
|
+
self._user_type = user_type
|
120
|
+
|
121
|
+
def to_dict(self):
|
122
|
+
"""Returns the model properties as a dict"""
|
123
|
+
result = {}
|
124
|
+
|
125
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
126
|
+
value = getattr(self, attr)
|
127
|
+
if isinstance(value, list):
|
128
|
+
result[attr] = list(map(
|
129
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
130
|
+
value
|
131
|
+
))
|
132
|
+
elif hasattr(value, "to_dict"):
|
133
|
+
result[attr] = value.to_dict()
|
134
|
+
elif isinstance(value, dict):
|
135
|
+
result[attr] = dict(map(
|
136
|
+
lambda item: (item[0], item[1].to_dict())
|
137
|
+
if hasattr(item[1], "to_dict") else item,
|
138
|
+
value.items()
|
139
|
+
))
|
140
|
+
else:
|
141
|
+
if attr in self.sensitive_list:
|
142
|
+
result[attr] = "****"
|
143
|
+
else:
|
144
|
+
result[attr] = value
|
145
|
+
|
146
|
+
return result
|
147
|
+
|
148
|
+
def to_str(self):
|
149
|
+
"""Returns the string representation of the model"""
|
150
|
+
import simplejson as json
|
151
|
+
if six.PY2:
|
152
|
+
import sys
|
153
|
+
reload(sys)
|
154
|
+
sys.setdefaultencoding("utf-8")
|
155
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
156
|
+
|
157
|
+
def __repr__(self):
|
158
|
+
"""For `print`"""
|
159
|
+
return self.to_str()
|
160
|
+
|
161
|
+
def __eq__(self, other):
|
162
|
+
"""Returns true if both objects are equal"""
|
163
|
+
if not isinstance(other, OnePermRuleRequestInfo):
|
164
|
+
return False
|
165
|
+
|
166
|
+
return self.__dict__ == other.__dict__
|
167
|
+
|
168
|
+
def __ne__(self, other):
|
169
|
+
"""Returns true if both objects are not equal"""
|
170
|
+
return not self == other
|
@@ -0,0 +1,198 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class OnePermRuleResponseInfo:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'id': 'str',
|
21
|
+
'ip_cidr': 'str',
|
22
|
+
'rw_type': 'str',
|
23
|
+
'user_type': 'str'
|
24
|
+
}
|
25
|
+
|
26
|
+
attribute_map = {
|
27
|
+
'id': 'id',
|
28
|
+
'ip_cidr': 'ip_cidr',
|
29
|
+
'rw_type': 'rw_type',
|
30
|
+
'user_type': 'user_type'
|
31
|
+
}
|
32
|
+
|
33
|
+
def __init__(self, id=None, ip_cidr=None, rw_type=None, user_type=None):
|
34
|
+
r"""OnePermRuleResponseInfo
|
35
|
+
|
36
|
+
The model defined in huaweicloud sdk
|
37
|
+
|
38
|
+
:param id: 权限规格的id
|
39
|
+
:type id: str
|
40
|
+
:param ip_cidr: 授权对象的IP地址或网段
|
41
|
+
:type ip_cidr: str
|
42
|
+
:param rw_type: 授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
|
43
|
+
:type rw_type: str
|
44
|
+
:param user_type: 授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
|
45
|
+
:type user_type: str
|
46
|
+
"""
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
self._id = None
|
51
|
+
self._ip_cidr = None
|
52
|
+
self._rw_type = None
|
53
|
+
self._user_type = None
|
54
|
+
self.discriminator = None
|
55
|
+
|
56
|
+
self.id = id
|
57
|
+
self.ip_cidr = ip_cidr
|
58
|
+
self.rw_type = rw_type
|
59
|
+
self.user_type = user_type
|
60
|
+
|
61
|
+
@property
|
62
|
+
def id(self):
|
63
|
+
r"""Gets the id of this OnePermRuleResponseInfo.
|
64
|
+
|
65
|
+
权限规格的id
|
66
|
+
|
67
|
+
:return: The id of this OnePermRuleResponseInfo.
|
68
|
+
:rtype: str
|
69
|
+
"""
|
70
|
+
return self._id
|
71
|
+
|
72
|
+
@id.setter
|
73
|
+
def id(self, id):
|
74
|
+
r"""Sets the id of this OnePermRuleResponseInfo.
|
75
|
+
|
76
|
+
权限规格的id
|
77
|
+
|
78
|
+
:param id: The id of this OnePermRuleResponseInfo.
|
79
|
+
:type id: str
|
80
|
+
"""
|
81
|
+
self._id = id
|
82
|
+
|
83
|
+
@property
|
84
|
+
def ip_cidr(self):
|
85
|
+
r"""Gets the ip_cidr of this OnePermRuleResponseInfo.
|
86
|
+
|
87
|
+
授权对象的IP地址或网段
|
88
|
+
|
89
|
+
:return: The ip_cidr of this OnePermRuleResponseInfo.
|
90
|
+
:rtype: str
|
91
|
+
"""
|
92
|
+
return self._ip_cidr
|
93
|
+
|
94
|
+
@ip_cidr.setter
|
95
|
+
def ip_cidr(self, ip_cidr):
|
96
|
+
r"""Sets the ip_cidr of this OnePermRuleResponseInfo.
|
97
|
+
|
98
|
+
授权对象的IP地址或网段
|
99
|
+
|
100
|
+
:param ip_cidr: The ip_cidr of this OnePermRuleResponseInfo.
|
101
|
+
:type ip_cidr: str
|
102
|
+
"""
|
103
|
+
self._ip_cidr = ip_cidr
|
104
|
+
|
105
|
+
@property
|
106
|
+
def rw_type(self):
|
107
|
+
r"""Gets the rw_type of this OnePermRuleResponseInfo.
|
108
|
+
|
109
|
+
授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
|
110
|
+
|
111
|
+
:return: The rw_type of this OnePermRuleResponseInfo.
|
112
|
+
:rtype: str
|
113
|
+
"""
|
114
|
+
return self._rw_type
|
115
|
+
|
116
|
+
@rw_type.setter
|
117
|
+
def rw_type(self, rw_type):
|
118
|
+
r"""Sets the rw_type of this OnePermRuleResponseInfo.
|
119
|
+
|
120
|
+
授权对象的读写权限 - rw:默认选项,以读写的方式共享 - ro:以只读的方式共享 - none: 没有权限
|
121
|
+
|
122
|
+
:param rw_type: The rw_type of this OnePermRuleResponseInfo.
|
123
|
+
:type rw_type: str
|
124
|
+
"""
|
125
|
+
self._rw_type = rw_type
|
126
|
+
|
127
|
+
@property
|
128
|
+
def user_type(self):
|
129
|
+
r"""Gets the user_type of this OnePermRuleResponseInfo.
|
130
|
+
|
131
|
+
授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
|
132
|
+
|
133
|
+
:return: The user_type of this OnePermRuleResponseInfo.
|
134
|
+
:rtype: str
|
135
|
+
"""
|
136
|
+
return self._user_type
|
137
|
+
|
138
|
+
@user_type.setter
|
139
|
+
def user_type(self, user_type):
|
140
|
+
r"""Sets the user_type of this OnePermRuleResponseInfo.
|
141
|
+
|
142
|
+
授权对象的系统用户对文件系统的访问权限。取值如下: - no_root_squash:客户端使用的是root用户时,映射到NFS服务器的用户依然为root用户。 - root_squash:客户端使用的是root用户时,映射到NFS服务器的用户为NFS的匿名用户(nfsnobody)。 - all_squash:默认选项。所有访问NFS服务器的客户端的用户都映射为匿名用户。'
|
143
|
+
|
144
|
+
:param user_type: The user_type of this OnePermRuleResponseInfo.
|
145
|
+
:type user_type: str
|
146
|
+
"""
|
147
|
+
self._user_type = user_type
|
148
|
+
|
149
|
+
def to_dict(self):
|
150
|
+
"""Returns the model properties as a dict"""
|
151
|
+
result = {}
|
152
|
+
|
153
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
154
|
+
value = getattr(self, attr)
|
155
|
+
if isinstance(value, list):
|
156
|
+
result[attr] = list(map(
|
157
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
158
|
+
value
|
159
|
+
))
|
160
|
+
elif hasattr(value, "to_dict"):
|
161
|
+
result[attr] = value.to_dict()
|
162
|
+
elif isinstance(value, dict):
|
163
|
+
result[attr] = dict(map(
|
164
|
+
lambda item: (item[0], item[1].to_dict())
|
165
|
+
if hasattr(item[1], "to_dict") else item,
|
166
|
+
value.items()
|
167
|
+
))
|
168
|
+
else:
|
169
|
+
if attr in self.sensitive_list:
|
170
|
+
result[attr] = "****"
|
171
|
+
else:
|
172
|
+
result[attr] = value
|
173
|
+
|
174
|
+
return result
|
175
|
+
|
176
|
+
def to_str(self):
|
177
|
+
"""Returns the string representation of the model"""
|
178
|
+
import simplejson as json
|
179
|
+
if six.PY2:
|
180
|
+
import sys
|
181
|
+
reload(sys)
|
182
|
+
sys.setdefaultencoding("utf-8")
|
183
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
184
|
+
|
185
|
+
def __repr__(self):
|
186
|
+
"""For `print`"""
|
187
|
+
return self.to_str()
|
188
|
+
|
189
|
+
def __eq__(self, other):
|
190
|
+
"""Returns true if both objects are equal"""
|
191
|
+
if not isinstance(other, OnePermRuleResponseInfo):
|
192
|
+
return False
|
193
|
+
|
194
|
+
return self.__dict__ == other.__dict__
|
195
|
+
|
196
|
+
def __ne__(self, other):
|
197
|
+
"""Returns true if both objects are not equal"""
|
198
|
+
return not self == other
|
@@ -0,0 +1,110 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ReqConfigHpcCacheBackend:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'update_hpc_cache': 'ReqUpdateHpcCacheInfo'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'update_hpc_cache': 'update_hpc_cache'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, update_hpc_cache=None):
|
28
|
+
r"""ReqConfigHpcCacheBackend
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param update_hpc_cache:
|
33
|
+
:type update_hpc_cache: :class:`huaweicloudsdksfsturbo.v1.ReqUpdateHpcCacheInfo`
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._update_hpc_cache = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.update_hpc_cache = update_hpc_cache
|
42
|
+
|
43
|
+
@property
|
44
|
+
def update_hpc_cache(self):
|
45
|
+
r"""Gets the update_hpc_cache of this ReqConfigHpcCacheBackend.
|
46
|
+
|
47
|
+
:return: The update_hpc_cache of this ReqConfigHpcCacheBackend.
|
48
|
+
:rtype: :class:`huaweicloudsdksfsturbo.v1.ReqUpdateHpcCacheInfo`
|
49
|
+
"""
|
50
|
+
return self._update_hpc_cache
|
51
|
+
|
52
|
+
@update_hpc_cache.setter
|
53
|
+
def update_hpc_cache(self, update_hpc_cache):
|
54
|
+
r"""Sets the update_hpc_cache of this ReqConfigHpcCacheBackend.
|
55
|
+
|
56
|
+
:param update_hpc_cache: The update_hpc_cache of this ReqConfigHpcCacheBackend.
|
57
|
+
:type update_hpc_cache: :class:`huaweicloudsdksfsturbo.v1.ReqUpdateHpcCacheInfo`
|
58
|
+
"""
|
59
|
+
self._update_hpc_cache = update_hpc_cache
|
60
|
+
|
61
|
+
def to_dict(self):
|
62
|
+
"""Returns the model properties as a dict"""
|
63
|
+
result = {}
|
64
|
+
|
65
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
66
|
+
value = getattr(self, attr)
|
67
|
+
if isinstance(value, list):
|
68
|
+
result[attr] = list(map(
|
69
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
70
|
+
value
|
71
|
+
))
|
72
|
+
elif hasattr(value, "to_dict"):
|
73
|
+
result[attr] = value.to_dict()
|
74
|
+
elif isinstance(value, dict):
|
75
|
+
result[attr] = dict(map(
|
76
|
+
lambda item: (item[0], item[1].to_dict())
|
77
|
+
if hasattr(item[1], "to_dict") else item,
|
78
|
+
value.items()
|
79
|
+
))
|
80
|
+
else:
|
81
|
+
if attr in self.sensitive_list:
|
82
|
+
result[attr] = "****"
|
83
|
+
else:
|
84
|
+
result[attr] = value
|
85
|
+
|
86
|
+
return result
|
87
|
+
|
88
|
+
def to_str(self):
|
89
|
+
"""Returns the string representation of the model"""
|
90
|
+
import simplejson as json
|
91
|
+
if six.PY2:
|
92
|
+
import sys
|
93
|
+
reload(sys)
|
94
|
+
sys.setdefaultencoding("utf-8")
|
95
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
96
|
+
|
97
|
+
def __repr__(self):
|
98
|
+
"""For `print`"""
|
99
|
+
return self.to_str()
|
100
|
+
|
101
|
+
def __eq__(self, other):
|
102
|
+
"""Returns true if both objects are equal"""
|
103
|
+
if not isinstance(other, ReqConfigHpcCacheBackend):
|
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,171 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ReqUpdateHpcCacheData:
|
9
|
+
|
10
|
+
"""
|
11
|
+
Attributes:
|
12
|
+
openapi_types (dict): The key is attribute name
|
13
|
+
and the value is attribute type.
|
14
|
+
attribute_map (dict): The key is attribute name
|
15
|
+
and the value is json key in definition.
|
16
|
+
"""
|
17
|
+
sensitive_list = []
|
18
|
+
|
19
|
+
openapi_types = {
|
20
|
+
'gc_time': 'int',
|
21
|
+
'ck_time': 'int',
|
22
|
+
'nas': 'list[ConfigNasTarget]'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'gc_time': 'gc_time',
|
27
|
+
'ck_time': 'ck_time',
|
28
|
+
'nas': 'nas'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, gc_time=None, ck_time=None, nas=None):
|
32
|
+
r"""ReqUpdateHpcCacheData
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param gc_time: 冷数据淘汰时间。单位:小时。指定时间内线上缓存的数据如果没有被访问则会自动从缓存中删除。0表示数据不会因为时间原因自动从缓存中删除。
|
37
|
+
:type gc_time: int
|
38
|
+
:param ck_time: 后端校验时间。单位:秒。指定时间间隔进行线上缓存文件与后端存储文件比较,存在变化则自动更新。0表示文件进行实时校验。
|
39
|
+
:type ck_time: int
|
40
|
+
:param nas: 配置 nas 后端的信息
|
41
|
+
:type nas: list[:class:`huaweicloudsdksfsturbo.v1.ConfigNasTarget`]
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._gc_time = None
|
47
|
+
self._ck_time = None
|
48
|
+
self._nas = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
self.gc_time = gc_time
|
52
|
+
self.ck_time = ck_time
|
53
|
+
if nas is not None:
|
54
|
+
self.nas = nas
|
55
|
+
|
56
|
+
@property
|
57
|
+
def gc_time(self):
|
58
|
+
r"""Gets the gc_time of this ReqUpdateHpcCacheData.
|
59
|
+
|
60
|
+
冷数据淘汰时间。单位:小时。指定时间内线上缓存的数据如果没有被访问则会自动从缓存中删除。0表示数据不会因为时间原因自动从缓存中删除。
|
61
|
+
|
62
|
+
:return: The gc_time of this ReqUpdateHpcCacheData.
|
63
|
+
:rtype: int
|
64
|
+
"""
|
65
|
+
return self._gc_time
|
66
|
+
|
67
|
+
@gc_time.setter
|
68
|
+
def gc_time(self, gc_time):
|
69
|
+
r"""Sets the gc_time of this ReqUpdateHpcCacheData.
|
70
|
+
|
71
|
+
冷数据淘汰时间。单位:小时。指定时间内线上缓存的数据如果没有被访问则会自动从缓存中删除。0表示数据不会因为时间原因自动从缓存中删除。
|
72
|
+
|
73
|
+
:param gc_time: The gc_time of this ReqUpdateHpcCacheData.
|
74
|
+
:type gc_time: int
|
75
|
+
"""
|
76
|
+
self._gc_time = gc_time
|
77
|
+
|
78
|
+
@property
|
79
|
+
def ck_time(self):
|
80
|
+
r"""Gets the ck_time of this ReqUpdateHpcCacheData.
|
81
|
+
|
82
|
+
后端校验时间。单位:秒。指定时间间隔进行线上缓存文件与后端存储文件比较,存在变化则自动更新。0表示文件进行实时校验。
|
83
|
+
|
84
|
+
:return: The ck_time of this ReqUpdateHpcCacheData.
|
85
|
+
:rtype: int
|
86
|
+
"""
|
87
|
+
return self._ck_time
|
88
|
+
|
89
|
+
@ck_time.setter
|
90
|
+
def ck_time(self, ck_time):
|
91
|
+
r"""Sets the ck_time of this ReqUpdateHpcCacheData.
|
92
|
+
|
93
|
+
后端校验时间。单位:秒。指定时间间隔进行线上缓存文件与后端存储文件比较,存在变化则自动更新。0表示文件进行实时校验。
|
94
|
+
|
95
|
+
:param ck_time: The ck_time of this ReqUpdateHpcCacheData.
|
96
|
+
:type ck_time: int
|
97
|
+
"""
|
98
|
+
self._ck_time = ck_time
|
99
|
+
|
100
|
+
@property
|
101
|
+
def nas(self):
|
102
|
+
r"""Gets the nas of this ReqUpdateHpcCacheData.
|
103
|
+
|
104
|
+
配置 nas 后端的信息
|
105
|
+
|
106
|
+
:return: The nas of this ReqUpdateHpcCacheData.
|
107
|
+
:rtype: list[:class:`huaweicloudsdksfsturbo.v1.ConfigNasTarget`]
|
108
|
+
"""
|
109
|
+
return self._nas
|
110
|
+
|
111
|
+
@nas.setter
|
112
|
+
def nas(self, nas):
|
113
|
+
r"""Sets the nas of this ReqUpdateHpcCacheData.
|
114
|
+
|
115
|
+
配置 nas 后端的信息
|
116
|
+
|
117
|
+
:param nas: The nas of this ReqUpdateHpcCacheData.
|
118
|
+
:type nas: list[:class:`huaweicloudsdksfsturbo.v1.ConfigNasTarget`]
|
119
|
+
"""
|
120
|
+
self._nas = nas
|
121
|
+
|
122
|
+
def to_dict(self):
|
123
|
+
"""Returns the model properties as a dict"""
|
124
|
+
result = {}
|
125
|
+
|
126
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
127
|
+
value = getattr(self, attr)
|
128
|
+
if isinstance(value, list):
|
129
|
+
result[attr] = list(map(
|
130
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
131
|
+
value
|
132
|
+
))
|
133
|
+
elif hasattr(value, "to_dict"):
|
134
|
+
result[attr] = value.to_dict()
|
135
|
+
elif isinstance(value, dict):
|
136
|
+
result[attr] = dict(map(
|
137
|
+
lambda item: (item[0], item[1].to_dict())
|
138
|
+
if hasattr(item[1], "to_dict") else item,
|
139
|
+
value.items()
|
140
|
+
))
|
141
|
+
else:
|
142
|
+
if attr in self.sensitive_list:
|
143
|
+
result[attr] = "****"
|
144
|
+
else:
|
145
|
+
result[attr] = value
|
146
|
+
|
147
|
+
return result
|
148
|
+
|
149
|
+
def to_str(self):
|
150
|
+
"""Returns the string representation of the model"""
|
151
|
+
import simplejson as json
|
152
|
+
if six.PY2:
|
153
|
+
import sys
|
154
|
+
reload(sys)
|
155
|
+
sys.setdefaultencoding("utf-8")
|
156
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
157
|
+
|
158
|
+
def __repr__(self):
|
159
|
+
"""For `print`"""
|
160
|
+
return self.to_str()
|
161
|
+
|
162
|
+
def __eq__(self, other):
|
163
|
+
"""Returns true if both objects are equal"""
|
164
|
+
if not isinstance(other, ReqUpdateHpcCacheData):
|
165
|
+
return False
|
166
|
+
|
167
|
+
return self.__dict__ == other.__dict__
|
168
|
+
|
169
|
+
def __ne__(self, other):
|
170
|
+
"""Returns true if both objects are not equal"""
|
171
|
+
return not self == other
|