2.9 KiB
GitUsageView
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Org | Pointer to string | Org the rollup is for. | [optional] |
| Repos | Pointer to []GitUsageRepo | Repos is every repo the org owns, across every project sub-scope. | [optional] |
| TotalBytes | Pointer to int64 | TotalBytes is the sum over Repos — the org's whole git footprint. | [optional] |
Methods
NewGitUsageView
func NewGitUsageView() *GitUsageView
NewGitUsageView instantiates a new GitUsageView 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
NewGitUsageViewWithDefaults
func NewGitUsageViewWithDefaults() *GitUsageView
NewGitUsageViewWithDefaults instantiates a new GitUsageView 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
GetOrg
func (o *GitUsageView) GetOrg() string
GetOrg returns the Org field if non-nil, zero value otherwise.
GetOrgOk
func (o *GitUsageView) GetOrgOk() (*string, bool)
GetOrgOk returns a tuple with the Org field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOrg
func (o *GitUsageView) SetOrg(v string)
SetOrg sets Org field to given value.
HasOrg
func (o *GitUsageView) HasOrg() bool
HasOrg returns a boolean if a field has been set.
GetRepos
func (o *GitUsageView) GetRepos() []GitUsageRepo
GetRepos returns the Repos field if non-nil, zero value otherwise.
GetReposOk
func (o *GitUsageView) GetReposOk() (*[]GitUsageRepo, bool)
GetReposOk returns a tuple with the Repos field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRepos
func (o *GitUsageView) SetRepos(v []GitUsageRepo)
SetRepos sets Repos field to given value.
HasRepos
func (o *GitUsageView) HasRepos() bool
HasRepos returns a boolean if a field has been set.
GetTotalBytes
func (o *GitUsageView) GetTotalBytes() int64
GetTotalBytes returns the TotalBytes field if non-nil, zero value otherwise.
GetTotalBytesOk
func (o *GitUsageView) GetTotalBytesOk() (*int64, bool)
GetTotalBytesOk returns a tuple with the TotalBytes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTotalBytes
func (o *GitUsageView) SetTotalBytes(v int64)
SetTotalBytes sets TotalBytes field to given value.
HasTotalBytes
func (o *GitUsageView) HasTotalBytes() bool
HasTotalBytes returns a boolean if a field has been set.