3.8 KiB
AccessAuthorizationResponse
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | string | ||
| IsActive | bool | ||
| Id | int32 | ||
| Timetables | []Timetable | ||
| Groups | []GroupDB |
Methods
NewAccessAuthorizationResponse
func NewAccessAuthorizationResponse(name string, isActive bool, id int32, timetables []Timetable, groups []GroupDB, ) *AccessAuthorizationResponse
NewAccessAuthorizationResponse instantiates a new AccessAuthorizationResponse 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
NewAccessAuthorizationResponseWithDefaults
func NewAccessAuthorizationResponseWithDefaults() *AccessAuthorizationResponse
NewAccessAuthorizationResponseWithDefaults instantiates a new AccessAuthorizationResponse 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
GetName
func (o *AccessAuthorizationResponse) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *AccessAuthorizationResponse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *AccessAuthorizationResponse) SetName(v string)
SetName sets Name field to given value.
GetIsActive
func (o *AccessAuthorizationResponse) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
GetIsActiveOk
func (o *AccessAuthorizationResponse) GetIsActiveOk() (*bool, bool)
GetIsActiveOk returns a tuple with the IsActive field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIsActive
func (o *AccessAuthorizationResponse) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
GetId
func (o *AccessAuthorizationResponse) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *AccessAuthorizationResponse) 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 *AccessAuthorizationResponse) SetId(v int32)
SetId sets Id field to given value.
GetTimetables
func (o *AccessAuthorizationResponse) GetTimetables() []Timetable
GetTimetables returns the Timetables field if non-nil, zero value otherwise.
GetTimetablesOk
func (o *AccessAuthorizationResponse) GetTimetablesOk() (*[]Timetable, bool)
GetTimetablesOk returns a tuple with the Timetables field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTimetables
func (o *AccessAuthorizationResponse) SetTimetables(v []Timetable)
SetTimetables sets Timetables field to given value.
GetGroups
func (o *AccessAuthorizationResponse) GetGroups() []GroupDB
GetGroups returns the Groups field if non-nil, zero value otherwise.
GetGroupsOk
func (o *AccessAuthorizationResponse) GetGroupsOk() (*[]GroupDB, bool)
GetGroupsOk returns a tuple with the Groups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGroups
func (o *AccessAuthorizationResponse) SetGroups(v []GroupDB)
SetGroups sets Groups field to given value.