| Name | Type | Description | Notes |
|---|---|---|---|
| Id | string | [readonly] | |
| CreatedAt | time.Time | [readonly] | |
| UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
| Storage | Pointer to []ServiceStorageStorageInner | [optional] | |
| Warnings | Pointer to []ServiceEditWarning | Non-blocking problems found while applying a service edit. Only present on the response of an edit, and only when there is at least one warning. The edit itself is saved. | [optional] |
| Environment | ReferenceObject | ||
| GitRepository | Pointer to ApplicationGitRepository | [optional] | |
| BuildSettings | Pointer to BuildSettings | [optional] | |
| MaximumCpu | Pointer to int32 | Maximum cpu that can be allocated to the application based on organization cluster configuration. unit is millicores (m). 1000m = 1 cpu | [optional] |
| MaximumMemory | Pointer to int32 | Maximum memory that can be allocated to the application based on organization cluster configuration. unit is MB. 1024 MB = 1GB | [optional] |
| MaximunGpu | Pointer to int32 | [optional] [default to 0] | |
| Name | string | name is case insensitive | |
| Description | Pointer to string | give a description to this application | [optional] |
| BuildMode | Pointer to BuildModeEnum | [optional] [default to BUILDMODEENUM_DOCKER] | |
| DockerfilePath | Pointer to NullableString | The path of the associated Dockerfile. Only if you are using build_mode = DOCKER | [optional] |
| Cpu | Pointer to int32 | unit is millicores (m). 1000m = 1 cpu | [optional] |
| Memory | Pointer to int32 | unit is MB. 1024 MB = 1GB | [optional] |
| Gpu | Pointer to int32 | [optional] [default to 0] | |
| EphemeralStorageInGib | Pointer to int32 | Ephemeral storage of the service in GiB. When omitted, the platform default is used. | [optional] |
| CpuArchitecture | Pointer to NullableCpuArchitectureEnum | CPU architecture this service runs on. If null, the cluster default architecture is used. | [optional] |
| 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 bool | Specify if the application will be automatically updated after receiving a new commit. | [optional] |
| AnnotationsGroups | Pointer to []OrganizationAnnotationsGroupResponse | [optional] | |
| LabelsGroups | Pointer to []OrganizationLabelsGroupResponse | [optional] | |
| IconUri | string | Icon URI representing the application. | |
| ServiceType | ServiceTypeEnum | ||
| DockerTargetBuildStage | Pointer to NullableString | The target build stage in the Dockerfile to build | [optional] |
| Autoscaling | Pointer to AutoscalingPolicyResponse | [optional] |
func NewApplication(id string, createdAt time.Time, environment ReferenceObject, name string, healthchecks Healthcheck, iconUri string, serviceType ServiceTypeEnum, ) *Application
NewApplication instantiates a new Application 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 NewApplicationWithDefaults() *Application
NewApplicationWithDefaults instantiates a new Application 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 *Application) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Application) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetId(v string)
SetId sets Id field to given value.
func (o *Application) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Application) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Application) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Application) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Application) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *Application) GetStorage() []ServiceStorageStorageInner
GetStorage returns the Storage field if non-nil, zero value otherwise.
func (o *Application) GetStorageOk() (*[]ServiceStorageStorageInner, 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 *Application) SetStorage(v []ServiceStorageStorageInner)
SetStorage sets Storage field to given value.
func (o *Application) HasStorage() bool
HasStorage returns a boolean if a field has been set.
func (o *Application) GetWarnings() []ServiceEditWarning
GetWarnings returns the Warnings field if non-nil, zero value otherwise.
func (o *Application) GetWarningsOk() (*[]ServiceEditWarning, bool)
GetWarningsOk returns a tuple with the Warnings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetWarnings(v []ServiceEditWarning)
SetWarnings sets Warnings field to given value.
func (o *Application) HasWarnings() bool
HasWarnings returns a boolean if a field has been set.
func (o *Application) GetEnvironment() ReferenceObject
GetEnvironment returns the Environment field if non-nil, zero value otherwise.
func (o *Application) GetEnvironmentOk() (*ReferenceObject, bool)
GetEnvironmentOk returns a tuple with the Environment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetEnvironment(v ReferenceObject)
SetEnvironment sets Environment field to given value.
func (o *Application) GetGitRepository() ApplicationGitRepository
GetGitRepository returns the GitRepository field if non-nil, zero value otherwise.
func (o *Application) GetGitRepositoryOk() (*ApplicationGitRepository, 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 *Application) SetGitRepository(v ApplicationGitRepository)
SetGitRepository sets GitRepository field to given value.
func (o *Application) HasGitRepository() bool
HasGitRepository returns a boolean if a field has been set.
func (o *Application) GetBuildSettings() BuildSettings
GetBuildSettings returns the BuildSettings field if non-nil, zero value otherwise.
func (o *Application) GetBuildSettingsOk() (*BuildSettings, bool)
GetBuildSettingsOk returns a tuple with the BuildSettings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetBuildSettings(v BuildSettings)
SetBuildSettings sets BuildSettings field to given value.
func (o *Application) HasBuildSettings() bool
HasBuildSettings returns a boolean if a field has been set.
func (o *Application) GetMaximumCpu() int32
GetMaximumCpu returns the MaximumCpu field if non-nil, zero value otherwise.
func (o *Application) GetMaximumCpuOk() (*int32, bool)
GetMaximumCpuOk returns a tuple with the MaximumCpu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetMaximumCpu(v int32)
SetMaximumCpu sets MaximumCpu field to given value.
func (o *Application) HasMaximumCpu() bool
HasMaximumCpu returns a boolean if a field has been set.
func (o *Application) GetMaximumMemory() int32
GetMaximumMemory returns the MaximumMemory field if non-nil, zero value otherwise.
func (o *Application) GetMaximumMemoryOk() (*int32, bool)
GetMaximumMemoryOk returns a tuple with the MaximumMemory field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetMaximumMemory(v int32)
SetMaximumMemory sets MaximumMemory field to given value.
func (o *Application) HasMaximumMemory() bool
HasMaximumMemory returns a boolean if a field has been set.
func (o *Application) GetMaximunGpu() int32
GetMaximunGpu returns the MaximunGpu field if non-nil, zero value otherwise.
func (o *Application) GetMaximunGpuOk() (*int32, bool)
GetMaximunGpuOk returns a tuple with the MaximunGpu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetMaximunGpu(v int32)
SetMaximunGpu sets MaximunGpu field to given value.
func (o *Application) HasMaximunGpu() bool
HasMaximunGpu returns a boolean if a field has been set.
func (o *Application) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetName(v string)
SetName sets Name field to given value.
func (o *Application) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Application) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Application) GetBuildMode() BuildModeEnum
GetBuildMode returns the BuildMode field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetBuildMode(v BuildModeEnum)
SetBuildMode sets BuildMode field to given value.
func (o *Application) HasBuildMode() bool
HasBuildMode returns a boolean if a field has been set.
func (o *Application) GetDockerfilePath() string
GetDockerfilePath returns the DockerfilePath field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetDockerfilePath(v string)
SetDockerfilePath sets DockerfilePath field to given value.
func (o *Application) HasDockerfilePath() bool
HasDockerfilePath returns a boolean if a field has been set.
func (o *Application) SetDockerfilePathNil(b bool)
SetDockerfilePathNil sets the value for DockerfilePath to be an explicit nil
func (o *Application) UnsetDockerfilePath()
UnsetDockerfilePath ensures that no value is present for DockerfilePath, not even an explicit nil
func (o *Application) GetCpu() int32
GetCpu returns the Cpu field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetCpu(v int32)
SetCpu sets Cpu field to given value.
func (o *Application) HasCpu() bool
HasCpu returns a boolean if a field has been set.
func (o *Application) GetMemory() int32
GetMemory returns the Memory field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetMemory(v int32)
SetMemory sets Memory field to given value.
func (o *Application) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (o *Application) GetGpu() int32
GetGpu returns the Gpu field if non-nil, zero value otherwise.
func (o *Application) GetGpuOk() (*int32, bool)
GetGpuOk returns a tuple with the Gpu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetGpu(v int32)
SetGpu sets Gpu field to given value.
func (o *Application) HasGpu() bool
HasGpu returns a boolean if a field has been set.
func (o *Application) GetEphemeralStorageInGib() int32
GetEphemeralStorageInGib returns the EphemeralStorageInGib field if non-nil, zero value otherwise.
func (o *Application) GetEphemeralStorageInGibOk() (*int32, bool)
GetEphemeralStorageInGibOk returns a tuple with the EphemeralStorageInGib field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetEphemeralStorageInGib(v int32)
SetEphemeralStorageInGib sets EphemeralStorageInGib field to given value.
func (o *Application) HasEphemeralStorageInGib() bool
HasEphemeralStorageInGib returns a boolean if a field has been set.
func (o *Application) GetCpuArchitecture() CpuArchitectureEnum
GetCpuArchitecture returns the CpuArchitecture field if non-nil, zero value otherwise.
func (o *Application) GetCpuArchitectureOk() (*CpuArchitectureEnum, bool)
GetCpuArchitectureOk returns a tuple with the CpuArchitecture field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetCpuArchitecture(v CpuArchitectureEnum)
SetCpuArchitecture sets CpuArchitecture field to given value.
func (o *Application) HasCpuArchitecture() bool
HasCpuArchitecture returns a boolean if a field has been set.
func (o *Application) SetCpuArchitectureNil(b bool)
SetCpuArchitectureNil sets the value for CpuArchitecture to be an explicit nil
func (o *Application) UnsetCpuArchitecture()
UnsetCpuArchitecture ensures that no value is present for CpuArchitecture, not even an explicit nil
func (o *Application) GetMinRunningInstances() int32
GetMinRunningInstances returns the MinRunningInstances field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetMinRunningInstances(v int32)
SetMinRunningInstances sets MinRunningInstances field to given value.
func (o *Application) HasMinRunningInstances() bool
HasMinRunningInstances returns a boolean if a field has been set.
func (o *Application) GetMaxRunningInstances() int32
GetMaxRunningInstances returns the MaxRunningInstances field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetMaxRunningInstances(v int32)
SetMaxRunningInstances sets MaxRunningInstances field to given value.
func (o *Application) HasMaxRunningInstances() bool
HasMaxRunningInstances returns a boolean if a field has been set.
func (o *Application) GetHealthchecks() Healthcheck
GetHealthchecks returns the Healthchecks field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetHealthchecks(v Healthcheck)
SetHealthchecks sets Healthchecks field to given value.
func (o *Application) GetAutoPreview() bool
GetAutoPreview returns the AutoPreview field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetAutoPreview(v bool)
SetAutoPreview sets AutoPreview field to given value.
func (o *Application) HasAutoPreview() bool
HasAutoPreview returns a boolean if a field has been set.
func (o *Application) GetPorts() []ServicePort
GetPorts returns the Ports field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetPorts(v []ServicePort)
SetPorts sets Ports field to given value.
func (o *Application) HasPorts() bool
HasPorts returns a boolean if a field has been set.
func (o *Application) GetArguments() []string
GetArguments returns the Arguments field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetArguments(v []string)
SetArguments sets Arguments field to given value.
func (o *Application) HasArguments() bool
HasArguments returns a boolean if a field has been set.
func (o *Application) GetEntrypoint() string
GetEntrypoint returns the Entrypoint field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetEntrypoint(v string)
SetEntrypoint sets Entrypoint field to given value.
func (o *Application) HasEntrypoint() bool
HasEntrypoint returns a boolean if a field has been set.
func (o *Application) GetAutoDeploy() bool
GetAutoDeploy returns the AutoDeploy field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetAutoDeploy(v bool)
SetAutoDeploy sets AutoDeploy field to given value.
func (o *Application) HasAutoDeploy() bool
HasAutoDeploy returns a boolean if a field has been set.
func (o *Application) GetAnnotationsGroups() []OrganizationAnnotationsGroupResponse
GetAnnotationsGroups returns the AnnotationsGroups field if non-nil, zero value otherwise.
func (o *Application) GetAnnotationsGroupsOk() (*[]OrganizationAnnotationsGroupResponse, 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 *Application) SetAnnotationsGroups(v []OrganizationAnnotationsGroupResponse)
SetAnnotationsGroups sets AnnotationsGroups field to given value.
func (o *Application) HasAnnotationsGroups() bool
HasAnnotationsGroups returns a boolean if a field has been set.
func (o *Application) GetLabelsGroups() []OrganizationLabelsGroupResponse
GetLabelsGroups returns the LabelsGroups field if non-nil, zero value otherwise.
func (o *Application) GetLabelsGroupsOk() (*[]OrganizationLabelsGroupResponse, 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 *Application) SetLabelsGroups(v []OrganizationLabelsGroupResponse)
SetLabelsGroups sets LabelsGroups field to given value.
func (o *Application) HasLabelsGroups() bool
HasLabelsGroups returns a boolean if a field has been set.
func (o *Application) GetIconUri() string
GetIconUri returns the IconUri field if non-nil, zero value otherwise.
func (o *Application) 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 *Application) SetIconUri(v string)
SetIconUri sets IconUri field to given value.
func (o *Application) GetServiceType() ServiceTypeEnum
GetServiceType returns the ServiceType field if non-nil, zero value otherwise.
func (o *Application) GetServiceTypeOk() (*ServiceTypeEnum, bool)
GetServiceTypeOk returns a tuple with the ServiceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetServiceType(v ServiceTypeEnum)
SetServiceType sets ServiceType field to given value.
func (o *Application) GetDockerTargetBuildStage() string
GetDockerTargetBuildStage returns the DockerTargetBuildStage field if non-nil, zero value otherwise.
func (o *Application) GetDockerTargetBuildStageOk() (*string, bool)
GetDockerTargetBuildStageOk returns a tuple with the DockerTargetBuildStage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetDockerTargetBuildStage(v string)
SetDockerTargetBuildStage sets DockerTargetBuildStage field to given value.
func (o *Application) HasDockerTargetBuildStage() bool
HasDockerTargetBuildStage returns a boolean if a field has been set.
func (o *Application) SetDockerTargetBuildStageNil(b bool)
SetDockerTargetBuildStageNil sets the value for DockerTargetBuildStage to be an explicit nil
func (o *Application) UnsetDockerTargetBuildStage()
UnsetDockerTargetBuildStage ensures that no value is present for DockerTargetBuildStage, not even an explicit nil
func (o *Application) GetAutoscaling() AutoscalingPolicyResponse
GetAutoscaling returns the Autoscaling field if non-nil, zero value otherwise.
func (o *Application) GetAutoscalingOk() (*AutoscalingPolicyResponse, bool)
GetAutoscalingOk returns a tuple with the Autoscaling field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Application) SetAutoscaling(v AutoscalingPolicyResponse)
SetAutoscaling sets Autoscaling field to given value.
func (o *Application) HasAutoscaling() bool
HasAutoscaling returns a boolean if a field has been set.