Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions api/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ docs/TsdbRoleConfig.md
docs/TypesAPIMetricsGetOutput.md
docs/TypesAPIMetricsRecord.md
docs/TypesAPIMetricsRole.md
docs/TypesDHCPOption.md
docs/TypesOIDCConfig.md
docs/TypesOption.md
git_push.sh
go.mod
go.sum
Expand Down Expand Up @@ -223,18 +223,7 @@ model_tsdb_role_config.go
model_types_api_metrics_get_output.go
model_types_api_metrics_record.go
model_types_api_metrics_role.go
model_types_dhcp_option.go
model_types_oidc_config.go
model_types_option.go
response.go
test/api_cluster_instances_test.go
test/api_cluster_test.go
test/api_roles_api_test.go
test/api_roles_backup_test.go
test/api_roles_dhcp_test.go
test/api_roles_discovery_test.go
test/api_roles_dns_test.go
test/api_roles_etcd_test.go
test/api_roles_monitoring_test.go
test/api_roles_tftp_test.go
test/api_roles_tsdb_test.go
utils.go
2 changes: 1 addition & 1 deletion api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ Class | Method | HTTP request | Description
- [TypesAPIMetricsGetOutput](docs/TypesAPIMetricsGetOutput.md)
- [TypesAPIMetricsRecord](docs/TypesAPIMetricsRecord.md)
- [TypesAPIMetricsRole](docs/TypesAPIMetricsRole.md)
- [TypesDHCPOption](docs/TypesDHCPOption.md)
- [TypesOIDCConfig](docs/TypesOIDCConfig.md)
- [TypesOption](docs/TypesOption.md)


## Documentation For Authorization
Expand Down
139 changes: 89 additions & 50 deletions api/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2541,24 +2541,32 @@ components:
zone: zone
addZoneInHostname: true
options:
- value64:
- valueLegacy: valueLegacy
value64:
- value64
- value64
def: def
valueHex:
- valueHex
- valueHex
tag: 0
tagName: tagName
value: value
- value64:
value:
- value
- value
- valueLegacy: valueLegacy
value64:
- value64
- value64
def: def
valueHex:
- valueHex
- valueHex
tag: 0
tagName: tagName
value: value
value:
- value
- value
ttl: 5
statistics:
usable: 0
Expand All @@ -2577,7 +2585,7 @@ components:
type: object
options:
items:
$ref: '#/components/schemas/TypesDHCPOption'
$ref: '#/components/schemas/TypesOption'
nullable: true
type: array
scope:
Expand Down Expand Up @@ -2629,24 +2637,32 @@ components:
zone: zone
addZoneInHostname: true
options:
- value64:
- valueLegacy: valueLegacy
value64:
- value64
- value64
def: def
valueHex:
- valueHex
- valueHex
tag: 0
tagName: tagName
value: value
- value64:
value:
- value
- value
- valueLegacy: valueLegacy
value64:
- value64
- value64
def: def
valueHex:
- valueHex
- valueHex
tag: 0
tagName: tagName
value: value
value:
- value
- value
ttl: 5
statistics:
usable: 0
Expand All @@ -2664,24 +2680,32 @@ components:
zone: zone
addZoneInHostname: true
options:
- value64:
- valueLegacy: valueLegacy
value64:
- value64
- value64
def: def
valueHex:
- valueHex
- valueHex
tag: 0
tagName: tagName
value: value
- value64:
value:
- value
- value
- valueLegacy: valueLegacy
value64:
- value64
- value64
def: def
valueHex:
- valueHex
- valueHex
tag: 0
tagName: tagName
value: value
value:
- value
- value
ttl: 5
statistics:
usable: 0
Expand Down Expand Up @@ -2736,24 +2760,32 @@ components:
zone: zone
addZoneInHostname: true
options:
- value64:
- valueLegacy: valueLegacy
value64:
- value64
- value64
def: def
valueHex:
- valueHex
- valueHex
tag: 0
tagName: tagName
value: value
- value64:
value:
- value
- value
- valueLegacy: valueLegacy
value64:
- value64
- value64
def: def
valueHex:
- valueHex
- valueHex
tag: 0
tagName: tagName
value: value
value:
- value
- value
ttl: 0
properties:
default:
Expand All @@ -2769,7 +2801,7 @@ components:
type: object
options:
items:
$ref: '#/components/schemas/TypesDHCPOption'
$ref: '#/components/schemas/TypesOption'
nullable: true
type: array
subnetCidr:
Expand Down Expand Up @@ -3584,38 +3616,6 @@ components:
- system
- dns
type: string
TypesDHCPOption:
example:
value64:
- value64
- value64
valueHex:
- valueHex
- valueHex
tag: 0
tagName: tagName
value: value
properties:
tag:
minimum: 0
nullable: true
type: integer
tagName:
type: string
value:
nullable: true
type: string
value64:
items:
type: string
nullable: true
type: array
valueHex:
items:
type: string
nullable: true
type: array
type: object
TypesOIDCConfig:
example:
tokenUsernameField: tokenUsernameField
Expand Down Expand Up @@ -3643,3 +3643,42 @@ components:
tokenUsernameField:
type: string
type: object
TypesOption:
example:
valueLegacy: valueLegacy
value64:
- value64
- value64
def: def
valueHex:
- valueHex
- valueHex
tag: 0
tagName: tagName
value:
- value
- value
properties:
def:
type: string
tag:
minimum: 0
type: integer
tagName:
type: string
value:
items:
format: base64
type: string
type: array
value64:
items:
type: string
type: array
valueHex:
items:
type: string
type: array
valueLegacy:
type: string
type: object
10 changes: 5 additions & 5 deletions api/docs/DhcpAPIScope.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**Dns** | Pointer to [**DhcpScopeDNS**](DhcpScopeDNS.md) | | [optional]
**Hook** | **string** | |
**Ipam** | **map[string]string** | |
**Options** | [**[]TypesDHCPOption**](TypesDHCPOption.md) | |
**Options** | [**[]TypesOption**](TypesOption.md) | |
**Scope** | **string** | |
**Statistics** | [**DhcpAPIScopeStatistics**](DhcpAPIScopeStatistics.md) | |
**SubnetCidr** | **string** | |
Expand All @@ -18,7 +18,7 @@ Name | Type | Description | Notes

