huaweicloudsdkram 3.1.86__py2.py3-none-any.whl → 3.1.132__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.
Files changed (35) hide show
  1. huaweicloudsdkram/v1/model/accept_resource_share_invitation_request.py +31 -1
  2. huaweicloudsdkram/v1/model/associate_resource_share_permission_request.py +31 -1
  3. huaweicloudsdkram/v1/model/associate_resource_share_request.py +31 -1
  4. huaweicloudsdkram/v1/model/batch_create_resource_share_tags_request.py +31 -1
  5. huaweicloudsdkram/v1/model/batch_delete_resource_share_tags_request.py +31 -1
  6. huaweicloudsdkram/v1/model/create_resource_share_request.py +31 -1
  7. huaweicloudsdkram/v1/model/delete_resource_share_request.py +31 -1
  8. huaweicloudsdkram/v1/model/disable_organization_share_request.py +33 -1
  9. huaweicloudsdkram/v1/model/disassociate_resource_share_permission_request.py +31 -1
  10. huaweicloudsdkram/v1/model/disassociate_resource_share_request.py +31 -1
  11. huaweicloudsdkram/v1/model/enable_organization_share_request.py +33 -1
  12. huaweicloudsdkram/v1/model/list_permission_versions_request.py +31 -1
  13. huaweicloudsdkram/v1/model/list_permissions_request.py +31 -1
  14. huaweicloudsdkram/v1/model/list_quota_request.py +33 -1
  15. huaweicloudsdkram/v1/model/list_resource_share_permissions_request.py +31 -1
  16. huaweicloudsdkram/v1/model/list_resource_share_tags_request.py +33 -3
  17. huaweicloudsdkram/v1/model/list_resource_shares_by_tags_request.py +31 -1
  18. huaweicloudsdkram/v1/model/list_resource_types_request.py +31 -1
  19. huaweicloudsdkram/v1/model/reject_resource_share_invitation_request.py +31 -1
  20. huaweicloudsdkram/v1/model/search_resource_share_associations_request.py +31 -1
  21. huaweicloudsdkram/v1/model/search_resource_share_count_by_tags_request.py +31 -1
  22. huaweicloudsdkram/v1/model/search_resource_share_invitation_request.py +31 -1
  23. huaweicloudsdkram/v1/model/search_resource_shares_request.py +31 -1
  24. huaweicloudsdkram/v1/model/search_shared_principals_request.py +31 -1
  25. huaweicloudsdkram/v1/model/search_shared_resources_request.py +31 -1
  26. huaweicloudsdkram/v1/model/show_organization_share_request.py +33 -1
  27. huaweicloudsdkram/v1/model/show_permission_request.py +31 -1
  28. huaweicloudsdkram/v1/model/update_resource_share_request.py +31 -1
  29. huaweicloudsdkram/v1/ram_async_client.py +58 -2
  30. huaweicloudsdkram/v1/ram_client.py +58 -2
  31. {huaweicloudsdkram-3.1.86.dist-info → huaweicloudsdkram-3.1.132.dist-info}/METADATA +2 -2
  32. {huaweicloudsdkram-3.1.86.dist-info → huaweicloudsdkram-3.1.132.dist-info}/RECORD +35 -35
  33. {huaweicloudsdkram-3.1.86.dist-info → huaweicloudsdkram-3.1.132.dist-info}/WHEEL +1 -1
  34. {huaweicloudsdkram-3.1.86.dist-info → huaweicloudsdkram-3.1.132.dist-info}/LICENSE +0 -0
  35. {huaweicloudsdkram-3.1.86.dist-info → huaweicloudsdkram-3.1.132.dist-info}/top_level.txt +0 -0
@@ -15,23 +15,55 @@ class EnableOrganizationShareRequest:
15
15
  and the value is json key in definition.
16
16
  """
17
17
  sensitive_list = []
18
+ sensitive_list.append('x_security_token')
18
19
 
19
20
  openapi_types = {
21
+ 'x_security_token': 'str'
20
22
  }
21
23
 
22
24
  attribute_map = {
25
+ 'x_security_token': 'X-Security-Token'
23
26
  }
24
27
 
25
- def __init__(self):
28
+ def __init__(self, x_security_token=None):
26
29
  """EnableOrganizationShareRequest
27
30
 
28
31
  The model defined in huaweicloud sdk
29
32
 
