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

192 lines
4.3 KiB
Markdown

# Card
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | Pointer to **NullableInt32** | | [optional]
**Key** | **string** | |
**CardSerial** | **string** | |
**Enabled** | Pointer to **bool** | | [optional] [default to true]
**Name** | **string** | |
**GroupId** | Pointer to **NullableInt32** | | [optional]
## Methods
### NewCard
`func NewCard(key string, cardSerial string, name string, ) *Card`
NewCard instantiates a new Card 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
### NewCardWithDefaults
`func NewCardWithDefaults() *Card`
NewCardWithDefaults instantiates a new Card 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
### GetId
`func (o *Card) GetId() int32`
GetId returns the Id field if non-nil, zero value otherwise.
### GetIdOk
`func (o *Card) 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 *Card) SetId(v int32)`
SetId sets Id field to given value.
### HasId
`func (o *Card) HasId() bool`
HasId returns a boolean if a field has been set.
### SetIdNil
`func (o *Card) SetIdNil(b bool)`
SetIdNil sets the value for Id to be an explicit nil
### UnsetId
`func (o *Card) UnsetId()`
UnsetId ensures that no value is present for Id, not even an explicit nil
### GetKey
`func (o *Card) GetKey() string`
GetKey returns the Key field if non-nil, zero value otherwise.
### GetKeyOk
`func (o *Card) GetKeyOk() (*string, bool)`
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetKey
`func (o *Card) SetKey(v string)`
SetKey sets Key field to given value.
### GetCardSerial
`func (o *Card) GetCardSerial() string`
GetCardSerial returns the CardSerial field if non-nil, zero value otherwise.
### GetCardSerialOk
`func (o *Card) GetCardSerialOk() (*string, bool)`
GetCardSerialOk returns a tuple with the CardSerial field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetCardSerial
`func (o *Card) SetCardSerial(v string)`
SetCardSerial sets CardSerial field to given value.
### GetEnabled
`func (o *Card) GetEnabled() bool`
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
### GetEnabledOk
`func (o *Card) GetEnabledOk() (*bool, bool)`
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetEnabled
`func (o *Card) SetEnabled(v bool)`
SetEnabled sets Enabled field to given value.
### HasEnabled
`func (o *Card) HasEnabled() bool`
HasEnabled returns a boolean if a field has been set.
### GetName
`func (o *Card) GetName() string`
GetName returns the Name field if non-nil, zero value otherwise.
### GetNameOk
`func (o *Card) 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 *Card) SetName(v string)`
SetName sets Name field to given value.
### GetGroupId
`func (o *Card) GetGroupId() int32`
GetGroupId returns the GroupId field if non-nil, zero value otherwise.
### GetGroupIdOk
`func (o *Card) GetGroupIdOk() (*int32, bool)`
GetGroupIdOk returns a tuple with the GroupId field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.
### SetGroupId
`func (o *Card) SetGroupId(v int32)`
SetGroupId sets GroupId field to given value.
### HasGroupId
`func (o *Card) HasGroupId() bool`
HasGroupId returns a boolean if a field has been set.
### SetGroupIdNil
`func (o *Card) SetGroupIdNil(b bool)`
SetGroupIdNil sets the value for GroupId to be an explicit nil
### UnsetGroupId
`func (o *Card) UnsetGroupId()`
UnsetGroupId ensures that no value is present for GroupId, 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)