2.9 KiB
GitUsageRepo
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | Pointer to string | Name is the repo's org-unique handle. | [optional] |
| Project | Pointer to string | Project is the sub-scope the repo lives in; absent for the default scope. | [optional] |
| SizeBytes | Pointer to int64 | SizeBytes is the repo's on-disk size at its last measurement. | [optional] |
Methods
NewGitUsageRepo
func NewGitUsageRepo() *GitUsageRepo
NewGitUsageRepo instantiates a new GitUsageRepo object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewGitUsageRepoWithDefaults
func NewGitUsageRepoWithDefaults() *GitUsageRepo
NewGitUsageRepoWithDefaults instantiates a new GitUsageRepo object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetName
func (o *GitUsageRepo) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *GitUsageRepo) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *GitUsageRepo) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *GitUsageRepo) HasName() bool
HasName returns a boolean if a field has been set.
GetProject
func (o *GitUsageRepo) GetProject() string
GetProject returns the Project field if non-nil, zero value otherwise.
GetProjectOk
func (o *GitUsageRepo) GetProjectOk() (*string, bool)
GetProjectOk returns a tuple with the Project field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProject
func (o *GitUsageRepo) SetProject(v string)
SetProject sets Project field to given value.
HasProject
func (o *GitUsageRepo) HasProject() bool
HasProject returns a boolean if a field has been set.
GetSizeBytes
func (o *GitUsageRepo) GetSizeBytes() int64
GetSizeBytes returns the SizeBytes field if non-nil, zero value otherwise.
GetSizeBytesOk
func (o *GitUsageRepo) GetSizeBytesOk() (*int64, bool)
GetSizeBytesOk returns a tuple with the SizeBytes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSizeBytes
func (o *GitUsageRepo) SetSizeBytes(v int64)
SetSizeBytes sets SizeBytes field to given value.
HasSizeBytes
func (o *GitUsageRepo) HasSizeBytes() bool
HasSizeBytes returns a boolean if a field has been set.