Files
portal/openapi/docs/AccessAuthorizationCreate.md
2026-08-04 15:28:33 +02:00

156 lines
4.4 KiB
Markdown

# AccessAuthorizationCreate
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | |
**Type** | **string** | |
**IsActive** | **bool** | |
**Timetables** | Pointer to [**[]TimetableCreate**](TimetableCreate.md) | | [optional] [default to {}]
**Oneshot** | Pointer to [**NullableOneShotAccessBase**](OneShotAccessBase.md) | | [optional]
## Methods
### NewAccessAuthorizationCreate
`func NewAccessAuthorizationCreate(name string, type_ string, isActive bool, ) *AccessAuthorizationCreate`
NewAccessAuthorizationCreate instantiates a new AccessAuthorizationCreate 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
### NewAccessAuthorizationCreateWithDefaults
`func NewAccessAuthorizationCreateWithDefaults() *AccessAuthorizationCreate`
NewAccessAuthorizationCreateWithDefaults instantiates a new AccessAuthorizationCreate 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 *AccessAuthorizationCreate) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *AccessAuthorizationCreate) 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 *AccessAuthorizationCreate) SetName(v string)`
SetName sets Name field to given value.
### GetType
`func (o *AccessAuthorizationCreate) GetType() string`
GetType returns the Type field if non-nil, zero value otherwise.
### GetTypeOk
`func (o *AccessAuthorizationCreate) 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 *AccessAuthorizationCreate) SetType(v string)`
SetType sets Type field to given value.
### GetIsActive
`func (o *AccessAuthorizationCreate) GetIsActive() bool`
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
### GetIsActiveOk
`func (o *AccessAuthorizationCreate) 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 *AccessAuthorizationCreate) SetIsActive(v bool)`
SetIsActive sets IsActive field to given value.
### GetTimetables
`func (o *AccessAuthorizationCreate) GetTimetables() []TimetableCreate`
GetTimetables returns the Timetables field if non-nil, zero value otherwise.
### GetTimetablesOk
`func (o *AccessAuthorizationCreate) GetTimetablesOk() (*[]TimetableCreate, 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 *AccessAuthorizationCreate) SetTimetables(v []TimetableCreate)`
SetTimetables sets Timetables field to given value.
### HasTimetables
`func (o *AccessAuthorizationCreate) HasTimetables() bool`
HasTimetables returns a boolean if a field has been set.
### GetOneshot
`func (o *AccessAuthorizationCreate) GetOneshot() OneShotAccessBase`
GetOneshot returns the Oneshot field if non-nil, zero value otherwise.
### GetOneshotOk
`func (o *AccessAuthorizationCreate) 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 *AccessAuthorizationCreate) SetOneshot(v OneShotAccessBase)`
SetOneshot sets Oneshot field to given value.
### HasOneshot
`func (o *AccessAuthorizationCreate) HasOneshot() bool`
HasOneshot returns a boolean if a field has been set.
### SetOneshotNil
`func (o *AccessAuthorizationCreate) SetOneshotNil(b bool)`
SetOneshotNil sets the value for Oneshot to be an explicit nil
### UnsetOneshot
`func (o *AccessAuthorizationCreate) UnsetOneshot()`
UnsetOneshot ensures that no value is present for Oneshot, not even an explicit nil
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)