udpate openapi spec

This commit is contained in:
2026-08-04 15:28:33 +02:00
parent e4acb6918a
commit fa7835c7e6
32 changed files with 2946 additions and 229 deletions

View File

@@ -22,6 +22,7 @@ var _ MappedNullable = &AccessAuthorizationDB{}
// AccessAuthorizationDB struct for AccessAuthorizationDB
type AccessAuthorizationDB struct {
Name string `json:"name"`
Type string `json:"type"`
IsActive bool `json:"is_active"`
Id NullableInt32 `json:"id,omitempty"`
}
@@ -32,9 +33,10 @@ type _AccessAuthorizationDB AccessAuthorizationDB
// 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
func NewAccessAuthorizationDB(name string, isActive bool) *AccessAuthorizationDB {
func NewAccessAuthorizationDB(name string, type_ string, isActive bool) *AccessAuthorizationDB {
this := AccessAuthorizationDB{}
this.Name = name
this.Type = type_
this.IsActive = isActive
return &this
}
@@ -71,6 +73,30 @@ func (o *AccessAuthorizationDB) SetName(v string) {
o.Name = v
}
// GetType returns the Type field value
func (o *AccessAuthorizationDB) GetType() string {
if o == nil {
var ret string
return ret
}
return o.Type
}
// GetTypeOk returns a tuple with the Type field value
// and a boolean to check if the value has been set.
func (o *AccessAuthorizationDB) GetTypeOk() (*string, bool) {
if o == nil {
return nil, false
}
return &o.Type, true
}
// SetType sets field value
func (o *AccessAuthorizationDB) SetType(v string) {
o.Type = v
}
// GetIsActive returns the IsActive field value
func (o *AccessAuthorizationDB) GetIsActive() bool {
if o == nil {
@@ -148,6 +174,7 @@ func (o AccessAuthorizationDB) MarshalJSON() ([]byte, error) {
func (o AccessAuthorizationDB) ToMap() (map[string]interface{}, error) {
toSerialize := map[string]interface{}{}
toSerialize["name"] = o.Name
toSerialize["type"] = o.Type
toSerialize["is_active"] = o.IsActive
if o.Id.IsSet() {
toSerialize["id"] = o.Id.Get()
@@ -161,6 +188,7 @@ func (o *AccessAuthorizationDB) UnmarshalJSON(data []byte) (err error) {
// that every required field exists as a key in the generic map.
requiredProperties := []string{
"name",
"type",
"is_active",
}