4.2 KiB
ProviderGithubPagesEnableReq
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Branch | Pointer to string | Branch is the legacy source branch; empty defaults to the repo's own default branch. Ignored when buildType is "workflow". | [optional] |
| BuildType | Pointer to string | BuildType selects the builder: "workflow" builds via GitHub Actions, anything else builds from the branch source above. | [optional] |
| Path | Pointer to string | Path is the source directory within the branch: "/" (the default) or "/docs". GitHub allows no others. | [optional] |
| Repo | Pointer to string | Repo is the repository, from the :repo path segment. | [optional] |
Methods
NewProviderGithubPagesEnableReq
func NewProviderGithubPagesEnableReq() *ProviderGithubPagesEnableReq
NewProviderGithubPagesEnableReq instantiates a new ProviderGithubPagesEnableReq 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
NewProviderGithubPagesEnableReqWithDefaults
func NewProviderGithubPagesEnableReqWithDefaults() *ProviderGithubPagesEnableReq
NewProviderGithubPagesEnableReqWithDefaults instantiates a new ProviderGithubPagesEnableReq 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
GetBranch
func (o *ProviderGithubPagesEnableReq) GetBranch() string
GetBranch returns the Branch field if non-nil, zero value otherwise.
GetBranchOk
func (o *ProviderGithubPagesEnableReq) GetBranchOk() (*string, bool)
GetBranchOk returns a tuple with the Branch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBranch
func (o *ProviderGithubPagesEnableReq) SetBranch(v string)
SetBranch sets Branch field to given value.
HasBranch
func (o *ProviderGithubPagesEnableReq) HasBranch() bool
HasBranch returns a boolean if a field has been set.
GetBuildType
func (o *ProviderGithubPagesEnableReq) GetBuildType() string
GetBuildType returns the BuildType field if non-nil, zero value otherwise.
GetBuildTypeOk
func (o *ProviderGithubPagesEnableReq) GetBuildTypeOk() (*string, bool)
GetBuildTypeOk returns a tuple with the BuildType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBuildType
func (o *ProviderGithubPagesEnableReq) SetBuildType(v string)
SetBuildType sets BuildType field to given value.
HasBuildType
func (o *ProviderGithubPagesEnableReq) HasBuildType() bool
HasBuildType returns a boolean if a field has been set.
GetPath
func (o *ProviderGithubPagesEnableReq) GetPath() string
GetPath returns the Path field if non-nil, zero value otherwise.
GetPathOk
func (o *ProviderGithubPagesEnableReq) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPath
func (o *ProviderGithubPagesEnableReq) SetPath(v string)
SetPath sets Path field to given value.
HasPath
func (o *ProviderGithubPagesEnableReq) HasPath() bool
HasPath returns a boolean if a field has been set.
GetRepo
func (o *ProviderGithubPagesEnableReq) GetRepo() string
GetRepo returns the Repo field if non-nil, zero value otherwise.
GetRepoOk
func (o *ProviderGithubPagesEnableReq) 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 *ProviderGithubPagesEnableReq) SetRepo(v string)
SetRepo sets Repo field to given value.
HasRepo
func (o *ProviderGithubPagesEnableReq) HasRepo() bool
HasRepo returns a boolean if a field has been set.