huaweicloudsdkram 3.1.85__py2.py3-none-any.whl → 3.1.132__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- huaweicloudsdkram/v1/__init__.py +2 -0
- huaweicloudsdkram/v1/model/__init__.py +2 -0
- huaweicloudsdkram/v1/model/accept_resource_share_invitation_request.py +31 -1
- huaweicloudsdkram/v1/model/associate_permission_req_body.py +31 -31
- huaweicloudsdkram/v1/model/associate_resource_share_permission_request.py +31 -1
- huaweicloudsdkram/v1/model/associate_resource_share_request.py +31 -1
- huaweicloudsdkram/v1/model/batch_create_resource_share_tags_request.py +31 -1
- huaweicloudsdkram/v1/model/batch_delete_resource_share_tags_request.py +31 -1
- huaweicloudsdkram/v1/model/create_resource_share_request.py +31 -1
- huaweicloudsdkram/v1/model/delete_resource_share_request.py +31 -1
- huaweicloudsdkram/v1/model/disable_organization_share_request.py +33 -1
- huaweicloudsdkram/v1/model/disassociate_resource_share_permission_request.py +31 -1
- huaweicloudsdkram/v1/model/disassociate_resource_share_request.py +31 -1
- huaweicloudsdkram/v1/model/enable_organization_share_request.py +33 -1
- huaweicloudsdkram/v1/model/list_permission_versions_request.py +202 -0
- huaweicloudsdkram/v1/model/list_permission_versions_response.py +141 -0
- huaweicloudsdkram/v1/model/list_permissions_request.py +62 -3
- huaweicloudsdkram/v1/model/list_quota_request.py +33 -1
- huaweicloudsdkram/v1/model/list_resource_share_permissions_request.py +31 -1
- huaweicloudsdkram/v1/model/list_resource_share_tags_request.py +33 -3
- huaweicloudsdkram/v1/model/list_resource_shares_by_tags_request.py +31 -1
- huaweicloudsdkram/v1/model/list_resource_types_request.py +31 -1
- huaweicloudsdkram/v1/model/permission.py +148 -3
- huaweicloudsdkram/v1/model/permission_summary.py +148 -3
- huaweicloudsdkram/v1/model/quotas.py +3 -3
- huaweicloudsdkram/v1/model/reject_resource_share_invitation_request.py +31 -1
- huaweicloudsdkram/v1/model/resource_share_association.py +3 -3
- huaweicloudsdkram/v1/model/resource_share_invitation.py +6 -6
- huaweicloudsdkram/v1/model/search_resource_share_associations_request.py +31 -1
- huaweicloudsdkram/v1/model/search_resource_share_count_by_tags_request.py +31 -1
- huaweicloudsdkram/v1/model/search_resource_share_invitation_request.py +31 -1
- huaweicloudsdkram/v1/model/search_resource_shares_request.py +31 -1
- huaweicloudsdkram/v1/model/search_shared_principals_request.py +31 -1
- huaweicloudsdkram/v1/model/search_shared_resources_request.py +31 -1
- huaweicloudsdkram/v1/model/shared_principal.py +3 -3
- huaweicloudsdkram/v1/model/show_organization_share_request.py +33 -1
- huaweicloudsdkram/v1/model/show_permission_request.py +62 -3
- huaweicloudsdkram/v1/model/update_resource_share_request.py +31 -1
- huaweicloudsdkram/v1/ram_async_client.py +136 -7
- huaweicloudsdkram/v1/ram_client.py +136 -7
- {huaweicloudsdkram-3.1.85.dist-info → huaweicloudsdkram-3.1.132.dist-info}/METADATA +2 -2
- {huaweicloudsdkram-3.1.85.dist-info → huaweicloudsdkram-3.1.132.dist-info}/RECORD +45 -43
- {huaweicloudsdkram-3.1.85.dist-info → huaweicloudsdkram-3.1.132.dist-info}/WHEEL +1 -1
- {huaweicloudsdkram-3.1.85.dist-info → huaweicloudsdkram-3.1.132.dist-info}/LICENSE +0 -0
- {huaweicloudsdkram-3.1.85.dist-info → huaweicloudsdkram-3.1.132.dist-info}/top_level.txt +0 -0
@@ -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.
|
@@ -23,7 +23,12 @@ class Permission:
|
|
23
23
|
'content': 'str',
|
24
24
|
'is_resource_type_default': 'bool',
|
25
25
|
'created_at': 'datetime',
|
26
|
-
'updated_at': 'datetime'
|
26
|
+
'updated_at': 'datetime',
|
27
|
+
'permission_urn': 'str',
|
28
|
+
'permission_type': 'str',
|
29
|
+
'default_version': 'bool',
|
30
|
+
'version': 'int',
|
31
|
+
'status': 'str'
|
27
32
|
}
|
28
33
|
|
29
34
|
attribute_map = {
|
@@ -33,10 +38,15 @@ class Permission:
|
|
33
38
|
'content': 'content',
|
34
39
|
'is_resource_type_default': 'is_resource_type_default',
|
35
40
|
'created_at': 'created_at',
|
36
|
-
'updated_at': 'updated_at'
|
41
|
+
'updated_at': 'updated_at',
|
42
|
+
'permission_urn': 'permission_urn',
|
43
|
+
'permission_type': 'permission_type',
|
44
|
+
'default_version': 'default_version',
|
45
|
+
'version': 'version',
|
46
|
+
'status': 'status'
|
37
47
|
}
|
38
48
|
|
39
|
-
def __init__(self, id=None, name=None, resource_type=None, content=None, is_resource_type_default=None, created_at=None, updated_at=None):
|
49
|
+
def __init__(self, id=None, name=None, resource_type=None, content=None, is_resource_type_default=None, created_at=None, updated_at=None, permission_urn=None, permission_type=None, default_version=None, version=None, status=None):
|
40
50
|
"""Permission
|
41
51
|
|
42
52
|
The model defined in huaweicloud sdk
|
@@ -55,6 +65,16 @@ class Permission:
|
|
55
65
|
:type created_at: datetime
|
56
66
|
:param updated_at: 最后一次更新权限的时间。
|
57
67
|
:type updated_at: datetime
|
68
|
+
:param permission_urn: 权限URN。
|
69
|
+
:type permission_urn: str
|
70
|
+
:param permission_type: 权限类型。
|
71
|
+
:type permission_type: str
|
72
|
+
:param default_version: 此权限是否为默认版本。
|
73
|
+
:type default_version: bool
|
74
|
+
:param version: 权限版本。
|
75
|
+
:type version: int
|
76
|
+
:param status: 权限的状态
|
77
|
+
:type status: str
|
58
78
|
"""
|
59
79
|
|
60
80
|
|
@@ -66,6 +86,11 @@ class Permission:
|
|
66
86
|
self._is_resource_type_default = None
|
67
87
|
self._created_at = None
|
68
88
|
self._updated_at = None
|
89
|
+
self._permission_urn = None
|
90
|
+
self._permission_type = None
|
91
|
+
self._default_version = None
|
92
|
+
self._version = None
|
93
|
+
self._status = None
|
69
94
|
self.discriminator = None
|
70
95
|
|
71
96
|
self.id = id
|
@@ -75,6 +100,16 @@ class Permission:
|
|
75
100
|
self.is_resource_type_default = is_resource_type_default
|
76
101
|
self.created_at = created_at
|
77
102
|
self.updated_at = updated_at
|
103
|
+
if permission_urn is not None:
|
104
|
+
self.permission_urn = permission_urn
|
105
|
+
if permission_type is not None:
|
106
|
+
self.permission_type = permission_type
|
107
|
+
if default_version is not None:
|
108
|
+
self.default_version = default_version
|
109
|
+
if version is not None:
|
110
|
+
self.version = version
|
111
|
+
if status is not None:
|
112
|
+
self.status = status
|
78
113
|
|
79
114
|
@property
|
80
115
|
def id(self):
|
@@ -230,6 +265,116 @@ class Permission:
|
|
230
265
|
"""
|
231
266
|
self._updated_at = updated_at
|
232
267
|
|
268
|
+
@property
|
269
|
+
def permission_urn(self):
|
270
|
+
"""Gets the permission_urn of this Permission.
|
271
|
+
|
272
|
+
权限URN。
|
273
|
+
|
274
|
+
:return: The permission_urn of this Permission.
|
275
|
+
:rtype: str
|
276
|
+
"""
|
277
|
+
return self._permission_urn
|
278
|
+
|
279
|
+
@permission_urn.setter
|
280
|
+
def permission_urn(self, permission_urn):
|
281
|
+
"""Sets the permission_urn of this Permission.
|
282
|
+
|
283
|
+
权限URN。
|
284
|
+
|
285
|
+
:param permission_urn: The permission_urn of this Permission.
|
286
|
+
:type permission_urn: str
|
287
|
+
"""
|
288
|
+
self._permission_urn = permission_urn
|
289
|
+
|
290
|
+
@property
|
291
|
+
def permission_type(self):
|
292
|
+
"""Gets the permission_type of this Permission.
|
293
|
+
|
294
|
+
权限类型。
|
295
|
+
|
296
|
+
:return: The permission_type of this Permission.
|
297
|
+
:rtype: str
|
298
|
+
"""
|
299
|
+
return self._permission_type
|
300
|
+
|
301
|
+
@permission_type.setter
|
302
|
+
def permission_type(self, permission_type):
|
303
|
+
"""Sets the permission_type of this Permission.
|
304
|
+
|
305
|
+
权限类型。
|
306
|
+
|
307
|
+
:param permission_type: The permission_type of this Permission.
|
308
|
+
:type permission_type: str
|
309
|
+
"""
|
310
|
+
self._permission_type = permission_type
|
311
|
+
|
312
|
+
@property
|
313
|
+
def default_version(self):
|
314
|
+
"""Gets the default_version of this Permission.
|
315
|
+
|
316
|
+
此权限是否为默认版本。
|
317
|
+
|
318
|
+
:return: The default_version of this Permission.
|
319
|
+
:rtype: bool
|
320
|
+
"""
|
321
|
+
return self._default_version
|
322
|
+
|
323
|
+
@default_version.setter
|
324
|
+
def default_version(self, default_version):
|
325
|
+
"""Sets the default_version of this Permission.
|
326
|
+
|
327
|
+
此权限是否为默认版本。
|
328
|
+
|
329
|
+
:param default_version: The default_version of this Permission.
|
330
|
+
:type default_version: bool
|
331
|
+
"""
|
332
|
+
self._default_version = default_version
|
333
|
+
|
334
|
+
@property
|
335
|
+
def version(self):
|
336
|
+
"""Gets the version of this Permission.
|
337
|
+
|
338
|
+
权限版本。
|
339
|
+
|
340
|
+
:return: The version of this Permission.
|
341
|
+
:rtype: int
|
342
|
+
"""
|
343
|
+
return self._version
|
344
|
+
|
345
|
+
@version.setter
|
346
|
+
def version(self, version):
|
347
|
+
"""Sets the version of this Permission.
|
348
|
+
|
349
|
+
权限版本。
|
350
|
+
|
351
|
+
:param version: The version of this Permission.
|
352
|
+
:type version: int
|
353
|
+
"""
|
354
|
+
self._version = version
|
355
|
+
|
356
|
+
@property
|
357
|
+
def status(self):
|
358
|
+
"""Gets the status of this Permission.
|
359
|
+
|
360
|
+
权限的状态
|
361
|
+
|
362
|
+
:return: The status of this Permission.
|
363
|
+
:rtype: str
|
364
|
+
"""
|
365
|
+
return self._status
|
366
|
+
|
367
|
+
@status.setter
|
368
|
+
def status(self, status):
|
369
|
+
"""Sets the status of this Permission.
|
370
|
+
|
371
|
+
权限的状态
|
372
|
+
|
373
|
+
:param status: The status of this Permission.
|
374
|
+
:type status: str
|
375
|
+
"""
|
376
|
+
self._status = status
|
377
|
+
|
233
378
|
def to_dict(self):
|
234
379
|
"""Returns the model properties as a dict"""
|
235
380
|
result = {}
|