33
+ :param x_security_token: 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
34
+ :type x_security_token: str
30
35
  """
31
36
 
32
37
 
38
+
39
+ self._x_security_token = None
33
40
  self.discriminator = None
34
41
 
42
+ if x_security_token is not None:
43
+ self.x_security_token = x_security_token
44
+
45
+ @property
46
+ def x_security_token(self):
47
+ """Gets the x_security_token of this EnableOrganizationShareRequest.
48
+
49
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
50
+
51
+ :return: The x_security_token of this EnableOrganizationShareRequest.
52
+ :rtype: str
53
+ """
54
+ return self._x_security_token
55
+
56
+ @x_security_token.setter
57
+ def x_security_token(self, x_security_token):
58
+ """Sets the x_security_token of this EnableOrganizationShareRequest.
59
+
60
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
61
+
62
+ :param x_security_token: The x_security_token of this EnableOrganizationShareRequest.
63
+ :type x_security_token: str
64
+ """
65
+ self._x_security_token = x_security_token
66
+
35
67
  def to_dict(self):
36
68
  """Returns the model properties as a dict"""
37
69
  result = {}
@@ -15,24 +15,29 @@ class ListPermissionVersionsRequest:
15
15
  and the value is json key in definition.
16
16
  """
17
17
  sensitive_list = []
18
+ sensitive_list.append('x_security_token')
18
19
 
19
20
  openapi_types = {
21
+ 'x_security_token': 'str',
20
22
  'limit': 'int',
21
23
  'marker': 'str',
22
24
  'permission_id': 'str'
23
25
  }
24
26
 
25
27
  attribute_map = {
28
+ 'x_security_token': 'X-Security-Token',
26
29
  'limit': 'limit',
27
30
  'marker': 'marker',
28
31
  'permission_id': 'permission_id'
29
32
  }
30
33
 
31
- def __init__(self, limit=None, marker=None, permission_id=None):
34
+ def __init__(self, x_security_token=None, limit=None, marker=None, permission_id=None):
32
35
  """ListPermissionVersionsRequest
33
36
 
34
37
  The model defined in huaweicloud sdk
35
38
 
39
+ :param x_security_token: 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
40
+ :type x_security_token: str
36
41
  :param limit: 分页页面的最大值。
37
42
  :type limit: int
38
43
  :param marker: 页面标记。
@@ -43,17 +48,42 @@ class ListPermissionVersionsRequest:
43
48
 
44
49
 
45
50
 
51
+ self._x_security_token = None
46
52
  self._limit = None
47
53
  self._marker = None
48
54
  self._permission_id = None
49
55
  self.discriminator = None
50
56
 
57
+ if x_security_token is not None:
58
+ self.x_security_token = x_security_token
51
59
  if limit is not None:
52
60
  self.limit = limit
53
61
  if marker is not None:
54
62
  self.marker = marker
55
63
  self.permission_id = permission_id
56
64
 
65
+ @property
66
+ def x_security_token(self):
67
+ """Gets the x_security_token of this ListPermissionVersionsRequest.
68
+
69
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
70
+
71
+ :return: The x_security_token of this ListPermissionVersionsRequest.
72
+ :rtype: str
73
+ """
74
+ return self._x_security_token
75
+
76
+ @x_security_token.setter
77
+ def x_security_token(self, x_security_token):
78
+ """Sets the x_security_token of this ListPermissionVersionsRequest.
79
+
80
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
81
+
82
+ :param x_security_token: The x_security_token of this ListPermissionVersionsRequest.
83
+ :type x_security_token: str
84
+ """
85
+ self._x_security_token = x_security_token
86
+
57
87
  @property
58
88
  def limit(self):
59
89
  """Gets the limit of this ListPermissionVersionsRequest.
@@ -15,8 +15,10 @@ class ListPermissionsRequest:
15
15
  and the value is json key in definition.
16
16
  """
17
17
  sensitive_list = []
18
+ sensitive_list.append('x_security_token')
18
19
 
19
20
  openapi_types = {
21
+ 'x_security_token': 'str',
20
22
  'limit': 'int',
21
23
  'marker': 'str',
22
24
  'resource_type': 'str',
@@ -24,17 +26,20 @@ class ListPermissionsRequest:
24
26
  }
25
27
 
26
28
  attribute_map = {
29
+ 'x_security_token': 'X-Security-Token',
27
30
  'limit': 'limit',
28
31
  'marker': 'marker',
29
32
  'resource_type': 'resource_type',
30
33
  'permission_type': 'permission_type'
31
34
  }
32
35
 
33
- def __init__(self, limit=None, marker=None, resource_type=None, permission_type=None):
36
+ def __init__(self, x_security_token=None, limit=None, marker=None, resource_type=None, permission_type=None):
34
37
  """ListPermissionsRequest
