@@ -41,7 +41,6 @@ class GroupPermission(object):
4141 'role_id' : 'RoleId' ,
4242 'tenant_id' : 'TenantId' ,
4343 'user_group_id' : 'EntityGroupId' ,
44- 'is_public' : 'bool'
4544 }
4645
4746 attribute_map = {
@@ -53,11 +52,10 @@ class GroupPermission(object):
5352 'public' : 'public' ,
5453 'role_id' : 'roleId' ,
5554 'tenant_id' : 'tenantId' ,
56- 'user_group_id' : 'userGroupId' ,
57- 'is_public' : 'isPublic'
55+ 'user_group_id' : 'userGroupId'
5856 }
5957
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
6159 """GroupPermission - a model defined in Swagger""" # noqa: E501
6260
6361 self ._created_time = None
@@ -69,7 +67,6 @@ def __init__(self, created_time=None, entity_group_id=None, entity_group_type=No
6967 self ._role_id = None
7068 self ._tenant_id = None
7169 self ._user_group_id = None
72- self ._is_public = None
7370 self .discriminator = None
7471
7572 if created_time is not None :
@@ -90,7 +87,6 @@ def __init__(self, created_time=None, entity_group_id=None, entity_group_type=No
9087 self .tenant_id = tenant_id
9188 if user_group_id is not None :
9289 self .user_group_id = user_group_id
93- self .is_public = is_public
9490
9591 @property
9692 def created_time (self ):
@@ -287,29 +283,6 @@ def user_group_id(self, user_group_id):
287283
288284 self ._user_group_id = user_group_id
289285
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-
313286 def to_dict (self ):
314287 """Returns the model properties as a dict"""
315288 result = {}
0 commit comments