@@ -41,7 +41,6 @@ class GroupPermission(object):
41
41
'role_id' : 'RoleId' ,
42
42
'tenant_id' : 'TenantId' ,
43
43
'user_group_id' : 'EntityGroupId' ,
44
- 'is_public' : 'bool'
45
44
}
46
45
47
46
attribute_map = {
@@ -53,11 +52,10 @@ class GroupPermission(object):
53
52
'public' : 'public' ,
54
53
'role_id' : 'roleId' ,
55
54
'tenant_id' : 'tenantId' ,
56
- 'user_group_id' : 'userGroupId' ,
57
- 'is_public' : 'isPublic'
55
+ 'user_group_id' : 'userGroupId'
58
56
}
59
57
60
- def __init__ (self , created_time = None , entity_group_id = None , entity_group_type = None , id = None , name = None , public = None , role_id = None , tenant_id = None , user_group_id = None , is_public = False ): # noqa: E501
58
+ def __init__ (self , created_time = None , entity_group_id = None , entity_group_type = None , id = None , name = None , public = None , role_id = None , tenant_id = None , user_group_id = None ): # noqa: E501
61
59
"""GroupPermission - a model defined in Swagger""" # noqa: E501
62
60
63
61
self ._created_time = None
@@ -69,7 +67,6 @@ def __init__(self, created_time=None, entity_group_id=None, entity_group_type=No
69
67
self ._role_id = None
70
68
self ._tenant_id = None
71
69
self ._user_group_id = None
72
- self ._is_public = None
73
70
self .discriminator = None
74
71
75
72
if created_time is not None :
@@ -90,7 +87,6 @@ def __init__(self, created_time=None, entity_group_id=None, entity_group_type=No
90
87
self .tenant_id = tenant_id
91
88
if user_group_id is not None :
92
89
self .user_group_id = user_group_id
93
- self .is_public = is_public
94
90
95
91
@property
96
92
def created_time (self ):
@@ -287,29 +283,6 @@ def user_group_id(self, user_group_id):
287
283
288
284
self ._user_group_id = user_group_id
289
285
290
- @property
291
- def is_public (self ):
292
- """Gets the is_public of this GroupPermission. # noqa: E501
293
-
294
-
295
- :return: The is_public of this GroupPermission. # noqa: E501
296
- :rtype: bool
297
- """
298
- return self ._is_public
299
-
300
- @is_public .setter
301
- def is_public (self , is_public ):
302
- """Sets the is_public of this GroupPermission.
303
-
304
-
305
- :param is_public: The is_public of this GroupPermission. # noqa: E501
306
- :type: bool
307
- """
308
- if is_public is None :
309
- raise ValueError ("Invalid value for `is_public`, must not be `None`" ) # noqa: E501
310
-
311
- self ._is_public = is_public
312
-
313
286
def to_dict (self ):
314
287
"""Returns the model properties as a dict"""
315
288
result = {}
0 commit comments