35
38
 
36
39
  The model defined in huaweicloud sdk
37
40
 
41
+ :param x_security_token: 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
42
+ :type x_security_token: str
38
43
  :param limit: 分页页面的最大值。
39
44
  :type limit: int
40
45
  :param marker: 页面标记。
@@ -47,12 +52,15 @@ class ListPermissionsRequest:
47
52
 
48
53
 
49
54
 
55
+ self._x_security_token = None
50
56
  self._limit = None
51
57
  self._marker = None
52
58
  self._resource_type = None
53
59
  self._permission_type = None
54
60
  self.discriminator = None
55
61
 
62
+ if x_security_token is not None:
63
+ self.x_security_token = x_security_token
56
64
  if limit is not None:
57
65
  self.limit = limit
58
66
  if marker is not None:
@@ -62,6 +70,28 @@ class ListPermissionsRequest:
62
70
  if permission_type is not None:
63
71
  self.permission_type = permission_type
64
72
 
73
+ @property
74
+ def x_security_token(self):
75
+ """Gets the x_security_token of this ListPermissionsRequest.
76
+
77
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
78
+
79
+ :return: The x_security_token of this ListPermissionsRequest.
80
+ :rtype: str
81
+ """
82
+ return self._x_security_token
83
+
84
+ @x_security_token.setter
85
+ def x_security_token(self, x_security_token):
86
+ """Sets the x_security_token of this ListPermissionsRequest.
87
+
88
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
89
+
90
+ :param x_security_token: The x_security_token of this ListPermissionsRequest.
91
+ :type x_security_token: str
92
+ """
93
+ self._x_security_token = x_security_token
94
+
65
95
  @property
66
96
  def limit(self):
67
97
  """Gets the limit of this ListPermissionsRequest.
@@ -15,23 +15,55 @@ class ListQuotaRequest:
15
15
  and the value is json key in definition.
16
16
  """
17
17
  sensitive_list = []
18
+ sensitive_list.append('x_security_token')
18
19
 
19
20
  openapi_types = {
21
+ 'x_security_token': 'str'
20
22
  }
21
23
 
22
24
  attribute_map = {
25
+ 'x_security_token': 'X-Security-Token'
23
26
  }
24
27
 
25
- def __init__(self):
28
+ def __init__(self, x_security_token=None):
26
29
  """ListQuotaRequest
27
30
 
28
31
  The model defined in huaweicloud sdk
29
32
 
33
+ :param x_security_token: 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
34
+ :type x_security_token: str
30
35
  """
31
36
 
32
37
 
38
+
39
+ self._x_security_token = None
33
40
  self.discriminator = None
34
41
 
42
+ if x_security_token is not None:
43
+ self.x_security_token = x_security_token
44
+
45
+ @property
46
+ def x_security_token(self):
47
+ """Gets the x_security_token of this ListQuotaRequest.
48
+
49
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
50
+
51
+ :return: The x_security_token of this ListQuotaRequest.
52
+ :rtype: str
53
+ """
54
+ return self._x_security_token
55
+
56
+ @x_security_token.setter
57
+ def x_security_token(self, x_security_token):
58
+ """Sets the x_security_token of this ListQuotaRequest.
59
+
60
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
61
+
62
+ :param x_security_token: The x_security_token of this ListQuotaRequest.
63
+ :type x_security_token: str
64
+ """
65
+ self._x_security_token = x_security_token
66
+
35
67
  def to_dict(self):
36
68
  """Returns the model properties as a dict"""
37
69
  result = {}
@@ -15,8 +15,10 @@ class ListResourceSharePermissionsRequest:
15
15
  and the value is json key in definition.
