sqlite

package
v0.0.0-...-620b1b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

******************************************************************************

  • Copyright 2017 Dell Inc.
  • Copyright (c) 2019 Intel Corporation *
  • Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
  • in compliance with the License. You may obtain a copy of the License at *
  • http://www.apache.org/licenses/LICENSE-2.0 *
  • Unless required by applicable law or agreed to in writing, software distributed under the License
  • is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
  • or implied. See the License for the specific language governing permissions and limitations under
  • the License. ******************************************************************************

Index

Constants

View Source
const (
	// url中请求参数有判断真假的
	SearchReqBoolTrue  = "true"
	SearchReqBoolFalse = "false"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Pool *gorm.DB
	// contains filtered or unexported fields
}

func NewClient

func NewClient(config dtos.Configuration, lc logger.LoggingClient) (c *Client, errEdgeX error)

func (*Client) AbilityByCode

func (c *Client) AbilityByCode(model interface{}, code, productId string) (interface{}, error)

func (*Client) AddAlertList

func (c *Client) AddAlertList(alertRule models.AlertList) (models.AlertList, error)

func (*Client) AddAlertRule

func (c *Client) AddAlertRule(alertRule models.AlertRule) (models.AlertRule, error)

func (*Client) AddDataResource

func (c *Client) AddDataResource(dateResource models.DataResource) (string, error)

func (*Client) AddDevice

func (c *Client) AddDevice(ds models.Device) (deviceId string, edgeXErr error)

func (*Client) AddDeviceLibrary

func (c *Client) AddDeviceLibrary(dl models.DeviceLibrary) (models.DeviceLibrary, error)

func (*Client) AddDeviceService

func (c *Client) AddDeviceService(ds models.DeviceService) (models.DeviceService, error)

func (*Client) AddLanguageSdk

func (c *Client) AddLanguageSdk(ls models.LanguageSdk) (language models.LanguageSdk, edgeXErr error)

func (*Client) AddMqttAuthInfo

func (c *Client) AddMqttAuthInfo(auth models.MqttAuth) (string, error)

func (*Client) AddMsgGather

func (c *Client) AddMsgGather(msgGather models.MsgGather) error

func (*Client) AddOrUpdateAuth

func (c *Client) AddOrUpdateAuth(auth models.MqttAuth) error

func (*Client) AddProduct

func (c *Client) AddProduct(ds models.Product) (product models.Product, edgeXErr error)

func (*Client) AddRuleEngine

func (c *Client) AddRuleEngine(ruleEngine models.RuleEngine) (string, error)

func (*Client) AddScene

func (c *Client) AddScene(scene models.Scene) (models.Scene, error)

func (*Client) AddSceneLog

func (c *Client) AddSceneLog(sceneLog models.SceneLog) (models.SceneLog, error)

func (*Client) AddThingModelAction

func (c *Client) AddThingModelAction(ds models.Actions) (models.Actions, error)

func (*Client) AddThingModelEvent

func (c *Client) AddThingModelEvent(ds models.Events) (models.Events, error)

func (*Client) AddThingModelProperty

func (c *Client) AddThingModelProperty(ds models.Properties) (models.Properties, error)

func (*Client) AddUser

func (c *Client) AddUser(u models.User) (models.User, error)

func (*Client) AddUsers

func (c *Client) AddUsers(users []models.User) error

func (*Client) AlertIgnore

func (c *Client) AlertIgnore(id string) (edgeXErr error)

func (*Client) AlertListLastSend

func (c *Client) AlertListLastSend(alertRuleId string) (alertList models.AlertList, edgeXErr error)

func (*Client) AlertListSearch

func (c *Client) AlertListSearch(offset int, limit int, req dtos.AlertSearchQueryRequest) (alertList []dtos.AlertSearchQueryResponse, total uint32, edgeXErr error)

func (*Client) AlertPlate

func (c *Client) AlertPlate(beforeTime int64) (plate []dtos.AlertPlateQueryResponse, err error)

func (*Client) AlertRuleById

func (c *Client) AlertRuleById(id string) (models.AlertRule, error)

func (*Client) AlertRuleSearch

func (c *Client) AlertRuleSearch(offset int, limit int, req dtos.AlertRuleSearchQueryRequest) (alertRules []models.AlertRule, total uint32, edgeXErr error)

func (*Client) AlertRuleStart

func (c *Client) AlertRuleStart(id string) error

func (*Client) AlertRuleStop

func (c *Client) AlertRuleStop(id string) error

func (*Client) AssociationsDeleteProductObject

func (c *Client) AssociationsDeleteProductObject(product models.Product) error

func (*Client) AssociationsUpdateProduct

func (c *Client) AssociationsUpdateProduct(ds models.Product) error

func (*Client) BatchBindDevice

