@@ -40,7 +40,8 @@ class Branch(object):
4040 'merged_at' : 'datetime' ,
4141 'merged_by' : 'UserPreview' ,
4242 'created_by' : 'UserPreview' ,
43- 'state' : 'str'
43+ 'state' : 'str' ,
44+ 'child_branches' : 'List[str]'
4445 }
4546
4647 attribute_map = {
@@ -52,10 +53,11 @@ class Branch(object):
5253 'merged_at' : 'merged_at' ,
5354 'merged_by' : 'merged_by' ,
5455 'created_by' : 'created_by' ,
55- 'state' : 'state'
56+ 'state' : 'state' ,
57+ 'child_branches' : 'child_branches'
5658 }
5759
58- def __init__ (self , base_project_id = None , branch_project_id = None , name = None , created_at = None , updated_at = None , merged_at = None , merged_by = None , created_by = None , state = None , local_vars_configuration = None ): # noqa: E501
60+ def __init__ (self , base_project_id = None , branch_project_id = None , name = None , created_at = None , updated_at = None , merged_at = None , merged_by = None , created_by = None , state = None , child_branches = None , local_vars_configuration = None ): # noqa: E501
5961 """Branch - a model defined in OpenAPI""" # noqa: E501
6062 if local_vars_configuration is None :
6163 local_vars_configuration = Configuration ()
@@ -70,6 +72,7 @@ def __init__(self, base_project_id=None, branch_project_id=None, name=None, crea
7072 self ._merged_by = None
7173 self ._created_by = None
7274 self ._state = None
75+ self ._child_branches = None
7376 self .discriminator = None
7477
7578 if base_project_id is not None :
@@ -90,6 +93,8 @@ def __init__(self, base_project_id=None, branch_project_id=None, name=None, crea
9093 self .created_by = created_by
9194 if state is not None :
9295 self .state = state
96+ if child_branches is not None :
97+ self .child_branches = child_branches
9398
9499 @property
95100 def base_project_id (self ):
@@ -280,6 +285,27 @@ def state(self, state):
280285
281286 self ._state = state
282287
288+ @property
289+ def child_branches (self ):
290+ """Gets the child_branches of this Branch. # noqa: E501
291+
292+
293+ :return: The child_branches of this Branch. # noqa: E501
294+ :rtype: List[str]
295+ """
296+ return self ._child_branches
297+
298+ @child_branches .setter
299+ def child_branches (self , child_branches ):
300+ """Sets the child_branches of this Branch.
301+
302+
303+ :param child_branches: The child_branches of this Branch. # noqa: E501
304+ :type: List[str]
305+ """
306+
307+ self ._child_branches = child_branches
308+
283309 def to_dict (self ):
284310 """Returns the model properties as a dict"""
285311 result = {}
0 commit comments