You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Links** | [***RepositoryLinks**](repository_links.md) | | [optional][default to null]
8
-
**Uuid** | **string** | The repository's immutable id. This can be used as a substitute for the slug segment in URLs. Doing this guarantees your URLs will survive renaming of the repository by its owner, or even transfer of the repository to a different user. | [optional][default to null]
7
+
**CreatedOn** | [**time.Time**](time.Time.md) | | [optional][default to null]
8
+
**Description** | **string** | | [optional][default to null]
9
+
**ForkPolicy** | **string** | Controls the rules for forking this repository. * **allow_forks**: unrestricted forking * **no_public_forks**: restrict forking to private forks (forks cannot be made public later) * **no_forks**: deny all forking | [optional][default to null]
9
10
**FullName** | **string** | The concatenation of the repository owner's username and the slugified name, e.g. \"evzijst/interruptingcow\". This is the same string used in Bitbucket URLs. | [optional][default to null]
11
+
**HasIssues** | **bool** | | [optional][default to null]
12
+
**HasWiki** | **bool** | | [optional][default to null]
10
13
**IsPrivate** | **bool** | | [optional][default to null]
14
+
**Language** | **string** | | [optional][default to null]
15
+
**Links** | [***RepositoryLinks**](repository_links.md) | | [optional][default to null]
16
+
**Mainbranch** | [***Branch**](branch.md) | | [optional][default to null]
17
+
**Name** | **string** | | [optional][default to null]
18
+
**Owner** | [***Account**](account.md) | | [optional][default to null]
11
19
**Parent** | [***Repository**](repository.md) | | [optional][default to null]
20
+
**Project** | [***Project**](project.md) | | [optional][default to null]
12
21
**Scm** | **string** | | [optional][default to null]
13
-
**Owner** | [***Account**](account.md) | | [optional][default to null]
14
-
**Name** | **string** | | [optional][default to null]
15
-
**Description** | **string** | | [optional][default to null]
16
-
**CreatedOn** | [**time.Time**](time.Time.md) | | [optional][default to null]
17
-
**UpdatedOn** | [**time.Time**](time.Time.md) | | [optional][default to null]
18
22
**Size** | **int32** | | [optional][default to null]
19
-
**Language** | **string** | | [optional][default to null]
20
-
**HasIssues** | **bool** | | [optional][default to null]
21
-
**HasWiki** | **bool** | | [optional][default to null]
22
-
**ForkPolicy** | **string** | Controls the rules for forking this repository. * **allow_forks**: unrestricted forking * **no_public_forks**: restrict forking to private forks (forks cannot be made public later) * **no_forks**: deny all forking | [optional][default to null]
23
-
**Project** | [***Project**](project.md) | | [optional][default to null]
24
-
**Mainbranch** | [***Branch**](branch.md) | | [optional][default to null]
23
+
**Slug** | **string** | Slugified name, the same string that is used in Bitbucket URLs. | [optional][default to null]
24
+
**UpdatedOn** | [**time.Time**](time.Time.md) | | [optional][default to null]
25
+
**Uuid** | **string** | The repository's immutable id. This can be used as a substitute for the slug segment in URLs. Doing this guarantees your URLs will survive renaming of the repository by its owner, or even transfer of the repository to a different user. | [optional][default to null]
25
26
26
27
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: model_repository.go
+22-21
Original file line number
Diff line number
Diff line change
@@ -14,27 +14,28 @@ import (
14
14
)
15
15
16
16
typeRepositorystruct {
17
-
Type_string`json:"type"`
18
-
Links*RepositoryLinks`json:"links,omitempty"`
17
+
Type_string`json:"type"`
18
+
CreatedOn time.Time`json:"created_on,omitempty"`
19
+
Descriptionstring`json:"description,omitempty"`
20
+
// Controls the rules for forking this repository. * **allow_forks**: unrestricted forking * **no_public_forks**: restrict forking to private forks (forks cannot be made public later) * **no_forks**: deny all forking
21
+
ForkPolicystring`json:"fork_policy,omitempty"`
22
+
// The concatenation of the repository owner's username and the slugified name, e.g. \"evzijst/interruptingcow\". This is the same string used in Bitbucket URLs.
23
+
FullNamestring`json:"full_name,omitempty"`
24
+
HasIssuesbool`json:"has_issues,omitempty"`
25
+
HasWikibool`json:"has_wiki,omitempty"`
26
+
IsPrivatebool`json:"is_private,omitempty"`
27
+
Languagestring`json:"language,omitempty"`
28
+
Links*RepositoryLinks`json:"links,omitempty"`
29
+
Mainbranch*Branch`json:"mainbranch,omitempty"`
30
+
Namestring`json:"name,omitempty"`
31
+
Owner*Account`json:"owner,omitempty"`
32
+
Parent*Repository`json:"parent,omitempty"`
33
+
Project*Project`json:"project,omitempty"`
34
+
Scmstring`json:"scm,omitempty"`
35
+
Sizeint32`json:"size,omitempty"`
36
+
// Slugified name, the same string that is used in Bitbucket URLs.
37
+
Slugstring`json:"slug,omitempty"`
38
+
UpdatedOn time.Time`json:"updated_on,omitempty"`
19
39
// The repository's immutable id. This can be used as a substitute for the slug segment in URLs. Doing this guarantees your URLs will survive renaming of the repository by its owner, or even transfer of the repository to a different user.
20
40
Uuidstring`json:"uuid,omitempty"`
21
-
// The concatenation of the repository owner's username and the slugified name, e.g. \"evzijst/interruptingcow\". This is the same string used in Bitbucket URLs.
22
-
FullNamestring`json:"full_name,omitempty"`
23
-
IsPrivatebool`json:"is_private,omitempty"`
24
-
Parent*Repository`json:"parent,omitempty"`
25
-
Scmstring`json:"scm,omitempty"`
26
-
Owner*Account`json:"owner,omitempty"`
27
-
Namestring`json:"name,omitempty"`
28
-
Slugstring`json:"slug,omitempty"`
29
-
Descriptionstring`json:"description,omitempty"`
30
-
CreatedOn time.Time`json:"created_on,omitempty"`
31
-
UpdatedOn time.Time`json:"updated_on,omitempty"`
32
-
Sizeint32`json:"size,omitempty"`
33
-
Languagestring`json:"language,omitempty"`
34
-
HasIssuesbool`json:"has_issues,omitempty"`
35
-
HasWikibool`json:"has_wiki,omitempty"`
36
-
// Controls the rules for forking this repository. * **allow_forks**: unrestricted forking * **no_public_forks**: restrict forking to private forks (forks cannot be made public later) * **no_forks**: deny all forking
0 commit comments