2.5 KiB
TimetableCreate
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Weekday | int32 | ||
| Starttime | string | ||
| Duration | int32 |
Methods
NewTimetableCreate
func NewTimetableCreate(weekday int32, starttime string, duration int32, ) *TimetableCreate
NewTimetableCreate instantiates a new TimetableCreate 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
NewTimetableCreateWithDefaults
func NewTimetableCreateWithDefaults() *TimetableCreate
NewTimetableCreateWithDefaults instantiates a new TimetableCreate 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
GetWeekday
func (o *TimetableCreate) GetWeekday() int32
GetWeekday returns the Weekday field if non-nil, zero value otherwise.
GetWeekdayOk
func (o *TimetableCreate) GetWeekdayOk() (*int32, bool)
GetWeekdayOk returns a tuple with the Weekday field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetWeekday
func (o *TimetableCreate) SetWeekday(v int32)
SetWeekday sets Weekday field to given value.
GetStarttime
func (o *TimetableCreate) GetStarttime() string
GetStarttime returns the Starttime field if non-nil, zero value otherwise.
GetStarttimeOk
func (o *TimetableCreate) GetStarttimeOk() (*string, 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.
SetStarttime
func (o *TimetableCreate) SetStarttime(v string)
SetStarttime sets Starttime field to given value.
GetDuration
func (o *TimetableCreate) GetDuration() int32
GetDuration returns the Duration field if non-nil, zero value otherwise.
GetDurationOk
func (o *TimetableCreate) GetDurationOk() (*int32, bool)
GetDurationOk returns a tuple with the Duration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDuration
func (o *TimetableCreate) SetDuration(v int32)
SetDuration sets Duration field to given value.