func (c *Client) BatchBindDevice(ids []string, driverInstanceId string) error

func (*Client) BatchDeleteActions

func (c *Client) BatchDeleteActions(actionIds []string) error

func (*Client) BatchDeleteDevice

func (c *Client) BatchDeleteDevice(ids []string) error

func (*Client) BatchDeleteEvents

func (c *Client) BatchDeleteEvents(eventIds []string) error

func (*Client) BatchDeleteProduct

func (c *Client) BatchDeleteProduct(products []models.Product) error

func (*Client) BatchDeleteProperties

func (c *Client) BatchDeleteProperties(propertiesIds []string) error

func (*Client) BatchDeleteSystemActions

func (c *Client) BatchDeleteSystemActions() error

func (*Client) BatchDeleteSystemEvents

func (c *Client) BatchDeleteSystemEvents() error

func (*Client) BatchDeleteSystemProperties

func (c *Client) BatchDeleteSystemProperties() error

func (*Client) BatchInsertSystemActions

func (c *Client) BatchInsertSystemActions(p []models.Actions) (int64, error)

func (*Client) BatchInsertSystemEvents

func (c *Client) BatchInsertSystemEvents(p []models.Events) (int64, error)

func (*Client) BatchInsertSystemProperties

func (c *Client) BatchInsertSystemProperties(p []models.Properties) (int64, error)

func (*Client) BatchSaveProduct

func (c *Client) BatchSaveProduct(p []models.Product) error

func (*Client) BatchUnBindDevice

func (c *Client) BatchUnBindDevice(ids []string) error

func (*Client) BatchUpsertCategoryTemplate

func (c *Client) BatchUpsertCategoryTemplate(p []models.CategoryTemplate) (int64, error)

func (*Client) BatchUpsertDevice

func (c *Client) BatchUpsertDevice(p []models.Device) (int64, error)

func (*Client) BatchUpsertDocsTemplate

func (c *Client) BatchUpsertDocsTemplate(ds []models.Doc) (int64, error)

func (*Client) BatchUpsertProduct

func (c *Client) BatchUpsertProduct(p []models.Product) (int64, error)

func (*Client) BatchUpsertQuickNavigationTemplate

func (c *Client) BatchUpsertQuickNavigationTemplate(ds []models.QuickNavigation) (int64, error)

func (*Client) BatchUpsertThingModel

func (c *Client) BatchUpsertThingModel(ds interface{}) (int64, error)

func (*Client) BatchUpsertThingModelTemplate

func (c *Client) BatchUpsertThingModelTemplate(p []models.ThingModelTemplate) (int64, error)

func (*Client) BatchUpsertUnitTemplate

func (c *Client) BatchUpsertUnitTemplate(p []models.Unit) (int64, error)

func (*Client) CategoryTemplateById

func (c *Client) CategoryTemplateById(id string) (models.CategoryTemplate, error)

func (*Client) CategoryTemplateSearch

func (c *Client) CategoryTemplateSearch(offset int, limit int, req dtos.CategoryTemplateRequest) ([]models.CategoryTemplate, uint32, error)

func (*Client) CloseSession

func (c *Client) CloseSession()

CloseSession closes the connections to Redis

func (*Client) DataResourceById

func (c *Client) DataResourceById(id string) (models.DataResource, error)

func (*Client) DelDataResource

func (c *Client) DelDataResource(id string) error

func (*Client) DeleteAlertRuleById

func (c *Client) DeleteAlertRuleById(id string) error

func (*Client) DeleteDeviceByCloudInstanceId

func (c *Client) DeleteDeviceByCloudInstanceId(id string) error

func (*Client) DeleteDeviceById

func (c *Client) DeleteDeviceById(id string) error

func (*Client) DeleteDeviceLibraryById

func (c *Client) DeleteDeviceLibraryById(id string) error

func (*Client) DeleteDeviceServiceById

func (c *Client) DeleteDeviceServiceById(id string) error

func (*Client) DeleteProductById

func (c *Client) DeleteProductById(id string) error

func (*Client) DeleteProductObject

func (c *Client) DeleteProductObject(product models.Product) error

func (*Client) DeleteQuickNavigation

func (c *Client) DeleteQuickNavigation(id string) error

func (*Client) DeleteRuleEngineById

func (c *Client) DeleteRuleEngineById(id string) error

func (*Client) DeleteSceneById

func (c *Client) DeleteSceneById(id string) error

func (*Client) DeviceByCloudId

func (c *Client) DeviceByCloudId(id string) (device models.Device, edgeXErr error)

func (*Client) DeviceById

func (c *Client) DeviceById(id string) (device models.Device, edgeXErr error)

func (*Client) DeviceLibrariesSearch

