@@ -16,6 +16,8 @@ class GitRepositoryRef(Model):
1616 :type collection: :class:`TeamProjectCollectionReference <git.models.TeamProjectCollectionReference>`
1717 :param id:
1818 :type id: str
19+ :param is_fork: True if the repository was created as a fork
20+ :type is_fork: bool
1921 :param name:
2022 :type name: str
2123 :param project:
@@ -31,17 +33,19 @@ class GitRepositoryRef(Model):
3133 _attribute_map = {
3234 'collection' : {'key' : 'collection' , 'type' : 'TeamProjectCollectionReference' },
3335 'id' : {'key' : 'id' , 'type' : 'str' },
36+ 'is_fork' : {'key' : 'isFork' , 'type' : 'bool' },
3437 'name' : {'key' : 'name' , 'type' : 'str' },
3538 'project' : {'key' : 'project' , 'type' : 'TeamProjectReference' },
3639 'remote_url' : {'key' : 'remoteUrl' , 'type' : 'str' },
3740 'ssh_url' : {'key' : 'sshUrl' , 'type' : 'str' },
3841 'url' : {'key' : 'url' , 'type' : 'str' }
3942 }
4043
41- def __init__ (self , collection = None , id = None , name = None , project = None , remote_url = None , ssh_url = None , url = None ):
44+ def __init__ (self , collection = None , id = None , is_fork = None , name = None , project = None , remote_url = None , ssh_url = None , url = None ):
4245 super (GitRepositoryRef , self ).__init__ ()
4346 self .collection = collection
4447 self .id = id
48+ self .is_fork = is_fork
4549 self .name = name
4650 self .project = project
4751 self .remote_url = remote_url
0 commit comments