Name | Type | Description | Notes |
---|---|---|---|
Storage | Pointer to []ServiceStorageRequestStorageInner | [optional] | |
Name | Pointer to string | name is case insensitive | [optional] |
Description | Pointer to string | give a description to this application | [optional] |
GitRepository | Pointer to ApplicationGitRepositoryRequest | [optional] | |
BuildMode | Pointer to BuildModeEnum | [optional] [default to BUILDMODEENUM_DOCKER] | |
DockerfilePath | Pointer to NullableString | The path of the associated Dockerfile | [optional] |
Cpu | Pointer to int32 | unit is millicores (m). 1000m = 1 cpu | [optional] [default to 500] |
Memory | Pointer to int32 | unit is MB. 1024 MB = 1GB | [optional] [default to 512] |
MinRunningInstances | Pointer to int32 | Minimum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: 0 means that there is no application running. | [optional] [default to 1] |
MaxRunningInstances | Pointer to int32 | Maximum number of instances running. This resource auto-scale based on the CPU and Memory consumption. Note: -1 means that there is no limit. | [optional] [default to 1] |
Healthchecks | Healthcheck | ||
AutoPreview | Pointer to bool | Specify if the environment preview option is activated or not for this application. If activated, a preview environment will be automatically cloned at each pull request. If not specified, it takes the value of the `auto_preview` property from the associated environment. | [optional] [default to true] |
Ports | Pointer to []ServicePort | [optional] | |
Arguments | Pointer to []string | [optional] | |
Entrypoint | Pointer to string | optional entrypoint when launching container | [optional] |
AutoDeploy | Pointer to NullableBool | Specify if the application will be automatically updated after receiving a new commit. | [optional] |
AnnotationsGroups | Pointer to []ServiceAnnotationRequest | [optional] | |
LabelsGroups | Pointer to []ServiceLabelRequest | [optional] | |
IconUri | Pointer to string | Icon URI representing the application. | [optional] |
func NewApplicationEditRequest(healthchecks Healthcheck, ) *ApplicationEditRequest
NewApplicationEditRequest instantiates a new ApplicationEditRequest 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
func NewApplicationEditRequestWithDefaults() *ApplicationEditRequest
NewApplicationEditRequestWithDefaults instantiates a new ApplicationEditRequest 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
func (o *ApplicationEditRequest) GetStorage() []ServiceStorageRequestStorageInner
GetStorage returns the Storage field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetStorageOk() (*[]ServiceStorageRequestStorageInner, bool)
GetStorageOk returns a tuple with the Storage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetStorage(v []ServiceStorageRequestStorageInner)
SetStorage sets Storage field to given value.
func (o *ApplicationEditRequest) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) 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.
func (o *ApplicationEditRequest) SetName(v string)
SetName sets Name field to given value.
func (o *ApplicationEditRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) 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.
func (o *ApplicationEditRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ApplicationEditRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetGitRepository() ApplicationGitRepositoryRequest
GetGitRepository returns the GitRepository field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetGitRepositoryOk() (*ApplicationGitRepositoryRequest, bool)
GetGitRepositoryOk returns a tuple with the GitRepository field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetGitRepository(v ApplicationGitRepositoryRequest)
SetGitRepository sets GitRepository field to given value.
func (o *ApplicationEditRequest) HasGitRepository() bool
HasGitRepository returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetBuildMode() BuildModeEnum
GetBuildMode returns the BuildMode field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetBuildModeOk() (*BuildModeEnum, bool)
GetBuildModeOk returns a tuple with the BuildMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetBuildMode(v BuildModeEnum)
SetBuildMode sets BuildMode field to given value.
func (o *ApplicationEditRequest) HasBuildMode() bool
HasBuildMode returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetDockerfilePath() string
GetDockerfilePath returns the DockerfilePath field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetDockerfilePathOk() (*string, bool)
GetDockerfilePathOk returns a tuple with the DockerfilePath field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetDockerfilePath(v string)
SetDockerfilePath sets DockerfilePath field to given value.
func (o *ApplicationEditRequest) HasDockerfilePath() bool
HasDockerfilePath returns a boolean if a field has been set.
func (o *ApplicationEditRequest) SetDockerfilePathNil(b bool)
SetDockerfilePathNil sets the value for DockerfilePath to be an explicit nil
func (o *ApplicationEditRequest) UnsetDockerfilePath()
UnsetDockerfilePath ensures that no value is present for DockerfilePath, not even an explicit nil
func (o *ApplicationEditRequest) GetCpu() int32
GetCpu returns the Cpu field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetCpuOk() (*int32, bool)
GetCpuOk returns a tuple with the Cpu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetCpu(v int32)
SetCpu sets Cpu field to given value.
func (o *ApplicationEditRequest) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetMemory() int32
GetMemory returns the Memory field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetMemoryOk() (*int32, bool)
GetMemoryOk returns a tuple with the Memory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetMemory(v int32)
SetMemory sets Memory field to given value.
func (o *ApplicationEditRequest) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetMinRunningInstances() int32
GetMinRunningInstances returns the MinRunningInstances field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetMinRunningInstancesOk() (*int32, bool)
GetMinRunningInstancesOk returns a tuple with the MinRunningInstances field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetMinRunningInstances(v int32)
SetMinRunningInstances sets MinRunningInstances field to given value.
func (o *ApplicationEditRequest) HasMinRunningInstances() bool
HasMinRunningInstances returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetMaxRunningInstances() int32
GetMaxRunningInstances returns the MaxRunningInstances field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetMaxRunningInstancesOk() (*int32, bool)
GetMaxRunningInstancesOk returns a tuple with the MaxRunningInstances field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetMaxRunningInstances(v int32)
SetMaxRunningInstances sets MaxRunningInstances field to given value.
func (o *ApplicationEditRequest) HasMaxRunningInstances() bool
HasMaxRunningInstances returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetHealthchecks() Healthcheck
GetHealthchecks returns the Healthchecks field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetHealthchecksOk() (*Healthcheck, bool)
GetHealthchecksOk returns a tuple with the Healthchecks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetHealthchecks(v Healthcheck)
SetHealthchecks sets Healthchecks field to given value.
func (o *ApplicationEditRequest) GetAutoPreview() bool
GetAutoPreview returns the AutoPreview field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetAutoPreviewOk() (*bool, bool)
GetAutoPreviewOk returns a tuple with the AutoPreview field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetAutoPreview(v bool)
SetAutoPreview sets AutoPreview field to given value.
func (o *ApplicationEditRequest) HasAutoPreview() bool
HasAutoPreview returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetPorts() []ServicePort
GetPorts returns the Ports field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetPortsOk() (*[]ServicePort, bool)
GetPortsOk returns a tuple with the Ports field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetPorts(v []ServicePort)
SetPorts sets Ports field to given value.
func (o *ApplicationEditRequest) HasPorts() bool
HasPorts returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetArguments() []string
GetArguments returns the Arguments field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetArgumentsOk() (*[]string, bool)
GetArgumentsOk returns a tuple with the Arguments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetArguments(v []string)
SetArguments sets Arguments field to given value.
func (o *ApplicationEditRequest) HasArguments() bool
HasArguments returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetEntrypoint() string
GetEntrypoint returns the Entrypoint field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetEntrypointOk() (*string, bool)
GetEntrypointOk returns a tuple with the Entrypoint field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetEntrypoint(v string)
SetEntrypoint sets Entrypoint field to given value.
func (o *ApplicationEditRequest) HasEntrypoint() bool
HasEntrypoint returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetAutoDeploy() bool
GetAutoDeploy returns the AutoDeploy field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetAutoDeployOk() (*bool, bool)
GetAutoDeployOk returns a tuple with the AutoDeploy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetAutoDeploy(v bool)
SetAutoDeploy sets AutoDeploy field to given value.
func (o *ApplicationEditRequest) HasAutoDeploy() bool
HasAutoDeploy returns a boolean if a field has been set.
func (o *ApplicationEditRequest) SetAutoDeployNil(b bool)
SetAutoDeployNil sets the value for AutoDeploy to be an explicit nil
func (o *ApplicationEditRequest) UnsetAutoDeploy()
UnsetAutoDeploy ensures that no value is present for AutoDeploy, not even an explicit nil
func (o *ApplicationEditRequest) GetAnnotationsGroups() []ServiceAnnotationRequest
GetAnnotationsGroups returns the AnnotationsGroups field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetAnnotationsGroupsOk() (*[]ServiceAnnotationRequest, bool)
GetAnnotationsGroupsOk returns a tuple with the AnnotationsGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetAnnotationsGroups(v []ServiceAnnotationRequest)
SetAnnotationsGroups sets AnnotationsGroups field to given value.
func (o *ApplicationEditRequest) HasAnnotationsGroups() bool
HasAnnotationsGroups returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetLabelsGroups() []ServiceLabelRequest
GetLabelsGroups returns the LabelsGroups field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetLabelsGroupsOk() (*[]ServiceLabelRequest, bool)
GetLabelsGroupsOk returns a tuple with the LabelsGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetLabelsGroups(v []ServiceLabelRequest)
SetLabelsGroups sets LabelsGroups field to given value.
func (o *ApplicationEditRequest) HasLabelsGroups() bool
HasLabelsGroups returns a boolean if a field has been set.
func (o *ApplicationEditRequest) GetIconUri() string
GetIconUri returns the IconUri field if non-nil, zero value otherwise.
func (o *ApplicationEditRequest) GetIconUriOk() (*string, bool)
GetIconUriOk returns a tuple with the IconUri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApplicationEditRequest) SetIconUri(v string)
SetIconUri sets IconUri field to given value.
func (o *ApplicationEditRequest) HasIconUri() bool
HasIconUri returns a boolean if a field has been set.