Name | Type | Description | Notes |
---|---|---|---|
Id | string | [readonly] | |
CreatedAt | time.Time | [readonly] | |
UpdatedAt | Pointer to time.Time | [optional] [readonly] | |
Name | string | name is case insensitive | |
Description | Pointer to NullableString | [optional] | |
Mode | EnvironmentModeEnum | ||
ClusterId | string | ||
AutoStop | Pointer to bool | [optional] [default to false] | |
Timezone | string | ||
StartTime | time.Time | ||
StopTime | time.Time | ||
Weekdays | []WeekdayEnum | ||
Wildcard | string | wildcard pattern composed of '?' and/or '*' used to target new created environments | [default to ""] |
PriorityIndex | Pointer to int32 | used to select the first deployment rule to match new created environments | [optional] |
func NewProjectDeploymentRule(id string, createdAt time.Time, name string, mode EnvironmentModeEnum, clusterId string, timezone string, startTime time.Time, stopTime time.Time, weekdays []WeekdayEnum, wildcard string, ) *ProjectDeploymentRule
NewProjectDeploymentRule instantiates a new ProjectDeploymentRule 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 NewProjectDeploymentRuleWithDefaults() *ProjectDeploymentRule
NewProjectDeploymentRuleWithDefaults instantiates a new ProjectDeploymentRule 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 *ProjectDeploymentRule) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) 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 *ProjectDeploymentRule) SetId(v string)
SetId sets Id field to given value.
func (o *ProjectDeploymentRule) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) 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 *ProjectDeploymentRule) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *ProjectDeploymentRule) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) 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 *ProjectDeploymentRule) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *ProjectDeploymentRule) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *ProjectDeploymentRule) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) 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 *ProjectDeploymentRule) SetName(v string)
SetName sets Name field to given value.
func (o *ProjectDeploymentRule) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) 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 *ProjectDeploymentRule) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *ProjectDeploymentRule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *ProjectDeploymentRule) SetDescriptionNil(b bool)
SetDescriptionNil sets the value for Description to be an explicit nil
func (o *ProjectDeploymentRule) UnsetDescription()
UnsetDescription ensures that no value is present for Description, not even an explicit nil
func (o *ProjectDeploymentRule) GetMode() EnvironmentModeEnum
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) GetModeOk() (*EnvironmentModeEnum, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProjectDeploymentRule) SetMode(v EnvironmentModeEnum)
SetMode sets Mode field to given value.
func (o *ProjectDeploymentRule) GetClusterId() string
GetClusterId returns the ClusterId field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) GetClusterIdOk() (*string, bool)
GetClusterIdOk returns a tuple with the ClusterId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProjectDeploymentRule) SetClusterId(v string)
SetClusterId sets ClusterId field to given value.
func (o *ProjectDeploymentRule) GetAutoStop() bool
GetAutoStop returns the AutoStop field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) GetAutoStopOk() (*bool, bool)
GetAutoStopOk returns a tuple with the AutoStop field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProjectDeploymentRule) SetAutoStop(v bool)
SetAutoStop sets AutoStop field to given value.
func (o *ProjectDeploymentRule) HasAutoStop() bool
HasAutoStop returns a boolean if a field has been set.
func (o *ProjectDeploymentRule) GetTimezone() string
GetTimezone returns the Timezone field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProjectDeploymentRule) SetTimezone(v string)
SetTimezone sets Timezone field to given value.
func (o *ProjectDeploymentRule) GetStartTime() time.Time
GetStartTime returns the StartTime field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) GetStartTimeOk() (*time.Time, bool)
GetStartTimeOk returns a tuple with the StartTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProjectDeploymentRule) SetStartTime(v time.Time)
SetStartTime sets StartTime field to given value.
func (o *ProjectDeploymentRule) GetStopTime() time.Time
GetStopTime returns the StopTime field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) GetStopTimeOk() (*time.Time, bool)
GetStopTimeOk returns a tuple with the StopTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProjectDeploymentRule) SetStopTime(v time.Time)
SetStopTime sets StopTime field to given value.
func (o *ProjectDeploymentRule) GetWeekdays() []WeekdayEnum
GetWeekdays returns the Weekdays field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) GetWeekdaysOk() (*[]WeekdayEnum, bool)
GetWeekdaysOk returns a tuple with the Weekdays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProjectDeploymentRule) SetWeekdays(v []WeekdayEnum)
SetWeekdays sets Weekdays field to given value.
func (o *ProjectDeploymentRule) GetWildcard() string
GetWildcard returns the Wildcard field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) GetWildcardOk() (*string, bool)
GetWildcardOk returns a tuple with the Wildcard field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProjectDeploymentRule) SetWildcard(v string)
SetWildcard sets Wildcard field to given value.
func (o *ProjectDeploymentRule) GetPriorityIndex() int32
GetPriorityIndex returns the PriorityIndex field if non-nil, zero value otherwise.
func (o *ProjectDeploymentRule) GetPriorityIndexOk() (*int32, bool)
GetPriorityIndexOk returns a tuple with the PriorityIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ProjectDeploymentRule) SetPriorityIndex(v int32)
SetPriorityIndex sets PriorityIndex field to given value.
func (o *ProjectDeploymentRule) HasPriorityIndex() bool
HasPriorityIndex returns a boolean if a field has been set.