Skip to content

Commit

Permalink
Updated with build 8585ba24-5a45-4d9b-94cd-035d3dea2165 from OmniCore…
Browse files Browse the repository at this point in the history
…-SDK-Generator commit 0108f6360cecfdc340491a2a6b3d1b8c37aa5d0d
  • Loading branch information
jaisonjayan committed Mar 20, 2024
1 parent a619082 commit bff4b40
Show file tree
Hide file tree
Showing 10 changed files with 913 additions and 227 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ This is an OmniCore Model and State Management server.

## Overview

- API version: 1.8.16
- Package version: 1.8.16
- API version: 1.8.17
- Package version: 1.8.17
- Build package: org.openapitools.codegen.languages.GoClientCodegen
For more information, please visit [http://www.korewireless.com](http://www.korewireless.com)

Expand Down Expand Up @@ -135,7 +135,6 @@ Class | Method | HTTP request | Description
- [CreateConfiguration](docs/CreateConfiguration.md)
- [CreateVaultKeyBody](docs/CreateVaultKeyBody.md)
- [CustomOnboard](docs/CustomOnboard.md)
- [CustomOnboardTcpUdpModelDetails](docs/CustomOnboardTcpUdpModelDetails.md)
- [Device](docs/Device.md)
- [DeviceCommand](docs/DeviceCommand.md)
- [DeviceConfig](docs/DeviceConfig.md)
Expand All @@ -144,6 +143,7 @@ Class | Method | HTTP request | Description
- [DeviceOnline](docs/DeviceOnline.md)
- [DeviceRegistry](docs/DeviceRegistry.md)
- [DeviceState](docs/DeviceState.md)
- [DeviceTcpUdpModelDetails](docs/DeviceTcpUdpModelDetails.md)
- [EnableEncryptionBody](docs/EnableEncryptionBody.md)
- [ErrorFrame](docs/ErrorFrame.md)
- [ErrorStatus](docs/ErrorStatus.md)
Expand Down
114 changes: 78 additions & 36 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ info:
url: http://www.korewireless.com
description: This is an OmniCore Model and State Management server.
title: OmniCore Model and State Management API
version: 1.8.16
version: 1.8.17
servers:
- description: Production Server
url: https://api.korewireless.com
Expand Down Expand Up @@ -2954,7 +2954,6 @@ components:
code: 0
details: details
message: message
isTcpUdpDevice: true
subscription: subscription
capresent: true
createdOn: createdOn
Expand All @@ -2969,25 +2968,6 @@ components:
state:
binaryData: binaryData
updateTime: updateTime
tcpUdpModelDetails:
udpDetails:
port: 6
enabled: true
modelName: modelName
image:
valid: true
data: ""
link: link
contentType: contentType
storageKey: storageKey
createdAt: 2000-01-23T04:56:07.000+00:00
tcpDetails:
port: 6
enabled: true
metadata: "{}"
id: 0
manufacturer: manufacturer
updatedAt: 2000-01-23T04:56:07.000+00:00
gatewayConfig:
gatewayType: NON_GATEWAY
gatewayAuthMethod: GATEWAY_AUTH_METHOD_UNSPECIFIED
Expand All @@ -3007,7 +2987,6 @@ components:
lastConfigAckTime: lastConfigAckTime
isApprove: true
name: name
tcpUdpModelId: 1.4658129805029452
lastEventTime: lastEventTime
customOnboardData: customOnboardData
config:
Expand Down Expand Up @@ -3105,12 +3084,6 @@ components:
type: string
isApprove:
type: boolean
tcpUdpModelDetails:
$ref: '#/components/schemas/CustomOnboard_tcpUdpModelDetails'
tcpUdpModelId:
type: number
isTcpUdpDevice:
type: boolean
required:
- id
type: object
Expand All @@ -3136,6 +3109,7 @@ components:
code: 0
details: details
message: message
isTcpUdpDevice: true
subscription: subscription
capresent: true
createdOn: createdOn
Expand All @@ -3150,6 +3124,25 @@ components:
state:
binaryData: binaryData
updateTime: updateTime
tcpUdpModelDetails:
udpDetails:
port: 5
enabled: true
modelName: modelName
image:
valid: true
data: ""
link: link
contentType: contentType
storageKey: storageKey
createdAt: 2000-01-23T04:56:07.000+00:00
tcpDetails:
port: 5
enabled: true
metadata: "{}"
id: 1
manufacturer: manufacturer
updatedAt: 2000-01-23T04:56:07.000+00:00
gatewayConfig:
gatewayType: NON_GATEWAY
gatewayAuthMethod: GATEWAY_AUTH_METHOD_UNSPECIFIED
Expand All @@ -3168,6 +3161,7 @@ components:
updatedOn: updatedOn
lastConfigAckTime: lastConfigAckTime
name: name
tcpUdpModelId: 5.637376656633329
lastEventTime: lastEventTime
config:
acknowledged: true
Expand Down Expand Up @@ -3260,6 +3254,12 @@ components:
$ref: '#/components/schemas/DeviceState'
policy:
$ref: '#/components/schemas/policy'
tcpUdpModelDetails:
$ref: '#/components/schemas/Device_tcpUdpModelDetails'
tcpUdpModelId:
type: number
isTcpUdpDevice:
type: boolean
required:
- id
type: object
Expand Down Expand Up @@ -3765,7 +3765,7 @@ components:
type: object
ListDevicesResponse:
example:
pageNumber: 1
pageNumber: 2
devices:
- parent: parent
metadata:
Expand All @@ -3787,6 +3787,7 @@ components:
code: 0
details: details
message: message
isTcpUdpDevice: true
subscription: subscription
capresent: true
createdOn: createdOn
Expand All @@ -3801,6 +3802,25 @@ components:
state:
binaryData: binaryData
updateTime: updateTime
tcpUdpModelDetails:
udpDetails:
port: 5
enabled: true
modelName: modelName
image:
valid: true
data: ""
link: link
contentType: contentType
storageKey: storageKey
createdAt: 2000-01-23T04:56:07.000+00:00
tcpDetails:
port: 5
enabled: true
metadata: "{}"
id: 1
manufacturer: manufacturer
updatedAt: 2000-01-23T04:56:07.000+00:00
gatewayConfig:
gatewayType: NON_GATEWAY
gatewayAuthMethod: GATEWAY_AUTH_METHOD_UNSPECIFIED
Expand All @@ -3819,6 +3839,7 @@ components:
updatedOn: updatedOn
lastConfigAckTime: lastConfigAckTime
name: name
tcpUdpModelId: 5.637376656633329
lastEventTime: lastEventTime
config:
acknowledged: true
Expand Down Expand Up @@ -3850,6 +3871,7 @@ components:
code: 0
details: details
message: message
isTcpUdpDevice: true
subscription: subscription
capresent: true
createdOn: createdOn
Expand All @@ -3864,6 +3886,25 @@ components:
state:
binaryData: binaryData
updateTime: updateTime
tcpUdpModelDetails:
udpDetails:
port: 5
enabled: true
modelName: modelName
image:
valid: true
data: ""
link: link
contentType: contentType
storageKey: storageKey
createdAt: 2000-01-23T04:56:07.000+00:00
tcpDetails:
port: 5
enabled: true
metadata: "{}"
id: 1
manufacturer: manufacturer
updatedAt: 2000-01-23T04:56:07.000+00:00
gatewayConfig:
gatewayType: NON_GATEWAY
gatewayAuthMethod: GATEWAY_AUTH_METHOD_UNSPECIFIED
Expand All @@ -3882,6 +3923,7 @@ components:
updatedOn: updatedOn
lastConfigAckTime: lastConfigAckTime
name: name
tcpUdpModelId: 5.637376656633329
lastEventTime: lastEventTime
config:
acknowledged: true
Expand All @@ -3893,8 +3935,8 @@ components:
- gateway
- gateway
lastStateTime: lastStateTime
pageSize: 5
totalCount: 5
pageSize: 7
totalCount: 9
properties:
devices:
items:
Expand Down Expand Up @@ -4839,7 +4881,7 @@ components:
type: object
TcpUdpPortDetail:
example:
port: 6
port: 5
enabled: true
properties:
enabled:
Expand Down Expand Up @@ -4880,10 +4922,10 @@ components:
required:
- valid
type: object
CustomOnboard_tcpUdpModelDetails:
Device_tcpUdpModelDetails:
example:
udpDetails:
port: 6
port: 5
enabled: true
modelName: modelName
image:
Expand All @@ -4894,10 +4936,10 @@ components:
storageKey: storageKey
createdAt: 2000-01-23T04:56:07.000+00:00
tcpDetails:
port: 6
port: 5
enabled: true
metadata: "{}"
id: 0
id: 1
manufacturer: manufacturer
updatedAt: 2000-01-23T04:56:07.000+00:00
properties:
Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var (
queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" )
)

// APIClient manages communication with the OmniCore Model and State Management API API v1.8.16
// APIClient manages communication with the OmniCore Model and State Management API API v1.8.17
// In most cases there should be only one, shared, APIClient.
type APIClient struct {
cfg *Configuration
Expand Down
2 changes: 1 addition & 1 deletion configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ type Configuration struct {
func NewConfiguration() *Configuration {
cfg := &Configuration{
DefaultHeader: make(map[string]string),
UserAgent: "OpenAPI-Generator/1.8.16/go",
UserAgent: "OpenAPI-Generator/1.8.17/go",
Debug: false,
Servers: ServerConfigurations{
{
Expand Down
78 changes: 0 additions & 78 deletions docs/CustomOnboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ Name | Type | Description | Notes
**Policy** | Pointer to [**Policy**](Policy.md) | | [optional]
**CustomOnboardData** | Pointer to **string** | | [optional]
**IsApprove** | Pointer to **bool** | | [optional]
**TcpUdpModelDetails** | Pointer to [**CustomOnboardTcpUdpModelDetails**](CustomOnboardTcpUdpModelDetails.md) | | [optional]
**TcpUdpModelId** | Pointer to **float32** | | [optional]
**IsTcpUdpDevice** | Pointer to **bool** | | [optional]

## Methods

Expand Down Expand Up @@ -802,81 +799,6 @@ SetIsApprove sets IsApprove field to given value.

HasIsApprove returns a boolean if a field has been set.

### GetTcpUdpModelDetails

`func (o *CustomOnboard) GetTcpUdpModelDetails() CustomOnboardTcpUdpModelDetails`

GetTcpUdpModelDetails returns the TcpUdpModelDetails field if non-nil, zero value otherwise.

### GetTcpUdpModelDetailsOk

`func (o *CustomOnboard) GetTcpUdpModelDetailsOk() (*CustomOnboardTcpUdpModelDetails, bool)`

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

### SetTcpUdpModelDetails

`func (o *CustomOnboard) SetTcpUdpModelDetails(v CustomOnboardTcpUdpModelDetails)`

SetTcpUdpModelDetails sets TcpUdpModelDetails field to given value.

### HasTcpUdpModelDetails

`func (o *CustomOnboard) HasTcpUdpModelDetails() bool`

HasTcpUdpModelDetails returns a boolean if a field has been set.

### GetTcpUdpModelId

`func (o *CustomOnboard) GetTcpUdpModelId() float32`

GetTcpUdpModelId returns the TcpUdpModelId field if non-nil, zero value otherwise.

### GetTcpUdpModelIdOk

`func (o *CustomOnboard) GetTcpUdpModelIdOk() (*float32, bool)`

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

### SetTcpUdpModelId

`func (o *CustomOnboard) SetTcpUdpModelId(v float32)`

SetTcpUdpModelId sets TcpUdpModelId field to given value.

### HasTcpUdpModelId

`func (o *CustomOnboard) HasTcpUdpModelId() bool`

HasTcpUdpModelId returns a boolean if a field has been set.

### GetIsTcpUdpDevice

`func (o *CustomOnboard) GetIsTcpUdpDevice() bool`

GetIsTcpUdpDevice returns the IsTcpUdpDevice field if non-nil, zero value otherwise.

### GetIsTcpUdpDeviceOk

`func (o *CustomOnboard) GetIsTcpUdpDeviceOk() (*bool, bool)`

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

### SetIsTcpUdpDevice

`func (o *CustomOnboard) SetIsTcpUdpDevice(v bool)`

SetIsTcpUdpDevice sets IsTcpUdpDevice field to given value.

### HasIsTcpUdpDevice

`func (o *CustomOnboard) HasIsTcpUdpDevice() bool`

HasIsTcpUdpDevice returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Loading

0 comments on commit bff4b40

Please sign in to comment.