Name | Type | Description | Notes |
---|---|---|---|
Type | string | Determines the overall schedule cadence. In general, all time period fields smaller than the chosen type can be configured. For example, a DAILY schedule can have 'hours' set, but not 'days'; a WEEKLY schedule can have both 'hours' and 'days' set. | |
Months | Pointer to ScheduleMonths | [optional] | |
Days | Pointer to ScheduleDays | [optional] | |
Hours | ScheduleHours | ||
Expiration | Pointer to time.Time | Specifies the time after which this schedule will no longer occur. | [optional] |
TimeZoneId | Pointer to string | The time zone to use when running the schedule. For instance, if the schedule is scheduled to run at 1AM, and this field is set to "CST", the schedule will run at 1AM CST. | [optional] |
func NewSchedule(type_ string, hours ScheduleHours, ) *Schedule
NewSchedule instantiates a new Schedule 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 NewScheduleWithDefaults() *Schedule
NewScheduleWithDefaults instantiates a new Schedule 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 *Schedule) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Schedule) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Schedule) SetType(v string)
SetType sets Type field to given value.
func (o *Schedule) GetMonths() ScheduleMonths
GetMonths returns the Months field if non-nil, zero value otherwise.
func (o *Schedule) GetMonthsOk() (*ScheduleMonths, bool)
GetMonthsOk returns a tuple with the Months field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Schedule) SetMonths(v ScheduleMonths)
SetMonths sets Months field to given value.
func (o *Schedule) HasMonths() bool
HasMonths returns a boolean if a field has been set.
func (o *Schedule) GetDays() ScheduleDays
GetDays returns the Days field if non-nil, zero value otherwise.
func (o *Schedule) GetDaysOk() (*ScheduleDays, bool)
GetDaysOk returns a tuple with the Days field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Schedule) SetDays(v ScheduleDays)
SetDays sets Days field to given value.
func (o *Schedule) HasDays() bool
HasDays returns a boolean if a field has been set.
func (o *Schedule) GetHours() ScheduleHours
GetHours returns the Hours field if non-nil, zero value otherwise.
func (o *Schedule) GetHoursOk() (*ScheduleHours, bool)
GetHoursOk returns a tuple with the Hours field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Schedule) SetHours(v ScheduleHours)
SetHours sets Hours field to given value.
func (o *Schedule) GetExpiration() time.Time
GetExpiration returns the Expiration field if non-nil, zero value otherwise.
func (o *Schedule) GetExpirationOk() (*time.Time, bool)
GetExpirationOk returns a tuple with the Expiration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Schedule) SetExpiration(v time.Time)
SetExpiration sets Expiration field to given value.
func (o *Schedule) HasExpiration() bool
HasExpiration returns a boolean if a field has been set.
func (o *Schedule) GetTimeZoneId() string
GetTimeZoneId returns the TimeZoneId field if non-nil, zero value otherwise.
func (o *Schedule) GetTimeZoneIdOk() (*string, bool)
GetTimeZoneIdOk returns a tuple with the TimeZoneId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Schedule) SetTimeZoneId(v string)
SetTimeZoneId sets TimeZoneId field to given value.
func (o *Schedule) HasTimeZoneId() bool
HasTimeZoneId returns a boolean if a field has been set.