diff --git a/pkg/config-api-client/.openapi-generator/FILES b/pkg/config-api-client/.openapi-generator/FILES index 8670fba8..bc0d4d7f 100644 --- a/pkg/config-api-client/.openapi-generator/FILES +++ b/pkg/config-api-client/.openapi-generator/FILES @@ -10,13 +10,13 @@ docs/GroupsGetItem.md docs/GroupsGetResponse.md docs/GroupsPostRequest.md docs/GroupsPostResponse.md -docs/LivenessResponse.md docs/PaginationDetails.md -docs/ReadinessErrorResponse.md -docs/ReadinessResponse.md docs/SensorGroupAssignment.md docs/SensorGroupAssignmentsResponse.md -docs/StatusResponse.md +docs/WiredNetwork.md +docs/WiredNetworksResponse.md +docs/WirelessNetwork.md +docs/WirelessNetworksResponse.md go.mod go.sum model_error_detail.go @@ -25,12 +25,12 @@ model_groups_get_item.go model_groups_get_response.go model_groups_post_request.go model_groups_post_response.go -model_liveness_response.go model_pagination_details.go -model_readiness_error_response.go -model_readiness_response.go model_sensor_group_assignment.go model_sensor_group_assignments_response.go -model_status_response.go +model_wired_network.go +model_wired_networks_response.go +model_wireless_network.go +model_wireless_networks_response.go response.go utils.go diff --git a/pkg/config-api-client/README.md b/pkg/config-api-client/README.md index dc4b9b08..d1683cac 100644 --- a/pkg/config-api-client/README.md +++ b/pkg/config-api-client/README.md @@ -5,7 +5,7 @@ Nice description goes here ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 1.5.0 +- API version: 1.9.0 - Package version: 1.0.0 - Generator version: 7.8.0-SNAPSHOT - Build package: org.openapitools.codegen.languages.GoClientCodegen @@ -80,9 +80,8 @@ All URIs are relative to *https://api.capenetworks.com* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *ConfigurationAPI* | [**GetConfigurationAppV1SensorGroupAssignmentsGet**](docs/ConfigurationAPI.md#getconfigurationappv1sensorgroupassignmentsget) | **Get** /configuration/app/v1/sensor-group-assignments | Get -*ConfigurationAPI* | [**GetLivezHealthLivezGet**](docs/ConfigurationAPI.md#getlivezhealthlivezget) | **Get** /health/livez | Live health check -*ConfigurationAPI* | [**GetReadyzHealthReadyzGet**](docs/ConfigurationAPI.md#getreadyzhealthreadyzget) | **Get** /health/readyz | Ready health check -*ConfigurationAPI* | [**GetStatusHealthStatusGet**](docs/ConfigurationAPI.md#getstatushealthstatusget) | **Get** /health/status | Service stats endpoint +*ConfigurationAPI* | [**GetConfigurationAppV1WiredNetworksGet**](docs/ConfigurationAPI.md#getconfigurationappv1wirednetworksget) | **Get** /configuration/app/v1/wired-networks | Get +*ConfigurationAPI* | [**GetConfigurationAppV1WirelessNetworksGet**](docs/ConfigurationAPI.md#getconfigurationappv1wirelessnetworksget) | **Get** /configuration/app/v1/wireless-networks | Get *ConfigurationAPI* | [**GroupsGetConfigurationAppV1GroupsGet**](docs/ConfigurationAPI.md#groupsgetconfigurationappv1groupsget) | **Get** /configuration/app/v1/groups | Groups Get *ConfigurationAPI* | [**GroupsPostConfigurationAppV1GroupsPost**](docs/ConfigurationAPI.md#groupspostconfigurationappv1groupspost) | **Post** /configuration/app/v1/groups | Groups Post @@ -95,13 +94,13 @@ Class | Method | HTTP request | Description - [GroupsGetResponse](docs/GroupsGetResponse.md) - [GroupsPostRequest](docs/GroupsPostRequest.md) - [GroupsPostResponse](docs/GroupsPostResponse.md) - - [LivenessResponse](docs/LivenessResponse.md) - [PaginationDetails](docs/PaginationDetails.md) - - [ReadinessErrorResponse](docs/ReadinessErrorResponse.md) - - [ReadinessResponse](docs/ReadinessResponse.md) - [SensorGroupAssignment](docs/SensorGroupAssignment.md) - [SensorGroupAssignmentsResponse](docs/SensorGroupAssignmentsResponse.md) - - [StatusResponse](docs/StatusResponse.md) + - [WiredNetwork](docs/WiredNetwork.md) + - [WiredNetworksResponse](docs/WiredNetworksResponse.md) + - [WirelessNetwork](docs/WirelessNetwork.md) + - [WirelessNetworksResponse](docs/WirelessNetworksResponse.md) ## Documentation For Authorization diff --git a/pkg/config-api-client/api/.openapi.source.yaml b/pkg/config-api-client/api/.openapi.source.yaml index 71c98933..fdb386d7 100644 --- a/pkg/config-api-client/api/.openapi.source.yaml +++ b/pkg/config-api-client/api/.openapi.source.yaml @@ -9,62 +9,11 @@ info: email: support@capenetworks.com license: name: No idea, but we need something - version: 1.5.0 + version: 1.9.0 servers: - url: https://api.capenetworks.com - url: https://api.staging.capedev.io paths: - /health/livez: - get: - operationId: get_livez_health_livez_get - summary: Live health check - description: Check the health of the service. - responses: - '200': - description: Successful Response - content: - application/json: - schema: - $ref: '#/components/schemas/LivenessResponse' - deprecated: true - tags: - - health - /health/readyz: - get: - operationId: get_readyz_health_readyz_get - summary: Ready health check - description: Check if the service is ready to process requests. - responses: - '200': - description: Successful Response - content: - application/json: - schema: - $ref: '#/components/schemas/ReadinessResponse' - '503': - description: Service Unavailable - content: - application/json: - schema: - $ref: '#/components/schemas/ReadinessErrorResponse' - deprecated: true - tags: - - health - /health/status: - get: - operationId: get_status_health_status_get - summary: Service stats endpoint - description: Check basic service details. - responses: - '200': - description: Successful Response - content: - application/json: - schema: - $ref: '#/components/schemas/StatusResponse' - deprecated: true - tags: - - health /configuration/app/v1/groups: get: operationId: groups_get_configuration_app_v1_groups_get @@ -120,11 +69,13 @@ paths: - configuration - v1 - groups + x-stability-level: alpha post: operationId: groups_post_configuration_app_v1_groups_post summary: Groups Post description: >- - Create a new group with the group identified in `parent_uid` as its parent + Create a new group with the group identified in `parent_uid` as its + parent requestBody: required: true content: @@ -213,6 +164,118 @@ paths: - v1 - sensor-group-assignments x-stability-level: alpha + /configuration/app/v1/wired-networks: + get: + operationId: get_configuration_app_v1_wired_networks_get + summary: Get + description: Get a list of wired networks + parameters: + - name: uid + in: query + required: false + schema: + anyOf: + - type: string + nullable: true + title: Uid + - name: cursor + in: query + required: false + schema: + anyOf: + - type: string + nullable: true + title: Cursor + - name: limit + in: query + required: false + schema: + type: integer + default: 50 + title: Limit + responses: + '200': + description: Successful Response + content: + application/json: + schema: + $ref: '#/components/schemas/WiredNetworksResponse' + 4XX: + description: Client Error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + 5XX: + description: Server Error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - HTTPBearer: [] + tags: + - api + - configuration + - v1 + - wired-networks + x-stability-level: alpha + /configuration/app/v1/wireless-networks: + get: + operationId: get_configuration_app_v1_wireless_networks_get + summary: Get + description: Get a list of wireless networks + parameters: + - name: uid + in: query + required: false + schema: + anyOf: + - type: string + nullable: true + title: Uid + - name: cursor + in: query + required: false + schema: + anyOf: + - type: string + nullable: true + title: Cursor + - name: limit + in: query + required: false + schema: + type: integer + default: 50 + title: Limit + responses: + '200': + description: Successful Response + content: + application/json: + schema: + $ref: '#/components/schemas/WirelessNetworksResponse' + 4XX: + description: Client Error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + 5XX: + description: Server Error + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: + - HTTPBearer: [] + tags: + - api + - configuration + - v1 + - wireless-networks + x-stability-level: alpha components: schemas: ErrorDetail: @@ -248,7 +311,9 @@ components: type: string title: Path parent_uid: - type: string + anyOf: + - type: string + nullable: true title: Parent Uid required: - uid @@ -304,17 +369,6 @@ components: - uid - path title: GroupsPostResponse - LivenessResponse: - type: object - properties: - status: - type: string - enum: - - OK - title: Status - required: - - status - title: LivenessResponse PaginationDetails: type: object properties: @@ -348,40 +402,6 @@ components: - first - last title: PaginationDetails - ReadinessErrorResponse: - type: object - properties: - data: - type: object - additionalProperties: - type: string - title: Data - status: - type: string - enum: - - ERROR - title: Status - required: - - data - - status - title: ReadinessErrorResponse - ReadinessResponse: - type: object - properties: - data: - type: object - additionalProperties: - type: string - title: Data - status: - type: string - enum: - - OK - title: Status - required: - - data - - status - title: ReadinessResponse SensorGroupAssignment: type: object properties: @@ -413,19 +433,170 @@ components: - sensor_group_assignments - pagination title: SensorGroupAssignmentsResponse - StatusResponse: + WiredNetwork: type: object properties: - name: + uid: type: string - title: Name - version: + title: Uid + alias: type: string - title: Version + title: Alias + ip_version: + type: string + title: Ip Version + sensor_count: + type: integer + title: Sensor Count + updated_at: + type: string + format: date-time + title: Updated At + created_at: + type: string + format: date-time + title: Created At + disabled: + type: boolean + title: Disabled + security: + anyOf: + - type: string + nullable: true + title: Security + dns_lookup_domain: + anyOf: + - type: string + nullable: true + title: Dns Lookup Domain + disable_edns: + type: boolean + title: Disable Edns + use_dns64: + type: boolean + title: Use Dns64 + external_connectivity: + type: boolean + title: External Connectivity + vlan_id: + anyOf: + - type: integer + nullable: true + title: Vlan Id required: - - name - - version - title: StatusResponse + - uid + - alias + - ip_version + - sensor_count + - updated_at + - created_at + - disabled + - security + - dns_lookup_domain + - disable_edns + - use_dns64 + - external_connectivity + - vlan_id + title: WiredNetwork + WiredNetworksResponse: + type: object + properties: + wired_networks: + type: array + items: + $ref: '#/components/schemas/WiredNetwork' + title: Wired Networks + pagination: + $ref: '#/components/schemas/PaginationDetails' + required: + - wired_networks + - pagination + title: WiredNetworksResponse + WirelessNetwork: + type: object + properties: + uid: + type: string + title: Uid + alias: + type: string + title: Alias + ssid: + type: string + title: Ssid + security: + anyOf: + - type: string + nullable: true + title: Security + ip_version: + type: string + title: Ip Version + sensor_count: + type: integer + title: Sensor Count + updated_at: + type: string + format: date-time + title: Updated At + created_at: + type: string + format: date-time + title: Created At + disabled: + type: boolean + title: Disabled + hidden: + type: boolean + title: Hidden + band_locking: + type: string + title: Band Locking + dns_lookup_domain: + anyOf: + - type: string + nullable: true + title: Dns Lookup Domain + disable_edns: + type: boolean + title: Disable Edns + use_dns64: + type: boolean + title: Use Dns64 + external_connectivity: + type: boolean + title: External Connectivity + required: + - uid + - alias + - ssid + - security + - ip_version + - sensor_count + - updated_at + - created_at + - disabled + - hidden + - band_locking + - dns_lookup_domain + - disable_edns + - use_dns64 + - external_connectivity + title: WirelessNetwork + WirelessNetworksResponse: + type: object + properties: + wireless_networks: + type: array + items: + $ref: '#/components/schemas/WirelessNetwork' + title: Wireless Networks + pagination: + $ref: '#/components/schemas/PaginationDetails' + required: + - wireless_networks + - pagination + title: WirelessNetworksResponse securitySchemes: HTTPBearer: type: http @@ -437,3 +608,5 @@ tags: - name: groups - name: health - name: sensor-group-assignments + - name: wired-networks + - name: wireless-networks diff --git a/pkg/config-api-client/api/openapi.yaml b/pkg/config-api-client/api/openapi.yaml index 8fc3c5a0..f9a7b01a 100644 --- a/pkg/config-api-client/api/openapi.yaml +++ b/pkg/config-api-client/api/openapi.yaml @@ -9,7 +9,7 @@ info: name: "No idea, but we need something" termsOfService: http://we.dont.care.yet.com/term-of-service title: Configuration Api - version: 1.5.0 + version: 1.9.0 servers: - url: https://api.capenetworks.com - url: https://api.staging.capedev.io @@ -20,62 +20,102 @@ tags: - name: groups - name: health - name: sensor-group-assignments +- name: wired-networks +- name: wireless-networks paths: - /health/livez: + /configuration/app/v1/groups: get: - deprecated: true - description: Check the health of the service. - operationId: get_livez_health_livez_get + description: Lists groups matching provided criteria + operationId: groups_get_configuration_app_v1_groups_get + parameters: + - explode: true + in: query + name: uid + required: false + schema: + nullable: true + type: string + style: form + - explode: true + in: query + name: cursor + required: false + schema: + nullable: true + type: string + style: form + - explode: true + in: query + name: limit + required: false + schema: + default: 50 + title: Limit + type: integer + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/LivenessResponse' + $ref: '#/components/schemas/GroupsGetResponse' description: Successful Response - summary: Live health check - tags: - - configuration - /health/readyz: - get: - deprecated: true - description: Check if the service is ready to process requests. - operationId: get_readyz_health_readyz_get - responses: - "200": + "4XX": content: application/json: schema: - $ref: '#/components/schemas/ReadinessResponse' - description: Successful Response - "503": + $ref: '#/components/schemas/ErrorResponse' + description: Client Error + "5XX": content: application/json: schema: - $ref: '#/components/schemas/ReadinessErrorResponse' - description: Service Unavailable - summary: Ready health check + $ref: '#/components/schemas/ErrorResponse' + description: Server Error + security: + - HTTPBearer: [] + summary: Groups Get tags: - configuration - /health/status: - get: - deprecated: true - description: Check basic service details. - operationId: get_status_health_status_get + x-stability-level: alpha + post: + description: Create a new group with the group identified in `parent_uid` as + its parent + operationId: groups_post_configuration_app_v1_groups_post + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GroupsPostRequest' + required: true responses: "200": content: application/json: schema: - $ref: '#/components/schemas/StatusResponse' + $ref: '#/components/schemas/GroupsPostResponse' description: Successful Response - summary: Service stats endpoint + "4XX": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Client Error + "5XX": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + description: Server Error + security: + - HTTPBearer: [] + summary: Groups Post tags: - configuration - /configuration/app/v1/groups: + /configuration/app/v1/sensor-group-assignments: get: - description: Lists groups matching provided criteria - operationId: groups_get_configuration_app_v1_groups_get + description: Get a list of sensor group assignments + operationId: get_configuration_app_v1_sensor_group_assignments_get parameters: - explode: true in: query @@ -107,7 +147,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/GroupsGetResponse' + $ref: '#/components/schemas/SensorGroupAssignmentsResponse' description: Successful Response "4XX": content: @@ -123,25 +163,46 @@ paths: description: Server Error security: - HTTPBearer: [] - summary: Groups Get + summary: Get tags: - configuration - post: - description: Create a new group with the group identified in `parent_uid` as - its parent - operationId: groups_post_configuration_app_v1_groups_post - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/GroupsPostRequest' - required: true + x-stability-level: alpha + /configuration/app/v1/wired-networks: + get: + description: Get a list of wired networks + operationId: get_configuration_app_v1_wired_networks_get + parameters: + - explode: true + in: query + name: uid + required: false + schema: + nullable: true + type: string + style: form + - explode: true + in: query + name: cursor + required: false + schema: + nullable: true + type: string + style: form + - explode: true + in: query + name: limit + required: false + schema: + default: 50 + title: Limit + type: integer + style: form responses: "200": content: application/json: schema: - $ref: '#/components/schemas/GroupsPostResponse' + $ref: '#/components/schemas/WiredNetworksResponse' description: Successful Response "4XX": content: @@ -157,13 +218,14 @@ paths: description: Server Error security: - HTTPBearer: [] - summary: Groups Post + summary: Get tags: - configuration - /configuration/app/v1/sensor-group-assignments: + x-stability-level: alpha + /configuration/app/v1/wireless-networks: get: - description: Get a list of sensor group assignments - operationId: get_configuration_app_v1_sensor_group_assignments_get + description: Get a list of wireless networks + operationId: get_configuration_app_v1_wireless_networks_get parameters: - explode: true in: query @@ -195,7 +257,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/SensorGroupAssignmentsResponse' + $ref: '#/components/schemas/WirelessNetworksResponse' description: Successful Response "4XX": content: @@ -260,7 +322,7 @@ components: title: Path type: string parent_uid: - title: Parent Uid + nullable: true type: string required: - name @@ -341,19 +403,6 @@ components: - uid title: GroupsPostResponse type: object - LivenessResponse: - example: - status: OK - properties: - status: - enum: - - OK - title: Status - type: string - required: - - status - title: LivenessResponse - type: object PaginationDetails: example: next: next @@ -385,48 +434,6 @@ components: - previous title: PaginationDetails type: object - ReadinessErrorResponse: - example: - data: - key: data - status: ERROR - properties: - data: - additionalProperties: - type: string - title: Data - type: object - status: - enum: - - ERROR - title: Status - type: string - required: - - data - - status - title: ReadinessErrorResponse - type: object - ReadinessResponse: - example: - data: - key: data - status: OK - properties: - data: - additionalProperties: - type: string - title: Data - type: object - status: - enum: - - OK - title: Status - type: string - required: - - data - - status - title: ReadinessResponse - type: object SensorGroupAssignment: example: group_uid: group_uid @@ -476,21 +483,261 @@ components: - sensor_group_assignments title: SensorGroupAssignmentsResponse type: object - StatusResponse: + WiredNetwork: example: - name: name - version: version + vlan_id: 6 + created_at: 2000-01-23T04:56:07.000+00:00 + sensor_count: 0 + external_connectivity: true + dns_lookup_domain: dns_lookup_domain + disable_edns: true + uid: uid + security: security + ip_version: ip_version + updated_at: 2000-01-23T04:56:07.000+00:00 + alias: alias + disabled: true + use_dns64: true properties: - name: - title: Name + uid: + title: Uid + type: string + alias: + title: Alias type: string - version: - title: Version + ip_version: + title: Ip Version + type: string + sensor_count: + title: Sensor Count + type: integer + updated_at: + format: date-time + title: Updated At + type: string + created_at: + format: date-time + title: Created At + type: string + disabled: + title: Disabled + type: boolean + security: + nullable: true type: string + dns_lookup_domain: + nullable: true + type: string + disable_edns: + title: Disable Edns + type: boolean + use_dns64: + title: Use Dns64 + type: boolean + external_connectivity: + title: External Connectivity + type: boolean + vlan_id: + nullable: true + type: integer required: - - name - - version - title: StatusResponse + - alias + - created_at + - disable_edns + - disabled + - dns_lookup_domain + - external_connectivity + - ip_version + - security + - sensor_count + - uid + - updated_at + - use_dns64 + - vlan_id + title: WiredNetwork + type: object + WiredNetworksResponse: + example: + pagination: + next: next + previous: previous + last: last + limit: 0 + first: first + wired_networks: + - vlan_id: 6 + created_at: 2000-01-23T04:56:07.000+00:00 + sensor_count: 0 + external_connectivity: true + dns_lookup_domain: dns_lookup_domain + disable_edns: true + uid: uid + security: security + ip_version: ip_version + updated_at: 2000-01-23T04:56:07.000+00:00 + alias: alias + disabled: true + use_dns64: true + - vlan_id: 6 + created_at: 2000-01-23T04:56:07.000+00:00 + sensor_count: 0 + external_connectivity: true + dns_lookup_domain: dns_lookup_domain + disable_edns: true + uid: uid + security: security + ip_version: ip_version + updated_at: 2000-01-23T04:56:07.000+00:00 + alias: alias + disabled: true + use_dns64: true + properties: + wired_networks: + items: + $ref: '#/components/schemas/WiredNetwork' + title: Wired Networks + type: array + pagination: + $ref: '#/components/schemas/PaginationDetails' + required: + - pagination + - wired_networks + title: WiredNetworksResponse + type: object + WirelessNetwork: + example: + hidden: true + created_at: 2000-01-23T04:56:07.000+00:00 + sensor_count: 0 + external_connectivity: true + ssid: ssid + dns_lookup_domain: dns_lookup_domain + disable_edns: true + uid: uid + security: security + ip_version: ip_version + updated_at: 2000-01-23T04:56:07.000+00:00 + alias: alias + disabled: true + use_dns64: true + band_locking: band_locking + properties: + uid: + title: Uid + type: string + alias: + title: Alias + type: string + ssid: + title: Ssid + type: string + security: + nullable: true + type: string + ip_version: + title: Ip Version + type: string + sensor_count: + title: Sensor Count + type: integer + updated_at: + format: date-time + title: Updated At + type: string + created_at: + format: date-time + title: Created At + type: string + disabled: + title: Disabled + type: boolean + hidden: + title: Hidden + type: boolean + band_locking: + title: Band Locking + type: string + dns_lookup_domain: + nullable: true + type: string + disable_edns: + title: Disable Edns + type: boolean + use_dns64: + title: Use Dns64 + type: boolean + external_connectivity: + title: External Connectivity + type: boolean + required: + - alias + - band_locking + - created_at + - disable_edns + - disabled + - dns_lookup_domain + - external_connectivity + - hidden + - ip_version + - security + - sensor_count + - ssid + - uid + - updated_at + - use_dns64 + title: WirelessNetwork + type: object + WirelessNetworksResponse: + example: + wireless_networks: + - hidden: true + created_at: 2000-01-23T04:56:07.000+00:00 + sensor_count: 0 + external_connectivity: true + ssid: ssid + dns_lookup_domain: dns_lookup_domain + disable_edns: true + uid: uid + security: security + ip_version: ip_version + updated_at: 2000-01-23T04:56:07.000+00:00 + alias: alias + disabled: true + use_dns64: true + band_locking: band_locking + - hidden: true + created_at: 2000-01-23T04:56:07.000+00:00 + sensor_count: 0 + external_connectivity: true + ssid: ssid + dns_lookup_domain: dns_lookup_domain + disable_edns: true + uid: uid + security: security + ip_version: ip_version + updated_at: 2000-01-23T04:56:07.000+00:00 + alias: alias + disabled: true + use_dns64: true + band_locking: band_locking + pagination: + next: next + previous: previous + last: last + limit: 0 + first: first + properties: + wireless_networks: + items: + $ref: '#/components/schemas/WirelessNetwork' + title: Wireless Networks + type: array + pagination: + $ref: '#/components/schemas/PaginationDetails' + required: + - pagination + - wireless_networks + title: WirelessNetworksResponse type: object securitySchemes: HTTPBearer: diff --git a/pkg/config-api-client/api_configuration.go b/pkg/config-api-client/api_configuration.go index 07d0fd32..002bce7f 100644 --- a/pkg/config-api-client/api_configuration.go +++ b/pkg/config-api-client/api_configuration.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ @@ -173,131 +173,43 @@ func (a *ConfigurationAPIService) GetConfigurationAppV1SensorGroupAssignmentsGet return localVarReturnValue, localVarHTTPResponse, nil } -type ApiGetLivezHealthLivezGetRequest struct { +type ApiGetConfigurationAppV1WiredNetworksGetRequest struct { ctx context.Context ApiService *ConfigurationAPIService + uid *string + cursor *string + limit *int32 } -func (r ApiGetLivezHealthLivezGetRequest) Execute() (*LivenessResponse, *http.Response, error) { - return r.ApiService.GetLivezHealthLivezGetExecute(r) -} - -/* -GetLivezHealthLivezGet Live health check - -Check the health of the service. - - @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiGetLivezHealthLivezGetRequest - -Deprecated -*/ -func (a *ConfigurationAPIService) GetLivezHealthLivezGet(ctx context.Context) ApiGetLivezHealthLivezGetRequest { - return ApiGetLivezHealthLivezGetRequest{ - ApiService: a, - ctx: ctx, - } +func (r ApiGetConfigurationAppV1WiredNetworksGetRequest) Uid(uid string) ApiGetConfigurationAppV1WiredNetworksGetRequest { + r.uid = &uid + return r } -// Execute executes the request -// -// @return LivenessResponse -// -// Deprecated -func (a *ConfigurationAPIService) GetLivezHealthLivezGetExecute(r ApiGetLivezHealthLivezGetRequest) (*LivenessResponse, *http.Response, error) { - var ( - localVarHTTPMethod = http.MethodGet - localVarPostBody interface{} - formFiles []formFile - localVarReturnValue *LivenessResponse - ) - - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConfigurationAPIService.GetLivezHealthLivezGet") - if err != nil { - return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} - } - - localVarPath := localBasePath + "/health/livez" - - localVarHeaderParams := make(map[string]string) - localVarQueryParams := url.Values{} - localVarFormParams := url.Values{} - - // to determine the Content-Type header - localVarHTTPContentTypes := []string{} - - // set Content-Type header - localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) - if localVarHTTPContentType != "" { - localVarHeaderParams["Content-Type"] = localVarHTTPContentType - } - - // to determine the Accept header - localVarHTTPHeaderAccepts := []string{"application/json"} - - // set Accept header - localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) - if localVarHTTPHeaderAccept != "" { - localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept - } - req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) - if err != nil { - return localVarReturnValue, nil, err - } - - localVarHTTPResponse, err := a.client.callAPI(req) - if err != nil || localVarHTTPResponse == nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) - localVarHTTPResponse.Body.Close() - localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) - if err != nil { - return localVarReturnValue, localVarHTTPResponse, err - } - - if localVarHTTPResponse.StatusCode >= 300 { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: localVarHTTPResponse.Status, - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) - if err != nil { - newErr := &GenericOpenAPIError{ - body: localVarBody, - error: err.Error(), - } - return localVarReturnValue, localVarHTTPResponse, newErr - } - - return localVarReturnValue, localVarHTTPResponse, nil +func (r ApiGetConfigurationAppV1WiredNetworksGetRequest) Cursor(cursor string) ApiGetConfigurationAppV1WiredNetworksGetRequest { + r.cursor = &cursor + return r } -type ApiGetReadyzHealthReadyzGetRequest struct { - ctx context.Context - ApiService *ConfigurationAPIService +func (r ApiGetConfigurationAppV1WiredNetworksGetRequest) Limit(limit int32) ApiGetConfigurationAppV1WiredNetworksGetRequest { + r.limit = &limit + return r } -func (r ApiGetReadyzHealthReadyzGetRequest) Execute() (*ReadinessResponse, *http.Response, error) { - return r.ApiService.GetReadyzHealthReadyzGetExecute(r) +func (r ApiGetConfigurationAppV1WiredNetworksGetRequest) Execute() (*WiredNetworksResponse, *http.Response, error) { + return r.ApiService.GetConfigurationAppV1WiredNetworksGetExecute(r) } /* -GetReadyzHealthReadyzGet Ready health check +GetConfigurationAppV1WiredNetworksGet Get -Check if the service is ready to process requests. +Get a list of wired networks @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiGetReadyzHealthReadyzGetRequest - -Deprecated + @return ApiGetConfigurationAppV1WiredNetworksGetRequest */ -func (a *ConfigurationAPIService) GetReadyzHealthReadyzGet(ctx context.Context) ApiGetReadyzHealthReadyzGetRequest { - return ApiGetReadyzHealthReadyzGetRequest{ +func (a *ConfigurationAPIService) GetConfigurationAppV1WiredNetworksGet(ctx context.Context) ApiGetConfigurationAppV1WiredNetworksGetRequest { + return ApiGetConfigurationAppV1WiredNetworksGetRequest{ ApiService: a, ctx: ctx, } @@ -305,28 +217,38 @@ func (a *ConfigurationAPIService) GetReadyzHealthReadyzGet(ctx context.Context) // Execute executes the request // -// @return ReadinessResponse -// -// Deprecated -func (a *ConfigurationAPIService) GetReadyzHealthReadyzGetExecute(r ApiGetReadyzHealthReadyzGetRequest) (*ReadinessResponse, *http.Response, error) { +// @return WiredNetworksResponse +func (a *ConfigurationAPIService) GetConfigurationAppV1WiredNetworksGetExecute(r ApiGetConfigurationAppV1WiredNetworksGetRequest) (*WiredNetworksResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *ReadinessResponse + localVarReturnValue *WiredNetworksResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConfigurationAPIService.GetReadyzHealthReadyzGet") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConfigurationAPIService.GetConfigurationAppV1WiredNetworksGet") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/health/readyz" + localVarPath := localBasePath + "/configuration/app/v1/wired-networks" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.uid != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "uid", r.uid, "") + } + if r.cursor != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "cursor", r.cursor, "") + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } else { + var defaultValue int32 = 50 + r.limit = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -366,8 +288,19 @@ func (a *ConfigurationAPIService) GetReadyzHealthReadyzGetExecute(r ApiGetReadyz body: localVarBody, error: localVarHTTPResponse.Status, } - if localVarHTTPResponse.StatusCode == 503 { - var v ReadinessErrorResponse + if localVarHTTPResponse.StatusCode >= 400 && localVarHTTPResponse.StatusCode < 500 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode >= 500 { + var v ErrorResponse err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) if err != nil { newErr.error = err.Error() @@ -391,27 +324,43 @@ func (a *ConfigurationAPIService) GetReadyzHealthReadyzGetExecute(r ApiGetReadyz return localVarReturnValue, localVarHTTPResponse, nil } -type ApiGetStatusHealthStatusGetRequest struct { +type ApiGetConfigurationAppV1WirelessNetworksGetRequest struct { ctx context.Context ApiService *ConfigurationAPIService + uid *string + cursor *string + limit *int32 +} + +func (r ApiGetConfigurationAppV1WirelessNetworksGetRequest) Uid(uid string) ApiGetConfigurationAppV1WirelessNetworksGetRequest { + r.uid = &uid + return r +} + +func (r ApiGetConfigurationAppV1WirelessNetworksGetRequest) Cursor(cursor string) ApiGetConfigurationAppV1WirelessNetworksGetRequest { + r.cursor = &cursor + return r } -func (r ApiGetStatusHealthStatusGetRequest) Execute() (*StatusResponse, *http.Response, error) { - return r.ApiService.GetStatusHealthStatusGetExecute(r) +func (r ApiGetConfigurationAppV1WirelessNetworksGetRequest) Limit(limit int32) ApiGetConfigurationAppV1WirelessNetworksGetRequest { + r.limit = &limit + return r +} + +func (r ApiGetConfigurationAppV1WirelessNetworksGetRequest) Execute() (*WirelessNetworksResponse, *http.Response, error) { + return r.ApiService.GetConfigurationAppV1WirelessNetworksGetExecute(r) } /* -GetStatusHealthStatusGet Service stats endpoint +GetConfigurationAppV1WirelessNetworksGet Get -Check basic service details. +Get a list of wireless networks @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @return ApiGetStatusHealthStatusGetRequest - -Deprecated + @return ApiGetConfigurationAppV1WirelessNetworksGetRequest */ -func (a *ConfigurationAPIService) GetStatusHealthStatusGet(ctx context.Context) ApiGetStatusHealthStatusGetRequest { - return ApiGetStatusHealthStatusGetRequest{ +func (a *ConfigurationAPIService) GetConfigurationAppV1WirelessNetworksGet(ctx context.Context) ApiGetConfigurationAppV1WirelessNetworksGetRequest { + return ApiGetConfigurationAppV1WirelessNetworksGetRequest{ ApiService: a, ctx: ctx, } @@ -419,28 +368,38 @@ func (a *ConfigurationAPIService) GetStatusHealthStatusGet(ctx context.Context) // Execute executes the request // -// @return StatusResponse -// -// Deprecated -func (a *ConfigurationAPIService) GetStatusHealthStatusGetExecute(r ApiGetStatusHealthStatusGetRequest) (*StatusResponse, *http.Response, error) { +// @return WirelessNetworksResponse +func (a *ConfigurationAPIService) GetConfigurationAppV1WirelessNetworksGetExecute(r ApiGetConfigurationAppV1WirelessNetworksGetRequest) (*WirelessNetworksResponse, *http.Response, error) { var ( localVarHTTPMethod = http.MethodGet localVarPostBody interface{} formFiles []formFile - localVarReturnValue *StatusResponse + localVarReturnValue *WirelessNetworksResponse ) - localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConfigurationAPIService.GetStatusHealthStatusGet") + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "ConfigurationAPIService.GetConfigurationAppV1WirelessNetworksGet") if err != nil { return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} } - localVarPath := localBasePath + "/health/status" + localVarPath := localBasePath + "/configuration/app/v1/wireless-networks" localVarHeaderParams := make(map[string]string) localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + if r.uid != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "uid", r.uid, "") + } + if r.cursor != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "cursor", r.cursor, "") + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "") + } else { + var defaultValue int32 = 50 + r.limit = &defaultValue + } // to determine the Content-Type header localVarHTTPContentTypes := []string{} @@ -480,6 +439,27 @@ func (a *ConfigurationAPIService) GetStatusHealthStatusGetExecute(r ApiGetStatus body: localVarBody, error: localVarHTTPResponse.Status, } + if localVarHTTPResponse.StatusCode >= 400 && localVarHTTPResponse.StatusCode < 500 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode >= 500 { + var v ErrorResponse + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } return localVarReturnValue, localVarHTTPResponse, newErr } diff --git a/pkg/config-api-client/client.go b/pkg/config-api-client/client.go index 637bc014..0012b086 100644 --- a/pkg/config-api-client/client.go +++ b/pkg/config-api-client/client.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ @@ -41,7 +41,7 @@ var ( queryDescape = strings.NewReplacer("%5B", "[", "%5D", "]") ) -// APIClient manages communication with the Configuration Api API v1.5.0 +// APIClient manages communication with the Configuration Api API v1.9.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration diff --git a/pkg/config-api-client/configuration.go b/pkg/config-api-client/configuration.go index 85dbe635..700ce337 100644 --- a/pkg/config-api-client/configuration.go +++ b/pkg/config-api-client/configuration.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ diff --git a/pkg/config-api-client/docs/ConfigurationAPI.md b/pkg/config-api-client/docs/ConfigurationAPI.md index 1532bab4..3cea5cc8 100644 --- a/pkg/config-api-client/docs/ConfigurationAPI.md +++ b/pkg/config-api-client/docs/ConfigurationAPI.md @@ -5,9 +5,8 @@ All URIs are relative to *https://api.capenetworks.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**GetConfigurationAppV1SensorGroupAssignmentsGet**](ConfigurationAPI.md#GetConfigurationAppV1SensorGroupAssignmentsGet) | **Get** /configuration/app/v1/sensor-group-assignments | Get -[**GetLivezHealthLivezGet**](ConfigurationAPI.md#GetLivezHealthLivezGet) | **Get** /health/livez | Live health check -[**GetReadyzHealthReadyzGet**](ConfigurationAPI.md#GetReadyzHealthReadyzGet) | **Get** /health/readyz | Ready health check -[**GetStatusHealthStatusGet**](ConfigurationAPI.md#GetStatusHealthStatusGet) | **Get** /health/status | Service stats endpoint +[**GetConfigurationAppV1WiredNetworksGet**](ConfigurationAPI.md#GetConfigurationAppV1WiredNetworksGet) | **Get** /configuration/app/v1/wired-networks | Get +[**GetConfigurationAppV1WirelessNetworksGet**](ConfigurationAPI.md#GetConfigurationAppV1WirelessNetworksGet) | **Get** /configuration/app/v1/wireless-networks | Get [**GroupsGetConfigurationAppV1GroupsGet**](ConfigurationAPI.md#GroupsGetConfigurationAppV1GroupsGet) | **Get** /configuration/app/v1/groups | Groups Get [**GroupsPostConfigurationAppV1GroupsPost**](ConfigurationAPI.md#GroupsPostConfigurationAppV1GroupsPost) | **Post** /configuration/app/v1/groups | Groups Post @@ -83,11 +82,11 @@ Name | Type | Description | Notes [[Back to README]](../README.md) -## GetLivezHealthLivezGet +## GetConfigurationAppV1WiredNetworksGet -> LivenessResponse GetLivezHealthLivezGet(ctx).Execute() +> WiredNetworksResponse GetConfigurationAppV1WiredNetworksGet(ctx).Uid(uid).Cursor(cursor).Limit(limit).Execute() -Live health check +Get @@ -104,96 +103,44 @@ import ( ) func main() { + uid := "uid_example" // string | (optional) + cursor := "cursor_example" // string | (optional) + limit := int32(56) // int32 | (optional) (default to 50) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ConfigurationAPI.GetLivezHealthLivezGet(context.Background()).Execute() + resp, r, err := apiClient.ConfigurationAPI.GetConfigurationAppV1WiredNetworksGet(context.Background()).Uid(uid).Cursor(cursor).Limit(limit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationAPI.GetLivezHealthLivezGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationAPI.GetConfigurationAppV1WiredNetworksGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetLivezHealthLivezGet`: LivenessResponse - fmt.Fprintf(os.Stdout, "Response from `ConfigurationAPI.GetLivezHealthLivezGet`: %v\n", resp) + // response from `GetConfigurationAppV1WiredNetworksGet`: WiredNetworksResponse + fmt.Fprintf(os.Stdout, "Response from `ConfigurationAPI.GetConfigurationAppV1WiredNetworksGet`: %v\n", resp) } ``` ### Path Parameters -This endpoint does not need any parameter. - -### Other Parameters - -Other parameters are passed through a pointer to a apiGetLivezHealthLivezGetRequest struct via the builder pattern - - -### Return type - -[**LivenessResponse**](LivenessResponse.md) - -### Authorization - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) -[[Back to Model list]](../README.md#documentation-for-models) -[[Back to README]](../README.md) - - -## GetReadyzHealthReadyzGet - -> ReadinessResponse GetReadyzHealthReadyzGet(ctx).Execute() - -Ready health check - - - -### Example - -```go -package main - -import ( - "context" - "fmt" - "os" - openapiclient "github.com/aruba-uxi/configuration-api-terraform-provider/pkg/config-api-client" -) - -func main() { - - configuration := openapiclient.NewConfiguration() - apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ConfigurationAPI.GetReadyzHealthReadyzGet(context.Background()).Execute() - if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationAPI.GetReadyzHealthReadyzGet``: %v\n", err) - fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) - } - // response from `GetReadyzHealthReadyzGet`: ReadinessResponse - fmt.Fprintf(os.Stdout, "Response from `ConfigurationAPI.GetReadyzHealthReadyzGet`: %v\n", resp) -} -``` - -### Path Parameters -This endpoint does not need any parameter. ### Other Parameters -Other parameters are passed through a pointer to a apiGetReadyzHealthReadyzGetRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetConfigurationAppV1WiredNetworksGetRequest struct via the builder pattern + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **uid** | **string** | | + **cursor** | **string** | | + **limit** | **int32** | | [default to 50] ### Return type -[**ReadinessResponse**](ReadinessResponse.md) +[**WiredNetworksResponse**](WiredNetworksResponse.md) ### Authorization -No authorization required +[HTTPBearer](../README.md#HTTPBearer) ### HTTP request headers @@ -205,11 +152,11 @@ No authorization required [[Back to README]](../README.md) -## GetStatusHealthStatusGet +## GetConfigurationAppV1WirelessNetworksGet -> StatusResponse GetStatusHealthStatusGet(ctx).Execute() +> WirelessNetworksResponse GetConfigurationAppV1WirelessNetworksGet(ctx).Uid(uid).Cursor(cursor).Limit(limit).Execute() -Service stats endpoint +Get @@ -226,35 +173,44 @@ import ( ) func main() { + uid := "uid_example" // string | (optional) + cursor := "cursor_example" // string | (optional) + limit := int32(56) // int32 | (optional) (default to 50) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) - resp, r, err := apiClient.ConfigurationAPI.GetStatusHealthStatusGet(context.Background()).Execute() + resp, r, err := apiClient.ConfigurationAPI.GetConfigurationAppV1WirelessNetworksGet(context.Background()).Uid(uid).Cursor(cursor).Limit(limit).Execute() if err != nil { - fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationAPI.GetStatusHealthStatusGet``: %v\n", err) + fmt.Fprintf(os.Stderr, "Error when calling `ConfigurationAPI.GetConfigurationAppV1WirelessNetworksGet``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } - // response from `GetStatusHealthStatusGet`: StatusResponse - fmt.Fprintf(os.Stdout, "Response from `ConfigurationAPI.GetStatusHealthStatusGet`: %v\n", resp) + // response from `GetConfigurationAppV1WirelessNetworksGet`: WirelessNetworksResponse + fmt.Fprintf(os.Stdout, "Response from `ConfigurationAPI.GetConfigurationAppV1WirelessNetworksGet`: %v\n", resp) } ``` ### Path Parameters -This endpoint does not need any parameter. + ### Other Parameters -Other parameters are passed through a pointer to a apiGetStatusHealthStatusGetRequest struct via the builder pattern +Other parameters are passed through a pointer to a apiGetConfigurationAppV1WirelessNetworksGetRequest struct via the builder pattern +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **uid** | **string** | | + **cursor** | **string** | | + **limit** | **int32** | | [default to 50] + ### Return type -[**StatusResponse**](StatusResponse.md) +[**WirelessNetworksResponse**](WirelessNetworksResponse.md) ### Authorization -No authorization required +[HTTPBearer](../README.md#HTTPBearer) ### HTTP request headers diff --git a/pkg/config-api-client/docs/GroupsGetItem.md b/pkg/config-api-client/docs/GroupsGetItem.md index a4e18a7a..bd8cd050 100644 --- a/pkg/config-api-client/docs/GroupsGetItem.md +++ b/pkg/config-api-client/docs/GroupsGetItem.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **Uid** | **string** | | **Name** | **string** | | **Path** | **string** | | -**ParentUid** | **string** | | +**ParentUid** | **NullableString** | | ## Methods ### NewGroupsGetItem -`func NewGroupsGetItem(uid string, name string, path string, parentUid string, ) *GroupsGetItem` +`func NewGroupsGetItem(uid string, name string, path string, parentUid NullableString, ) *GroupsGetItem` NewGroupsGetItem instantiates a new GroupsGetItem object This constructor will assign default values to properties that have it defined, @@ -108,6 +108,16 @@ and a boolean to check if the value has been set. SetParentUid sets ParentUid field to given value. +### SetParentUidNil + +`func (o *GroupsGetItem) SetParentUidNil(b bool)` + + SetParentUidNil sets the value for ParentUid to be an explicit nil + +### UnsetParentUid +`func (o *GroupsGetItem) UnsetParentUid()` + +UnsetParentUid ensures that no value is present for ParentUid, 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) diff --git a/pkg/config-api-client/docs/WiredNetwork.md b/pkg/config-api-client/docs/WiredNetwork.md new file mode 100644 index 00000000..762dfc8a --- /dev/null +++ b/pkg/config-api-client/docs/WiredNetwork.md @@ -0,0 +1,333 @@ +# WiredNetwork + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Uid** | **string** | | +**Alias** | **string** | | +**IpVersion** | **string** | | +**SensorCount** | **int32** | | +**UpdatedAt** | **time.Time** | | +**CreatedAt** | **time.Time** | | +**Disabled** | **bool** | | +**Security** | **NullableString** | | +**DnsLookupDomain** | **NullableString** | | +**DisableEdns** | **bool** | | +**UseDns64** | **bool** | | +**ExternalConnectivity** | **bool** | | +**VlanId** | **NullableInt32** | | + +## Methods + +### NewWiredNetwork + +`func NewWiredNetwork(uid string, alias string, ipVersion string, sensorCount int32, updatedAt time.Time, createdAt time.Time, disabled bool, security NullableString, dnsLookupDomain NullableString, disableEdns bool, useDns64 bool, externalConnectivity bool, vlanId NullableInt32, ) *WiredNetwork` + +NewWiredNetwork instantiates a new WiredNetwork 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 + +### NewWiredNetworkWithDefaults + +`func NewWiredNetworkWithDefaults() *WiredNetwork` + +NewWiredNetworkWithDefaults instantiates a new WiredNetwork 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 + +### GetUid + +`func (o *WiredNetwork) GetUid() string` + +GetUid returns the Uid field if non-nil, zero value otherwise. + +### GetUidOk + +`func (o *WiredNetwork) GetUidOk() (*string, bool)` + +GetUidOk returns a tuple with the Uid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUid + +`func (o *WiredNetwork) SetUid(v string)` + +SetUid sets Uid field to given value. + + +### GetAlias + +`func (o *WiredNetwork) GetAlias() string` + +GetAlias returns the Alias field if non-nil, zero value otherwise. + +### GetAliasOk + +`func (o *WiredNetwork) GetAliasOk() (*string, bool)` + +GetAliasOk returns a tuple with the Alias field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlias + +`func (o *WiredNetwork) SetAlias(v string)` + +SetAlias sets Alias field to given value. + + +### GetIpVersion + +`func (o *WiredNetwork) GetIpVersion() string` + +GetIpVersion returns the IpVersion field if non-nil, zero value otherwise. + +### GetIpVersionOk + +`func (o *WiredNetwork) GetIpVersionOk() (*string, bool)` + +GetIpVersionOk returns a tuple with the IpVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpVersion + +`func (o *WiredNetwork) SetIpVersion(v string)` + +SetIpVersion sets IpVersion field to given value. + + +### GetSensorCount + +`func (o *WiredNetwork) GetSensorCount() int32` + +GetSensorCount returns the SensorCount field if non-nil, zero value otherwise. + +### GetSensorCountOk + +`func (o *WiredNetwork) GetSensorCountOk() (*int32, bool)` + +GetSensorCountOk returns a tuple with the SensorCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSensorCount + +`func (o *WiredNetwork) SetSensorCount(v int32)` + +SetSensorCount sets SensorCount field to given value. + + +### GetUpdatedAt + +`func (o *WiredNetwork) GetUpdatedAt() time.Time` + +GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. + +### GetUpdatedAtOk + +`func (o *WiredNetwork) GetUpdatedAtOk() (*time.Time, bool)` + +GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedAt + +`func (o *WiredNetwork) SetUpdatedAt(v time.Time)` + +SetUpdatedAt sets UpdatedAt field to given value. + + +### GetCreatedAt + +`func (o *WiredNetwork) GetCreatedAt() time.Time` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *WiredNetwork) GetCreatedAtOk() (*time.Time, bool)` + +GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedAt + +`func (o *WiredNetwork) SetCreatedAt(v time.Time)` + +SetCreatedAt sets CreatedAt field to given value. + + +### GetDisabled + +`func (o *WiredNetwork) GetDisabled() bool` + +GetDisabled returns the Disabled field if non-nil, zero value otherwise. + +### GetDisabledOk + +`func (o *WiredNetwork) GetDisabledOk() (*bool, bool)` + +GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisabled + +`func (o *WiredNetwork) SetDisabled(v bool)` + +SetDisabled sets Disabled field to given value. + + +### GetSecurity + +`func (o *WiredNetwork) GetSecurity() string` + +GetSecurity returns the Security field if non-nil, zero value otherwise. + +### GetSecurityOk + +`func (o *WiredNetwork) GetSecurityOk() (*string, bool)` + +GetSecurityOk returns a tuple with the Security field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurity + +`func (o *WiredNetwork) SetSecurity(v string)` + +SetSecurity sets Security field to given value. + + +### SetSecurityNil + +`func (o *WiredNetwork) SetSecurityNil(b bool)` + + SetSecurityNil sets the value for Security to be an explicit nil + +### UnsetSecurity +`func (o *WiredNetwork) UnsetSecurity()` + +UnsetSecurity ensures that no value is present for Security, not even an explicit nil +### GetDnsLookupDomain + +`func (o *WiredNetwork) GetDnsLookupDomain() string` + +GetDnsLookupDomain returns the DnsLookupDomain field if non-nil, zero value otherwise. + +### GetDnsLookupDomainOk + +`func (o *WiredNetwork) GetDnsLookupDomainOk() (*string, bool)` + +GetDnsLookupDomainOk returns a tuple with the DnsLookupDomain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDnsLookupDomain + +`func (o *WiredNetwork) SetDnsLookupDomain(v string)` + +SetDnsLookupDomain sets DnsLookupDomain field to given value. + + +### SetDnsLookupDomainNil + +`func (o *WiredNetwork) SetDnsLookupDomainNil(b bool)` + + SetDnsLookupDomainNil sets the value for DnsLookupDomain to be an explicit nil + +### UnsetDnsLookupDomain +`func (o *WiredNetwork) UnsetDnsLookupDomain()` + +UnsetDnsLookupDomain ensures that no value is present for DnsLookupDomain, not even an explicit nil +### GetDisableEdns + +`func (o *WiredNetwork) GetDisableEdns() bool` + +GetDisableEdns returns the DisableEdns field if non-nil, zero value otherwise. + +### GetDisableEdnsOk + +`func (o *WiredNetwork) GetDisableEdnsOk() (*bool, bool)` + +GetDisableEdnsOk returns a tuple with the DisableEdns field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisableEdns + +`func (o *WiredNetwork) SetDisableEdns(v bool)` + +SetDisableEdns sets DisableEdns field to given value. + + +### GetUseDns64 + +`func (o *WiredNetwork) GetUseDns64() bool` + +GetUseDns64 returns the UseDns64 field if non-nil, zero value otherwise. + +### GetUseDns64Ok + +`func (o *WiredNetwork) GetUseDns64Ok() (*bool, bool)` + +GetUseDns64Ok returns a tuple with the UseDns64 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUseDns64 + +`func (o *WiredNetwork) SetUseDns64(v bool)` + +SetUseDns64 sets UseDns64 field to given value. + + +### GetExternalConnectivity + +`func (o *WiredNetwork) GetExternalConnectivity() bool` + +GetExternalConnectivity returns the ExternalConnectivity field if non-nil, zero value otherwise. + +### GetExternalConnectivityOk + +`func (o *WiredNetwork) GetExternalConnectivityOk() (*bool, bool)` + +GetExternalConnectivityOk returns a tuple with the ExternalConnectivity field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExternalConnectivity + +`func (o *WiredNetwork) SetExternalConnectivity(v bool)` + +SetExternalConnectivity sets ExternalConnectivity field to given value. + + +### GetVlanId + +`func (o *WiredNetwork) GetVlanId() int32` + +GetVlanId returns the VlanId field if non-nil, zero value otherwise. + +### GetVlanIdOk + +`func (o *WiredNetwork) GetVlanIdOk() (*int32, bool)` + +GetVlanIdOk returns a tuple with the VlanId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetVlanId + +`func (o *WiredNetwork) SetVlanId(v int32)` + +SetVlanId sets VlanId field to given value. + + +### SetVlanIdNil + +`func (o *WiredNetwork) SetVlanIdNil(b bool)` + + SetVlanIdNil sets the value for VlanId to be an explicit nil + +### UnsetVlanId +`func (o *WiredNetwork) UnsetVlanId()` + +UnsetVlanId ensures that no value is present for VlanId, 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) + + diff --git a/pkg/config-api-client/docs/WiredNetworksResponse.md b/pkg/config-api-client/docs/WiredNetworksResponse.md new file mode 100644 index 00000000..6b6b688d --- /dev/null +++ b/pkg/config-api-client/docs/WiredNetworksResponse.md @@ -0,0 +1,72 @@ +# WiredNetworksResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WiredNetworks** | [**[]WiredNetwork**](WiredNetwork.md) | | +**Pagination** | [**PaginationDetails**](PaginationDetails.md) | | + +## Methods + +### NewWiredNetworksResponse + +`func NewWiredNetworksResponse(wiredNetworks []WiredNetwork, pagination PaginationDetails, ) *WiredNetworksResponse` + +NewWiredNetworksResponse instantiates a new WiredNetworksResponse 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 + +### NewWiredNetworksResponseWithDefaults + +`func NewWiredNetworksResponseWithDefaults() *WiredNetworksResponse` + +NewWiredNetworksResponseWithDefaults instantiates a new WiredNetworksResponse 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 + +### GetWiredNetworks + +`func (o *WiredNetworksResponse) GetWiredNetworks() []WiredNetwork` + +GetWiredNetworks returns the WiredNetworks field if non-nil, zero value otherwise. + +### GetWiredNetworksOk + +`func (o *WiredNetworksResponse) GetWiredNetworksOk() (*[]WiredNetwork, bool)` + +GetWiredNetworksOk returns a tuple with the WiredNetworks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWiredNetworks + +`func (o *WiredNetworksResponse) SetWiredNetworks(v []WiredNetwork)` + +SetWiredNetworks sets WiredNetworks field to given value. + + +### GetPagination + +`func (o *WiredNetworksResponse) GetPagination() PaginationDetails` + +GetPagination returns the Pagination field if non-nil, zero value otherwise. + +### GetPaginationOk + +`func (o *WiredNetworksResponse) GetPaginationOk() (*PaginationDetails, bool)` + +GetPaginationOk returns a tuple with the Pagination field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPagination + +`func (o *WiredNetworksResponse) SetPagination(v PaginationDetails)` + +SetPagination sets Pagination field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/pkg/config-api-client/docs/WirelessNetwork.md b/pkg/config-api-client/docs/WirelessNetwork.md new file mode 100644 index 00000000..4e14a40d --- /dev/null +++ b/pkg/config-api-client/docs/WirelessNetwork.md @@ -0,0 +1,365 @@ +# WirelessNetwork + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Uid** | **string** | | +**Alias** | **string** | | +**Ssid** | **string** | | +**Security** | **NullableString** | | +**IpVersion** | **string** | | +**SensorCount** | **int32** | | +**UpdatedAt** | **time.Time** | | +**CreatedAt** | **time.Time** | | +**Disabled** | **bool** | | +**Hidden** | **bool** | | +**BandLocking** | **string** | | +**DnsLookupDomain** | **NullableString** | | +**DisableEdns** | **bool** | | +**UseDns64** | **bool** | | +**ExternalConnectivity** | **bool** | | + +## Methods + +### NewWirelessNetwork + +`func NewWirelessNetwork(uid string, alias string, ssid string, security NullableString, ipVersion string, sensorCount int32, updatedAt time.Time, createdAt time.Time, disabled bool, hidden bool, bandLocking string, dnsLookupDomain NullableString, disableEdns bool, useDns64 bool, externalConnectivity bool, ) *WirelessNetwork` + +NewWirelessNetwork instantiates a new WirelessNetwork 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 + +### NewWirelessNetworkWithDefaults + +`func NewWirelessNetworkWithDefaults() *WirelessNetwork` + +NewWirelessNetworkWithDefaults instantiates a new WirelessNetwork 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 + +### GetUid + +`func (o *WirelessNetwork) GetUid() string` + +GetUid returns the Uid field if non-nil, zero value otherwise. + +### GetUidOk + +`func (o *WirelessNetwork) GetUidOk() (*string, bool)` + +GetUidOk returns a tuple with the Uid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUid + +`func (o *WirelessNetwork) SetUid(v string)` + +SetUid sets Uid field to given value. + + +### GetAlias + +`func (o *WirelessNetwork) GetAlias() string` + +GetAlias returns the Alias field if non-nil, zero value otherwise. + +### GetAliasOk + +`func (o *WirelessNetwork) GetAliasOk() (*string, bool)` + +GetAliasOk returns a tuple with the Alias field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAlias + +`func (o *WirelessNetwork) SetAlias(v string)` + +SetAlias sets Alias field to given value. + + +### GetSsid + +`func (o *WirelessNetwork) GetSsid() string` + +GetSsid returns the Ssid field if non-nil, zero value otherwise. + +### GetSsidOk + +`func (o *WirelessNetwork) GetSsidOk() (*string, bool)` + +GetSsidOk returns a tuple with the Ssid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSsid + +`func (o *WirelessNetwork) SetSsid(v string)` + +SetSsid sets Ssid field to given value. + + +### GetSecurity + +`func (o *WirelessNetwork) GetSecurity() string` + +GetSecurity returns the Security field if non-nil, zero value otherwise. + +### GetSecurityOk + +`func (o *WirelessNetwork) GetSecurityOk() (*string, bool)` + +GetSecurityOk returns a tuple with the Security field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSecurity + +`func (o *WirelessNetwork) SetSecurity(v string)` + +SetSecurity sets Security field to given value. + + +### SetSecurityNil + +`func (o *WirelessNetwork) SetSecurityNil(b bool)` + + SetSecurityNil sets the value for Security to be an explicit nil + +### UnsetSecurity +`func (o *WirelessNetwork) UnsetSecurity()` + +UnsetSecurity ensures that no value is present for Security, not even an explicit nil +### GetIpVersion + +`func (o *WirelessNetwork) GetIpVersion() string` + +GetIpVersion returns the IpVersion field if non-nil, zero value otherwise. + +### GetIpVersionOk + +`func (o *WirelessNetwork) GetIpVersionOk() (*string, bool)` + +GetIpVersionOk returns a tuple with the IpVersion field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetIpVersion + +`func (o *WirelessNetwork) SetIpVersion(v string)` + +SetIpVersion sets IpVersion field to given value. + + +### GetSensorCount + +`func (o *WirelessNetwork) GetSensorCount() int32` + +GetSensorCount returns the SensorCount field if non-nil, zero value otherwise. + +### GetSensorCountOk + +`func (o *WirelessNetwork) GetSensorCountOk() (*int32, bool)` + +GetSensorCountOk returns a tuple with the SensorCount field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSensorCount + +`func (o *WirelessNetwork) SetSensorCount(v int32)` + +SetSensorCount sets SensorCount field to given value. + + +### GetUpdatedAt + +`func (o *WirelessNetwork) GetUpdatedAt() time.Time` + +GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise. + +### GetUpdatedAtOk + +`func (o *WirelessNetwork) GetUpdatedAtOk() (*time.Time, bool)` + +GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUpdatedAt + +`func (o *WirelessNetwork) SetUpdatedAt(v time.Time)` + +SetUpdatedAt sets UpdatedAt field to given value. + + +### GetCreatedAt + +`func (o *WirelessNetwork) GetCreatedAt() time.Time` + +GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise. + +### GetCreatedAtOk + +`func (o *WirelessNetwork) GetCreatedAtOk() (*time.Time, bool)` + +GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreatedAt + +`func (o *WirelessNetwork) SetCreatedAt(v time.Time)` + +SetCreatedAt sets CreatedAt field to given value. + + +### GetDisabled + +`func (o *WirelessNetwork) GetDisabled() bool` + +GetDisabled returns the Disabled field if non-nil, zero value otherwise. + +### GetDisabledOk + +`func (o *WirelessNetwork) GetDisabledOk() (*bool, bool)` + +GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisabled + +`func (o *WirelessNetwork) SetDisabled(v bool)` + +SetDisabled sets Disabled field to given value. + + +### GetHidden + +`func (o *WirelessNetwork) GetHidden() bool` + +GetHidden returns the Hidden field if non-nil, zero value otherwise. + +### GetHiddenOk + +`func (o *WirelessNetwork) GetHiddenOk() (*bool, bool)` + +GetHiddenOk returns a tuple with the Hidden field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetHidden + +`func (o *WirelessNetwork) SetHidden(v bool)` + +SetHidden sets Hidden field to given value. + + +### GetBandLocking + +`func (o *WirelessNetwork) GetBandLocking() string` + +GetBandLocking returns the BandLocking field if non-nil, zero value otherwise. + +### GetBandLockingOk + +`func (o *WirelessNetwork) GetBandLockingOk() (*string, bool)` + +GetBandLockingOk returns a tuple with the BandLocking field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBandLocking + +`func (o *WirelessNetwork) SetBandLocking(v string)` + +SetBandLocking sets BandLocking field to given value. + + +### GetDnsLookupDomain + +`func (o *WirelessNetwork) GetDnsLookupDomain() string` + +GetDnsLookupDomain returns the DnsLookupDomain field if non-nil, zero value otherwise. + +### GetDnsLookupDomainOk + +`func (o *WirelessNetwork) GetDnsLookupDomainOk() (*string, bool)` + +GetDnsLookupDomainOk returns a tuple with the DnsLookupDomain field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDnsLookupDomain + +`func (o *WirelessNetwork) SetDnsLookupDomain(v string)` + +SetDnsLookupDomain sets DnsLookupDomain field to given value. + + +### SetDnsLookupDomainNil + +`func (o *WirelessNetwork) SetDnsLookupDomainNil(b bool)` + + SetDnsLookupDomainNil sets the value for DnsLookupDomain to be an explicit nil + +### UnsetDnsLookupDomain +`func (o *WirelessNetwork) UnsetDnsLookupDomain()` + +UnsetDnsLookupDomain ensures that no value is present for DnsLookupDomain, not even an explicit nil +### GetDisableEdns + +`func (o *WirelessNetwork) GetDisableEdns() bool` + +GetDisableEdns returns the DisableEdns field if non-nil, zero value otherwise. + +### GetDisableEdnsOk + +`func (o *WirelessNetwork) GetDisableEdnsOk() (*bool, bool)` + +GetDisableEdnsOk returns a tuple with the DisableEdns field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDisableEdns + +`func (o *WirelessNetwork) SetDisableEdns(v bool)` + +SetDisableEdns sets DisableEdns field to given value. + + +### GetUseDns64 + +`func (o *WirelessNetwork) GetUseDns64() bool` + +GetUseDns64 returns the UseDns64 field if non-nil, zero value otherwise. + +### GetUseDns64Ok + +`func (o *WirelessNetwork) GetUseDns64Ok() (*bool, bool)` + +GetUseDns64Ok returns a tuple with the UseDns64 field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUseDns64 + +`func (o *WirelessNetwork) SetUseDns64(v bool)` + +SetUseDns64 sets UseDns64 field to given value. + + +### GetExternalConnectivity + +`func (o *WirelessNetwork) GetExternalConnectivity() bool` + +GetExternalConnectivity returns the ExternalConnectivity field if non-nil, zero value otherwise. + +### GetExternalConnectivityOk + +`func (o *WirelessNetwork) GetExternalConnectivityOk() (*bool, bool)` + +GetExternalConnectivityOk returns a tuple with the ExternalConnectivity field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExternalConnectivity + +`func (o *WirelessNetwork) SetExternalConnectivity(v bool)` + +SetExternalConnectivity sets ExternalConnectivity field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/pkg/config-api-client/docs/WirelessNetworksResponse.md b/pkg/config-api-client/docs/WirelessNetworksResponse.md new file mode 100644 index 00000000..8b2757d0 --- /dev/null +++ b/pkg/config-api-client/docs/WirelessNetworksResponse.md @@ -0,0 +1,72 @@ +# WirelessNetworksResponse + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**WirelessNetworks** | [**[]WirelessNetwork**](WirelessNetwork.md) | | +**Pagination** | [**PaginationDetails**](PaginationDetails.md) | | + +## Methods + +### NewWirelessNetworksResponse + +`func NewWirelessNetworksResponse(wirelessNetworks []WirelessNetwork, pagination PaginationDetails, ) *WirelessNetworksResponse` + +NewWirelessNetworksResponse instantiates a new WirelessNetworksResponse 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 + +### NewWirelessNetworksResponseWithDefaults + +`func NewWirelessNetworksResponseWithDefaults() *WirelessNetworksResponse` + +NewWirelessNetworksResponseWithDefaults instantiates a new WirelessNetworksResponse 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 + +### GetWirelessNetworks + +`func (o *WirelessNetworksResponse) GetWirelessNetworks() []WirelessNetwork` + +GetWirelessNetworks returns the WirelessNetworks field if non-nil, zero value otherwise. + +### GetWirelessNetworksOk + +`func (o *WirelessNetworksResponse) GetWirelessNetworksOk() (*[]WirelessNetwork, bool)` + +GetWirelessNetworksOk returns a tuple with the WirelessNetworks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetWirelessNetworks + +`func (o *WirelessNetworksResponse) SetWirelessNetworks(v []WirelessNetwork)` + +SetWirelessNetworks sets WirelessNetworks field to given value. + + +### GetPagination + +`func (o *WirelessNetworksResponse) GetPagination() PaginationDetails` + +GetPagination returns the Pagination field if non-nil, zero value otherwise. + +### GetPaginationOk + +`func (o *WirelessNetworksResponse) GetPaginationOk() (*PaginationDetails, bool)` + +GetPaginationOk returns a tuple with the Pagination field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPagination + +`func (o *WirelessNetworksResponse) SetPagination(v PaginationDetails)` + +SetPagination sets Pagination field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/pkg/config-api-client/model_error_detail.go b/pkg/config-api-client/model_error_detail.go index 22a8dbd7..a9509a50 100644 --- a/pkg/config-api-client/model_error_detail.go +++ b/pkg/config-api-client/model_error_detail.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ diff --git a/pkg/config-api-client/model_error_response.go b/pkg/config-api-client/model_error_response.go index 0e22c0f1..dbdf6d15 100644 --- a/pkg/config-api-client/model_error_response.go +++ b/pkg/config-api-client/model_error_response.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ diff --git a/pkg/config-api-client/model_groups_get_item.go b/pkg/config-api-client/model_groups_get_item.go index dca45217..f20261f6 100644 --- a/pkg/config-api-client/model_groups_get_item.go +++ b/pkg/config-api-client/model_groups_get_item.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ @@ -22,10 +22,10 @@ var _ MappedNullable = &GroupsGetItem{} // GroupsGetItem struct for GroupsGetItem type GroupsGetItem struct { - Uid string `json:"uid"` - Name string `json:"name"` - Path string `json:"path"` - ParentUid string `json:"parent_uid"` + Uid string `json:"uid"` + Name string `json:"name"` + Path string `json:"path"` + ParentUid NullableString `json:"parent_uid"` } type _GroupsGetItem GroupsGetItem @@ -34,7 +34,7 @@ type _GroupsGetItem GroupsGetItem // 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 NewGroupsGetItem(uid string, name string, path string, parentUid string) *GroupsGetItem { +func NewGroupsGetItem(uid string, name string, path string, parentUid NullableString) *GroupsGetItem { this := GroupsGetItem{} this.Uid = uid this.Name = name @@ -124,27 +124,29 @@ func (o *GroupsGetItem) SetPath(v string) { } // GetParentUid returns the ParentUid field value +// If the value is explicit nil, the zero value for string will be returned func (o *GroupsGetItem) GetParentUid() string { - if o == nil { + if o == nil || o.ParentUid.Get() == nil { var ret string return ret } - return o.ParentUid + return *o.ParentUid.Get() } // GetParentUidOk returns a tuple with the ParentUid field value // and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned func (o *GroupsGetItem) GetParentUidOk() (*string, bool) { if o == nil { return nil, false } - return &o.ParentUid, true + return o.ParentUid.Get(), o.ParentUid.IsSet() } // SetParentUid sets field value func (o *GroupsGetItem) SetParentUid(v string) { - o.ParentUid = v + o.ParentUid.Set(&v) } func (o GroupsGetItem) MarshalJSON() ([]byte, error) { @@ -160,7 +162,7 @@ func (o GroupsGetItem) ToMap() (map[string]interface{}, error) { toSerialize["uid"] = o.Uid toSerialize["name"] = o.Name toSerialize["path"] = o.Path - toSerialize["parent_uid"] = o.ParentUid + toSerialize["parent_uid"] = o.ParentUid.Get() return toSerialize, nil } diff --git a/pkg/config-api-client/model_groups_get_response.go b/pkg/config-api-client/model_groups_get_response.go index e4ee5584..4800c7a1 100644 --- a/pkg/config-api-client/model_groups_get_response.go +++ b/pkg/config-api-client/model_groups_get_response.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ diff --git a/pkg/config-api-client/model_groups_post_request.go b/pkg/config-api-client/model_groups_post_request.go index 2a2bc060..344d9dbc 100644 --- a/pkg/config-api-client/model_groups_post_request.go +++ b/pkg/config-api-client/model_groups_post_request.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ diff --git a/pkg/config-api-client/model_groups_post_response.go b/pkg/config-api-client/model_groups_post_response.go index d3476f00..dbfe0781 100644 --- a/pkg/config-api-client/model_groups_post_response.go +++ b/pkg/config-api-client/model_groups_post_response.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ diff --git a/pkg/config-api-client/model_pagination_details.go b/pkg/config-api-client/model_pagination_details.go index 80c20606..9d7f3925 100644 --- a/pkg/config-api-client/model_pagination_details.go +++ b/pkg/config-api-client/model_pagination_details.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ diff --git a/pkg/config-api-client/model_sensor_group_assignment.go b/pkg/config-api-client/model_sensor_group_assignment.go index cdaae1fe..1be2e7cf 100644 --- a/pkg/config-api-client/model_sensor_group_assignment.go +++ b/pkg/config-api-client/model_sensor_group_assignment.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ diff --git a/pkg/config-api-client/model_sensor_group_assignments_response.go b/pkg/config-api-client/model_sensor_group_assignments_response.go index 525d1a96..53d60aca 100644 --- a/pkg/config-api-client/model_sensor_group_assignments_response.go +++ b/pkg/config-api-client/model_sensor_group_assignments_response.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ diff --git a/pkg/config-api-client/model_wired_network.go b/pkg/config-api-client/model_wired_network.go new file mode 100644 index 00000000..1469ebd3 --- /dev/null +++ b/pkg/config-api-client/model_wired_network.go @@ -0,0 +1,500 @@ +/* +Configuration Api + +Nice description goes here + +API version: 1.9.0 +Contact: support@capenetworks.com +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package config_api_client + +import ( + "bytes" + "encoding/json" + "fmt" + "time" +) + +// checks if the WiredNetwork type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WiredNetwork{} + +// WiredNetwork struct for WiredNetwork +type WiredNetwork struct { + Uid string `json:"uid"` + Alias string `json:"alias"` + IpVersion string `json:"ip_version"` + SensorCount int32 `json:"sensor_count"` + UpdatedAt time.Time `json:"updated_at"` + CreatedAt time.Time `json:"created_at"` + Disabled bool `json:"disabled"` + Security NullableString `json:"security"` + DnsLookupDomain NullableString `json:"dns_lookup_domain"` + DisableEdns bool `json:"disable_edns"` + UseDns64 bool `json:"use_dns64"` + ExternalConnectivity bool `json:"external_connectivity"` + VlanId NullableInt32 `json:"vlan_id"` +} + +type _WiredNetwork WiredNetwork + +// NewWiredNetwork instantiates a new WiredNetwork 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 +func NewWiredNetwork(uid string, alias string, ipVersion string, sensorCount int32, updatedAt time.Time, createdAt time.Time, disabled bool, security NullableString, dnsLookupDomain NullableString, disableEdns bool, useDns64 bool, externalConnectivity bool, vlanId NullableInt32) *WiredNetwork { + this := WiredNetwork{} + this.Uid = uid + this.Alias = alias + this.IpVersion = ipVersion + this.SensorCount = sensorCount + this.UpdatedAt = updatedAt + this.CreatedAt = createdAt + this.Disabled = disabled + this.Security = security + this.DnsLookupDomain = dnsLookupDomain + this.DisableEdns = disableEdns + this.UseDns64 = useDns64 + this.ExternalConnectivity = externalConnectivity + this.VlanId = vlanId + return &this +} + +// NewWiredNetworkWithDefaults instantiates a new WiredNetwork 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 +func NewWiredNetworkWithDefaults() *WiredNetwork { + this := WiredNetwork{} + return &this +} + +// GetUid returns the Uid field value +func (o *WiredNetwork) GetUid() string { + if o == nil { + var ret string + return ret + } + + return o.Uid +} + +// GetUidOk returns a tuple with the Uid field value +// and a boolean to check if the value has been set. +func (o *WiredNetwork) GetUidOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Uid, true +} + +// SetUid sets field value +func (o *WiredNetwork) SetUid(v string) { + o.Uid = v +} + +// GetAlias returns the Alias field value +func (o *WiredNetwork) GetAlias() string { + if o == nil { + var ret string + return ret + } + + return o.Alias +} + +// GetAliasOk returns a tuple with the Alias field value +// and a boolean to check if the value has been set. +func (o *WiredNetwork) GetAliasOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Alias, true +} + +// SetAlias sets field value +func (o *WiredNetwork) SetAlias(v string) { + o.Alias = v +} + +// GetIpVersion returns the IpVersion field value +func (o *WiredNetwork) GetIpVersion() string { + if o == nil { + var ret string + return ret + } + + return o.IpVersion +} + +// GetIpVersionOk returns a tuple with the IpVersion field value +// and a boolean to check if the value has been set. +func (o *WiredNetwork) GetIpVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.IpVersion, true +} + +// SetIpVersion sets field value +func (o *WiredNetwork) SetIpVersion(v string) { + o.IpVersion = v +} + +// GetSensorCount returns the SensorCount field value +func (o *WiredNetwork) GetSensorCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.SensorCount +} + +// GetSensorCountOk returns a tuple with the SensorCount field value +// and a boolean to check if the value has been set. +func (o *WiredNetwork) GetSensorCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.SensorCount, true +} + +// SetSensorCount sets field value +func (o *WiredNetwork) SetSensorCount(v int32) { + o.SensorCount = v +} + +// GetUpdatedAt returns the UpdatedAt field value +func (o *WiredNetwork) GetUpdatedAt() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.UpdatedAt +} + +// GetUpdatedAtOk returns a tuple with the UpdatedAt field value +// and a boolean to check if the value has been set. +func (o *WiredNetwork) GetUpdatedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.UpdatedAt, true +} + +// SetUpdatedAt sets field value +func (o *WiredNetwork) SetUpdatedAt(v time.Time) { + o.UpdatedAt = v +} + +// GetCreatedAt returns the CreatedAt field value +func (o *WiredNetwork) GetCreatedAt() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value +// and a boolean to check if the value has been set. +func (o *WiredNetwork) GetCreatedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.CreatedAt, true +} + +// SetCreatedAt sets field value +func (o *WiredNetwork) SetCreatedAt(v time.Time) { + o.CreatedAt = v +} + +// GetDisabled returns the Disabled field value +func (o *WiredNetwork) GetDisabled() bool { + if o == nil { + var ret bool + return ret + } + + return o.Disabled +} + +// GetDisabledOk returns a tuple with the Disabled field value +// and a boolean to check if the value has been set. +func (o *WiredNetwork) GetDisabledOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Disabled, true +} + +// SetDisabled sets field value +func (o *WiredNetwork) SetDisabled(v bool) { + o.Disabled = v +} + +// GetSecurity returns the Security field value +// If the value is explicit nil, the zero value for string will be returned +func (o *WiredNetwork) GetSecurity() string { + if o == nil || o.Security.Get() == nil { + var ret string + return ret + } + + return *o.Security.Get() +} + +// GetSecurityOk returns a tuple with the Security field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WiredNetwork) GetSecurityOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Security.Get(), o.Security.IsSet() +} + +// SetSecurity sets field value +func (o *WiredNetwork) SetSecurity(v string) { + o.Security.Set(&v) +} + +// GetDnsLookupDomain returns the DnsLookupDomain field value +// If the value is explicit nil, the zero value for string will be returned +func (o *WiredNetwork) GetDnsLookupDomain() string { + if o == nil || o.DnsLookupDomain.Get() == nil { + var ret string + return ret + } + + return *o.DnsLookupDomain.Get() +} + +// GetDnsLookupDomainOk returns a tuple with the DnsLookupDomain field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WiredNetwork) GetDnsLookupDomainOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.DnsLookupDomain.Get(), o.DnsLookupDomain.IsSet() +} + +// SetDnsLookupDomain sets field value +func (o *WiredNetwork) SetDnsLookupDomain(v string) { + o.DnsLookupDomain.Set(&v) +} + +// GetDisableEdns returns the DisableEdns field value +func (o *WiredNetwork) GetDisableEdns() bool { + if o == nil { + var ret bool + return ret + } + + return o.DisableEdns +} + +// GetDisableEdnsOk returns a tuple with the DisableEdns field value +// and a boolean to check if the value has been set. +func (o *WiredNetwork) GetDisableEdnsOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.DisableEdns, true +} + +// SetDisableEdns sets field value +func (o *WiredNetwork) SetDisableEdns(v bool) { + o.DisableEdns = v +} + +// GetUseDns64 returns the UseDns64 field value +func (o *WiredNetwork) GetUseDns64() bool { + if o == nil { + var ret bool + return ret + } + + return o.UseDns64 +} + +// GetUseDns64Ok returns a tuple with the UseDns64 field value +// and a boolean to check if the value has been set. +func (o *WiredNetwork) GetUseDns64Ok() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.UseDns64, true +} + +// SetUseDns64 sets field value +func (o *WiredNetwork) SetUseDns64(v bool) { + o.UseDns64 = v +} + +// GetExternalConnectivity returns the ExternalConnectivity field value +func (o *WiredNetwork) GetExternalConnectivity() bool { + if o == nil { + var ret bool + return ret + } + + return o.ExternalConnectivity +} + +// GetExternalConnectivityOk returns a tuple with the ExternalConnectivity field value +// and a boolean to check if the value has been set. +func (o *WiredNetwork) GetExternalConnectivityOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.ExternalConnectivity, true +} + +// SetExternalConnectivity sets field value +func (o *WiredNetwork) SetExternalConnectivity(v bool) { + o.ExternalConnectivity = v +} + +// GetVlanId returns the VlanId field value +// If the value is explicit nil, the zero value for int32 will be returned +func (o *WiredNetwork) GetVlanId() int32 { + if o == nil || o.VlanId.Get() == nil { + var ret int32 + return ret + } + + return *o.VlanId.Get() +} + +// GetVlanIdOk returns a tuple with the VlanId field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WiredNetwork) GetVlanIdOk() (*int32, bool) { + if o == nil { + return nil, false + } + return o.VlanId.Get(), o.VlanId.IsSet() +} + +// SetVlanId sets field value +func (o *WiredNetwork) SetVlanId(v int32) { + o.VlanId.Set(&v) +} + +func (o WiredNetwork) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WiredNetwork) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["uid"] = o.Uid + toSerialize["alias"] = o.Alias + toSerialize["ip_version"] = o.IpVersion + toSerialize["sensor_count"] = o.SensorCount + toSerialize["updated_at"] = o.UpdatedAt + toSerialize["created_at"] = o.CreatedAt + toSerialize["disabled"] = o.Disabled + toSerialize["security"] = o.Security.Get() + toSerialize["dns_lookup_domain"] = o.DnsLookupDomain.Get() + toSerialize["disable_edns"] = o.DisableEdns + toSerialize["use_dns64"] = o.UseDns64 + toSerialize["external_connectivity"] = o.ExternalConnectivity + toSerialize["vlan_id"] = o.VlanId.Get() + return toSerialize, nil +} + +func (o *WiredNetwork) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "uid", + "alias", + "ip_version", + "sensor_count", + "updated_at", + "created_at", + "disabled", + "security", + "dns_lookup_domain", + "disable_edns", + "use_dns64", + "external_connectivity", + "vlan_id", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varWiredNetwork := _WiredNetwork{} + + decoder := json.NewDecoder(bytes.NewReader(data)) + decoder.DisallowUnknownFields() + err = decoder.Decode(&varWiredNetwork) + + if err != nil { + return err + } + + *o = WiredNetwork(varWiredNetwork) + + return err +} + +type NullableWiredNetwork struct { + value *WiredNetwork + isSet bool +} + +func (v NullableWiredNetwork) Get() *WiredNetwork { + return v.value +} + +func (v *NullableWiredNetwork) Set(val *WiredNetwork) { + v.value = val + v.isSet = true +} + +func (v NullableWiredNetwork) IsSet() bool { + return v.isSet +} + +func (v *NullableWiredNetwork) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWiredNetwork(val *WiredNetwork) *NullableWiredNetwork { + return &NullableWiredNetwork{value: val, isSet: true} +} + +func (v NullableWiredNetwork) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWiredNetwork) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/pkg/config-api-client/model_wired_networks_response.go b/pkg/config-api-client/model_wired_networks_response.go new file mode 100644 index 00000000..4acbe35f --- /dev/null +++ b/pkg/config-api-client/model_wired_networks_response.go @@ -0,0 +1,185 @@ +/* +Configuration Api + +Nice description goes here + +API version: 1.9.0 +Contact: support@capenetworks.com +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package config_api_client + +import ( + "bytes" + "encoding/json" + "fmt" +) + +// checks if the WiredNetworksResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WiredNetworksResponse{} + +// WiredNetworksResponse struct for WiredNetworksResponse +type WiredNetworksResponse struct { + WiredNetworks []WiredNetwork `json:"wired_networks"` + Pagination PaginationDetails `json:"pagination"` +} + +type _WiredNetworksResponse WiredNetworksResponse + +// NewWiredNetworksResponse instantiates a new WiredNetworksResponse 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 +func NewWiredNetworksResponse(wiredNetworks []WiredNetwork, pagination PaginationDetails) *WiredNetworksResponse { + this := WiredNetworksResponse{} + this.WiredNetworks = wiredNetworks + this.Pagination = pagination + return &this +} + +// NewWiredNetworksResponseWithDefaults instantiates a new WiredNetworksResponse 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 +func NewWiredNetworksResponseWithDefaults() *WiredNetworksResponse { + this := WiredNetworksResponse{} + return &this +} + +// GetWiredNetworks returns the WiredNetworks field value +func (o *WiredNetworksResponse) GetWiredNetworks() []WiredNetwork { + if o == nil { + var ret []WiredNetwork + return ret + } + + return o.WiredNetworks +} + +// GetWiredNetworksOk returns a tuple with the WiredNetworks field value +// and a boolean to check if the value has been set. +func (o *WiredNetworksResponse) GetWiredNetworksOk() ([]WiredNetwork, bool) { + if o == nil { + return nil, false + } + return o.WiredNetworks, true +} + +// SetWiredNetworks sets field value +func (o *WiredNetworksResponse) SetWiredNetworks(v []WiredNetwork) { + o.WiredNetworks = v +} + +// GetPagination returns the Pagination field value +func (o *WiredNetworksResponse) GetPagination() PaginationDetails { + if o == nil { + var ret PaginationDetails + return ret + } + + return o.Pagination +} + +// GetPaginationOk returns a tuple with the Pagination field value +// and a boolean to check if the value has been set. +func (o *WiredNetworksResponse) GetPaginationOk() (*PaginationDetails, bool) { + if o == nil { + return nil, false + } + return &o.Pagination, true +} + +// SetPagination sets field value +func (o *WiredNetworksResponse) SetPagination(v PaginationDetails) { + o.Pagination = v +} + +func (o WiredNetworksResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WiredNetworksResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["wired_networks"] = o.WiredNetworks + toSerialize["pagination"] = o.Pagination + return toSerialize, nil +} + +func (o *WiredNetworksResponse) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "wired_networks", + "pagination", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varWiredNetworksResponse := _WiredNetworksResponse{} + + decoder := json.NewDecoder(bytes.NewReader(data)) + decoder.DisallowUnknownFields() + err = decoder.Decode(&varWiredNetworksResponse) + + if err != nil { + return err + } + + *o = WiredNetworksResponse(varWiredNetworksResponse) + + return err +} + +type NullableWiredNetworksResponse struct { + value *WiredNetworksResponse + isSet bool +} + +func (v NullableWiredNetworksResponse) Get() *WiredNetworksResponse { + return v.value +} + +func (v *NullableWiredNetworksResponse) Set(val *WiredNetworksResponse) { + v.value = val + v.isSet = true +} + +func (v NullableWiredNetworksResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableWiredNetworksResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWiredNetworksResponse(val *WiredNetworksResponse) *NullableWiredNetworksResponse { + return &NullableWiredNetworksResponse{value: val, isSet: true} +} + +func (v NullableWiredNetworksResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWiredNetworksResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/pkg/config-api-client/model_wireless_network.go b/pkg/config-api-client/model_wireless_network.go new file mode 100644 index 00000000..2f4e6915 --- /dev/null +++ b/pkg/config-api-client/model_wireless_network.go @@ -0,0 +1,554 @@ +/* +Configuration Api + +Nice description goes here + +API version: 1.9.0 +Contact: support@capenetworks.com +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package config_api_client + +import ( + "bytes" + "encoding/json" + "fmt" + "time" +) + +// checks if the WirelessNetwork type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WirelessNetwork{} + +// WirelessNetwork struct for WirelessNetwork +type WirelessNetwork struct { + Uid string `json:"uid"` + Alias string `json:"alias"` + Ssid string `json:"ssid"` + Security NullableString `json:"security"` + IpVersion string `json:"ip_version"` + SensorCount int32 `json:"sensor_count"` + UpdatedAt time.Time `json:"updated_at"` + CreatedAt time.Time `json:"created_at"` + Disabled bool `json:"disabled"` + Hidden bool `json:"hidden"` + BandLocking string `json:"band_locking"` + DnsLookupDomain NullableString `json:"dns_lookup_domain"` + DisableEdns bool `json:"disable_edns"` + UseDns64 bool `json:"use_dns64"` + ExternalConnectivity bool `json:"external_connectivity"` +} + +type _WirelessNetwork WirelessNetwork + +// NewWirelessNetwork instantiates a new WirelessNetwork 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 +func NewWirelessNetwork(uid string, alias string, ssid string, security NullableString, ipVersion string, sensorCount int32, updatedAt time.Time, createdAt time.Time, disabled bool, hidden bool, bandLocking string, dnsLookupDomain NullableString, disableEdns bool, useDns64 bool, externalConnectivity bool) *WirelessNetwork { + this := WirelessNetwork{} + this.Uid = uid + this.Alias = alias + this.Ssid = ssid + this.Security = security + this.IpVersion = ipVersion + this.SensorCount = sensorCount + this.UpdatedAt = updatedAt + this.CreatedAt = createdAt + this.Disabled = disabled + this.Hidden = hidden + this.BandLocking = bandLocking + this.DnsLookupDomain = dnsLookupDomain + this.DisableEdns = disableEdns + this.UseDns64 = useDns64 + this.ExternalConnectivity = externalConnectivity + return &this +} + +// NewWirelessNetworkWithDefaults instantiates a new WirelessNetwork 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 +func NewWirelessNetworkWithDefaults() *WirelessNetwork { + this := WirelessNetwork{} + return &this +} + +// GetUid returns the Uid field value +func (o *WirelessNetwork) GetUid() string { + if o == nil { + var ret string + return ret + } + + return o.Uid +} + +// GetUidOk returns a tuple with the Uid field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetUidOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Uid, true +} + +// SetUid sets field value +func (o *WirelessNetwork) SetUid(v string) { + o.Uid = v +} + +// GetAlias returns the Alias field value +func (o *WirelessNetwork) GetAlias() string { + if o == nil { + var ret string + return ret + } + + return o.Alias +} + +// GetAliasOk returns a tuple with the Alias field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetAliasOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Alias, true +} + +// SetAlias sets field value +func (o *WirelessNetwork) SetAlias(v string) { + o.Alias = v +} + +// GetSsid returns the Ssid field value +func (o *WirelessNetwork) GetSsid() string { + if o == nil { + var ret string + return ret + } + + return o.Ssid +} + +// GetSsidOk returns a tuple with the Ssid field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetSsidOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Ssid, true +} + +// SetSsid sets field value +func (o *WirelessNetwork) SetSsid(v string) { + o.Ssid = v +} + +// GetSecurity returns the Security field value +// If the value is explicit nil, the zero value for string will be returned +func (o *WirelessNetwork) GetSecurity() string { + if o == nil || o.Security.Get() == nil { + var ret string + return ret + } + + return *o.Security.Get() +} + +// GetSecurityOk returns a tuple with the Security field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WirelessNetwork) GetSecurityOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Security.Get(), o.Security.IsSet() +} + +// SetSecurity sets field value +func (o *WirelessNetwork) SetSecurity(v string) { + o.Security.Set(&v) +} + +// GetIpVersion returns the IpVersion field value +func (o *WirelessNetwork) GetIpVersion() string { + if o == nil { + var ret string + return ret + } + + return o.IpVersion +} + +// GetIpVersionOk returns a tuple with the IpVersion field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetIpVersionOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.IpVersion, true +} + +// SetIpVersion sets field value +func (o *WirelessNetwork) SetIpVersion(v string) { + o.IpVersion = v +} + +// GetSensorCount returns the SensorCount field value +func (o *WirelessNetwork) GetSensorCount() int32 { + if o == nil { + var ret int32 + return ret + } + + return o.SensorCount +} + +// GetSensorCountOk returns a tuple with the SensorCount field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetSensorCountOk() (*int32, bool) { + if o == nil { + return nil, false + } + return &o.SensorCount, true +} + +// SetSensorCount sets field value +func (o *WirelessNetwork) SetSensorCount(v int32) { + o.SensorCount = v +} + +// GetUpdatedAt returns the UpdatedAt field value +func (o *WirelessNetwork) GetUpdatedAt() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.UpdatedAt +} + +// GetUpdatedAtOk returns a tuple with the UpdatedAt field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetUpdatedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.UpdatedAt, true +} + +// SetUpdatedAt sets field value +func (o *WirelessNetwork) SetUpdatedAt(v time.Time) { + o.UpdatedAt = v +} + +// GetCreatedAt returns the CreatedAt field value +func (o *WirelessNetwork) GetCreatedAt() time.Time { + if o == nil { + var ret time.Time + return ret + } + + return o.CreatedAt +} + +// GetCreatedAtOk returns a tuple with the CreatedAt field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetCreatedAtOk() (*time.Time, bool) { + if o == nil { + return nil, false + } + return &o.CreatedAt, true +} + +// SetCreatedAt sets field value +func (o *WirelessNetwork) SetCreatedAt(v time.Time) { + o.CreatedAt = v +} + +// GetDisabled returns the Disabled field value +func (o *WirelessNetwork) GetDisabled() bool { + if o == nil { + var ret bool + return ret + } + + return o.Disabled +} + +// GetDisabledOk returns a tuple with the Disabled field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetDisabledOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Disabled, true +} + +// SetDisabled sets field value +func (o *WirelessNetwork) SetDisabled(v bool) { + o.Disabled = v +} + +// GetHidden returns the Hidden field value +func (o *WirelessNetwork) GetHidden() bool { + if o == nil { + var ret bool + return ret + } + + return o.Hidden +} + +// GetHiddenOk returns a tuple with the Hidden field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetHiddenOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.Hidden, true +} + +// SetHidden sets field value +func (o *WirelessNetwork) SetHidden(v bool) { + o.Hidden = v +} + +// GetBandLocking returns the BandLocking field value +func (o *WirelessNetwork) GetBandLocking() string { + if o == nil { + var ret string + return ret + } + + return o.BandLocking +} + +// GetBandLockingOk returns a tuple with the BandLocking field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetBandLockingOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.BandLocking, true +} + +// SetBandLocking sets field value +func (o *WirelessNetwork) SetBandLocking(v string) { + o.BandLocking = v +} + +// GetDnsLookupDomain returns the DnsLookupDomain field value +// If the value is explicit nil, the zero value for string will be returned +func (o *WirelessNetwork) GetDnsLookupDomain() string { + if o == nil || o.DnsLookupDomain.Get() == nil { + var ret string + return ret + } + + return *o.DnsLookupDomain.Get() +} + +// GetDnsLookupDomainOk returns a tuple with the DnsLookupDomain field value +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *WirelessNetwork) GetDnsLookupDomainOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.DnsLookupDomain.Get(), o.DnsLookupDomain.IsSet() +} + +// SetDnsLookupDomain sets field value +func (o *WirelessNetwork) SetDnsLookupDomain(v string) { + o.DnsLookupDomain.Set(&v) +} + +// GetDisableEdns returns the DisableEdns field value +func (o *WirelessNetwork) GetDisableEdns() bool { + if o == nil { + var ret bool + return ret + } + + return o.DisableEdns +} + +// GetDisableEdnsOk returns a tuple with the DisableEdns field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetDisableEdnsOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.DisableEdns, true +} + +// SetDisableEdns sets field value +func (o *WirelessNetwork) SetDisableEdns(v bool) { + o.DisableEdns = v +} + +// GetUseDns64 returns the UseDns64 field value +func (o *WirelessNetwork) GetUseDns64() bool { + if o == nil { + var ret bool + return ret + } + + return o.UseDns64 +} + +// GetUseDns64Ok returns a tuple with the UseDns64 field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetUseDns64Ok() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.UseDns64, true +} + +// SetUseDns64 sets field value +func (o *WirelessNetwork) SetUseDns64(v bool) { + o.UseDns64 = v +} + +// GetExternalConnectivity returns the ExternalConnectivity field value +func (o *WirelessNetwork) GetExternalConnectivity() bool { + if o == nil { + var ret bool + return ret + } + + return o.ExternalConnectivity +} + +// GetExternalConnectivityOk returns a tuple with the ExternalConnectivity field value +// and a boolean to check if the value has been set. +func (o *WirelessNetwork) GetExternalConnectivityOk() (*bool, bool) { + if o == nil { + return nil, false + } + return &o.ExternalConnectivity, true +} + +// SetExternalConnectivity sets field value +func (o *WirelessNetwork) SetExternalConnectivity(v bool) { + o.ExternalConnectivity = v +} + +func (o WirelessNetwork) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WirelessNetwork) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["uid"] = o.Uid + toSerialize["alias"] = o.Alias + toSerialize["ssid"] = o.Ssid + toSerialize["security"] = o.Security.Get() + toSerialize["ip_version"] = o.IpVersion + toSerialize["sensor_count"] = o.SensorCount + toSerialize["updated_at"] = o.UpdatedAt + toSerialize["created_at"] = o.CreatedAt + toSerialize["disabled"] = o.Disabled + toSerialize["hidden"] = o.Hidden + toSerialize["band_locking"] = o.BandLocking + toSerialize["dns_lookup_domain"] = o.DnsLookupDomain.Get() + toSerialize["disable_edns"] = o.DisableEdns + toSerialize["use_dns64"] = o.UseDns64 + toSerialize["external_connectivity"] = o.ExternalConnectivity + return toSerialize, nil +} + +func (o *WirelessNetwork) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "uid", + "alias", + "ssid", + "security", + "ip_version", + "sensor_count", + "updated_at", + "created_at", + "disabled", + "hidden", + "band_locking", + "dns_lookup_domain", + "disable_edns", + "use_dns64", + "external_connectivity", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varWirelessNetwork := _WirelessNetwork{} + + decoder := json.NewDecoder(bytes.NewReader(data)) + decoder.DisallowUnknownFields() + err = decoder.Decode(&varWirelessNetwork) + + if err != nil { + return err + } + + *o = WirelessNetwork(varWirelessNetwork) + + return err +} + +type NullableWirelessNetwork struct { + value *WirelessNetwork + isSet bool +} + +func (v NullableWirelessNetwork) Get() *WirelessNetwork { + return v.value +} + +func (v *NullableWirelessNetwork) Set(val *WirelessNetwork) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessNetwork) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessNetwork) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessNetwork(val *WirelessNetwork) *NullableWirelessNetwork { + return &NullableWirelessNetwork{value: val, isSet: true} +} + +func (v NullableWirelessNetwork) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessNetwork) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/pkg/config-api-client/model_wireless_networks_response.go b/pkg/config-api-client/model_wireless_networks_response.go new file mode 100644 index 00000000..bd36314a --- /dev/null +++ b/pkg/config-api-client/model_wireless_networks_response.go @@ -0,0 +1,185 @@ +/* +Configuration Api + +Nice description goes here + +API version: 1.9.0 +Contact: support@capenetworks.com +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package config_api_client + +import ( + "bytes" + "encoding/json" + "fmt" +) + +// checks if the WirelessNetworksResponse type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &WirelessNetworksResponse{} + +// WirelessNetworksResponse struct for WirelessNetworksResponse +type WirelessNetworksResponse struct { + WirelessNetworks []WirelessNetwork `json:"wireless_networks"` + Pagination PaginationDetails `json:"pagination"` +} + +type _WirelessNetworksResponse WirelessNetworksResponse + +// NewWirelessNetworksResponse instantiates a new WirelessNetworksResponse 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 +func NewWirelessNetworksResponse(wirelessNetworks []WirelessNetwork, pagination PaginationDetails) *WirelessNetworksResponse { + this := WirelessNetworksResponse{} + this.WirelessNetworks = wirelessNetworks + this.Pagination = pagination + return &this +} + +// NewWirelessNetworksResponseWithDefaults instantiates a new WirelessNetworksResponse 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 +func NewWirelessNetworksResponseWithDefaults() *WirelessNetworksResponse { + this := WirelessNetworksResponse{} + return &this +} + +// GetWirelessNetworks returns the WirelessNetworks field value +func (o *WirelessNetworksResponse) GetWirelessNetworks() []WirelessNetwork { + if o == nil { + var ret []WirelessNetwork + return ret + } + + return o.WirelessNetworks +} + +// GetWirelessNetworksOk returns a tuple with the WirelessNetworks field value +// and a boolean to check if the value has been set. +func (o *WirelessNetworksResponse) GetWirelessNetworksOk() ([]WirelessNetwork, bool) { + if o == nil { + return nil, false + } + return o.WirelessNetworks, true +} + +// SetWirelessNetworks sets field value +func (o *WirelessNetworksResponse) SetWirelessNetworks(v []WirelessNetwork) { + o.WirelessNetworks = v +} + +// GetPagination returns the Pagination field value +func (o *WirelessNetworksResponse) GetPagination() PaginationDetails { + if o == nil { + var ret PaginationDetails + return ret + } + + return o.Pagination +} + +// GetPaginationOk returns a tuple with the Pagination field value +// and a boolean to check if the value has been set. +func (o *WirelessNetworksResponse) GetPaginationOk() (*PaginationDetails, bool) { + if o == nil { + return nil, false + } + return &o.Pagination, true +} + +// SetPagination sets field value +func (o *WirelessNetworksResponse) SetPagination(v PaginationDetails) { + o.Pagination = v +} + +func (o WirelessNetworksResponse) MarshalJSON() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o WirelessNetworksResponse) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["wireless_networks"] = o.WirelessNetworks + toSerialize["pagination"] = o.Pagination + return toSerialize, nil +} + +func (o *WirelessNetworksResponse) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "wireless_networks", + "pagination", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err + } + + for _, requiredProperty := range requiredProperties { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varWirelessNetworksResponse := _WirelessNetworksResponse{} + + decoder := json.NewDecoder(bytes.NewReader(data)) + decoder.DisallowUnknownFields() + err = decoder.Decode(&varWirelessNetworksResponse) + + if err != nil { + return err + } + + *o = WirelessNetworksResponse(varWirelessNetworksResponse) + + return err +} + +type NullableWirelessNetworksResponse struct { + value *WirelessNetworksResponse + isSet bool +} + +func (v NullableWirelessNetworksResponse) Get() *WirelessNetworksResponse { + return v.value +} + +func (v *NullableWirelessNetworksResponse) Set(val *WirelessNetworksResponse) { + v.value = val + v.isSet = true +} + +func (v NullableWirelessNetworksResponse) IsSet() bool { + return v.isSet +} + +func (v *NullableWirelessNetworksResponse) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableWirelessNetworksResponse(val *WirelessNetworksResponse) *NullableWirelessNetworksResponse { + return &NullableWirelessNetworksResponse{value: val, isSet: true} +} + +func (v NullableWirelessNetworksResponse) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableWirelessNetworksResponse) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} diff --git a/pkg/config-api-client/response.go b/pkg/config-api-client/response.go index edb1c556..43616db2 100644 --- a/pkg/config-api-client/response.go +++ b/pkg/config-api-client/response.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */ diff --git a/pkg/config-api-client/utils.go b/pkg/config-api-client/utils.go index efcd92ef..0924cfa9 100644 --- a/pkg/config-api-client/utils.go +++ b/pkg/config-api-client/utils.go @@ -3,7 +3,7 @@ Configuration Api Nice description goes here -API version: 1.5.0 +API version: 1.9.0 Contact: support@capenetworks.com */