Name | Type | Description | Notes |
---|---|---|---|
Periods | Pointer to []OpenPeriod | An array of open periods. `null` if the campaign period is closed all day. | [optional] |
func NewWorkingHourDay() *WorkingHourDay
NewWorkingHourDay instantiates a new WorkingHourDay 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 NewWorkingHourDayWithDefaults() *WorkingHourDay
NewWorkingHourDayWithDefaults instantiates a new WorkingHourDay 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 *WorkingHourDay) GetPeriods() []OpenPeriod
GetPeriods returns the Periods field if non-nil, zero value otherwise.
func (o *WorkingHourDay) GetPeriodsOk() (*[]OpenPeriod, bool)
GetPeriodsOk returns a tuple with the Periods field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *WorkingHourDay) SetPeriods(v []OpenPeriod)
SetPeriods sets Periods field to given value.
func (o *WorkingHourDay) HasPeriods() bool
HasPeriods returns a boolean if a field has been set.
func (o *WorkingHourDay) SetPeriodsNil(b bool)
SetPeriodsNil sets the value for Periods to be an explicit nil
func (o *WorkingHourDay) UnsetPeriods()
UnsetPeriods ensures that no value is present for Periods, not even an explicit nil