huaweicloudsdksfsturbo 3.1.157__py2.py3-none-any.whl → 3.1.158__py2.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/v1/__init__.py +32 -0
- huaweicloudsdksfsturbo/v1/model/__init__.py +32 -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 +61 -3
- huaweicloudsdksfsturbo/v1/model/batch_add_shared_tags_request_body.py +7 -37
- huaweicloudsdksfsturbo/v1/model/bss_info.py +6 -6
- 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/client_ip_info.py +115 -0
- huaweicloudsdksfsturbo/v1/model/create_backend_target_request_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_backend_target_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_quota_request_body.py +6 -6
- huaweicloudsdksfsturbo/v1/model/create_fs_dir_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_fs_task_response.py +28 -3
- huaweicloudsdksfsturbo/v1/model/create_hpc_cache_task_req.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_request_body.py +21 -50
- huaweicloudsdksfsturbo/v1/model/create_ldap_config_response.py +31 -6
- huaweicloudsdksfsturbo/v1/model/create_perm_rule_request.py +3 -3
- 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 +6 -6
- huaweicloudsdksfsturbo/v1/model/delete_backend_target_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_quota_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_dir_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_fs_task_response.py +28 -1
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_ldap_config_response.py +31 -6
- huaweicloudsdksfsturbo/v1/model/delete_perm_rule_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/delete_shared_tag_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/extend.py +6 -6
- huaweicloudsdksfsturbo/v1/model/get_sub_job_detail.py +21 -21
- huaweicloudsdksfsturbo/v1/model/list_backend_targets_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_fs_tasks_response.py +28 -3
- huaweicloudsdksfsturbo/v1/model/list_hpc_cache_tasks_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_perm_rules_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/list_share_types_request.py +144 -0
- huaweicloudsdksfsturbo/v1/model/list_share_types_response.py +141 -0
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_request_body.py +1 -2
- huaweicloudsdksfsturbo/v1/model/list_shares_by_tag_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_request_info.py +9 -12
- huaweicloudsdksfsturbo/v1/model/one_perm_rule_response_info.py +6 -6
- huaweicloudsdksfsturbo/v1/model/resource_tag.py +6 -6
- huaweicloudsdksfsturbo/v1/model/share.py +15 -15
- huaweicloudsdksfsturbo/v1/model/share_info.py +6 -6
- 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_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_backend_target_info_response_body.py +3 -3
- 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 +3 -3
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_fs_dir_usage_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_fs_task_response.py +28 -3
- huaweicloudsdksfsturbo/v1/model/show_job_detail_response.py +18 -18
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_ldap_config_response.py +59 -34
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/show_perm_rule_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/show_share_response.py +6 -6
- huaweicloudsdksfsturbo/v1/model/show_shared_tags_response.py +3 -32
- huaweicloudsdksfsturbo/v1/model/tag.py +3 -3
- 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 +3 -3
- huaweicloudsdksfsturbo/v1/model/update_fs_dir_quota_request_body.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_hpc_share_request_body.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_request_body.py +18 -47
- huaweicloudsdksfsturbo/v1/model/update_ldap_config_response.py +31 -6
- huaweicloudsdksfsturbo/v1/model/update_obs_target_attributes_request.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_request.py +6 -6
- huaweicloudsdksfsturbo/v1/model/update_obs_target_policy_response.py +3 -3
- huaweicloudsdksfsturbo/v1/model/update_one_perm_rule_request_info.py +144 -0
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_request.py +7 -7
- huaweicloudsdksfsturbo/v1/model/update_perm_rule_response.py +6 -6
- huaweicloudsdksfsturbo/v1/region/sfsturbo_region.py +3 -0
- huaweicloudsdksfsturbo/v1/sfsturbo_async_client.py +492 -41
- huaweicloudsdksfsturbo/v1/sfsturbo_client.py +492 -41
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/METADATA +2 -2
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/RECORD +105 -73
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/LICENSE +0 -0
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/WHEEL +0 -0
- {huaweicloudsdksfsturbo-3.1.157.dist-info → huaweicloudsdksfsturbo-3.1.158.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,173 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShareTypesAttributionCapacity:
|
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
|
+
'max': 'int',
|
21
|
+
'min': 'int',
|
22
|
+
'step': 'float'
|
23
|
+
}
|
24
|
+
|
25
|
+
attribute_map = {
|
26
|
+
'max': 'max',
|
27
|
+
'min': 'min',
|
28
|
+
'step': 'step'
|
29
|
+
}
|
30
|
+
|
31
|
+
def __init__(self, max=None, min=None, step=None):
|
32
|
+
r"""ShareTypesAttributionCapacity
|
33
|
+
|
34
|
+
The model defined in huaweicloud sdk
|
35
|
+
|
36
|
+
:param max: 最大容量
|
37
|
+
:type max: int
|
38
|
+
:param min: 最小容量
|
39
|
+
:type min: int
|
40
|
+
:param step: 容量梯度
|
41
|
+
:type step: float
|
42
|
+
"""
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
self._max = None
|
47
|
+
self._min = None
|
48
|
+
self._step = None
|
49
|
+
self.discriminator = None
|
50
|
+
|
51
|
+
if max is not None:
|
52
|
+
self.max = max
|
53
|
+
if min is not None:
|
54
|
+
self.min = min
|
55
|
+
if step is not None:
|
56
|
+
self.step = step
|
57
|
+
|
58
|
+
@property
|
59
|
+
def max(self):
|
60
|
+
r"""Gets the max of this ShareTypesAttributionCapacity.
|
61
|
+
|
62
|
+
最大容量
|
63
|
+
|
64
|
+
:return: The max of this ShareTypesAttributionCapacity.
|
65
|
+
:rtype: int
|
66
|
+
"""
|
67
|
+
return self._max
|
68
|
+
|
69
|
+
@max.setter
|
70
|
+
def max(self, max):
|
71
|
+
r"""Sets the max of this ShareTypesAttributionCapacity.
|
72
|
+
|
73
|
+
最大容量
|
74
|
+
|
75
|
+
:param max: The max of this ShareTypesAttributionCapacity.
|
76
|
+
:type max: int
|
77
|
+
"""
|
78
|
+
self._max = max
|
79
|
+
|
80
|
+
@property
|
81
|
+
def min(self):
|
82
|
+
r"""Gets the min of this ShareTypesAttributionCapacity.
|
83
|
+
|
84
|
+
最小容量
|
85
|
+
|
86
|
+
:return: The min of this ShareTypesAttributionCapacity.
|
87
|
+
:rtype: int
|
88
|
+
"""
|
89
|
+
return self._min
|
90
|
+
|
91
|
+
@min.setter
|
92
|
+
def min(self, min):
|
93
|
+
r"""Sets the min of this ShareTypesAttributionCapacity.
|
94
|
+
|
95
|
+
最小容量
|
96
|
+
|
97
|
+
:param min: The min of this ShareTypesAttributionCapacity.
|
98
|
+
:type min: int
|
99
|
+
"""
|
100
|
+
self._min = min
|
101
|
+
|
102
|
+
@property
|
103
|
+
def step(self):
|
104
|
+
r"""Gets the step of this ShareTypesAttributionCapacity.
|
105
|
+
|
106
|
+
容量梯度
|
107
|
+
|
108
|
+
:return: The step of this ShareTypesAttributionCapacity.
|
109
|
+
:rtype: float
|
110
|
+
"""
|
111
|
+
return self._step
|
112
|
+
|
113
|
+
@step.setter
|
114
|
+
def step(self, step):
|
115
|
+
r"""Sets the step of this ShareTypesAttributionCapacity.
|
116
|
+
|
117
|
+
容量梯度
|
118
|
+
|
119
|
+
:param step: The step of this ShareTypesAttributionCapacity.
|
120
|
+
:type step: float
|
121
|
+
"""
|
122
|
+
self._step = step
|
123
|
+
|
124
|
+
def to_dict(self):
|
125
|
+
"""Returns the model properties as a dict"""
|
126
|
+
result = {}
|
127
|
+
|
128
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
129
|
+
value = getattr(self, attr)
|
130
|
+
if isinstance(value, list):
|
131
|
+
result[attr] = list(map(
|
132
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
133
|
+
value
|
134
|
+
))
|
135
|
+
elif hasattr(value, "to_dict"):
|
136
|
+
result[attr] = value.to_dict()
|
137
|
+
elif isinstance(value, dict):
|
138
|
+
result[attr] = dict(map(
|
139
|
+
lambda item: (item[0], item[1].to_dict())
|
140
|
+
if hasattr(item[1], "to_dict") else item,
|
141
|
+
value.items()
|
142
|
+
))
|
143
|
+
else:
|
144
|
+
if attr in self.sensitive_list:
|
145
|
+
result[attr] = "****"
|
146
|
+
else:
|
147
|
+
result[attr] = value
|
148
|
+
|
149
|
+
return result
|
150
|
+
|
151
|
+
def to_str(self):
|
152
|
+
"""Returns the string representation of the model"""
|
153
|
+
import simplejson as json
|
154
|
+
if six.PY2:
|
155
|
+
import sys
|
156
|
+
reload(sys)
|
157
|
+
sys.setdefaultencoding("utf-8")
|
158
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
159
|
+
|
160
|
+
def __repr__(self):
|
161
|
+
"""For `print`"""
|
162
|
+
return self.to_str()
|
163
|
+
|
164
|
+
def __eq__(self, other):
|
165
|
+
"""Returns true if both objects are equal"""
|
166
|
+
if not isinstance(other, ShareTypesAttributionCapacity):
|
167
|
+
return False
|
168
|
+
|
169
|
+
return self.__dict__ == other.__dict__
|
170
|
+
|
171
|
+
def __ne__(self, other):
|
172
|
+
"""Returns true if both objects are not equal"""
|
173
|
+
return not self == other
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShareTypesAttributionIops:
|
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
|
+
'max': 'int',
|
21
|
+
'min': 'int'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'max': 'max',
|
26
|
+
'min': 'min'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, max=None, min=None):
|
30
|
+
r"""ShareTypesAttributionIops
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param max: 最大iops
|
35
|
+
:type max: int
|
36
|
+
:param min: 最小iops
|
37
|
+
:type min: int
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._max = None
|
43
|
+
self._min = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
if max is not None:
|
47
|
+
self.max = max
|
48
|
+
if min is not None:
|
49
|
+
self.min = min
|
50
|
+
|
51
|
+
@property
|
52
|
+
def max(self):
|
53
|
+
r"""Gets the max of this ShareTypesAttributionIops.
|
54
|
+
|
55
|
+
最大iops
|
56
|
+
|
57
|
+
:return: The max of this ShareTypesAttributionIops.
|
58
|
+
:rtype: int
|
59
|
+
"""
|
60
|
+
return self._max
|
61
|
+
|
62
|
+
@max.setter
|
63
|
+
def max(self, max):
|
64
|
+
r"""Sets the max of this ShareTypesAttributionIops.
|
65
|
+
|
66
|
+
最大iops
|
67
|
+
|
68
|
+
:param max: The max of this ShareTypesAttributionIops.
|
69
|
+
:type max: int
|
70
|
+
"""
|
71
|
+
self._max = max
|
72
|
+
|
73
|
+
@property
|
74
|
+
def min(self):
|
75
|
+
r"""Gets the min of this ShareTypesAttributionIops.
|
76
|
+
|
77
|
+
最小iops
|
78
|
+
|
79
|
+
:return: The min of this ShareTypesAttributionIops.
|
80
|
+
:rtype: int
|
81
|
+
"""
|
82
|
+
return self._min
|
83
|
+
|
84
|
+
@min.setter
|
85
|
+
def min(self, min):
|
86
|
+
r"""Sets the min of this ShareTypesAttributionIops.
|
87
|
+
|
88
|
+
最小iops
|
89
|
+
|
90
|
+
:param min: The min of this ShareTypesAttributionIops.
|
91
|
+
:type min: int
|
92
|
+
"""
|
93
|
+
self._min = min
|
94
|
+
|
95
|
+
def to_dict(self):
|
96
|
+
"""Returns the model properties as a dict"""
|
97
|
+
result = {}
|
98
|
+
|
99
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
100
|
+
value = getattr(self, attr)
|
101
|
+
if isinstance(value, list):
|
102
|
+
result[attr] = list(map(
|
103
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
104
|
+
value
|
105
|
+
))
|
106
|
+
elif hasattr(value, "to_dict"):
|
107
|
+
result[attr] = value.to_dict()
|
108
|
+
elif isinstance(value, dict):
|
109
|
+
result[attr] = dict(map(
|
110
|
+
lambda item: (item[0], item[1].to_dict())
|
111
|
+
if hasattr(item[1], "to_dict") else item,
|
112
|
+
value.items()
|
113
|
+
))
|
114
|
+
else:
|
115
|
+
if attr in self.sensitive_list:
|
116
|
+
result[attr] = "****"
|
117
|
+
else:
|
118
|
+
result[attr] = value
|
119
|
+
|
120
|
+
return result
|
121
|
+
|
122
|
+
def to_str(self):
|
123
|
+
"""Returns the string representation of the model"""
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, ShareTypesAttributionIops):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.__dict__ == other.__dict__
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
return not self == other
|
@@ -0,0 +1,144 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShareTypesAttributionSingleChannel4KLatency:
|
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
|
+
'max': 'int',
|
21
|
+
'min': 'int'
|
22
|
+
}
|
23
|
+
|
24
|
+
attribute_map = {
|
25
|
+
'max': 'max',
|
26
|
+
'min': 'min'
|
27
|
+
}
|
28
|
+
|
29
|
+
def __init__(self, max=None, min=None):
|
30
|
+
r"""ShareTypesAttributionSingleChannel4KLatency
|
31
|
+
|
32
|
+
The model defined in huaweicloud sdk
|
33
|
+
|
34
|
+
:param max: 最大值
|
35
|
+
:type max: int
|
36
|
+
:param min: 最小值
|
37
|
+
:type min: int
|
38
|
+
"""
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
self._max = None
|
43
|
+
self._min = None
|
44
|
+
self.discriminator = None
|
45
|
+
|
46
|
+
if max is not None:
|
47
|
+
self.max = max
|
48
|
+
if min is not None:
|
49
|
+
self.min = min
|
50
|
+
|
51
|
+
@property
|
52
|
+
def max(self):
|
53
|
+
r"""Gets the max of this ShareTypesAttributionSingleChannel4KLatency.
|
54
|
+
|
55
|
+
最大值
|
56
|
+
|
57
|
+
:return: The max of this ShareTypesAttributionSingleChannel4KLatency.
|
58
|
+
:rtype: int
|
59
|
+
"""
|
60
|
+
return self._max
|
61
|
+
|
62
|
+
@max.setter
|
63
|
+
def max(self, max):
|
64
|
+
r"""Sets the max of this ShareTypesAttributionSingleChannel4KLatency.
|
65
|
+
|
66
|
+
最大值
|
67
|
+
|
68
|
+
:param max: The max of this ShareTypesAttributionSingleChannel4KLatency.
|
69
|
+
:type max: int
|
70
|
+
"""
|
71
|
+
self._max = max
|
72
|
+
|
73
|
+
@property
|
74
|
+
def min(self):
|
75
|
+
r"""Gets the min of this ShareTypesAttributionSingleChannel4KLatency.
|
76
|
+
|
77
|
+
最小值
|
78
|
+
|
79
|
+
:return: The min of this ShareTypesAttributionSingleChannel4KLatency.
|
80
|
+
:rtype: int
|
81
|
+
"""
|
82
|
+
return self._min
|
83
|
+
|
84
|
+
@min.setter
|
85
|
+
def min(self, min):
|
86
|
+
r"""Sets the min of this ShareTypesAttributionSingleChannel4KLatency.
|
87
|
+
|
88
|
+
最小值
|
89
|
+
|
90
|
+
:param min: The min of this ShareTypesAttributionSingleChannel4KLatency.
|
91
|
+
:type min: int
|
92
|
+
"""
|
93
|
+
self._min = min
|
94
|
+
|
95
|
+
def to_dict(self):
|
96
|
+
"""Returns the model properties as a dict"""
|
97
|
+
result = {}
|
98
|
+
|
99
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
100
|
+
value = getattr(self, attr)
|
101
|
+
if isinstance(value, list):
|
102
|
+
result[attr] = list(map(
|
103
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
104
|
+
value
|
105
|
+
))
|
106
|
+
elif hasattr(value, "to_dict"):
|
107
|
+
result[attr] = value.to_dict()
|
108
|
+
elif isinstance(value, dict):
|
109
|
+
result[attr] = dict(map(
|
110
|
+
lambda item: (item[0], item[1].to_dict())
|
111
|
+
if hasattr(item[1], "to_dict") else item,
|
112
|
+
value.items()
|
113
|
+
))
|
114
|
+
else:
|
115
|
+
if attr in self.sensitive_list:
|
116
|
+
result[attr] = "****"
|
117
|
+
else:
|
118
|
+
result[attr] = value
|
119
|
+
|
120
|
+
return result
|
121
|
+
|
122
|
+
def to_str(self):
|
123
|
+
"""Returns the string representation of the model"""
|
124
|
+
import simplejson as json
|
125
|
+
if six.PY2:
|
126
|
+
import sys
|
127
|
+
reload(sys)
|
128
|
+
sys.setdefaultencoding("utf-8")
|
129
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
130
|
+
|
131
|
+
def __repr__(self):
|
132
|
+
"""For `print`"""
|
133
|
+
return self.to_str()
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
"""Returns true if both objects are equal"""
|
137
|
+
if not isinstance(other, ShareTypesAttributionSingleChannel4KLatency):
|
138
|
+
return False
|
139
|
+
|
140
|
+
return self.__dict__ == other.__dict__
|
141
|
+
|
142
|
+
def __ne__(self, other):
|
143
|
+
"""Returns true if both objects are not equal"""
|
144
|
+
return not self == other
|
@@ -0,0 +1,114 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
import six
|
4
|
+
|
5
|
+
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
|
6
|
+
|
7
|
+
|
8
|
+
class ShowActiveDirectoryDomainRequest:
|
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
|
+
'share_id': 'str'
|
21
|
+
}
|
22
|
+
|
23
|
+
attribute_map = {
|
24
|
+
'share_id': 'share_id'
|
25
|
+
}
|
26
|
+
|
27
|
+
def __init__(self, share_id=None):
|
28
|
+
r"""ShowActiveDirectoryDomainRequest
|
29
|
+
|
30
|
+
The model defined in huaweicloud sdk
|
31
|
+
|
32
|
+
:param share_id: 文件系统ID
|
33
|
+
:type share_id: str
|
34
|
+
"""
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
self._share_id = None
|
39
|
+
self.discriminator = None
|
40
|
+
|
41
|
+
self.share_id = share_id
|
42
|
+
|
43
|
+
@property
|
44
|
+
def share_id(self):
|
45
|
+
r"""Gets the share_id of this ShowActiveDirectoryDomainRequest.
|
46
|
+
|
47
|
+
文件系统ID
|
48
|
+
|
49
|
+
:return: The share_id of this ShowActiveDirectoryDomainRequest.
|
50
|
+
:rtype: str
|
51
|
+
"""
|
52
|
+
return self._share_id
|
53
|
+
|
54
|
+
@share_id.setter
|
55
|
+
def share_id(self, share_id):
|
56
|
+
r"""Sets the share_id of this ShowActiveDirectoryDomainRequest.
|
57
|
+
|
58
|
+
文件系统ID
|
59
|
+
|
60
|
+
:param share_id: The share_id of this ShowActiveDirectoryDomainRequest.
|
61
|
+
:type share_id: str
|
62
|
+
"""
|
63
|
+
self._share_id = share_id
|
64
|
+
|
65
|
+
def to_dict(self):
|
66
|
+
"""Returns the model properties as a dict"""
|
67
|
+
result = {}
|
68
|
+
|
69
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
70
|
+
value = getattr(self, attr)
|
71
|
+
if isinstance(value, list):
|
72
|
+
result[attr] = list(map(
|
73
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
74
|
+
value
|
75
|
+
))
|
76
|
+
elif hasattr(value, "to_dict"):
|
77
|
+
result[attr] = value.to_dict()
|
78
|
+
elif isinstance(value, dict):
|
79
|
+
result[attr] = dict(map(
|
80
|
+
lambda item: (item[0], item[1].to_dict())
|
81
|
+
if hasattr(item[1], "to_dict") else item,
|
82
|
+
value.items()
|
83
|
+
))
|
84
|
+
else:
|
85
|
+
if attr in self.sensitive_list:
|
86
|
+
result[attr] = "****"
|
87
|
+
else:
|
88
|
+
result[attr] = value
|
89
|
+
|
90
|
+
return result
|
91
|
+
|
92
|
+
def to_str(self):
|
93
|
+
"""Returns the string representation of the model"""
|
94
|
+
import simplejson as json
|
95
|
+
if six.PY2:
|
96
|
+
import sys
|
97
|
+
reload(sys)
|
98
|
+
sys.setdefaultencoding("utf-8")
|
99
|
+
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
|
100
|
+
|
101
|
+
def __repr__(self):
|
102
|
+
"""For `print`"""
|
103
|
+
return self.to_str()
|
104
|
+
|
105
|
+
def __eq__(self, other):
|
106
|
+
"""Returns true if both objects are equal"""
|
107
|
+
if not isinstance(other, ShowActiveDirectoryDomainRequest):
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
"""Returns true if both objects are not equal"""
|
114
|
+
return not self == other
|