Name | Type | Description | Notes |
---|---|---|---|
OnDemandPreview | Pointer to bool | [optional] [default to false] | |
AutoPreview | Pointer to bool | [optional] [default to false] | |
AutoStop | Pointer to bool | [optional] [default to false] | |
Timezone | string | ||
StartTime | time.Time | ||
StopTime | time.Time | ||
Weekdays | []WeekdayEnum |
func NewEnvironmentDeploymentRuleEditRequest(timezone string, startTime time.Time, stopTime time.Time, weekdays []WeekdayEnum, ) *EnvironmentDeploymentRuleEditRequest
NewEnvironmentDeploymentRuleEditRequest instantiates a new EnvironmentDeploymentRuleEditRequest 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 NewEnvironmentDeploymentRuleEditRequestWithDefaults() *EnvironmentDeploymentRuleEditRequest
NewEnvironmentDeploymentRuleEditRequestWithDefaults instantiates a new EnvironmentDeploymentRuleEditRequest 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 *EnvironmentDeploymentRuleEditRequest) GetOnDemandPreview() bool
GetOnDemandPreview returns the OnDemandPreview field if non-nil, zero value otherwise.
func (o *EnvironmentDeploymentRuleEditRequest) GetOnDemandPreviewOk() (*bool, bool)
GetOnDemandPreviewOk returns a tuple with the OnDemandPreview field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EnvironmentDeploymentRuleEditRequest) SetOnDemandPreview(v bool)
SetOnDemandPreview sets OnDemandPreview field to given value.
func (o *EnvironmentDeploymentRuleEditRequest) HasOnDemandPreview() bool
HasOnDemandPreview returns a boolean if a field has been set.
func (o *EnvironmentDeploymentRuleEditRequest) GetAutoPreview() bool
GetAutoPreview returns the AutoPreview field if non-nil, zero value otherwise.
func (o *EnvironmentDeploymentRuleEditRequest) 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 *EnvironmentDeploymentRuleEditRequest) SetAutoPreview(v bool)
SetAutoPreview sets AutoPreview field to given value.
func (o *EnvironmentDeploymentRuleEditRequest) HasAutoPreview() bool
HasAutoPreview returns a boolean if a field has been set.
func (o *EnvironmentDeploymentRuleEditRequest) GetAutoStop() bool
GetAutoStop returns the AutoStop field if non-nil, zero value otherwise.
func (o *EnvironmentDeploymentRuleEditRequest) 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 *EnvironmentDeploymentRuleEditRequest) SetAutoStop(v bool)
SetAutoStop sets AutoStop field to given value.
func (o *EnvironmentDeploymentRuleEditRequest) HasAutoStop() bool
HasAutoStop returns a boolean if a field has been set.
func (o *EnvironmentDeploymentRuleEditRequest) GetTimezone() string
GetTimezone returns the Timezone field if non-nil, zero value otherwise.
func (o *EnvironmentDeploymentRuleEditRequest) 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 *EnvironmentDeploymentRuleEditRequest) SetTimezone(v string)
SetTimezone sets Timezone field to given value.
func (o *EnvironmentDeploymentRuleEditRequest) GetStartTime() time.Time
GetStartTime returns the StartTime field if non-nil, zero value otherwise.
func (o *EnvironmentDeploymentRuleEditRequest) 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 *EnvironmentDeploymentRuleEditRequest) SetStartTime(v time.Time)
SetStartTime sets StartTime field to given value.
func (o *EnvironmentDeploymentRuleEditRequest) GetStopTime() time.Time
GetStopTime returns the StopTime field if non-nil, zero value otherwise.
func (o *EnvironmentDeploymentRuleEditRequest) 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 *EnvironmentDeploymentRuleEditRequest) SetStopTime(v time.Time)
SetStopTime sets StopTime field to given value.
func (o *EnvironmentDeploymentRuleEditRequest) GetWeekdays() []WeekdayEnum
GetWeekdays returns the Weekdays field if non-nil, zero value otherwise.
func (o *EnvironmentDeploymentRuleEditRequest) 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 *EnvironmentDeploymentRuleEditRequest) SetWeekdays(v []WeekdayEnum)
SetWeekdays sets Weekdays field to given value.