5.5 KiB
AccessAuthorizationResponse
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | string | ||
| Type | string | ||
| IsActive | bool | ||
| Id | int32 | ||
| Timetables | Pointer to []Timetable | [optional] [default to {}] | |
| Oneshot | Pointer to NullableOneShotAccessBase | [optional] | |
| Groups | []GroupDB |
Methods
NewAccessAuthorizationResponse
func NewAccessAuthorizationResponse(name string, type_ string, isActive bool, id int32, 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.
GetType
func (o *AccessAuthorizationResponse) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *AccessAuthorizationResponse) 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.
SetType
func (o *AccessAuthorizationResponse) SetType(v string)
SetType sets Type 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.
HasTimetables
func (o *AccessAuthorizationResponse) HasTimetables() bool
HasTimetables returns a boolean if a field has been set.
GetOneshot
func (o *AccessAuthorizationResponse) GetOneshot() OneShotAccessBase
GetOneshot returns the Oneshot field if non-nil, zero value otherwise.
GetOneshotOk
func (o *AccessAuthorizationResponse) GetOneshotOk() (*OneShotAccessBase, bool)
GetOneshotOk returns a tuple with the Oneshot field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOneshot
func (o *AccessAuthorizationResponse) SetOneshot(v OneShotAccessBase)
SetOneshot sets Oneshot field to given value.
HasOneshot
func (o *AccessAuthorizationResponse) HasOneshot() bool
HasOneshot returns a boolean if a field has been set.
SetOneshotNil
func (o *AccessAuthorizationResponse) SetOneshotNil(b bool)
SetOneshotNil sets the value for Oneshot to be an explicit nil
UnsetOneshot
func (o *AccessAuthorizationResponse) UnsetOneshot()
UnsetOneshot ensures that no value is present for Oneshot, not even an explicit nil
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.