3.3 KiB
ProjectProjectsDeployStart
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Commit | Pointer to string | Commit is the git sha this build was produced from, recorded on the deployment so a released site can be traced back to its source. Optional. It is the ONLY field here, and deliberately: the predecessor also accepted `source` and `branch`. `source` was the Content-Type discriminator this split removed. `branch` was accepted and DISCARDED — there is no branch column on a deployment, and the lifecycle event derives the branch from the project's own linked one — so declaring it would publish a settable field that does nothing into the document, every generated SDK and the MCP input schema. A field that is read by nothing is not described as if it were. `url:"-"` because zip binds the query string OVER a decoded body, so without it a `?commit=` the caller never sent would outrank the one it did. | [optional] |
| Slug | Pointer to string | Slug is the site to deploy, from the path. | [optional] |
Methods
NewProjectProjectsDeployStart
func NewProjectProjectsDeployStart() *ProjectProjectsDeployStart
NewProjectProjectsDeployStart instantiates a new ProjectProjectsDeployStart 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
NewProjectProjectsDeployStartWithDefaults
func NewProjectProjectsDeployStartWithDefaults() *ProjectProjectsDeployStart
NewProjectProjectsDeployStartWithDefaults instantiates a new ProjectProjectsDeployStart 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
GetCommit
func (o *ProjectProjectsDeployStart) GetCommit() string
GetCommit returns the Commit field if non-nil, zero value otherwise.
GetCommitOk
func (o *ProjectProjectsDeployStart) GetCommitOk() (*string, bool)
GetCommitOk returns a tuple with the Commit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCommit
func (o *ProjectProjectsDeployStart) SetCommit(v string)
SetCommit sets Commit field to given value.
HasCommit
func (o *ProjectProjectsDeployStart) HasCommit() bool
HasCommit returns a boolean if a field has been set.
GetSlug
func (o *ProjectProjectsDeployStart) GetSlug() string
GetSlug returns the Slug field if non-nil, zero value otherwise.
GetSlugOk
func (o *ProjectProjectsDeployStart) GetSlugOk() (*string, bool)
GetSlugOk returns a tuple with the Slug field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSlug
func (o *ProjectProjectsDeployStart) SetSlug(v string)
SetSlug sets Slug field to given value.
HasSlug
func (o *ProjectProjectsDeployStart) HasSlug() bool
HasSlug returns a boolean if a field has been set.