16
16
  """
17
17
  sensitive_list = []
18
+ sensitive_list.append('x_security_token')
18
19
 
19
20
  openapi_types = {
21
+ 'x_security_token': 'str',
20
22
  'resource_share_id': 'str',
21
23
  'permission_name': 'str',
22
24
  'limit': 'int',
@@ -24,17 +26,20 @@ class ListResourceSharePermissionsRequest:
24
26
  }
25
27
 
26
28
  attribute_map = {
29
+ 'x_security_token': 'X-Security-Token',
27
30
  'resource_share_id': 'resource_share_id',
28
31
  'permission_name': 'permission_name',
29
32
  'limit': 'limit',
30
33
  'marker': 'marker'
31
34
  }
32
35
 
33
- def __init__(self, resource_share_id=None, permission_name=None, limit=None, marker=None):
36
+ def __init__(self, x_security_token=None, resource_share_id=None, permission_name=None, limit=None, marker=None):
34
37
  """ListResourceSharePermissionsRequest
35
38
 
36
39
  The model defined in huaweicloud sdk
37
40
 
41
+ :param x_security_token: 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
42
+ :type x_security_token: str
38
43
  :param resource_share_id: 资源共享实例的ID。
39
44
  :type resource_share_id: str
40
45
  :param permission_name: 共享资源权限的名称。
@@ -47,12 +52,15 @@ class ListResourceSharePermissionsRequest:
47
52
 
48
53
 
49
54
 
55
+ self._x_security_token = None
50
56
  self._resource_share_id = None
51
57
  self._permission_name = None
52
58
  self._limit = None
53
59
  self._marker = None
54
60
  self.discriminator = None
55
61
 
62
+ if x_security_token is not None:
63
+ self.x_security_token = x_security_token
56
64
  self.resource_share_id = resource_share_id
57
65
  if permission_name is not None:
58
66
  self.permission_name = permission_name
@@ -61,6 +69,28 @@ class ListResourceSharePermissionsRequest:
61
69
  if marker is not None:
62
70
  self.marker = marker
63
71
 
72
+ @property
73
+ def x_security_token(self):
74
+ """Gets the x_security_token of this ListResourceSharePermissionsRequest.
75
+
76
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
77
+
78
+ :return: The x_security_token of this ListResourceSharePermissionsRequest.
79
+ :rtype: str
80
+ """
81
+ return self._x_security_token
82
+
83
+ @x_security_token.setter
84
+ def x_security_token(self, x_security_token):
85
+ """Sets the x_security_token of this ListResourceSharePermissionsRequest.
86
+
87
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
88
+
89
+ :param x_security_token: The x_security_token of this ListResourceSharePermissionsRequest.
90
+ :type x_security_token: str
91
+ """
92
+ self._x_security_token = x_security_token
93
+
64
94
  @property
65
95
  def resource_share_id(self):
66
96
  """Gets the resource_share_id of this ListResourceSharePermissionsRequest.
@@ -15,18 +15,21 @@ class ListResourceShareTagsRequest:
15
15
  and the value is json key in definition.
16
16
  """
17
17
  sensitive_list = []
18
+ sensitive_list.append('x_security_token')
18
19
 
19
20
  openapi_types = {
20
21
  'limit': 'int',
21
- 'marker': 'str'
22
+ 'marker': 'str',
23
+ 'x_security_token': 'str'
22
24
  }
23
25
 
24
26
  attribute_map = {
25
27
  'limit': 'limit',
26
- 'marker': 'marker'
28
+ 'marker': 'marker',
29
+ 'x_security_token': 'X-Security-Token'
27
30
  }
28
31
 
29
- def __init__(self, limit=None, marker=None):
32
+ def __init__(self, limit=None, marker=None, x_security_token=None):
30
33
  """ListResourceShareTagsRequest
31
34
 
32
35
  The model defined in huaweicloud sdk
@@ -35,18 +38,23 @@ class ListResourceShareTagsRequest:
35
38
  :type limit: int
36
39
  :param marker: 页面标记。
37
40
  :type marker: str
41
+ :param x_security_token: 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
42
+ :type x_security_token: str
38
43
  """
39
44
 
40
45
 
41
46
 
42
47
  self._limit = None
43
48
  self._marker = None
49
+ self._x_security_token = None
44
50
  self.discriminator = None
45
51
 
46
52
  if limit is not None:
47
53
  self.limit = limit
48
54
  if marker is not None:
49
55
  self.marker = marker
56
+ if x_security_token is not None:
57
+ self.x_security_token = x_security_token
50
58
 
51
59
  @property
52
60
  def limit(self):
