2.3 KiB
CodeRepoTree
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Files | Pointer to []CodeTreeEntry | Files are the repo's indexed files in path order, each with its language and how many symbols it defines. Never null. | [optional] |
| Repo | Pointer to string | Repo echoes the repository that was walked. | [optional] |
Methods
NewCodeRepoTree
func NewCodeRepoTree() *CodeRepoTree
NewCodeRepoTree instantiates a new CodeRepoTree 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
NewCodeRepoTreeWithDefaults
func NewCodeRepoTreeWithDefaults() *CodeRepoTree
NewCodeRepoTreeWithDefaults instantiates a new CodeRepoTree 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
GetFiles
func (o *CodeRepoTree) GetFiles() []CodeTreeEntry
GetFiles returns the Files field if non-nil, zero value otherwise.
GetFilesOk
func (o *CodeRepoTree) GetFilesOk() (*[]CodeTreeEntry, bool)
GetFilesOk returns a tuple with the Files field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFiles
func (o *CodeRepoTree) SetFiles(v []CodeTreeEntry)
SetFiles sets Files field to given value.
HasFiles
func (o *CodeRepoTree) HasFiles() bool
HasFiles returns a boolean if a field has been set.
GetRepo
func (o *CodeRepoTree) GetRepo() string
GetRepo returns the Repo field if non-nil, zero value otherwise.
GetRepoOk
func (o *CodeRepoTree) GetRepoOk() (*string, bool)
GetRepoOk returns a tuple with the Repo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRepo
func (o *CodeRepoTree) SetRepo(v string)
SetRepo sets Repo field to given value.
HasRepo
func (o *CodeRepoTree) HasRepo() bool
HasRepo returns a boolean if a field has been set.