func (c *Client) DeviceLibrariesSearch(offset int, limit int, req dtos.DeviceLibrarySearchQueryRequest) (deviceLibraries []models.DeviceLibrary, total uint32, edgeXErr error)

func (*Client) DeviceLibraryById

func (c *Client) DeviceLibraryById(id string) (deviceLibrary models.DeviceLibrary, edgeXErr error)

func (*Client) DeviceMqttAuthInfo

func (c *Client) DeviceMqttAuthInfo(id string) (device models.MqttAuth, edgeXErr error)

func (*Client) DeviceOfflineByCloudInstanceId

func (c *Client) DeviceOfflineByCloudInstanceId(id string) (edgeXErr error)

func (*Client) DeviceOfflineById

func (c *Client) DeviceOfflineById(id string) (edgeXErr error)

func (*Client) DeviceOnlineById

func (c *Client) DeviceOnlineById(id string) (edgeXErr error)

func (*Client) DeviceServiceById

func (c *Client) DeviceServiceById(id string) (deviceService models.DeviceService, edgeXErr error)

func (*Client) DeviceServicesSearch

func (c *Client) DeviceServicesSearch(offset int, limit int, req dtos.DeviceServiceSearchQueryRequest) (deviceServices []models.DeviceService, total uint32, edgeXErr error)

func (*Client) DevicesSearch

func (c *Client) DevicesSearch(offset int, limit int, req dtos.DeviceSearchQueryRequest) (devices []models.Device, total uint32, edgeXErr error)

func (*Client) DockerConfigAdd

func (c *Client) DockerConfigAdd(dc models.DockerConfig) (models.DockerConfig, error)

func (*Client) DockerConfigById

func (c *Client) DockerConfigById(id string) (models.DockerConfig, error)

func (*Client) DockerConfigDelete

func (c *Client) DockerConfigDelete(id string) error

func (*Client) DockerConfigUpdate

func (c *Client) DockerConfigUpdate(dc models.DockerConfig) error

func (*Client) DockerConfigsSearch

func (c *Client) DockerConfigsSearch(offset int, limit int, req dtos.DockerConfigSearchQueryRequest) (dcs []models.DockerConfig, total uint32, edgeXErr error)

func (*Client) DocsSearch

func (c *Client) DocsSearch(offset int, limit int, req dtos.DocsSearchQueryRequest) (docs []models.Doc, total uint32, edgeXErr error)

func (*Client) DriverClassifySearch

func (c *Client) DriverClassifySearch(offset int, limit int, req dtos.DriverClassifyQueryRequest) (dcs []models.DriverClassify, total uint32, edgeXErr error)

func (*Client) DriverMqttAuthInfo

func (c *Client) DriverMqttAuthInfo(id string) (device models.MqttAuth, edgeXErr error)

func (*Client) GetAdvanceConfig

func (c *Client) GetAdvanceConfig() (models.AdvanceConfig, error)

func (*Client) GetAllUser

func (c *Client) GetAllUser() ([]models.User, error)

func (*Client) GetDBInstance

func (c *Client) GetDBInstance() *gorm.DB

func (*Client) GetSystemMetrics

func (c *Client) GetSystemMetrics(start, end int64) ([]dtos.SystemMetrics, error)

func (*Client) GetUserByUserName

func (c *Client) GetUserByUserName(username string) (models.User, error)

func (*Client) LanguageSdkByName

func (c *Client) LanguageSdkByName(name string) (cloudService models.LanguageSdk, edgeXErr error)

func (*Client) LanguageSearch

func (c *Client) LanguageSearch(offset int, limit int, req dtos.LanguageSDKSearchQueryRequest) (languages []models.LanguageSdk, count uint32, edgeXErr error)

func (*Client) MsgGatherSearch

func (c *Client) MsgGatherSearch(offset int, limit int, req dtos.MsgGatherSearchQueryRequest) (dcs []models.MsgGather, count uint32, edgeXErr error)

func (*Client) MsgReportDeviceById

func (c *Client) MsgReportDeviceById(id string) (device models.Device, edgeXErr error)

func (*Client) ProductByCloudId

func (c *Client) ProductByCloudId(id string) (product models.Product, edgeXErr error)

func (*Client) ProductById

func (c *Client) ProductById(id string) (product models.Product, edgeXErr error)

func (*Client) ProductsSearch

func (c *Client) ProductsSearch(offset int, limit int, preload bool, req dtos.ProductSearchQueryRequest) (products []models.Product, total uint32, edgeXErr error)

func (*Client) QuickNavigationSearch

func (c *Client) QuickNavigationSearch(offset int, limit int, req dtos.QuickNavigationSearchQueryRequest) (quickNavigations []models.QuickNavigation, total uint32, edgeXErr error)

func (*Client) RemoveRangeSystemMetrics

func (c *Client) RemoveRangeSystemMetrics(min, max string) error

