4.8 KiB
CloudflarePagesProjectCreate
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| BuildConfig | Pointer to CloudflarePagesBuildConfig | BuildConfig says how to build the site. Omitted means no build step. | [optional] |
| DeploymentConfigs | Pointer to CloudflarePagesDeploymentConfigs | DeploymentConfigs carries the preview and production runtime configs — the bindings and variables the built site's functions run with. | [optional] |
| Name | Pointer to string | Name is the project name, and it is also the address: the site answers at <name>.pages.dev. Cloudflare will not rename a project afterwards. | [optional] |
| ProductionBranch | Pointer to string | ProductionBranch is which git branch builds to production; every other branch builds a preview. Omitted leaves Cloudflare's own default. | [optional] |
Methods
NewCloudflarePagesProjectCreate
func NewCloudflarePagesProjectCreate() *CloudflarePagesProjectCreate
NewCloudflarePagesProjectCreate instantiates a new CloudflarePagesProjectCreate 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
NewCloudflarePagesProjectCreateWithDefaults
func NewCloudflarePagesProjectCreateWithDefaults() *CloudflarePagesProjectCreate
NewCloudflarePagesProjectCreateWithDefaults instantiates a new CloudflarePagesProjectCreate 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
GetBuildConfig
func (o *CloudflarePagesProjectCreate) GetBuildConfig() CloudflarePagesBuildConfig
GetBuildConfig returns the BuildConfig field if non-nil, zero value otherwise.
GetBuildConfigOk
func (o *CloudflarePagesProjectCreate) GetBuildConfigOk() (*CloudflarePagesBuildConfig, bool)
GetBuildConfigOk returns a tuple with the BuildConfig field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBuildConfig
func (o *CloudflarePagesProjectCreate) SetBuildConfig(v CloudflarePagesBuildConfig)
SetBuildConfig sets BuildConfig field to given value.
HasBuildConfig
func (o *CloudflarePagesProjectCreate) HasBuildConfig() bool
HasBuildConfig returns a boolean if a field has been set.
GetDeploymentConfigs
func (o *CloudflarePagesProjectCreate) GetDeploymentConfigs() CloudflarePagesDeploymentConfigs
GetDeploymentConfigs returns the DeploymentConfigs field if non-nil, zero value otherwise.
GetDeploymentConfigsOk
func (o *CloudflarePagesProjectCreate) GetDeploymentConfigsOk() (*CloudflarePagesDeploymentConfigs, bool)
GetDeploymentConfigsOk returns a tuple with the DeploymentConfigs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDeploymentConfigs
func (o *CloudflarePagesProjectCreate) SetDeploymentConfigs(v CloudflarePagesDeploymentConfigs)
SetDeploymentConfigs sets DeploymentConfigs field to given value.
HasDeploymentConfigs
func (o *CloudflarePagesProjectCreate) HasDeploymentConfigs() bool
HasDeploymentConfigs returns a boolean if a field has been set.
GetName
func (o *CloudflarePagesProjectCreate) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *CloudflarePagesProjectCreate) 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 *CloudflarePagesProjectCreate) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *CloudflarePagesProjectCreate) HasName() bool
HasName returns a boolean if a field has been set.
GetProductionBranch
func (o *CloudflarePagesProjectCreate) GetProductionBranch() string
GetProductionBranch returns the ProductionBranch field if non-nil, zero value otherwise.
GetProductionBranchOk
func (o *CloudflarePagesProjectCreate) GetProductionBranchOk() (*string, bool)
GetProductionBranchOk returns a tuple with the ProductionBranch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProductionBranch
func (o *CloudflarePagesProjectCreate) SetProductionBranch(v string)
SetProductionBranch sets ProductionBranch field to given value.
HasProductionBranch
func (o *CloudflarePagesProjectCreate) HasProductionBranch() bool
HasProductionBranch returns a boolean if a field has been set.