@@ -92,6 +100,28 @@ class ListResourceShareTagsRequest:
92
100
  """
93
101
  self._marker = marker
94
102
 
103
+ @property
104
+ def x_security_token(self):
105
+ """Gets the x_security_token of this ListResourceShareTagsRequest.
106
+
107
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
108
+
109
+ :return: The x_security_token of this ListResourceShareTagsRequest.
110
+ :rtype: str
111
+ """
112
+ return self._x_security_token
113
+
114
+ @x_security_token.setter
115
+ def x_security_token(self, x_security_token):
116
+ """Sets the x_security_token of this ListResourceShareTagsRequest.
117
+
118
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
119
+
120
+ :param x_security_token: The x_security_token of this ListResourceShareTagsRequest.
121
+ :type x_security_token: str
122
+ """
123
+ self._x_security_token = x_security_token
124
+
95
125
  def to_dict(self):
96
126
  """Returns the model properties as a dict"""
97
127
  result = {}
@@ -15,20 +15,23 @@ class ListResourceSharesByTagsRequest:
15
15
  and the value is json key in definition.
16
16
  """
17
17
  sensitive_list = []
18
+ sensitive_list.append('x_security_token')
18
19
 
19
20
  openapi_types = {
20
21
  'limit': 'int',
21
22
  'offset': 'str',
23
+ 'x_security_token': 'str',
22
24
  'body': 'ResourceSharesByTagsReqBody'
23
25
  }
24
26
 
25
27
  attribute_map = {
26
28
  'limit': 'limit',
27
29
  'offset': 'offset',
30
+ 'x_security_token': 'X-Security-Token',
28
31
  'body': 'body'
29
32
  }
30
33
 
31
- def __init__(self, limit=None, offset=None, body=None):
34
+ def __init__(self, limit=None, offset=None, x_security_token=None, body=None):
32
35
  """ListResourceSharesByTagsRequest
33
36
 
34
37
  The model defined in huaweicloud sdk
@@ -37,6 +40,8 @@ class ListResourceSharesByTagsRequest:
37
40
  :type limit: int
38
41
  :param offset: 分页标记。
39
42
  :type offset: str
43
+ :param x_security_token: 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
44
+ :type x_security_token: str
40
45
  :param body: Body of the ListResourceSharesByTagsRequest
41
46
  :type body: :class:`huaweicloudsdkram.v1.ResourceSharesByTagsReqBody`
42
47
  """
@@ -45,6 +50,7 @@ class ListResourceSharesByTagsRequest:
45
50
 
46
51
  self._limit = None
47
52
  self._offset = None
53
+ self._x_security_token = None
48
54
  self._body = None
49
55
  self.discriminator = None
50
56
 
@@ -52,6 +58,8 @@ class ListResourceSharesByTagsRequest:
52
58
  self.limit = limit
53
59
  if offset is not None:
54
60
  self.offset = offset
61
+ if x_security_token is not None:
62
+ self.x_security_token = x_security_token
55
63
  if body is not None:
56
64
  self.body = body
57
65
 
@@ -99,6 +107,28 @@ class ListResourceSharesByTagsRequest:
99
107
  """
100
108
  self._offset = offset
101
109
 
110
+ @property
111
+ def x_security_token(self):
112
+ """Gets the x_security_token of this ListResourceSharesByTagsRequest.
113
+
114
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
115
+
116
+ :return: The x_security_token of this ListResourceSharesByTagsRequest.
117
+ :rtype: str
118
+ """
119
+ return self._x_security_token
120
+
121
+ @x_security_token.setter
122
+ def x_security_token(self, x_security_token):
123
+ """Sets the x_security_token of this ListResourceSharesByTagsRequest.
124
+
125
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
126
+
127
+ :param x_security_token: The x_security_token of this ListResourceSharesByTagsRequest.
128
+ :type x_security_token: str
129
+ """
130
+ self._x_security_token = x_security_token
131
+
102
132
  @property
103
133
  def body(self):
104
134
  """Gets the body of this ListResourceSharesByTagsRequest.
@@ -15,22 +15,27 @@ class ListResourceTypesRequest:
15
15
  and the value is json key in definition.
