7.4 KiB
ProviderGithubSearchHit
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| CloneUrl | Pointer to string | CloneURL is the repository's https git remote. | [optional] |
| DefaultBranch | Pointer to string | DefaultBranch is the branch a clone checks out. | [optional] |
| Description | Pointer to string | Description is the blurb the repository's owner wrote. Empty when it has none. | [optional] |
| FullName | Pointer to string | FullName is the repository's "owner/repo" on GitHub. Finding it here does NOT make it forkable: githubFork takes a repo the org's installation was granted, and a hit from the public index usually is not one. | [optional] |
| HtmlUrl | Pointer to string | HTMLURL is the repository's page on github.com. | [optional] |
| Language | Pointer to string | Language is the primary language GitHub detected from the file mix ("Go", "TypeScript"). Empty when GitHub attributes none. | [optional] |
| Private | Pointer to bool | Private is GitHub's visibility flag, passed through. This op reads the public index — the org's token only charges the rate limit to the installation — so it is false for everything a search can reach. | [optional] |
| Stars | Pointer to int64 | Stars is GitHub's stargazers_count as the SEARCH INDEX held it when the query ran — a snapshot, not a live count off the repository. | [optional] |
Methods
NewProviderGithubSearchHit
func NewProviderGithubSearchHit() *ProviderGithubSearchHit
NewProviderGithubSearchHit instantiates a new ProviderGithubSearchHit 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
NewProviderGithubSearchHitWithDefaults
func NewProviderGithubSearchHitWithDefaults() *ProviderGithubSearchHit
NewProviderGithubSearchHitWithDefaults instantiates a new ProviderGithubSearchHit 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
GetCloneUrl
func (o *ProviderGithubSearchHit) GetCloneUrl() string
GetCloneUrl returns the CloneUrl field if non-nil, zero value otherwise.
GetCloneUrlOk
func (o *ProviderGithubSearchHit) GetCloneUrlOk() (*string, bool)
GetCloneUrlOk returns a tuple with the CloneUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCloneUrl
func (o *ProviderGithubSearchHit) SetCloneUrl(v string)
SetCloneUrl sets CloneUrl field to given value.
HasCloneUrl
func (o *ProviderGithubSearchHit) HasCloneUrl() bool
HasCloneUrl returns a boolean if a field has been set.
GetDefaultBranch
func (o *ProviderGithubSearchHit) GetDefaultBranch() string
GetDefaultBranch returns the DefaultBranch field if non-nil, zero value otherwise.
GetDefaultBranchOk
func (o *ProviderGithubSearchHit) GetDefaultBranchOk() (*string, bool)
GetDefaultBranchOk returns a tuple with the DefaultBranch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDefaultBranch
func (o *ProviderGithubSearchHit) SetDefaultBranch(v string)
SetDefaultBranch sets DefaultBranch field to given value.
HasDefaultBranch
func (o *ProviderGithubSearchHit) HasDefaultBranch() bool
HasDefaultBranch returns a boolean if a field has been set.
GetDescription
func (o *ProviderGithubSearchHit) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
GetDescriptionOk
func (o *ProviderGithubSearchHit) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDescription
func (o *ProviderGithubSearchHit) SetDescription(v string)
SetDescription sets Description field to given value.
HasDescription
func (o *ProviderGithubSearchHit) HasDescription() bool
HasDescription returns a boolean if a field has been set.
GetFullName
func (o *ProviderGithubSearchHit) GetFullName() string
GetFullName returns the FullName field if non-nil, zero value otherwise.
GetFullNameOk
func (o *ProviderGithubSearchHit) GetFullNameOk() (*string, bool)
GetFullNameOk returns a tuple with the FullName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFullName
func (o *ProviderGithubSearchHit) SetFullName(v string)
SetFullName sets FullName field to given value.
HasFullName
func (o *ProviderGithubSearchHit) HasFullName() bool
HasFullName returns a boolean if a field has been set.
GetHtmlUrl
func (o *ProviderGithubSearchHit) GetHtmlUrl() string
GetHtmlUrl returns the HtmlUrl field if non-nil, zero value otherwise.
GetHtmlUrlOk
func (o *ProviderGithubSearchHit) GetHtmlUrlOk() (*string, bool)
GetHtmlUrlOk returns a tuple with the HtmlUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetHtmlUrl
func (o *ProviderGithubSearchHit) SetHtmlUrl(v string)
SetHtmlUrl sets HtmlUrl field to given value.
HasHtmlUrl
func (o *ProviderGithubSearchHit) HasHtmlUrl() bool
HasHtmlUrl returns a boolean if a field has been set.
GetLanguage
func (o *ProviderGithubSearchHit) GetLanguage() string
GetLanguage returns the Language field if non-nil, zero value otherwise.
GetLanguageOk
func (o *ProviderGithubSearchHit) GetLanguageOk() (*string, bool)
GetLanguageOk returns a tuple with the Language field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLanguage
func (o *ProviderGithubSearchHit) SetLanguage(v string)
SetLanguage sets Language field to given value.
HasLanguage
func (o *ProviderGithubSearchHit) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
GetPrivate
func (o *ProviderGithubSearchHit) GetPrivate() bool
GetPrivate returns the Private field if non-nil, zero value otherwise.
GetPrivateOk
func (o *ProviderGithubSearchHit) GetPrivateOk() (*bool, bool)
GetPrivateOk returns a tuple with the Private field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPrivate
func (o *ProviderGithubSearchHit) SetPrivate(v bool)
SetPrivate sets Private field to given value.
HasPrivate
func (o *ProviderGithubSearchHit) HasPrivate() bool
HasPrivate returns a boolean if a field has been set.
GetStars
func (o *ProviderGithubSearchHit) GetStars() int64
GetStars returns the Stars field if non-nil, zero value otherwise.
GetStarsOk
func (o *ProviderGithubSearchHit) GetStarsOk() (*int64, bool)
GetStarsOk returns a tuple with the Stars field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStars
func (o *ProviderGithubSearchHit) SetStars(v int64)
SetStars sets Stars field to given value.
HasStars
func (o *ProviderGithubSearchHit) HasStars() bool
HasStars returns a boolean if a field has been set.