### NewDhcpAPIScope

`func NewDhcpAPIScope(default_ bool, hook string, ipam map[string]string, options []TypesDHCPOption, scope string, statistics DhcpAPIScopeStatistics, subnetCidr string, ttl int32, ) *DhcpAPIScope`
`func NewDhcpAPIScope(default_ bool, hook string, ipam map[string]string, options []TypesOption, scope string, statistics DhcpAPIScopeStatistics, subnetCidr string, ttl int32, ) *DhcpAPIScope`

NewDhcpAPIScope instantiates a new DhcpAPIScope object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -130,20 +130,20 @@ SetIpam sets Ipam field to given value.
UnsetIpam ensures that no value is present for Ipam, not even an explicit nil
### GetOptions

`func (o *DhcpAPIScope) GetOptions() []TypesDHCPOption`
`func (o *DhcpAPIScope) GetOptions() []TypesOption`

GetOptions returns the Options field if non-nil, zero value otherwise.

### GetOptionsOk

`func (o *DhcpAPIScope) GetOptionsOk() (*[]TypesDHCPOption, bool)`
`func (o *DhcpAPIScope) GetOptionsOk() (*[]TypesOption, bool)`

GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetOptions

`func (o *DhcpAPIScope) SetOptions(v []TypesDHCPOption)`
`func (o *DhcpAPIScope) SetOptions(v []TypesOption)`

SetOptions sets Options field to given value.

Expand Down
10 changes: 5 additions & 5 deletions api/docs/DhcpAPIScopesPutInput.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ Name | Type | Description | Notes
**Dns** | Pointer to [**DhcpScopeDNS**](DhcpScopeDNS.md) | | [optional]
**Hook** | **string** | |
**Ipam** | Pointer to **map[string]string** | | [optional]
**Options** | [**[]TypesDHCPOption**](TypesDHCPOption.md) | |
**Options** | [**[]TypesOption**](TypesOption.md) | |
**SubnetCidr** | **string** | |
**Ttl** | **int32** | |

## Methods

### NewDhcpAPIScopesPutInput

`func NewDhcpAPIScopesPutInput(default_ bool, hook string, options []TypesDHCPOption, subnetCidr string, ttl int32, ) *DhcpAPIScopesPutInput`
`func NewDhcpAPIScopesPutInput(default_ bool, hook string, options []TypesOption, subnetCidr string, ttl int32, ) *DhcpAPIScopesPutInput`

NewDhcpAPIScopesPutInput instantiates a new DhcpAPIScopesPutInput object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -133,20 +133,20 @@ HasIpam returns a boolean if a field has been set.
UnsetIpam ensures that no value is present for Ipam, not even an explicit nil
### GetOptions

`func (o *DhcpAPIScopesPutInput) GetOptions() []TypesDHCPOption`
`func (o *DhcpAPIScopesPutInput) GetOptions() []TypesOption`

GetOptions returns the Options field if non-nil, zero value otherwise.

### GetOptionsOk

`func (o *DhcpAPIScopesPutInput) GetOptionsOk() (*[]TypesDHCPOption, bool)`
`func (o *DhcpAPIScopesPutInput) GetOptionsOk() (*[]TypesOption, bool)`

GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetOptions

`func (o *DhcpAPIScopesPutInput) SetOptions(v []TypesDHCPOption)`
`func (o *DhcpAPIScopesPutInput) SetOptions(v []TypesOption)`

SetOptions sets Options field to given value.

Expand Down
2 changes: 1 addition & 1 deletion api/docs/RolesDhcpApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ import (

func main() {
scope := "scope_example" // string |
dhcpAPIScopesPutInput := *openapiclient.NewDhcpAPIScopesPutInput(false, "Hook_example", []openapiclient.TypesDHCPOption{*openapiclient.NewTypesDHCPOption()}, "SubnetCidr_example", int32(123)) // DhcpAPIScopesPutInput | (optional)
dhcpAPIScopesPutInput := *openapiclient.NewDhcpAPIScopesPutInput(false, "Hook_example", []openapiclient.TypesOption{*openapiclient.NewTypesOption()}, "SubnetCidr_example", int32(123)) // DhcpAPIScopesPutInput | (optional)

configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
Expand Down
Loading
Loading