16
16
  """
17
17
  sensitive_list = []
18
+ sensitive_list.append('x_security_token')
18
19
 
19
20
  openapi_types = {
21
+ 'x_security_token': 'str',
20
22
  'limit': 'int',
21
23
  'marker': 'str'
22
24
  }
23
25
 
24
26
  attribute_map = {
27
+ 'x_security_token': 'X-Security-Token',
25
28
  'limit': 'limit',
26
29
  'marker': 'marker'
27
30
  }
28
31
 
29
- def __init__(self, limit=None, marker=None):
32
+ def __init__(self, x_security_token=None, limit=None, marker=None):
30
33
  """ListResourceTypesRequest
31
34
 
32
35
  The model defined in huaweicloud sdk
33
36
 
37
+ :param x_security_token: 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
38
+ :type x_security_token: str
34
39
  :param limit: 分页页面的最大值。
35
40
  :type limit: int
36
41
  :param marker: 页面标记。
@@ -39,15 +44,40 @@ class ListResourceTypesRequest:
39
44
 
40
45
 
41
46
 
47
+ self._x_security_token = None
42
48
  self._limit = None
43
49
  self._marker = None
44
50
  self.discriminator = None
45
51
 
52
+ if x_security_token is not None:
53
+ self.x_security_token = x_security_token
46
54
  if limit is not None:
47
55
  self.limit = limit
48
56
  if marker is not None:
49
57
  self.marker = marker
50
58
 
59
+ @property
60
+ def x_security_token(self):
61
+ """Gets the x_security_token of this ListResourceTypesRequest.
62
+
63
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
64
+
65
+ :return: The x_security_token of this ListResourceTypesRequest.
66
+ :rtype: str
67
+ """
68
+ return self._x_security_token
69
+
70
+ @x_security_token.setter
71
+ def x_security_token(self, x_security_token):
72
+ """Sets the x_security_token of this ListResourceTypesRequest.
73
+
74
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
75
+
76
+ :param x_security_token: The x_security_token of this ListResourceTypesRequest.
77
+ :type x_security_token: str
78
+ """
79
+ self._x_security_token = x_security_token
80
+
51
81
  @property
52
82
  def limit(self):
53
83
  """Gets the limit of this ListResourceTypesRequest.
@@ -15,31 +15,61 @@ class RejectResourceShareInvitationRequest:
15
15
  and the value is json key in definition.
16
16
  """
17
17
  sensitive_list = []
18
+ sensitive_list.append('x_security_token')
18
19
 
19
20
  openapi_types = {
21
+ 'x_security_token': 'str',
20
22
  'resource_share_invitation_id': 'str'
21
23
  }
22
24
 
23
25
  attribute_map = {
26
+ 'x_security_token': 'X-Security-Token',
24
27
  'resource_share_invitation_id': 'resource_share_invitation_id'
25
28
  }
26
29
 
27
- def __init__(self, resource_share_invitation_id=None):
30
+ def __init__(self, x_security_token=None, resource_share_invitation_id=None):
28
31
  """RejectResourceShareInvitationRequest
29
32
 
30
33
  The model defined in huaweicloud sdk
31
34
 
35
+ :param x_security_token: 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
36
+ :type x_security_token: str
32
37
  :param resource_share_invitation_id: 资源共享邀请的ID。
33
38
  :type resource_share_invitation_id: str
34
39
  """
35
40
 
36
41
 
37
42
 
43
+ self._x_security_token = None
38
44
  self._resource_share_invitation_id = None
39
45
  self.discriminator = None
40
46
 
47
+ if x_security_token is not None:
48
+ self.x_security_token = x_security_token
41
49
  self.resource_share_invitation_id = resource_share_invitation_id
42
50
 
51
+ @property
52
+ def x_security_token(self):
53
+ """Gets the x_security_token of this RejectResourceShareInvitationRequest.
54
+
55
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
56
+
57
+ :return: The x_security_token of this RejectResourceShareInvitationRequest.
58
+ :rtype: str
59
+ """
60
+ return self._x_security_token
61
+
62
+ @x_security_token.setter
63
+ def x_security_token(self, x_security_token):
64
+ """Sets the x_security_token of this RejectResourceShareInvitationRequest.
65
+
66
+ 如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。
67
+
68
+ :param x_security_token: The x_security_token of this RejectResourceShareInvitationRequest.
69
+ :type x_security_token: str
70
+ """
71
+ self._x_security_token = x_security_token
72
+
43
73
  @property
44
74
  def resource_share_invitation_id(self):
45
75
  """Gets the resource_share_invitation_id of this RejectResourceShareInvitationRequest.