func (*Client) RuleEngineById

func (c *Client) RuleEngineById(id string) (ruleEngine models.RuleEngine, edgeXErr error)

func (*Client) RuleEngineSearch

func (c *Client) RuleEngineSearch(offset int, limit int, req dtos.RuleEngineSearchQueryRequest) (ruleEngine []models.RuleEngine, count uint32, edgeXErr error)

func (*Client) RuleEngineStart

func (c *Client) RuleEngineStart(id string) error

func (*Client) RuleEngineStop

func (c *Client) RuleEngineStop(id string) error

func (*Client) SceneById

func (c *Client) SceneById(id string) (models.Scene, error)

func (*Client) SceneLogSearch

func (c *Client) SceneLogSearch(offset int, limit int, req dtos.SceneLogSearchQueryRequest) (sceneLogs []models.SceneLog, total uint32, edgeXErr error)

func (*Client) SceneSearch

func (c *Client) SceneSearch(offset int, limit int, req dtos.SceneSearchQueryRequest) (scenes []models.Scene, total uint32, edgeXErr error)

func (*Client) SceneStart

func (c *Client) SceneStart(id string) error

func (*Client) SceneStop

func (c *Client) SceneStop(id string) error

func (*Client) SearchDataResource

func (c *Client) SearchDataResource(offset int, limit int, req dtos.DataResourceSearchQueryRequest) (dataResource []models.DataResource, count uint32, edgeXErr error)

func (*Client) SystemThingModelSearch

func (c *Client) SystemThingModelSearch(modelType string, ModelName string) (interface{}, error)

func (*Client) ThingModelActionsById

func (c *Client) ThingModelActionsById(id string) (models.Actions, error)

func (*Client) ThingModelDeleteAction

func (c *Client) ThingModelDeleteAction(id string) error

func (*Client) ThingModelDeleteEvent

func (c *Client) ThingModelDeleteEvent(id string) error

func (*Client) ThingModelDeleteProperty

func (c *Client) ThingModelDeleteProperty(id string) error

func (*Client) ThingModelEventById

func (c *Client) ThingModelEventById(id string) (models.Events, error)

func (*Client) ThingModelPropertyById

func (c *Client) ThingModelPropertyById(id string) (models.Properties, error)

func (*Client) ThingModelTemplateByCategoryKey

func (c *Client) ThingModelTemplateByCategoryKey(categoryKey string) (models.ThingModelTemplate, error)

func (*Client) ThingModelTemplateSearch

func (c *Client) ThingModelTemplateSearch(offset int, limit int, req dtos.ThingModelTemplateRequest) ([]models.ThingModelTemplate, uint32, error)

func (*Client) TreatedIgnore

func (c *Client) TreatedIgnore(id, message string) (edgeXErr error)

func (*Client) UnitSearch

func (c *Client) UnitSearch(offset int, limit int, req dtos.UnitRequest) ([]models.Unit, uint32, error)

func (*Client) UpdateAdvanceConfig

func (c *Client) UpdateAdvanceConfig(config models.AdvanceConfig) error

func (*Client) UpdateAlertRule

func (c *Client) UpdateAlertRule(rule models.AlertRule) error

func (*Client) UpdateDataResource

func (c *Client) UpdateDataResource(dateResource models.DataResource) error

func (*Client) UpdateDataResourceHealth

func (c *Client) UpdateDataResourceHealth(id string, health bool) error

func (*Client) UpdateDevice

func (c *Client) UpdateDevice(ds models.Device) error

func (*Client) UpdateDeviceLibrary

func (c *Client) UpdateDeviceLibrary(dl models.DeviceLibrary) error

func (*Client) UpdateDeviceService

func (c *Client) UpdateDeviceService(ds models.DeviceService) error

func (*Client) UpdateLanguageSdk

func (c *Client) UpdateLanguageSdk(ls models.LanguageSdk) error

func (*Client) UpdateProduct

func (c *Client) UpdateProduct(ds models.Product) error

func (*Client) UpdateRuleEngine

func (c *Client) UpdateRuleEngine(ruleEngine models.RuleEngine) error

func (*Client) UpdateScene

func (c *Client) UpdateScene(scene models.Scene) error

func (*Client) UpdateSystemMetrics

func (c *Client) UpdateSystemMetrics(metrics dtos.SystemMetrics) error

func (*Client) UpdateThingModelAction

func (c *Client) UpdateThingModelAction(ds models.Actions) error

func (*Client) UpdateThingModelEvent

func (c *Client) UpdateThingModelEvent(ds models.Events) error

func (*Client) UpdateThingModelProperty

func (c *Client) UpdateThingModelProperty(ds models.Properties) error

func (*Client) UpdateUser

func (c *Client) UpdateUser(u models.User) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL