3.8 KiB
Timetable
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Weekday | int32 | ||
| Starttime | string | ||
| Duration | int32 | ||
| Id | Pointer to NullableInt32 | [optional] | |
| AccessauthId | Pointer to int32 | [optional] |
Methods
NewTimetable
func NewTimetable(weekday int32, starttime string, duration int32, ) *Timetable
NewTimetable instantiates a new Timetable 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
NewTimetableWithDefaults
func NewTimetableWithDefaults() *Timetable
NewTimetableWithDefaults instantiates a new Timetable 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 *Timetable) GetWeekday() int32
GetWeekday returns the Weekday field if non-nil, zero value otherwise.
GetWeekdayOk
func (o *Timetable) 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 *Timetable) SetWeekday(v int32)
SetWeekday sets Weekday field to given value.
GetStarttime
func (o *Timetable) GetStarttime() string
GetStarttime returns the Starttime field if non-nil, zero value otherwise.
GetStarttimeOk
func (o *Timetable) 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 *Timetable) SetStarttime(v string)
SetStarttime sets Starttime field to given value.
GetDuration
func (o *Timetable) GetDuration() int32
GetDuration returns the Duration field if non-nil, zero value otherwise.
GetDurationOk
func (o *Timetable) 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 *Timetable) SetDuration(v int32)
SetDuration sets Duration field to given value.
GetId
func (o *Timetable) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *Timetable) GetIdOk() (*int32, 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.
SetId
func (o *Timetable) SetId(v int32)
SetId sets Id field to given value.
HasId
func (o *Timetable) HasId() bool
HasId returns a boolean if a field has been set.
SetIdNil
func (o *Timetable) SetIdNil(b bool)
SetIdNil sets the value for Id to be an explicit nil
UnsetId
func (o *Timetable) UnsetId()
UnsetId ensures that no value is present for Id, not even an explicit nil
GetAccessauthId
func (o *Timetable) GetAccessauthId() int32
GetAccessauthId returns the AccessauthId field if non-nil, zero value otherwise.
GetAccessauthIdOk
func (o *Timetable) GetAccessauthIdOk() (*int32, bool)
GetAccessauthIdOk returns a tuple with the AccessauthId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAccessauthId
func (o *Timetable) SetAccessauthId(v int32)
SetAccessauthId sets AccessauthId field to given value.
HasAccessauthId
func (o *Timetable) HasAccessauthId() bool
HasAccessauthId returns a boolean if a field has been set.