Documentation ¶
Overview ¶
Package Swagger
Code generated by github.com/deepmap/oapi-codegen version v1.13.0 DO NOT EDIT.
Package stub provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.13.0 DO NOT EDIT.
Package stub provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.13.0 DO NOT EDIT.
Index ¶
- Constants
- func RegisterHandlers(router EchoRouter, si ServerInterface)
- func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
- type AcceptJSON
- type AccessListListOfString
- type ActionServiceAddActionJSONRequestBody
- type ActionServiceAddActionParams
- type ActionServiceGetActionListParams
- type ActionServiceSearchActionParams
- type ActionServiceUpdateActionJSONBody
- type ActionServiceUpdateActionJSONRequestBody
- type ActionServiceUpdateActionParams
- type ApiAccessItem
- type ApiAccessLevels
- type ApiAccessList
- type ApiAccessListResponse
- type ApiAction
- type ApiArea
- type ApiAreaLocation
- type ApiAttribute
- type ApiAutomationRequest
- type ApiBackup
- type ApiBusStateItem
- type ApiClient
- type ApiCondition
- type ApiCurrentUser
- type ApiDashboard
- type ApiDashboardCard
- type ApiDashboardCardItem
- type ApiDashboardShort
- type ApiDashboardTab
- type ApiDashboardTabShort
- type ApiDeviceBanRequest
- type ApiDeviceListResult
- type ApiDeviceRenameRequest
- type ApiDeviceWhitelistRequest
- type ApiDisablePluginResult
- type ApiEnablePluginResult
- type ApiEntity
- type ApiEntityAction
- type ApiEntityCallActionRequest
- type ApiEntityParent
- type ApiEntityRequest
- type ApiEntityShort
- type ApiEntityState
- type ApiEntityStorage
- type ApiEntityStorageFilter
- type ApiEventBusStateListResult
- type ApiExecScriptResult
- type ApiExecSrcScriptRequest
- type ApiGetActionListResult
- type ApiGetAreaListResult
- type ApiGetBackupListResult
- type ApiGetBridgeListResult
- type ApiGetClientListResult
- type ApiGetConditionListResult
- type ApiGetDashboardCardItemListResult
- type ApiGetDashboardCardListResult
- type ApiGetDashboardListResult
- type ApiGetDashboardTabListResult
- type ApiGetEntityListResult
- type ApiGetEntityStorageResult
- type ApiGetImageFilterListResult
- type ApiGetImageListByDateResult
- type ApiGetImageListResult
- type ApiGetLogListResult
- type ApiGetMessageDeliveryListResult
- type ApiGetPluginListResult
- type ApiGetRoleListResult
- type ApiGetScriptListResult
- type ApiGetSubscriptionListResult
- type ApiGetTagListResult
- type ApiGetTaskListResult
- type ApiGetTriggerListResult
- type ApiGetUserListResult
- type ApiGetVariableListResult
- type ApiImage
- type ApiLog
- type ApiMessage
- type ApiMessageDelivery
- type ApiMeta
- type ApiMetric
- type ApiMetricOption
- type ApiMetricOptionData
- type ApiMetricOptionItem
- type ApiNetworkmapResponse
- type ApiNewActionRequest
- type ApiNewAreaRequest
- type ApiNewConditionRequest
- type ApiNewDashboardCardItemRequest
- type ApiNewDashboardCardRequest
- type ApiNewDashboardRequest
- type ApiNewDashboardTabRequest
- type ApiNewEntityRequest
- type ApiNewEntityRequestAction
- type ApiNewEntityRequestState
- type ApiNewImageRequest
- type ApiNewRoleRequest
- type ApiNewScriptRequest
- type ApiNewTaskRequest
- type ApiNewTriggerRequest
- type ApiNewVariableRequest
- type ApiNewZigbee2mqttRequest
- type ApiNewtUserRequest
- type ApiPagination
- type ApiPasswordResetRequest
- type ApiPlugin
- type ApiPluginOptionsResult
- type ApiPluginOptionsResultEntityAction
- type ApiPluginOptionsResultEntityState
- type ApiPluginShort
- type ApiReloadRequest
- type ApiResponse
- type ApiRole
- type ApiRoleAccessList
- type ApiRoleAccessListResult
- type ApiScript
- type ApiScriptInfo
- type ApiScriptVersion
- type ApiSearchActionResult
- type ApiSearchAreaResult
- type ApiSearchConditionResult
- type ApiSearchDashboardResult
- type ApiSearchDeviceResult
- type ApiSearchEntityResult
- type ApiSearchPluginResult
- type ApiSearchRoleListResult
- type ApiSearchScriptListResult
- type ApiSearchTagListResult
- type ApiSearchTriggerResult
- type ApiSearchVariableResult
- type ApiSigninResponse
- type ApiStatistic
- type ApiStatistics
- type ApiSubscription
- type ApiTag
- type ApiTask
- type ApiTelemetryItem
- type ApiTrigger
- type ApiTypes
- type ApiUpdateEntityRequestAction
- type ApiUpdateEntityRequestState
- type ApiUserFull
- type ApiUserFullParent
- type ApiUserHistory
- type ApiUserMeta
- type ApiUserShot
- type ApiUserShotParent
- type ApiVariable
- type ApiZigbee2mqtt
- type ApiZigbee2mqttDevice
- type ApiZigbee2mqttShort
- type AreaServiceAddAreaJSONRequestBody
- type AreaServiceAddAreaParams
- type AreaServiceGetAreaListParams
- type AreaServiceSearchAreaParams
- type AreaServiceUpdateAreaJSONBody
- type AreaServiceUpdateAreaJSONRequestBody
- type AreaServiceUpdateAreaParams
- type AuthServicePasswordResetJSONRequestBody
- type AuthServicePasswordResetParams
- type AutomationServiceAddTaskJSONRequestBody
- type AutomationServiceAddTaskParams
- type AutomationServiceGetTaskListParams
- type AutomationServiceImportTaskJSONRequestBody
- type AutomationServiceImportTaskParams
- type AutomationServiceUpdateTaskJSONBody
- type AutomationServiceUpdateTaskJSONRequestBody
- type AutomationServiceUpdateTaskParams
- type BackupServiceApplyStateParams
- type BackupServiceGetBackupListParams
- type BackupServiceNewBackupJSONBody
- type BackupServiceNewBackupJSONRequestBody
- type BackupServiceNewBackupParams
- type BackupServiceRevertStateParams
- type BackupServiceUploadBackupMultipartBody
- type BackupServiceUploadBackupMultipartRequestBody
- type BackupServiceUploadBackupParams
- type ConditionServiceAddConditionJSONRequestBody
- type ConditionServiceAddConditionParams
- type ConditionServiceGetConditionByIdParams
- type ConditionServiceGetConditionListParams
- type ConditionServiceSearchConditionParams
- type ConditionServiceUpdateConditionJSONBody
- type ConditionServiceUpdateConditionJSONRequestBody
- type ConditionServiceUpdateConditionParams
- type DashboardCardItemServiceAddDashboardCardItemJSONRequestBody
- type DashboardCardItemServiceAddDashboardCardItemParams
- type DashboardCardItemServiceGetDashboardCardItemListParams
- type DashboardCardItemServiceUpdateDashboardCardItemJSONBody
- type DashboardCardItemServiceUpdateDashboardCardItemJSONRequestBody
- type DashboardCardItemServiceUpdateDashboardCardItemParams
- type DashboardCardServiceAddDashboardCardJSONRequestBody
- type DashboardCardServiceAddDashboardCardParams
- type DashboardCardServiceGetDashboardCardListParams
- type DashboardCardServiceImportDashboardCardJSONRequestBody
- type DashboardCardServiceImportDashboardCardParams
- type DashboardCardServiceUpdateDashboardCardJSONBody
- type DashboardCardServiceUpdateDashboardCardJSONRequestBody
- type DashboardCardServiceUpdateDashboardCardParams
- type DashboardServiceAddDashboardJSONRequestBody
- type DashboardServiceAddDashboardParams
- type DashboardServiceGetDashboardListParams
- type DashboardServiceImportDashboardJSONRequestBody
- type DashboardServiceImportDashboardParams
- type DashboardServiceSearchDashboardParams
- type DashboardServiceUpdateDashboardJSONBody
- type DashboardServiceUpdateDashboardJSONRequestBody
- type DashboardServiceUpdateDashboardParams
- type DashboardTabServiceAddDashboardTabJSONRequestBody
- type DashboardTabServiceAddDashboardTabParams
- type DashboardTabServiceGetDashboardTabListParams
- type DashboardTabServiceImportDashboardTabJSONRequestBody
- type DashboardTabServiceImportDashboardTabParams
- type DashboardTabServiceUpdateDashboardTabJSONBody
- type DashboardTabServiceUpdateDashboardTabJSONRequestBody
- type DashboardTabServiceUpdateDashboardTabParams
- type DeveloperToolsServiceCallActionJSONRequestBody
- type DeveloperToolsServiceCallActionParams
- type DeveloperToolsServiceCallTriggerJSONRequestBody
- type DeveloperToolsServiceCallTriggerParams
- type DeveloperToolsServiceEntitySetStateJSONRequestBody
- type DeveloperToolsServiceEntitySetStateParams
- type DeveloperToolsServiceGetEventBusStateListParams
- type DeveloperToolsServiceReloadEntityJSONRequestBody
- type DeveloperToolsServiceReloadEntityParams
- type EchoRouter
- type EndDate
- type EntityIds
- type EntityServiceAddEntityJSONRequestBody
- type EntityServiceAddEntityParams
- type EntityServiceGetEntityListParams
- type EntityServiceImportEntityJSONRequestBody
- type EntityServiceImportEntityParams
- type EntityServiceSearchEntityParams
- type EntityServiceUpdateEntityJSONBody
- type EntityServiceUpdateEntityJSONRequestBody
- type EntityServiceUpdateEntityParams
- type EntityStorageServiceGetEntityStorageListParams
- type GenericErrorResponse
- type GetImageFilterListResultfilter
- type HTTP400
- type HTTP401
- type HTTP401ErrorCode
- type HTTP404
- type HTTP409
- type HTTP413
- type Ids
- type ImageServiceAddImageJSONRequestBody
- type ImageServiceAddImageParams
- type ImageServiceGetImageListByDateParams
- type ImageServiceGetImageListParams
- type ImageServiceUpdateImageByIdJSONBody
- type ImageServiceUpdateImageByIdJSONRequestBody
- type ImageServiceUpdateImageByIdParams
- type ImageServiceUploadImageMultipartBody
- type ImageServiceUploadImageMultipartRequestBody
- type ImageServiceUploadImageParams
- type InteractServiceEntityCallActionParams
- type ListLimit
- type ListPage
- type ListSort
- type LogServiceGetLogListParams
- type MessageDeliveryServiceGetMessageDeliveryListParams
- type MetricId
- type MetricRange
- type MetricServiceGetMetricParams
- type MetricServiceGetMetricParamsRange
- type MqttServiceGetClientListParams
- type MqttServiceGetSubscriptionListParams
- type PluginServiceGetPluginListParams
- type PluginServiceGetPluginReadmeParams
- type PluginServiceSearchPluginParams
- type PluginServiceUpdatePluginSettingsJSONBody
- type PluginServiceUpdatePluginSettingsJSONRequestBody
- type PluginServiceUpdatePluginSettingsParams
- type Query
- type RoleServiceAddRoleJSONRequestBody
- type RoleServiceAddRoleParams
- type RoleServiceGetRoleListParams
- type RoleServiceSearchRoleByNameParams
- type RoleServiceUpdateRoleAccessListJSONBody
- type RoleServiceUpdateRoleAccessListJSONRequestBody
- type RoleServiceUpdateRoleAccessListParams
- type RoleServiceUpdateRoleByNameJSONBody
- type RoleServiceUpdateRoleByNameJSONRequestBody
- type RoleServiceUpdateRoleByNameParams
- type ScriptServiceAddScriptJSONRequestBody
- type ScriptServiceAddScriptParams
- type ScriptServiceExecSrcScriptByIdJSONRequestBody
- type ScriptServiceExecSrcScriptByIdParams
- type ScriptServiceGetScriptListParams
- type ScriptServiceSearchScriptParams
- type ScriptServiceUpdateScriptByIdJSONBody
- type ScriptServiceUpdateScriptByIdJSONRequestBody
- type ScriptServiceUpdateScriptByIdParams
- type SearchLimit
- type SearchOffset
- type SearchQuery
- type ServerInterface
- type ServerInterfaceWrapper
- func (w *ServerInterfaceWrapper) ActionServiceAddAction(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ActionServiceDeleteAction(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ActionServiceGetActionById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ActionServiceGetActionList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ActionServiceSearchAction(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ActionServiceUpdateAction(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AreaServiceAddArea(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AreaServiceDeleteArea(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AreaServiceGetAreaById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AreaServiceGetAreaList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AreaServiceSearchArea(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AreaServiceUpdateArea(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AuthServiceAccessList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AuthServicePasswordReset(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AuthServiceSignin(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AuthServiceSignout(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AutomationServiceAddTask(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AutomationServiceDeleteTask(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AutomationServiceDisableTask(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AutomationServiceEnableTask(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AutomationServiceGetTask(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AutomationServiceGetTaskList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AutomationServiceImportTask(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) AutomationServiceUpdateTask(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) BackupServiceApplyState(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) BackupServiceDeleteBackup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) BackupServiceGetBackupList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) BackupServiceNewBackup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) BackupServiceRestoreBackup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) BackupServiceRevertState(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) BackupServiceUploadBackup(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ConditionServiceAddCondition(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ConditionServiceDeleteCondition(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ConditionServiceGetConditionById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ConditionServiceGetConditionList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ConditionServiceSearchCondition(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ConditionServiceUpdateCondition(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardItemServiceAddDashboardCardItem(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardItemServiceDeleteDashboardCardItem(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardItemServiceGetDashboardCardItemById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardItemServiceGetDashboardCardItemList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardItemServiceUpdateDashboardCardItem(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardServiceAddDashboardCard(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardServiceDeleteDashboardCard(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardServiceGetDashboardCardById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardServiceGetDashboardCardList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardServiceImportDashboardCard(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardCardServiceUpdateDashboardCard(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardServiceAddDashboard(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardServiceDeleteDashboard(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardServiceGetDashboardById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardServiceGetDashboardList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardServiceImportDashboard(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardServiceSearchDashboard(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardServiceUpdateDashboard(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardTabServiceAddDashboardTab(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardTabServiceDeleteDashboardTab(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardTabServiceGetDashboardTabById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardTabServiceGetDashboardTabList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardTabServiceImportDashboardTab(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DashboardTabServiceUpdateDashboardTab(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeveloperToolsServiceCallAction(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeveloperToolsServiceCallTrigger(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeveloperToolsServiceEntitySetState(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeveloperToolsServiceGetEventBusStateList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) DeveloperToolsServiceReloadEntity(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityServiceAddEntity(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityServiceDeleteEntity(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityServiceDisabledEntity(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityServiceEnabledEntity(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityServiceGetEntity(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityServiceGetEntityList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityServiceGetStatistic(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityServiceImportEntity(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityServiceSearchEntity(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityServiceUpdateEntity(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) EntityStorageServiceGetEntityStorageList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ImageServiceAddImage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ImageServiceDeleteImageById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ImageServiceGetImageById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ImageServiceGetImageFilterList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ImageServiceGetImageList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ImageServiceGetImageListByDate(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ImageServiceUpdateImageById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ImageServiceUploadImage(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) InteractServiceEntityCallAction(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) LogServiceGetLogList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) MessageDeliveryServiceGetMessageDeliveryList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) MetricServiceGetMetric(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) MqttServiceGetClientById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) MqttServiceGetClientList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) MqttServiceGetSubscriptionList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PluginServiceDisablePlugin(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PluginServiceEnablePlugin(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PluginServiceGetPlugin(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PluginServiceGetPluginList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PluginServiceGetPluginReadme(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PluginServiceSearchPlugin(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) PluginServiceUpdatePluginSettings(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RoleServiceAddRole(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RoleServiceDeleteRoleByName(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RoleServiceGetRoleAccessList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RoleServiceGetRoleByName(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RoleServiceGetRoleList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RoleServiceSearchRoleByName(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RoleServiceUpdateRoleAccessList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) RoleServiceUpdateRoleByName(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceAddScript(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceCopyScriptById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceDeleteScriptById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceExecScriptById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceExecSrcScriptById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceGetCompiledScriptById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceGetScriptById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceGetScriptList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceGetStatistic(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceSearchScript(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) ScriptServiceUpdateScriptById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) StreamServiceSubscribe(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TagServiceDeleteTagById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TagServiceGetTagById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TagServiceGetTagList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TagServiceSearchTag(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TagServiceUpdateTagById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TriggerServiceAddTrigger(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TriggerServiceDeleteTrigger(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TriggerServiceDisableTrigger(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TriggerServiceEnableTrigger(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TriggerServiceGetTriggerById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TriggerServiceGetTriggerList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TriggerServiceSearchTrigger(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) TriggerServiceUpdateTrigger(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserServiceAddUser(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserServiceDeleteUserById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserServiceGetUserById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserServiceGetUserList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) UserServiceUpdateUserById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) VariableServiceAddVariable(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) VariableServiceDeleteVariable(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) VariableServiceGetVariableByName(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) VariableServiceGetVariableList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) VariableServiceSearchVariable(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) VariableServiceUpdateVariable(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceAddZigbee2mqttBridge(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceDeleteBridgeById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceDeviceBan(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceDeviceList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceDeviceRename(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceDeviceWhitelist(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceGetBridgeList(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceGetZigbee2mqttBridge(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceNetworkmap(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceResetBridgeById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceSearchDevice(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceUpdateBridgeById(ctx echo.Context) error
- func (w *ServerInterfaceWrapper) Zigbee2mqttServiceUpdateNetworkmap(ctx echo.Context) error
- type StartDate
- type TagServiceGetTagListParams
- type TagServiceSearchTagParams
- type TagServiceUpdateTagByIdJSONBody
- type TagServiceUpdateTagByIdJSONRequestBody
- type TagServiceUpdateTagByIdParams
- type Tags
- type TriggerServiceAddTriggerJSONRequestBody
- type TriggerServiceAddTriggerParams
- type TriggerServiceGetTriggerListParams
- type TriggerServiceSearchTriggerParams
- type TriggerServiceUpdateTriggerJSONBody
- type TriggerServiceUpdateTriggerJSONRequestBody
- type TriggerServiceUpdateTriggerParams
- type UpdateDashboardCardRequestItem
- type UpdateRoleAccessListRequestAccessListDiff
- type UserServiceAddUserJSONRequestBody
- type UserServiceAddUserParams
- type UserServiceGetUserListParams
- type UserServiceUpdateUserByIdJSONBody
- type UserServiceUpdateUserByIdJSONRequestBody
- type UserServiceUpdateUserByIdParams
- type VariableServiceAddVariableJSONRequestBody
- type VariableServiceAddVariableParams
- type VariableServiceGetVariableListParams
- type VariableServiceSearchVariableParams
- type VariableServiceUpdateVariableJSONBody
- type VariableServiceUpdateVariableJSONRequestBody
- type VariableServiceUpdateVariableParams
- type Zigbee2mqttServiceAddZigbee2mqttBridgeJSONRequestBody
- type Zigbee2mqttServiceAddZigbee2mqttBridgeParams
- type Zigbee2mqttServiceDeviceBanJSONRequestBody
- type Zigbee2mqttServiceDeviceBanParams
- type Zigbee2mqttServiceDeviceListParams
- type Zigbee2mqttServiceDeviceRenameJSONRequestBody
- type Zigbee2mqttServiceDeviceRenameParams
- type Zigbee2mqttServiceDeviceWhitelistJSONRequestBody
- type Zigbee2mqttServiceDeviceWhitelistParams
- type Zigbee2mqttServiceGetBridgeListParams
- type Zigbee2mqttServiceSearchDeviceParams
- type Zigbee2mqttServiceUpdateBridgeByIdJSONBody
- type Zigbee2mqttServiceUpdateBridgeByIdJSONRequestBody
- type Zigbee2mqttServiceUpdateBridgeByIdParams
Constants ¶
const ( ApiKeGetLogListyAuthScopes = "ApiKeGetLogListyAuth.Scopes" ApiKeyAuthScopes = "ApiKeyAuth.Scopes" BasicAuthScopes = "BasicAuth.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
func RegisterHandlers(router EchoRouter, si ServerInterface)
RegisterHandlers adds each server route to the EchoRouter.
func RegisterHandlersWithBaseURL ¶
func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string)
Registers handlers, and prepends BaseURL to the paths, so that the paths can be served under a prefix.
Types ¶
type AccessListListOfString ¶
type AccessListListOfString struct {
Items []string `json:"items"`
}
AccessListListOfString defines model for AccessListListOfString.
type ActionServiceAddActionJSONRequestBody ¶
type ActionServiceAddActionJSONRequestBody = ApiNewActionRequest
ActionServiceAddActionJSONRequestBody defines body for ActionServiceAddAction for application/json ContentType.
type ActionServiceAddActionParams ¶
type ActionServiceAddActionParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ActionServiceAddActionParams defines parameters for ActionServiceAddAction.
type ActionServiceGetActionListParams ¶
type ActionServiceGetActionListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` // Ids The number of results returned on a page Ids *Ids `form:"ids[],omitempty" json:"ids[],omitempty"` }
ActionServiceGetActionListParams defines parameters for ActionServiceGetActionList.
type ActionServiceSearchActionParams ¶
type ActionServiceSearchActionParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
ActionServiceSearchActionParams defines parameters for ActionServiceSearchAction.
type ActionServiceUpdateActionJSONBody ¶
type ActionServiceUpdateActionJSONBody struct { AreaId *int64 `json:"areaId,omitempty"` Description string `json:"description"` EntityActionName *string `json:"entityActionName,omitempty"` EntityId *string `json:"entityId,omitempty"` Name string `json:"name"` ScriptId *int64 `json:"scriptId,omitempty"` }
ActionServiceUpdateActionJSONBody defines parameters for ActionServiceUpdateAction.
type ActionServiceUpdateActionJSONRequestBody ¶
type ActionServiceUpdateActionJSONRequestBody ActionServiceUpdateActionJSONBody
ActionServiceUpdateActionJSONRequestBody defines body for ActionServiceUpdateAction for application/json ContentType.
type ActionServiceUpdateActionParams ¶
type ActionServiceUpdateActionParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ActionServiceUpdateActionParams defines parameters for ActionServiceUpdateAction.
type ApiAccessItem ¶
type ApiAccessItem struct { Actions []string `json:"actions"` Description string `json:"description"` Method string `json:"method"` RoleName string `json:"roleName"` }
ApiAccessItem defines model for apiAccessItem.
type ApiAccessLevels ¶
type ApiAccessLevels struct {
Items map[string]ApiAccessItem `json:"items"`
}
ApiAccessLevels defines model for apiAccessLevels.
type ApiAccessList ¶
type ApiAccessList struct {
Levels map[string]ApiAccessLevels `json:"levels"`
}
ApiAccessList defines model for apiAccessList.
type ApiAccessListResponse ¶
type ApiAccessListResponse struct {
AccessList *ApiAccessList `json:"accessList,omitempty"`
}
ApiAccessListResponse defines model for apiAccessListResponse.
type ApiAction ¶
type ApiAction struct { Area *ApiArea `json:"area,omitempty"` AreaId *int64 `json:"areaId,omitempty"` Completed *bool `json:"completed,omitempty"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Entity *ApiEntity `json:"entity,omitempty"` EntityActionName *string `json:"entityActionName,omitempty"` EntityId *string `json:"entityId,omitempty"` Id int64 `json:"id"` Name string `json:"name"` Script *ApiScript `json:"script,omitempty"` ScriptId *int64 `json:"scriptId,omitempty"` UpdatedAt time.Time `json:"updatedAt"` }
ApiAction defines model for apiAction.
type ApiArea ¶
type ApiArea struct { Center *ApiAreaLocation `json:"center,omitempty"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Id int64 `json:"id"` Name string `json:"name"` Polygon []ApiAreaLocation `json:"polygon"` Resolution float32 `json:"resolution"` UpdatedAt time.Time `json:"updatedAt"` Zoom float32 `json:"zoom"` }
ApiArea defines model for apiArea.
type ApiAreaLocation ¶
ApiAreaLocation defines model for apiAreaLocation.
type ApiAttribute ¶
type ApiAttribute struct { Array *[]ApiAttribute `json:"array,omitempty"` Bool *bool `json:"bool,omitempty"` Encrypted *string `json:"encrypted,omitempty"` Float *float32 `json:"float,omitempty"` Icon *string `json:"icon,omitempty"` ImageUrl *string `json:"imageUrl,omitempty"` Int *int64 `json:"int,omitempty"` Map *map[string]ApiAttribute `json:"map,omitempty"` Name string `json:"name"` Point *string `json:"point,omitempty"` String *string `json:"string,omitempty"` Time *time.Time `json:"time,omitempty"` Type ApiTypes `json:"type"` }
ApiAttribute defines model for apiAttribute.
type ApiAutomationRequest ¶
ApiAutomationRequest defines model for apiAutomationRequest.
type ApiBackup ¶
type ApiBackup struct { FileMode uint32 `json:"fileMode"` ModTime time.Time `json:"modTime"` Name string `json:"name"` Size int64 `json:"size"` }
ApiBackup defines model for apiBackup.
type ApiBusStateItem ¶
type ApiBusStateItem struct { Avg int64 `json:"avg"` Max int64 `json:"max"` Min int64 `json:"min"` Rps float64 `json:"rps"` Subscribers int32 `json:"subscribers"` Topic string `json:"topic"` }
ApiBusStateItem defines model for apiBusStateItem.
type ApiClient ¶
type ApiClient struct { ClientId string `json:"clientId"` ConnectedAt time.Time `json:"connectedAt"` DisconnectedAt *time.Time `json:"disconnectedAt,omitempty"` InflightLen uint32 `json:"inflightLen"` KeepAlive uint16 `json:"keepAlive"` LocalAddr string `json:"localAddr"` MessageDropped uint64 `json:"messageDropped"` PacketsReceivedBytes uint64 `json:"packetsReceivedBytes"` PacketsReceivedNums uint64 `json:"packetsReceivedNums"` PacketsSendBytes uint64 `json:"packetsSendBytes"` PacketsSendNums uint64 `json:"packetsSendNums"` QueueLen uint32 `json:"queueLen"` RemoteAddr string `json:"remoteAddr"` SubscriptionsCurrent uint32 `json:"subscriptionsCurrent"` SubscriptionsTotal uint32 `json:"subscriptionsTotal"` Username string `json:"username"` Version int32 `json:"version"` WillPayload string `json:"willPayload"` WillQos uint8 `json:"willQos"` WillRetain bool `json:"willRetain"` WillTopic string `json:"willTopic"` }
ApiClient defines model for apiClient.
type ApiCondition ¶
type ApiCondition struct { Area *ApiArea `json:"area,omitempty"` AreaId *int64 `json:"areaId,omitempty"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Id int64 `json:"id"` Name string `json:"name"` Script *ApiScript `json:"script,omitempty"` ScriptId *int64 `json:"scriptId,omitempty"` UpdatedAt time.Time `json:"updatedAt"` }
ApiCondition defines model for apiCondition.
type ApiCurrentUser ¶
type ApiCurrentUser struct { CreatedAt *time.Time `json:"createdAt,omitempty"` CurrentSignInAt *time.Time `json:"currentSignInAt,omitempty"` Email *string `json:"email,omitempty"` FirstName *string `json:"firstName,omitempty"` History *[]ApiUserHistory `json:"history,omitempty"` Id *int64 `json:"id,omitempty"` Image *ApiImage `json:"image,omitempty"` Lang *string `json:"lang,omitempty"` LastName *string `json:"lastName,omitempty"` LastSignInAt *time.Time `json:"lastSignInAt,omitempty"` Meta *[]ApiUserMeta `json:"meta,omitempty"` Nickname *string `json:"nickname,omitempty"` Role *ApiRole `json:"role,omitempty"` SignInCount *int64 `json:"signInCount,omitempty"` Status *string `json:"status,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` }
ApiCurrentUser defines model for apiCurrentUser.
type ApiDashboard ¶
type ApiDashboard struct { Area *ApiArea `json:"area,omitempty"` AreaId *int64 `json:"areaId,omitempty"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Enabled bool `json:"enabled"` Entities map[string]ApiEntity `json:"entities"` Id int64 `json:"id"` Name string `json:"name"` Tabs []ApiDashboardTab `json:"tabs"` UpdatedAt time.Time `json:"updatedAt"` }
ApiDashboard defines model for apiDashboard.
type ApiDashboardCard ¶
type ApiDashboardCard struct { Background *string `json:"background,omitempty"` CreatedAt time.Time `json:"createdAt"` DashboardTabId int64 `json:"dashboardTabId"` Enabled bool `json:"enabled"` Entities map[string]ApiEntity `json:"entities"` EntityId *string `json:"entityId,omitempty"` Height int32 `json:"height"` Hidden bool `json:"hidden"` Id int64 `json:"id"` Items []ApiDashboardCardItem `json:"items"` Payload []byte `json:"payload"` Title string `json:"title"` UpdatedAt time.Time `json:"updatedAt"` Weight int32 `json:"weight"` Width int32 `json:"width"` }
ApiDashboardCard defines model for apiDashboardCard.
type ApiDashboardCardItem ¶
type ApiDashboardCardItem struct { CreatedAt time.Time `json:"createdAt"` DashboardCardId int64 `json:"dashboardCardId"` Enabled bool `json:"enabled"` EntityId *string `json:"entityId,omitempty"` Frozen bool `json:"frozen"` Hidden bool `json:"hidden"` Id int64 `json:"id"` Payload []byte `json:"payload"` Title string `json:"title"` Type string `json:"type"` UpdatedAt time.Time `json:"updatedAt"` Weight int32 `json:"weight"` }
ApiDashboardCardItem defines model for apiDashboardCardItem.
type ApiDashboardShort ¶
type ApiDashboardShort struct { Area *ApiArea `json:"area,omitempty"` AreaId *int64 `json:"areaId,omitempty"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Enabled bool `json:"enabled"` Id int64 `json:"id"` Name string `json:"name"` UpdatedAt time.Time `json:"updatedAt"` }
ApiDashboardShort defines model for apiDashboardShort.
type ApiDashboardTab ¶
type ApiDashboardTab struct { Background *string `json:"background,omitempty"` Cards []ApiDashboardCard `json:"cards"` ColumnWidth int32 `json:"columnWidth"` CreatedAt time.Time `json:"createdAt"` DashboardId int64 `json:"dashboardId"` Enabled bool `json:"enabled"` Entities map[string]ApiEntity `json:"entities"` Gap bool `json:"gap"` Icon string `json:"icon"` Id int64 `json:"id"` Name string `json:"name"` Payload []byte `json:"payload"` UpdatedAt time.Time `json:"updatedAt"` Weight int32 `json:"weight"` }
ApiDashboardTab defines model for apiDashboardTab.
type ApiDashboardTabShort ¶
type ApiDashboardTabShort struct { Background *string `json:"background,omitempty"` ColumnWidth *int32 `json:"columnWidth,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` DashboardId *int64 `json:"dashboardId,omitempty"` Enabled *bool `json:"enabled,omitempty"` Gap *bool `json:"gap,omitempty"` Icon *string `json:"icon,omitempty"` Id *int64 `json:"id,omitempty"` Name *string `json:"name,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` Weight *int32 `json:"weight,omitempty"` }
ApiDashboardTabShort defines model for apiDashboardTabShort.
type ApiDeviceBanRequest ¶
ApiDeviceBanRequest defines model for apiDeviceBanRequest.
type ApiDeviceListResult ¶
type ApiDeviceListResult struct { Items []ApiZigbee2mqttDevice `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiDeviceListResult defines model for apiDeviceListResult.
type ApiDeviceRenameRequest ¶
type ApiDeviceRenameRequest struct { FriendlyName string `json:"friendlyName"` NewName string `json:"newName"` }
ApiDeviceRenameRequest defines model for apiDeviceRenameRequest.
type ApiDeviceWhitelistRequest ¶
type ApiDeviceWhitelistRequest struct { FriendlyName string `json:"friendlyName"` Id int64 `json:"id"` }
ApiDeviceWhitelistRequest defines model for apiDeviceWhitelistRequest.
type ApiDisablePluginResult ¶
type ApiDisablePluginResult = map[string]interface{}
ApiDisablePluginResult defines model for apiDisablePluginResult.
type ApiEnablePluginResult ¶
type ApiEnablePluginResult = map[string]interface{}
ApiEnablePluginResult defines model for apiEnablePluginResult.
type ApiEntity ¶
type ApiEntity struct { Actions []ApiEntityAction `json:"actions"` Area *ApiArea `json:"area,omitempty"` Attributes map[string]ApiAttribute `json:"attributes"` AutoLoad bool `json:"autoLoad"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Icon *string `json:"icon,omitempty"` Id string `json:"id"` Image *ApiImage `json:"image,omitempty"` IsLoaded *bool `json:"isLoaded,omitempty"` Metrics []ApiMetric `json:"metrics"` Parent *ApiEntityParent `json:"parent,omitempty"` PluginName string `json:"pluginName"` RestoreState bool `json:"restoreState"` ScriptIds []int64 `json:"scriptIds"` Scripts []ApiScript `json:"scripts"` Settings map[string]ApiAttribute `json:"settings"` States []ApiEntityState `json:"states"` Tags []string `json:"tags"` UpdatedAt time.Time `json:"updatedAt"` }
ApiEntity defines model for apiEntity.
type ApiEntityAction ¶
type ApiEntityAction struct { Description string `json:"description"` Icon *string `json:"icon,omitempty"` Image *ApiImage `json:"image,omitempty"` Name string `json:"name"` Script *ApiScript `json:"script,omitempty"` ScriptId *int64 `json:"scriptId,omitempty"` Type string `json:"type"` }
ApiEntityAction defines model for apiEntityAction.
type ApiEntityCallActionRequest ¶
type ApiEntityCallActionRequest struct { AreaId *int64 `json:"areaId,omitempty"` Attributes map[string]ApiAttribute `json:"attributes"` Id *string `json:"id,omitempty"` Name string `json:"name"` Tags []string `json:"tags"` }
ApiEntityCallActionRequest defines model for apiEntityCallActionRequest.
type ApiEntityParent ¶
type ApiEntityParent struct {
Id string `json:"id"`
}
ApiEntityParent defines model for apiEntityParent.
type ApiEntityRequest ¶
ApiEntityRequest defines model for apiEntityRequest.
type ApiEntityShort ¶
type ApiEntityShort struct { Area *ApiArea `json:"area,omitempty"` AutoLoad bool `json:"autoLoad"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Icon *string `json:"icon,omitempty"` Id string `json:"id"` IsLoaded *bool `json:"isLoaded,omitempty"` ParentId *string `json:"parentId,omitempty"` PluginName string `json:"pluginName"` RestoreState bool `json:"restoreState"` Tags []string `json:"tags"` UpdatedAt time.Time `json:"updatedAt"` }
ApiEntityShort defines model for apiEntityShort.
type ApiEntityState ¶
type ApiEntityState struct { Description string `json:"description"` Icon *string `json:"icon,omitempty"` Image *ApiImage `json:"image,omitempty"` Name string `json:"name"` Style string `json:"style"` }
ApiEntityState defines model for apiEntityState.
type ApiEntityStorage ¶
type ApiEntityStorage struct { Attributes map[string]ApiAttribute `json:"attributes"` CreatedAt time.Time `json:"createdAt"` EntityId string `json:"entityId"` EntityDescription string `json:"entity_description"` Id int64 `json:"id"` State string `json:"state"` StateDescription string `json:"state_description"` }
ApiEntityStorage defines model for apiEntityStorage.
type ApiEntityStorageFilter ¶
type ApiEntityStorageFilter struct { Description string `json:"description"` EntityId string `json:"entityId"` }
ApiEntityStorageFilter defines model for apiEntityStorageFilter.
type ApiEventBusStateListResult ¶
type ApiEventBusStateListResult struct { Items []ApiBusStateItem `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiEventBusStateListResult defines model for apiEventBusStateListResult.
type ApiExecScriptResult ¶
type ApiExecScriptResult struct {
Result string `json:"result"`
}
ApiExecScriptResult defines model for apiExecScriptResult.
type ApiExecSrcScriptRequest ¶
type ApiExecSrcScriptRequest struct { Description string `json:"description"` Lang string `json:"lang"` Name string `json:"name"` Source string `json:"source"` }
ApiExecSrcScriptRequest defines model for apiExecSrcScriptRequest.
type ApiGetActionListResult ¶
type ApiGetActionListResult struct { Items []ApiAction `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetActionListResult defines model for apiGetActionListResult.
type ApiGetAreaListResult ¶
type ApiGetAreaListResult struct { Items []ApiArea `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetAreaListResult defines model for apiGetAreaListResult.
type ApiGetBackupListResult ¶
type ApiGetBackupListResult struct { Items []string `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetBackupListResult defines model for apiGetBackupListResult.
type ApiGetBridgeListResult ¶
type ApiGetBridgeListResult struct { Items []ApiZigbee2mqttShort `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetBridgeListResult defines model for apiGetBridgeListResult.
type ApiGetClientListResult ¶
type ApiGetClientListResult struct { Items []ApiClient `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetClientListResult defines model for apiGetClientListResult.
type ApiGetConditionListResult ¶
type ApiGetConditionListResult struct { Items []ApiCondition `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetConditionListResult defines model for apiGetConditionListResult.
type ApiGetDashboardCardItemListResult ¶
type ApiGetDashboardCardItemListResult struct { Items []ApiDashboardCardItem `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetDashboardCardItemListResult defines model for apiGetDashboardCardItemListResult.
type ApiGetDashboardCardListResult ¶
type ApiGetDashboardCardListResult struct { Items []ApiDashboardCard `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetDashboardCardListResult defines model for apiGetDashboardCardListResult.
type ApiGetDashboardListResult ¶
type ApiGetDashboardListResult struct { Items []ApiDashboardShort `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetDashboardListResult defines model for apiGetDashboardListResult.
type ApiGetDashboardTabListResult ¶
type ApiGetDashboardTabListResult struct { Items []ApiDashboardTabShort `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetDashboardTabListResult defines model for apiGetDashboardTabListResult.
type ApiGetEntityListResult ¶
type ApiGetEntityListResult struct { Items []ApiEntityShort `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetEntityListResult defines model for apiGetEntityListResult.
type ApiGetEntityStorageResult ¶
type ApiGetEntityStorageResult struct { Filter []ApiEntityStorageFilter `json:"filter"` Items []ApiEntityStorage `json:"items"` Meta ApiMeta `json:"meta"` }
ApiGetEntityStorageResult defines model for apiGetEntityStorageResult.
type ApiGetImageFilterListResult ¶
type ApiGetImageFilterListResult struct {
Items []GetImageFilterListResultfilter `json:"items"`
}
ApiGetImageFilterListResult defines model for apiGetImageFilterListResult.
type ApiGetImageListByDateResult ¶
type ApiGetImageListByDateResult struct {
Items []ApiImage `json:"items"`
}
ApiGetImageListByDateResult defines model for apiGetImageListByDateResult.
type ApiGetImageListResult ¶
type ApiGetImageListResult struct { Items []ApiImage `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetImageListResult defines model for apiGetImageListResult.
type ApiGetLogListResult ¶
type ApiGetLogListResult struct { Items []ApiLog `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetLogListResult defines model for apiGetLogListResult.
type ApiGetMessageDeliveryListResult ¶
type ApiGetMessageDeliveryListResult struct { Items []ApiMessageDelivery `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetMessageDeliveryListResult defines model for apiGetMessageDeliveryListResult.
type ApiGetPluginListResult ¶
type ApiGetPluginListResult struct { Items []ApiPluginShort `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetPluginListResult defines model for apiGetPluginListResult.
type ApiGetRoleListResult ¶
type ApiGetRoleListResult struct { Items []ApiRole `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetRoleListResult defines model for apiGetRoleListResult.
type ApiGetScriptListResult ¶
type ApiGetScriptListResult struct { Items []ApiScript `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetScriptListResult defines model for apiGetScriptListResult.
type ApiGetSubscriptionListResult ¶
type ApiGetSubscriptionListResult struct { Items []ApiSubscription `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetSubscriptionListResult defines model for apiGetSubscriptionListResult.
type ApiGetTagListResult ¶ added in v0.17.0
type ApiGetTagListResult struct { Items []ApiTag `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetTagListResult defines model for apiGetTagListResult.
type ApiGetTaskListResult ¶
type ApiGetTaskListResult struct { Items []ApiTask `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetTaskListResult defines model for apiGetTaskListResult.
type ApiGetTriggerListResult ¶
type ApiGetTriggerListResult struct { Items []ApiTrigger `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetTriggerListResult defines model for apiGetTriggerListResult.
type ApiGetUserListResult ¶
type ApiGetUserListResult struct { Items []ApiUserShot `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetUserListResult defines model for apiGetUserListResult.
type ApiGetVariableListResult ¶
type ApiGetVariableListResult struct { Items []ApiVariable `json:"items"` Meta *ApiMeta `json:"meta,omitempty"` }
ApiGetVariableListResult defines model for apiGetVariableListResult.
type ApiImage ¶
type ApiImage struct { CreatedAt time.Time `json:"createdAt"` Id int64 `json:"id"` Image string `json:"image"` MimeType string `json:"mimeType"` Name string `json:"name"` Size int64 `json:"size"` Thumb string `json:"thumb"` Title string `json:"title"` Url string `json:"url"` }
ApiImage defines model for apiImage.
type ApiLog ¶
type ApiLog struct { Body string `json:"body"` CreatedAt time.Time `json:"createdAt"` Id int64 `json:"id"` Level string `json:"level"` Owner string `json:"owner"` }
ApiLog defines model for apiLog.
type ApiMessage ¶
type ApiMessage struct { Attributes map[string]string `json:"attributes"` CreatedAt time.Time `json:"createdAt"` EntityId *string `json:"entityId,omitempty"` Id int64 `json:"id"` Type string `json:"type"` UpdatedAt time.Time `json:"updatedAt"` }
ApiMessage defines model for apiMessage.
type ApiMessageDelivery ¶
type ApiMessageDelivery struct { Address string `json:"address"` CreatedAt time.Time `json:"createdAt"` ErrorMessageBody *string `json:"errorMessageBody,omitempty"` ErrorMessageStatus *string `json:"errorMessageStatus,omitempty"` Id int64 `json:"id"` Message ApiMessage `json:"message"` Status string `json:"status"` UpdatedAt time.Time `json:"updatedAt"` }
ApiMessageDelivery defines model for apiMessageDelivery.
type ApiMeta ¶
type ApiMeta struct { Pagination ApiPagination `json:"pagination"` Sort string `json:"sort"` }
ApiMeta defines model for apiMeta.
type ApiMetric ¶
type ApiMetric struct { CreatedAt time.Time `json:"createdAt"` Data []ApiMetricOptionData `json:"data"` Description string `json:"description"` Id int64 `json:"id"` Name string `json:"name"` Options *ApiMetricOption `json:"options,omitempty"` Ranges []string `json:"ranges"` Type string `json:"type"` UpdatedAt time.Time `json:"updatedAt"` }
ApiMetric defines model for apiMetric.
type ApiMetricOption ¶
type ApiMetricOption struct {
Items []ApiMetricOptionItem `json:"items"`
}
ApiMetricOption defines model for apiMetricOption.
type ApiMetricOptionData ¶
type ApiMetricOptionData struct { MetricId *int64 `json:"metricId,omitempty"` Time time.Time `json:"time"` Value map[string]interface{} `json:"value"` }
ApiMetricOptionData defines model for apiMetricOptionData.
type ApiMetricOptionItem ¶
type ApiMetricOptionItem struct { Color string `json:"color"` Description string `json:"description"` Label string `json:"label"` Name string `json:"name"` Translate string `json:"translate"` }
ApiMetricOptionItem defines model for apiMetricOptionItem.
type ApiNetworkmapResponse ¶
type ApiNetworkmapResponse struct {
Networkmap string `json:"networkmap"`
}
ApiNetworkmapResponse defines model for apiNetworkmapResponse.
type ApiNewActionRequest ¶
type ApiNewActionRequest struct { AreaId *int64 `json:"areaId,omitempty"` Description string `json:"description"` EntityActionName *string `json:"entityActionName,omitempty"` EntityId *string `json:"entityId,omitempty"` Name string `json:"name"` ScriptId *int64 `json:"scriptId,omitempty"` }
ApiNewActionRequest defines model for apiNewActionRequest.
type ApiNewAreaRequest ¶
type ApiNewAreaRequest struct { Center *ApiAreaLocation `json:"center,omitempty"` Description string `json:"description"` Name string `json:"name"` Polygon []ApiAreaLocation `json:"polygon"` Resolution float32 `json:"resolution"` Zoom float32 `json:"zoom"` }
ApiNewAreaRequest defines model for apiNewAreaRequest.
type ApiNewConditionRequest ¶
type ApiNewConditionRequest struct { AreaId *int64 `json:"areaId,omitempty"` Description string `json:"description"` Name string `json:"name"` ScriptId *int64 `json:"scriptId,omitempty"` }
ApiNewConditionRequest defines model for apiNewConditionRequest.
type ApiNewDashboardCardItemRequest ¶
type ApiNewDashboardCardItemRequest struct { DashboardCardId int64 `json:"dashboardCardId"` Enabled bool `json:"enabled"` EntityId *string `json:"entityId,omitempty"` Frozen bool `json:"frozen"` Hidden bool `json:"hidden"` Payload []byte `json:"payload"` Title string `json:"title"` Type string `json:"type"` Weight int32 `json:"weight"` }
ApiNewDashboardCardItemRequest defines model for apiNewDashboardCardItemRequest.
type ApiNewDashboardCardRequest ¶
type ApiNewDashboardCardRequest struct { Background *string `json:"background,omitempty"` DashboardTabId int64 `json:"dashboardTabId"` Enabled bool `json:"enabled"` EntityId *string `json:"entityId,omitempty"` Height int32 `json:"height"` Hidden bool `json:"hidden"` Payload []byte `json:"payload"` Title string `json:"title"` Weight int32 `json:"weight"` Width int32 `json:"width"` }
ApiNewDashboardCardRequest defines model for apiNewDashboardCardRequest.
type ApiNewDashboardRequest ¶
type ApiNewDashboardRequest struct { AreaId *int64 `json:"areaId,omitempty"` Description string `json:"description"` Enabled bool `json:"enabled"` Name string `json:"name"` }
ApiNewDashboardRequest defines model for apiNewDashboardRequest.
type ApiNewDashboardTabRequest ¶
type ApiNewDashboardTabRequest struct { Background *string `json:"background,omitempty"` ColumnWidth int32 `json:"columnWidth"` DashboardId int64 `json:"dashboardId"` Enabled bool `json:"enabled"` Gap bool `json:"gap"` Icon string `json:"icon"` Name string `json:"name"` Payload []byte `json:"payload"` Weight int32 `json:"weight"` }
ApiNewDashboardTabRequest defines model for apiNewDashboardTabRequest.
type ApiNewEntityRequest ¶
type ApiNewEntityRequest struct { Actions []ApiNewEntityRequestAction `json:"actions"` AreaId *int64 `json:"areaId,omitempty"` Attributes map[string]ApiAttribute `json:"attributes"` AutoLoad bool `json:"autoLoad"` Description string `json:"description"` Icon *string `json:"icon,omitempty"` ImageId *int64 `json:"imageId,omitempty"` Metrics []ApiMetric `json:"metrics"` Name string `json:"name"` ParentId *string `json:"parentId,omitempty"` PluginName string `json:"pluginName"` RestoreState bool `json:"restoreState"` ScriptIds []int64 `json:"scriptIds"` Settings map[string]ApiAttribute `json:"settings"` States []ApiNewEntityRequestState `json:"states"` Tags []string `json:"tags"` }
ApiNewEntityRequest defines model for apiNewEntityRequest.
type ApiNewEntityRequestAction ¶
type ApiNewEntityRequestAction struct { Description string `json:"description"` Icon *string `json:"icon,omitempty"` ImageId *int64 `json:"imageId,omitempty"` Name string `json:"name"` ScriptId *int64 `json:"scriptId,omitempty"` Type string `json:"type"` }
ApiNewEntityRequestAction defines model for apiNewEntityRequestAction.
type ApiNewEntityRequestState ¶
type ApiNewEntityRequestState struct { Description string `json:"description"` Icon *string `json:"icon,omitempty"` ImageId *int64 `json:"imageId,omitempty"` Name string `json:"name"` Style string `json:"style"` }
ApiNewEntityRequestState defines model for apiNewEntityRequestState.
type ApiNewImageRequest ¶
type ApiNewImageRequest struct { Image string `json:"image"` MimeType string `json:"mimeType"` Name string `json:"name"` Size int64 `json:"size"` Thumb string `json:"thumb"` Title string `json:"title"` }
ApiNewImageRequest defines model for apiNewImageRequest.
type ApiNewRoleRequest ¶
type ApiNewRoleRequest struct { Description string `json:"description"` Name string `json:"name"` Parent *string `json:"parent,omitempty"` }
ApiNewRoleRequest defines model for apiNewRoleRequest.
type ApiNewScriptRequest ¶
type ApiNewScriptRequest struct { Description string `json:"description"` Lang string `json:"lang"` Name string `json:"name"` Source string `json:"source"` }
ApiNewScriptRequest defines model for apiNewScriptRequest.
type ApiNewTaskRequest ¶
type ApiNewTaskRequest struct { ActionIds []int64 `json:"actionIds"` AreaId *int64 `json:"areaId,omitempty"` Condition string `json:"condition"` ConditionIds []int64 `json:"conditionIds"` Description string `json:"description"` Enabled bool `json:"enabled"` Name string `json:"name"` TriggerIds []int64 `json:"triggerIds"` }
ApiNewTaskRequest defines model for apiNewTaskRequest.
type ApiNewTriggerRequest ¶
type ApiNewTriggerRequest struct { AreaId *int64 `json:"areaId,omitempty"` Attributes map[string]ApiAttribute `json:"attributes"` Description string `json:"description"` Enabled bool `json:"enabled"` EntityIds []string `json:"entityIds"` Name string `json:"name"` PluginName string `json:"pluginName"` Script *ApiScript `json:"script,omitempty"` ScriptId *int64 `json:"scriptId,omitempty"` }
ApiNewTriggerRequest defines model for apiNewTriggerRequest.
type ApiNewVariableRequest ¶
type ApiNewVariableRequest struct { Name string `json:"name"` Tags []string `json:"tags"` Value string `json:"value"` }
ApiNewVariableRequest defines model for apiNewVariableRequest.
type ApiNewZigbee2mqttRequest ¶
type ApiNewZigbee2mqttRequest struct { BaseTopic string `json:"baseTopic"` Login string `json:"login"` Name string `json:"name"` Password *string `json:"password,omitempty"` PermitJoin bool `json:"permitJoin"` }
ApiNewZigbee2mqttRequest defines model for apiNewZigbee2mqttRequest.
type ApiNewtUserRequest ¶
type ApiNewtUserRequest struct { Email string `json:"email"` FirstName *string `json:"firstName,omitempty"` ImageId *int64 `json:"imageId,omitempty"` Lang *string `json:"lang,omitempty"` LastName *string `json:"lastName,omitempty"` Meta *[]ApiUserMeta `json:"meta,omitempty"` Nickname string `json:"nickname"` Password string `json:"password"` PasswordRepeat string `json:"passwordRepeat"` RoleName string `json:"roleName"` Status *string `json:"status,omitempty"` }
ApiNewtUserRequest defines model for apiNewtUserRequest.
type ApiPagination ¶
type ApiPagination struct { Limit uint64 `json:"limit"` Page uint64 `json:"page"` Total uint64 `json:"total"` }
ApiPagination defines model for apiPagination.
type ApiPasswordResetRequest ¶
type ApiPasswordResetRequest struct { Email string `json:"email"` NewPassword *string `json:"newPassword,omitempty"` Token *string `json:"token,omitempty"` }
ApiPasswordResetRequest defines model for apiPasswordResetRequest.
type ApiPlugin ¶
type ApiPlugin struct { Actor bool `json:"actor"` Enabled bool `json:"enabled"` IsLoaded *bool `json:"isLoaded,omitempty"` Name string `json:"name"` Options *ApiPluginOptionsResult `json:"options,omitempty"` Settings map[string]ApiAttribute `json:"settings"` System bool `json:"system"` Version string `json:"version"` }
ApiPlugin defines model for apiPlugin.
type ApiPluginOptionsResult ¶
type ApiPluginOptionsResult struct { ActorActions map[string]ApiPluginOptionsResultEntityAction `json:"actorActions"` ActorAttrs map[string]ApiAttribute `json:"actorAttrs"` ActorCustomActions bool `json:"actorCustomActions"` ActorCustomAttrs bool `json:"actorCustomAttrs"` ActorCustomSetts bool `json:"actorCustomSetts"` ActorCustomStates bool `json:"actorCustomStates"` ActorSetts map[string]ApiAttribute `json:"actorSetts"` ActorStates map[string]ApiPluginOptionsResultEntityState `json:"actorStates"` Actors bool `json:"actors"` Setts map[string]ApiAttribute `json:"setts"` Triggers bool `json:"triggers"` }
ApiPluginOptionsResult defines model for apiPluginOptionsResult.
type ApiPluginOptionsResultEntityAction ¶
type ApiPluginOptionsResultEntityAction struct { Description string `json:"description"` Icon string `json:"icon"` ImageUrl string `json:"imageUrl"` Name string `json:"name"` }
ApiPluginOptionsResultEntityAction defines model for apiPluginOptionsResultEntityAction.
type ApiPluginOptionsResultEntityState ¶
type ApiPluginOptionsResultEntityState struct { Description string `json:"description"` Icon string `json:"icon"` ImageUrl string `json:"imageUrl"` Name string `json:"name"` }
ApiPluginOptionsResultEntityState defines model for apiPluginOptionsResultEntityState.
type ApiPluginShort ¶
type ApiPluginShort struct { Actor *bool `json:"actor,omitempty"` Enabled bool `json:"enabled"` IsLoaded *bool `json:"isLoaded,omitempty"` Name string `json:"name"` System bool `json:"system"` Version string `json:"version"` }
ApiPluginShort defines model for apiPluginShort.
type ApiReloadRequest ¶
type ApiReloadRequest struct {
Id string `json:"id"`
}
ApiReloadRequest defines model for apiReloadRequest.
type ApiResponse ¶
type ApiResponse struct { Body *[]byte `json:"body,omitempty"` Id *string `json:"id,omitempty"` Query *string `json:"query,omitempty"` }
ApiResponse defines model for apiResponse.
type ApiRole ¶
type ApiRole struct { AccessList *ApiRoleAccessList `json:"accessList,omitempty"` Children []ApiRole `json:"children"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Name string `json:"name"` Parent *ApiRole `json:"parent,omitempty"` UpdatedAt time.Time `json:"updatedAt"` }
ApiRole defines model for apiRole.
type ApiRoleAccessList ¶
type ApiRoleAccessList struct {
Levels map[string]AccessListListOfString `json:"levels"`
}
ApiRoleAccessList defines model for apiRoleAccessList.
type ApiRoleAccessListResult ¶
type ApiRoleAccessListResult struct {
Levels map[string]ApiAccessLevels `json:"levels"`
}
ApiRoleAccessListResult defines model for apiRoleAccessListResult.
type ApiScript ¶
type ApiScript struct { CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Id int64 `json:"id"` Lang string `json:"lang"` Name string `json:"name"` ScriptInfo *ApiScriptInfo `json:"scriptInfo,omitempty"` Source string `json:"source"` UpdatedAt time.Time `json:"updatedAt"` Versions []ApiScriptVersion `json:"versions"` }
ApiScript defines model for apiScript.
type ApiScriptInfo ¶
type ApiScriptInfo struct { AlexaIntents int32 `json:"alexaIntents"` AutomationActions int32 `json:"automationActions"` AutomationConditions int32 `json:"automationConditions"` AutomationTriggers int32 `json:"automationTriggers"` EntityActions int32 `json:"entityActions"` EntityScripts int32 `json:"entityScripts"` }
ApiScriptInfo defines model for apiScriptInfo.
type ApiScriptVersion ¶
type ApiScriptVersion struct { CreatedAt time.Time `json:"createdAt"` Id int64 `json:"id"` Lang string `json:"lang"` Source string `json:"source"` }
ApiScriptVersion defines model for apiScriptVersion.
type ApiSearchActionResult ¶
type ApiSearchActionResult struct {
Items []ApiAction `json:"items"`
}
ApiSearchActionResult defines model for apiSearchActionResult.
type ApiSearchAreaResult ¶
type ApiSearchAreaResult struct {
Items []ApiArea `json:"items"`
}
ApiSearchAreaResult defines model for apiSearchAreaResult.
type ApiSearchConditionResult ¶
type ApiSearchConditionResult struct {
Items []ApiCondition `json:"items"`
}
ApiSearchConditionResult defines model for apiSearchConditionResult.
type ApiSearchDashboardResult ¶
type ApiSearchDashboardResult struct {
Items []ApiDashboard `json:"items"`
}
ApiSearchDashboardResult defines model for apiSearchDashboardResult.
type ApiSearchDeviceResult ¶
type ApiSearchDeviceResult struct {
Items []ApiZigbee2mqttDevice `json:"items"`
}
ApiSearchDeviceResult defines model for apiSearchDeviceResult.
type ApiSearchEntityResult ¶
type ApiSearchEntityResult struct {
Items []ApiEntityShort `json:"items"`
}
ApiSearchEntityResult defines model for apiSearchEntityResult.
type ApiSearchPluginResult ¶
type ApiSearchPluginResult struct {
Items []ApiPluginShort `json:"items"`
}
ApiSearchPluginResult defines model for apiSearchPluginResult.
type ApiSearchRoleListResult ¶
type ApiSearchRoleListResult struct {
Items []ApiRole `json:"items"`
}
ApiSearchRoleListResult defines model for apiSearchRoleListResult.
type ApiSearchScriptListResult ¶
type ApiSearchScriptListResult struct {
Items []ApiScript `json:"items"`
}
ApiSearchScriptListResult defines model for apiSearchScriptListResult.
type ApiSearchTagListResult ¶ added in v0.17.0
type ApiSearchTagListResult struct {
Items []ApiTag `json:"items"`
}
ApiSearchTagListResult defines model for apiSearchTagListResult.
type ApiSearchTriggerResult ¶
type ApiSearchTriggerResult struct {
Items []ApiTrigger `json:"items"`
}
ApiSearchTriggerResult defines model for apiSearchTriggerResult.
type ApiSearchVariableResult ¶ added in v0.17.0
type ApiSearchVariableResult struct {
Items []ApiVariable `json:"items"`
}
ApiSearchVariableResult defines model for apiSearchVariableResult.
type ApiSigninResponse ¶
type ApiSigninResponse struct { AccessToken string `json:"accessToken"` CurrentUser *ApiCurrentUser `json:"currentUser,omitempty"` }
ApiSigninResponse defines model for apiSigninResponse.
type ApiStatistic ¶
type ApiStatistic struct { Description string `json:"description"` Diff int32 `json:"diff"` Name string `json:"name"` Value int32 `json:"value"` }
ApiStatistic defines model for apiStatistic.
type ApiStatistics ¶
type ApiStatistics struct {
Items []ApiStatistic `json:"items"`
}
ApiStatistics defines model for apiStatistics.
type ApiSubscription ¶
type ApiSubscription struct { ClientId string `json:"clientId"` Id uint32 `json:"id"` Name string `json:"name"` NoLocal bool `json:"noLocal"` Qos uint32 `json:"qos"` RetainAsPublished bool `json:"retainAsPublished"` RetainHandling uint32 `json:"retainHandling"` TopicName string `json:"topicName"` }
ApiSubscription defines model for apiSubscription.
type ApiTask ¶
type ApiTask struct { ActionIds []int64 `json:"actionIds"` Actions []ApiAction `json:"actions"` Area *ApiArea `json:"area,omitempty"` AreaId *int64 `json:"areaId,omitempty"` Completed *bool `json:"completed,omitempty"` Condition string `json:"condition"` ConditionIds []int64 `json:"conditionIds"` Conditions []ApiCondition `json:"conditions"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Enabled bool `json:"enabled"` Id int64 `json:"id"` IsLoaded *bool `json:"isLoaded,omitempty"` Name string `json:"name"` Telemetry []ApiTelemetryItem `json:"telemetry"` TriggerIds []int64 `json:"triggerIds"` Triggers []ApiTrigger `json:"triggers"` UpdatedAt time.Time `json:"updatedAt"` }
ApiTask defines model for apiTask.
type ApiTelemetryItem ¶
type ApiTelemetryItem struct { Attributes map[string]string `json:"attributes"` End *int64 `json:"end,omitempty"` Level int32 `json:"level"` Name string `json:"name"` Num int32 `json:"num"` Start int64 `json:"start"` Status string `json:"status"` TimeEstimate int64 `json:"timeEstimate"` }
ApiTelemetryItem defines model for apiTelemetryItem.
type ApiTrigger ¶
type ApiTrigger struct { Area *ApiArea `json:"area,omitempty"` AreaId *int64 `json:"areaId,omitempty"` Attributes map[string]ApiAttribute `json:"attributes"` Completed *bool `json:"completed,omitempty"` CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Enabled bool `json:"enabled"` Entities []ApiEntityShort `json:"entities"` EntityIds []string `json:"entityIds"` Id int64 `json:"id"` IsLoaded *bool `json:"isLoaded,omitempty"` Name string `json:"name"` PluginName string `json:"pluginName"` Script *ApiScript `json:"script,omitempty"` ScriptId *int64 `json:"scriptId,omitempty"` UpdatedAt time.Time `json:"updatedAt"` }
ApiTrigger defines model for apiTrigger.
type ApiTypes ¶
type ApiTypes string
ApiTypes defines model for apiTypes.
const ( ARRAY ApiTypes = "ARRAY" BOOL ApiTypes = "BOOL" ENCRYPTED ApiTypes = "ENCRYPTED" FLOAT ApiTypes = "FLOAT" ICON ApiTypes = "ICON" IMAGE ApiTypes = "IMAGE" INT ApiTypes = "INT" MAP ApiTypes = "MAP" POINT ApiTypes = "POINT" STRING ApiTypes = "STRING" TIME ApiTypes = "TIME" )
Defines values for ApiTypes.
type ApiUpdateEntityRequestAction ¶
type ApiUpdateEntityRequestAction struct { Description string `json:"description"` Icon *string `json:"icon,omitempty"` ImageId *int64 `json:"imageId,omitempty"` Name string `json:"name"` ScriptId *int64 `json:"scriptId,omitempty"` Type string `json:"type"` }
ApiUpdateEntityRequestAction defines model for apiUpdateEntityRequestAction.
type ApiUpdateEntityRequestState ¶
type ApiUpdateEntityRequestState struct { Description string `json:"description"` Icon *string `json:"icon,omitempty"` ImageId *int64 `json:"imageId,omitempty"` Name string `json:"name"` Style string `json:"style"` }
ApiUpdateEntityRequestState defines model for apiUpdateEntityRequestState.
type ApiUserFull ¶
type ApiUserFull struct { AuthenticationToken string `json:"authenticationToken"` CreatedAt time.Time `json:"createdAt"` CurrentSignInAt *time.Time `json:"currentSignInAt,omitempty"` CurrentSignInIp *string `json:"currentSignInIp,omitempty"` DeletedAt *time.Time `json:"deletedAt,omitempty"` Email string `json:"email"` FirstName *string `json:"firstName,omitempty"` History []ApiUserHistory `json:"history"` Id int64 `json:"id"` Image *ApiImage `json:"image,omitempty"` Lang string `json:"lang"` LastName *string `json:"lastName,omitempty"` LastSignInAt *time.Time `json:"lastSignInAt,omitempty"` LastSignInIp *string `json:"lastSignInIp,omitempty"` Meta []ApiUserMeta `json:"meta"` Nickname string `json:"nickname"` ResetPasswordSentAt *time.Time `json:"resetPasswordSentAt,omitempty"` Role ApiRole `json:"role"` RoleName string `json:"roleName"` SignInCount int64 `json:"signInCount"` Status string `json:"status"` UpdatedAt time.Time `json:"updatedAt"` User *ApiUserFullParent `json:"user,omitempty"` }
ApiUserFull defines model for apiUserFull.
type ApiUserFullParent ¶
ApiUserFullParent defines model for apiUserFullParent.
type ApiUserHistory ¶
ApiUserHistory defines model for apiUserHistory.
type ApiUserMeta ¶
ApiUserMeta defines model for apiUserMeta.
type ApiUserShot ¶
type ApiUserShot struct { CreatedAt time.Time `json:"createdAt"` Email string `json:"email"` FirstName *string `json:"firstName,omitempty"` Id int64 `json:"id"` Image *ApiImage `json:"image,omitempty"` Lang string `json:"lang"` LastName *string `json:"lastName,omitempty"` Nickname string `json:"nickname"` Role ApiRole `json:"role"` RoleName string `json:"roleName"` Status string `json:"status"` UpdatedAt time.Time `json:"updatedAt"` User *ApiUserShotParent `json:"user,omitempty"` }
ApiUserShot defines model for apiUserShot.
type ApiUserShotParent ¶
ApiUserShotParent defines model for apiUserShotParent.
type ApiVariable ¶
type ApiVariable struct { CreatedAt time.Time `json:"createdAt"` Name string `json:"name"` System bool `json:"system"` Tags []string `json:"tags"` UpdatedAt time.Time `json:"updatedAt"` Value string `json:"value"` }
ApiVariable defines model for apiVariable.
type ApiZigbee2mqtt ¶
type ApiZigbee2mqtt struct { BaseTopic string `json:"baseTopic"` CreatedAt time.Time `json:"createdAt"` Id int64 `json:"id"` LastScan *time.Time `json:"lastScan,omitempty"` Login string `json:"login"` Name string `json:"name"` Networkmap string `json:"networkmap"` PermitJoin bool `json:"permitJoin"` ScanInProcess bool `json:"scanInProcess"` Status string `json:"status"` UpdatedAt time.Time `json:"updatedAt"` }
ApiZigbee2mqtt defines model for apiZigbee2mqtt.
type ApiZigbee2mqttDevice ¶
type ApiZigbee2mqttDevice struct { CreatedAt time.Time `json:"createdAt"` Description string `json:"description"` Functions []string `json:"functions"` Icon string `json:"icon"` Id string `json:"id"` ImageUrl string `json:"imageUrl"` Manufacturer string `json:"manufacturer"` Model string `json:"model"` Name string `json:"name"` Status string `json:"status"` Type string `json:"type"` UpdatedAt time.Time `json:"updatedAt"` Zigbee2mqttId int64 `json:"zigbee2mqttId"` }
ApiZigbee2mqttDevice defines model for apiZigbee2mqttDevice.
type ApiZigbee2mqttShort ¶
type ApiZigbee2mqttShort struct { BaseTopic string `json:"baseTopic"` CreatedAt time.Time `json:"createdAt"` Id int64 `json:"id"` Login string `json:"login"` Name string `json:"name"` PermitJoin bool `json:"permitJoin"` UpdatedAt time.Time `json:"updatedAt"` }
ApiZigbee2mqttShort defines model for apiZigbee2mqttShort.
type AreaServiceAddAreaJSONRequestBody ¶
type AreaServiceAddAreaJSONRequestBody = ApiNewAreaRequest
AreaServiceAddAreaJSONRequestBody defines body for AreaServiceAddArea for application/json ContentType.
type AreaServiceAddAreaParams ¶
type AreaServiceAddAreaParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
AreaServiceAddAreaParams defines parameters for AreaServiceAddArea.
type AreaServiceGetAreaListParams ¶
type AreaServiceGetAreaListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
AreaServiceGetAreaListParams defines parameters for AreaServiceGetAreaList.
type AreaServiceSearchAreaParams ¶
type AreaServiceSearchAreaParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
AreaServiceSearchAreaParams defines parameters for AreaServiceSearchArea.
type AreaServiceUpdateAreaJSONBody ¶
type AreaServiceUpdateAreaJSONBody struct { Center *ApiAreaLocation `json:"center,omitempty"` Description string `json:"description"` Name string `json:"name"` Polygon []ApiAreaLocation `json:"polygon"` Resolution float32 `json:"resolution"` Zoom float32 `json:"zoom"` }
AreaServiceUpdateAreaJSONBody defines parameters for AreaServiceUpdateArea.
type AreaServiceUpdateAreaJSONRequestBody ¶
type AreaServiceUpdateAreaJSONRequestBody AreaServiceUpdateAreaJSONBody
AreaServiceUpdateAreaJSONRequestBody defines body for AreaServiceUpdateArea for application/json ContentType.
type AreaServiceUpdateAreaParams ¶
type AreaServiceUpdateAreaParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
AreaServiceUpdateAreaParams defines parameters for AreaServiceUpdateArea.
type AuthServicePasswordResetJSONRequestBody ¶
type AuthServicePasswordResetJSONRequestBody = ApiPasswordResetRequest
AuthServicePasswordResetJSONRequestBody defines body for AuthServicePasswordReset for application/json ContentType.
type AuthServicePasswordResetParams ¶
type AuthServicePasswordResetParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
AuthServicePasswordResetParams defines parameters for AuthServicePasswordReset.
type AutomationServiceAddTaskJSONRequestBody ¶
type AutomationServiceAddTaskJSONRequestBody = ApiNewTaskRequest
AutomationServiceAddTaskJSONRequestBody defines body for AutomationServiceAddTask for application/json ContentType.
type AutomationServiceAddTaskParams ¶
type AutomationServiceAddTaskParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
AutomationServiceAddTaskParams defines parameters for AutomationServiceAddTask.
type AutomationServiceGetTaskListParams ¶
type AutomationServiceGetTaskListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
AutomationServiceGetTaskListParams defines parameters for AutomationServiceGetTaskList.
type AutomationServiceImportTaskJSONRequestBody ¶
type AutomationServiceImportTaskJSONRequestBody = ApiTask
AutomationServiceImportTaskJSONRequestBody defines body for AutomationServiceImportTask for application/json ContentType.
type AutomationServiceImportTaskParams ¶
type AutomationServiceImportTaskParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
AutomationServiceImportTaskParams defines parameters for AutomationServiceImportTask.
type AutomationServiceUpdateTaskJSONBody ¶
type AutomationServiceUpdateTaskJSONBody struct { ActionIds []int64 `json:"actionIds"` AreaId *int64 `json:"areaId,omitempty"` Condition string `json:"condition"` ConditionIds []int64 `json:"conditionIds"` Description string `json:"description"` Enabled bool `json:"enabled"` Name string `json:"name"` TriggerIds []int64 `json:"triggerIds"` }
AutomationServiceUpdateTaskJSONBody defines parameters for AutomationServiceUpdateTask.
type AutomationServiceUpdateTaskJSONRequestBody ¶
type AutomationServiceUpdateTaskJSONRequestBody AutomationServiceUpdateTaskJSONBody
AutomationServiceUpdateTaskJSONRequestBody defines body for AutomationServiceUpdateTask for application/json ContentType.
type AutomationServiceUpdateTaskParams ¶
type AutomationServiceUpdateTaskParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
AutomationServiceUpdateTaskParams defines parameters for AutomationServiceUpdateTask.
type BackupServiceApplyStateParams ¶
type BackupServiceApplyStateParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
BackupServiceApplyStateParams defines parameters for BackupServiceApplyState.
type BackupServiceGetBackupListParams ¶
type BackupServiceGetBackupListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
BackupServiceGetBackupListParams defines parameters for BackupServiceGetBackupList.
type BackupServiceNewBackupJSONBody ¶
type BackupServiceNewBackupJSONBody = map[string]interface{}
BackupServiceNewBackupJSONBody defines parameters for BackupServiceNewBackup.
type BackupServiceNewBackupJSONRequestBody ¶
type BackupServiceNewBackupJSONRequestBody = BackupServiceNewBackupJSONBody
BackupServiceNewBackupJSONRequestBody defines body for BackupServiceNewBackup for application/json ContentType.
type BackupServiceNewBackupParams ¶
type BackupServiceNewBackupParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
BackupServiceNewBackupParams defines parameters for BackupServiceNewBackup.
type BackupServiceRevertStateParams ¶
type BackupServiceRevertStateParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
BackupServiceRevertStateParams defines parameters for BackupServiceRevertState.
type BackupServiceUploadBackupMultipartBody ¶
type BackupServiceUploadBackupMultipartBody struct {
Filename *[]openapi_types.File `json:"filename,omitempty"`
}
BackupServiceUploadBackupMultipartBody defines parameters for BackupServiceUploadBackup.
type BackupServiceUploadBackupMultipartRequestBody ¶
type BackupServiceUploadBackupMultipartRequestBody BackupServiceUploadBackupMultipartBody
BackupServiceUploadBackupMultipartRequestBody defines body for BackupServiceUploadBackup for multipart/form-data ContentType.
type BackupServiceUploadBackupParams ¶
type BackupServiceUploadBackupParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
BackupServiceUploadBackupParams defines parameters for BackupServiceUploadBackup.
type ConditionServiceAddConditionJSONRequestBody ¶
type ConditionServiceAddConditionJSONRequestBody = ApiNewConditionRequest
ConditionServiceAddConditionJSONRequestBody defines body for ConditionServiceAddCondition for application/json ContentType.
type ConditionServiceAddConditionParams ¶
type ConditionServiceAddConditionParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ConditionServiceAddConditionParams defines parameters for ConditionServiceAddCondition.
type ConditionServiceGetConditionByIdParams ¶
type ConditionServiceGetConditionByIdParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ConditionServiceGetConditionByIdParams defines parameters for ConditionServiceGetConditionById.
type ConditionServiceGetConditionListParams ¶
type ConditionServiceGetConditionListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` // Ids The number of results returned on a page Ids *Ids `form:"ids[],omitempty" json:"ids[],omitempty"` }
ConditionServiceGetConditionListParams defines parameters for ConditionServiceGetConditionList.
type ConditionServiceSearchConditionParams ¶
type ConditionServiceSearchConditionParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
ConditionServiceSearchConditionParams defines parameters for ConditionServiceSearchCondition.
type ConditionServiceUpdateConditionJSONBody ¶
type ConditionServiceUpdateConditionJSONBody struct { AreaId *int64 `json:"areaId,omitempty"` Description string `json:"description"` Name string `json:"name"` ScriptId *int64 `json:"scriptId,omitempty"` }
ConditionServiceUpdateConditionJSONBody defines parameters for ConditionServiceUpdateCondition.
type ConditionServiceUpdateConditionJSONRequestBody ¶
type ConditionServiceUpdateConditionJSONRequestBody ConditionServiceUpdateConditionJSONBody
ConditionServiceUpdateConditionJSONRequestBody defines body for ConditionServiceUpdateCondition for application/json ContentType.
type ConditionServiceUpdateConditionParams ¶
type ConditionServiceUpdateConditionParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ConditionServiceUpdateConditionParams defines parameters for ConditionServiceUpdateCondition.
type DashboardCardItemServiceAddDashboardCardItemJSONRequestBody ¶
type DashboardCardItemServiceAddDashboardCardItemJSONRequestBody = ApiNewDashboardCardItemRequest
DashboardCardItemServiceAddDashboardCardItemJSONRequestBody defines body for DashboardCardItemServiceAddDashboardCardItem for application/json ContentType.
type DashboardCardItemServiceAddDashboardCardItemParams ¶
type DashboardCardItemServiceAddDashboardCardItemParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardCardItemServiceAddDashboardCardItemParams defines parameters for DashboardCardItemServiceAddDashboardCardItem.
type DashboardCardItemServiceGetDashboardCardItemListParams ¶
type DashboardCardItemServiceGetDashboardCardItemListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
DashboardCardItemServiceGetDashboardCardItemListParams defines parameters for DashboardCardItemServiceGetDashboardCardItemList.
type DashboardCardItemServiceUpdateDashboardCardItemJSONBody ¶
type DashboardCardItemServiceUpdateDashboardCardItemJSONBody struct { DashboardCardId int64 `json:"dashboardCardId"` Enabled bool `json:"enabled"` EntityId *string `json:"entityId,omitempty"` Frozen bool `json:"frozen"` Hidden bool `json:"hidden"` Payload []byte `json:"payload"` Title string `json:"title"` Type string `json:"type"` Weight int32 `json:"weight"` }
DashboardCardItemServiceUpdateDashboardCardItemJSONBody defines parameters for DashboardCardItemServiceUpdateDashboardCardItem.
type DashboardCardItemServiceUpdateDashboardCardItemJSONRequestBody ¶
type DashboardCardItemServiceUpdateDashboardCardItemJSONRequestBody DashboardCardItemServiceUpdateDashboardCardItemJSONBody
DashboardCardItemServiceUpdateDashboardCardItemJSONRequestBody defines body for DashboardCardItemServiceUpdateDashboardCardItem for application/json ContentType.
type DashboardCardItemServiceUpdateDashboardCardItemParams ¶
type DashboardCardItemServiceUpdateDashboardCardItemParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardCardItemServiceUpdateDashboardCardItemParams defines parameters for DashboardCardItemServiceUpdateDashboardCardItem.
type DashboardCardServiceAddDashboardCardJSONRequestBody ¶
type DashboardCardServiceAddDashboardCardJSONRequestBody = ApiNewDashboardCardRequest
DashboardCardServiceAddDashboardCardJSONRequestBody defines body for DashboardCardServiceAddDashboardCard for application/json ContentType.
type DashboardCardServiceAddDashboardCardParams ¶
type DashboardCardServiceAddDashboardCardParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardCardServiceAddDashboardCardParams defines parameters for DashboardCardServiceAddDashboardCard.
type DashboardCardServiceGetDashboardCardListParams ¶
type DashboardCardServiceGetDashboardCardListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
DashboardCardServiceGetDashboardCardListParams defines parameters for DashboardCardServiceGetDashboardCardList.
type DashboardCardServiceImportDashboardCardJSONRequestBody ¶
type DashboardCardServiceImportDashboardCardJSONRequestBody = ApiDashboardCard
DashboardCardServiceImportDashboardCardJSONRequestBody defines body for DashboardCardServiceImportDashboardCard for application/json ContentType.
type DashboardCardServiceImportDashboardCardParams ¶
type DashboardCardServiceImportDashboardCardParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardCardServiceImportDashboardCardParams defines parameters for DashboardCardServiceImportDashboardCard.
type DashboardCardServiceUpdateDashboardCardJSONBody ¶
type DashboardCardServiceUpdateDashboardCardJSONBody struct { Background *string `json:"background,omitempty"` DashboardTabId int64 `json:"dashboardTabId"` Enabled bool `json:"enabled"` EntityId *string `json:"entityId,omitempty"` Height int32 `json:"height"` Hidden bool `json:"hidden"` Items []UpdateDashboardCardRequestItem `json:"items"` Payload []byte `json:"payload"` Title string `json:"title"` Weight int32 `json:"weight"` Width int32 `json:"width"` }
DashboardCardServiceUpdateDashboardCardJSONBody defines parameters for DashboardCardServiceUpdateDashboardCard.
type DashboardCardServiceUpdateDashboardCardJSONRequestBody ¶
type DashboardCardServiceUpdateDashboardCardJSONRequestBody DashboardCardServiceUpdateDashboardCardJSONBody
DashboardCardServiceUpdateDashboardCardJSONRequestBody defines body for DashboardCardServiceUpdateDashboardCard for application/json ContentType.
type DashboardCardServiceUpdateDashboardCardParams ¶
type DashboardCardServiceUpdateDashboardCardParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardCardServiceUpdateDashboardCardParams defines parameters for DashboardCardServiceUpdateDashboardCard.
type DashboardServiceAddDashboardJSONRequestBody ¶
type DashboardServiceAddDashboardJSONRequestBody = ApiNewDashboardRequest
DashboardServiceAddDashboardJSONRequestBody defines body for DashboardServiceAddDashboard for application/json ContentType.
type DashboardServiceAddDashboardParams ¶
type DashboardServiceAddDashboardParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardServiceAddDashboardParams defines parameters for DashboardServiceAddDashboard.
type DashboardServiceGetDashboardListParams ¶
type DashboardServiceGetDashboardListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
DashboardServiceGetDashboardListParams defines parameters for DashboardServiceGetDashboardList.
type DashboardServiceImportDashboardJSONRequestBody ¶
type DashboardServiceImportDashboardJSONRequestBody = ApiDashboard
DashboardServiceImportDashboardJSONRequestBody defines body for DashboardServiceImportDashboard for application/json ContentType.
type DashboardServiceImportDashboardParams ¶
type DashboardServiceImportDashboardParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardServiceImportDashboardParams defines parameters for DashboardServiceImportDashboard.
type DashboardServiceSearchDashboardParams ¶
type DashboardServiceSearchDashboardParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
DashboardServiceSearchDashboardParams defines parameters for DashboardServiceSearchDashboard.
type DashboardServiceUpdateDashboardJSONBody ¶
type DashboardServiceUpdateDashboardJSONBody struct { AreaId *int64 `json:"areaId,omitempty"` Description string `json:"description"` Enabled bool `json:"enabled"` Name string `json:"name"` }
DashboardServiceUpdateDashboardJSONBody defines parameters for DashboardServiceUpdateDashboard.
type DashboardServiceUpdateDashboardJSONRequestBody ¶
type DashboardServiceUpdateDashboardJSONRequestBody DashboardServiceUpdateDashboardJSONBody
DashboardServiceUpdateDashboardJSONRequestBody defines body for DashboardServiceUpdateDashboard for application/json ContentType.
type DashboardServiceUpdateDashboardParams ¶
type DashboardServiceUpdateDashboardParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardServiceUpdateDashboardParams defines parameters for DashboardServiceUpdateDashboard.
type DashboardTabServiceAddDashboardTabJSONRequestBody ¶
type DashboardTabServiceAddDashboardTabJSONRequestBody = ApiNewDashboardTabRequest
DashboardTabServiceAddDashboardTabJSONRequestBody defines body for DashboardTabServiceAddDashboardTab for application/json ContentType.
type DashboardTabServiceAddDashboardTabParams ¶
type DashboardTabServiceAddDashboardTabParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardTabServiceAddDashboardTabParams defines parameters for DashboardTabServiceAddDashboardTab.
type DashboardTabServiceGetDashboardTabListParams ¶
type DashboardTabServiceGetDashboardTabListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
DashboardTabServiceGetDashboardTabListParams defines parameters for DashboardTabServiceGetDashboardTabList.
type DashboardTabServiceImportDashboardTabJSONRequestBody ¶ added in v0.17.0
type DashboardTabServiceImportDashboardTabJSONRequestBody = ApiDashboardTab
DashboardTabServiceImportDashboardTabJSONRequestBody defines body for DashboardTabServiceImportDashboardTab for application/json ContentType.
type DashboardTabServiceImportDashboardTabParams ¶ added in v0.17.0
type DashboardTabServiceImportDashboardTabParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardTabServiceImportDashboardTabParams defines parameters for DashboardTabServiceImportDashboardTab.
type DashboardTabServiceUpdateDashboardTabJSONBody ¶
type DashboardTabServiceUpdateDashboardTabJSONBody struct { Background *string `json:"background,omitempty"` ColumnWidth int32 `json:"columnWidth"` DashboardId int64 `json:"dashboardId"` Enabled bool `json:"enabled"` Gap bool `json:"gap"` Icon string `json:"icon"` Name string `json:"name"` Payload []byte `json:"payload"` Weight int32 `json:"weight"` }
DashboardTabServiceUpdateDashboardTabJSONBody defines parameters for DashboardTabServiceUpdateDashboardTab.
type DashboardTabServiceUpdateDashboardTabJSONRequestBody ¶
type DashboardTabServiceUpdateDashboardTabJSONRequestBody DashboardTabServiceUpdateDashboardTabJSONBody
DashboardTabServiceUpdateDashboardTabJSONRequestBody defines body for DashboardTabServiceUpdateDashboardTab for application/json ContentType.
type DashboardTabServiceUpdateDashboardTabParams ¶
type DashboardTabServiceUpdateDashboardTabParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DashboardTabServiceUpdateDashboardTabParams defines parameters for DashboardTabServiceUpdateDashboardTab.
type DeveloperToolsServiceCallActionJSONRequestBody ¶
type DeveloperToolsServiceCallActionJSONRequestBody = ApiAutomationRequest
DeveloperToolsServiceCallActionJSONRequestBody defines body for DeveloperToolsServiceCallAction for application/json ContentType.
type DeveloperToolsServiceCallActionParams ¶
type DeveloperToolsServiceCallActionParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DeveloperToolsServiceCallActionParams defines parameters for DeveloperToolsServiceCallAction.
type DeveloperToolsServiceCallTriggerJSONRequestBody ¶
type DeveloperToolsServiceCallTriggerJSONRequestBody = ApiAutomationRequest
DeveloperToolsServiceCallTriggerJSONRequestBody defines body for DeveloperToolsServiceCallTrigger for application/json ContentType.
type DeveloperToolsServiceCallTriggerParams ¶
type DeveloperToolsServiceCallTriggerParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DeveloperToolsServiceCallTriggerParams defines parameters for DeveloperToolsServiceCallTrigger.
type DeveloperToolsServiceEntitySetStateJSONRequestBody ¶
type DeveloperToolsServiceEntitySetStateJSONRequestBody = ApiEntityRequest
DeveloperToolsServiceEntitySetStateJSONRequestBody defines body for DeveloperToolsServiceEntitySetState for application/json ContentType.
type DeveloperToolsServiceEntitySetStateParams ¶
type DeveloperToolsServiceEntitySetStateParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DeveloperToolsServiceEntitySetStateParams defines parameters for DeveloperToolsServiceEntitySetState.
type DeveloperToolsServiceGetEventBusStateListParams ¶
type DeveloperToolsServiceGetEventBusStateListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
DeveloperToolsServiceGetEventBusStateListParams defines parameters for DeveloperToolsServiceGetEventBusStateList.
type DeveloperToolsServiceReloadEntityJSONRequestBody ¶
type DeveloperToolsServiceReloadEntityJSONRequestBody = ApiReloadRequest
DeveloperToolsServiceReloadEntityJSONRequestBody defines body for DeveloperToolsServiceReloadEntity for application/json ContentType.
type DeveloperToolsServiceReloadEntityParams ¶
type DeveloperToolsServiceReloadEntityParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
DeveloperToolsServiceReloadEntityParams defines parameters for DeveloperToolsServiceReloadEntity.
type EchoRouter ¶
type EchoRouter interface { CONNECT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route DELETE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route GET(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route HEAD(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route OPTIONS(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route PATCH(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route POST(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route PUT(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route TRACE(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route }
This is a simple interface which specifies echo.Route addition functions which are present on both echo.Echo and echo.Group, since we want to allow using either of them for path registration
type EntityServiceAddEntityJSONRequestBody ¶
type EntityServiceAddEntityJSONRequestBody = ApiNewEntityRequest
EntityServiceAddEntityJSONRequestBody defines body for EntityServiceAddEntity for application/json ContentType.
type EntityServiceAddEntityParams ¶
type EntityServiceAddEntityParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
EntityServiceAddEntityParams defines parameters for EntityServiceAddEntity.
type EntityServiceGetEntityListParams ¶
type EntityServiceGetEntityListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` Query *Query `form:"query,omitempty" json:"query,omitempty"` Tags *Tags `form:"tags[],omitempty" json:"tags[],omitempty"` Plugin *string `form:"plugin,omitempty" json:"plugin,omitempty"` Area *int64 `form:"area,omitempty" json:"area,omitempty"` }
EntityServiceGetEntityListParams defines parameters for EntityServiceGetEntityList.
type EntityServiceImportEntityJSONRequestBody ¶
type EntityServiceImportEntityJSONRequestBody = ApiEntity
EntityServiceImportEntityJSONRequestBody defines body for EntityServiceImportEntity for application/json ContentType.
type EntityServiceImportEntityParams ¶
type EntityServiceImportEntityParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
EntityServiceImportEntityParams defines parameters for EntityServiceImportEntity.
type EntityServiceSearchEntityParams ¶
type EntityServiceSearchEntityParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
EntityServiceSearchEntityParams defines parameters for EntityServiceSearchEntity.
type EntityServiceUpdateEntityJSONBody ¶
type EntityServiceUpdateEntityJSONBody struct { Actions []ApiUpdateEntityRequestAction `json:"actions"` AreaId *int64 `json:"areaId,omitempty"` Attributes map[string]ApiAttribute `json:"attributes"` AutoLoad bool `json:"autoLoad"` Description string `json:"description"` Icon *string `json:"icon,omitempty"` Id string `json:"id"` ImageId *int64 `json:"imageId,omitempty"` Metrics []ApiMetric `json:"metrics"` Name *string `json:"name,omitempty"` ParentId *string `json:"parentId,omitempty"` PluginName string `json:"pluginName"` RestoreState bool `json:"restoreState"` ScriptIds []int64 `json:"scriptIds"` Settings map[string]ApiAttribute `json:"settings"` States []ApiUpdateEntityRequestState `json:"states"` Tags []string `json:"tags"` }
EntityServiceUpdateEntityJSONBody defines parameters for EntityServiceUpdateEntity.
type EntityServiceUpdateEntityJSONRequestBody ¶
type EntityServiceUpdateEntityJSONRequestBody EntityServiceUpdateEntityJSONBody
EntityServiceUpdateEntityJSONRequestBody defines body for EntityServiceUpdateEntity for application/json ContentType.
type EntityServiceUpdateEntityParams ¶
type EntityServiceUpdateEntityParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
EntityServiceUpdateEntityParams defines parameters for EntityServiceUpdateEntity.
type EntityStorageServiceGetEntityStorageListParams ¶
type EntityStorageServiceGetEntityStorageListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` StartDate *StartDate `form:"startDate,omitempty" json:"startDate,omitempty"` EndDate *EndDate `form:"endDate,omitempty" json:"endDate,omitempty"` EntityId *EntityIds `form:"entityId[],omitempty" json:"entityId[],omitempty"` }
EntityStorageServiceGetEntityStorageListParams defines parameters for EntityStorageServiceGetEntityStorageList.
type GenericErrorResponse ¶
type GenericErrorResponse struct { Code *string `json:"code,omitempty"` Message *string `json:"message,omitempty"` }
GenericErrorResponse Generic Error Response
type GetImageFilterListResultfilter ¶
GetImageFilterListResultfilter defines model for GetImageFilterListResultfilter.
type HTTP400 ¶
type HTTP400 struct {
Error *GenericErrorResponse `json:"error,omitempty"`
}
HTTP400 defines model for HTTP-400.
type HTTP401 ¶
type HTTP401 struct { Error *struct { Code *HTTP401ErrorCode `json:"code,omitempty"` Message *string `json:"message,omitempty"` } `json:"error,omitempty"` }
HTTP401 defines model for HTTP-401.
type HTTP404 ¶
type HTTP404 struct {
Error *GenericErrorResponse `json:"error,omitempty"`
}
HTTP404 defines model for HTTP-404.
type HTTP409 ¶
type HTTP409 struct {
Error *GenericErrorResponse `json:"error,omitempty"`
}
HTTP409 defines model for HTTP-409.
type HTTP413 ¶
type HTTP413 struct {
Error *GenericErrorResponse `json:"error,omitempty"`
}
HTTP413 defines model for HTTP-413.
type ImageServiceAddImageJSONRequestBody ¶
type ImageServiceAddImageJSONRequestBody = ApiNewImageRequest
ImageServiceAddImageJSONRequestBody defines body for ImageServiceAddImage for application/json ContentType.
type ImageServiceAddImageParams ¶
type ImageServiceAddImageParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ImageServiceAddImageParams defines parameters for ImageServiceAddImage.
type ImageServiceGetImageListByDateParams ¶
type ImageServiceGetImageListByDateParams struct {
Filter *string `form:"filter,omitempty" json:"filter,omitempty"`
}
ImageServiceGetImageListByDateParams defines parameters for ImageServiceGetImageListByDate.
type ImageServiceGetImageListParams ¶
type ImageServiceGetImageListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
ImageServiceGetImageListParams defines parameters for ImageServiceGetImageList.
type ImageServiceUpdateImageByIdJSONBody ¶
type ImageServiceUpdateImageByIdJSONBody struct { Image string `json:"image"` MimeType string `json:"mimeType"` Name string `json:"name"` Size int64 `json:"size"` Thumb string `json:"thumb"` Title string `json:"title"` }
ImageServiceUpdateImageByIdJSONBody defines parameters for ImageServiceUpdateImageById.
type ImageServiceUpdateImageByIdJSONRequestBody ¶
type ImageServiceUpdateImageByIdJSONRequestBody ImageServiceUpdateImageByIdJSONBody
ImageServiceUpdateImageByIdJSONRequestBody defines body for ImageServiceUpdateImageById for application/json ContentType.
type ImageServiceUpdateImageByIdParams ¶
type ImageServiceUpdateImageByIdParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ImageServiceUpdateImageByIdParams defines parameters for ImageServiceUpdateImageById.
type ImageServiceUploadImageMultipartBody ¶
type ImageServiceUploadImageMultipartBody struct {
Filename *[]openapi_types.File `json:"filename,omitempty"`
}
ImageServiceUploadImageMultipartBody defines parameters for ImageServiceUploadImage.
type ImageServiceUploadImageMultipartRequestBody ¶
type ImageServiceUploadImageMultipartRequestBody ImageServiceUploadImageMultipartBody
ImageServiceUploadImageMultipartRequestBody defines body for ImageServiceUploadImage for multipart/form-data ContentType.
type ImageServiceUploadImageParams ¶
type ImageServiceUploadImageParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ImageServiceUploadImageParams defines parameters for ImageServiceUploadImage.
type InteractServiceEntityCallActionParams ¶
type InteractServiceEntityCallActionParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
InteractServiceEntityCallActionParams defines parameters for InteractServiceEntityCallAction.
type LogServiceGetLogListParams ¶
type LogServiceGetLogListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` StartDate *StartDate `form:"startDate,omitempty" json:"startDate,omitempty"` EndDate *EndDate `form:"endDate,omitempty" json:"endDate,omitempty"` Query *Query `form:"query,omitempty" json:"query,omitempty"` }
LogServiceGetLogListParams defines parameters for LogServiceGetLogList.
type MessageDeliveryServiceGetMessageDeliveryListParams ¶
type MessageDeliveryServiceGetMessageDeliveryListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` StartDate *StartDate `form:"startDate,omitempty" json:"startDate,omitempty"` EndDate *EndDate `form:"endDate,omitempty" json:"endDate,omitempty"` MessageType *string `form:"messageType,omitempty" json:"messageType,omitempty"` }
MessageDeliveryServiceGetMessageDeliveryListParams defines parameters for MessageDeliveryServiceGetMessageDeliveryList.
type MetricRange ¶
type MetricRange string
MetricRange defines model for metricRange.
const ( MetricRangeN12h MetricRange = "12h" MetricRangeN1m MetricRange = "1m" MetricRangeN24h MetricRange = "24h" MetricRangeN30d MetricRange = "30d" MetricRangeN6h MetricRange = "6h" MetricRangeN7d MetricRange = "7d" )
Defines values for MetricRange.
type MetricServiceGetMetricParams ¶
type MetricServiceGetMetricParams struct { Id MetricId `form:"id" json:"id"` Range *MetricServiceGetMetricParamsRange `form:"range,omitempty" json:"range,omitempty"` StartDate *StartDate `form:"startDate,omitempty" json:"startDate,omitempty"` EndDate *EndDate `form:"endDate,omitempty" json:"endDate,omitempty"` }
MetricServiceGetMetricParams defines parameters for MetricServiceGetMetric.
type MetricServiceGetMetricParamsRange ¶
type MetricServiceGetMetricParamsRange string
MetricServiceGetMetricParamsRange defines parameters for MetricServiceGetMetric.
const ( MetricServiceGetMetricParamsRangeN12h MetricServiceGetMetricParamsRange = "12h" MetricServiceGetMetricParamsRangeN1m MetricServiceGetMetricParamsRange = "1m" MetricServiceGetMetricParamsRangeN24h MetricServiceGetMetricParamsRange = "24h" MetricServiceGetMetricParamsRangeN30d MetricServiceGetMetricParamsRange = "30d" MetricServiceGetMetricParamsRangeN6h MetricServiceGetMetricParamsRange = "6h" MetricServiceGetMetricParamsRangeN7d MetricServiceGetMetricParamsRange = "7d" )
Defines values for MetricServiceGetMetricParamsRange.
type MqttServiceGetClientListParams ¶
type MqttServiceGetClientListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
MqttServiceGetClientListParams defines parameters for MqttServiceGetClientList.
type MqttServiceGetSubscriptionListParams ¶
type MqttServiceGetSubscriptionListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` ClientId *string `form:"clientId,omitempty" json:"clientId,omitempty"` }
MqttServiceGetSubscriptionListParams defines parameters for MqttServiceGetSubscriptionList.
type PluginServiceGetPluginListParams ¶
type PluginServiceGetPluginListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
PluginServiceGetPluginListParams defines parameters for PluginServiceGetPluginList.
type PluginServiceGetPluginReadmeParams ¶ added in v0.14.0
type PluginServiceGetPluginReadmeParams struct { Lang *string `form:"lang,omitempty" json:"lang,omitempty"` Accept *AcceptJSON `json:"Accept,omitempty"` }
PluginServiceGetPluginReadmeParams defines parameters for PluginServiceGetPluginReadme.
type PluginServiceSearchPluginParams ¶
type PluginServiceSearchPluginParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
PluginServiceSearchPluginParams defines parameters for PluginServiceSearchPlugin.
type PluginServiceUpdatePluginSettingsJSONBody ¶
type PluginServiceUpdatePluginSettingsJSONBody struct {
Settings map[string]ApiAttribute `json:"settings"`
}
PluginServiceUpdatePluginSettingsJSONBody defines parameters for PluginServiceUpdatePluginSettings.
type PluginServiceUpdatePluginSettingsJSONRequestBody ¶
type PluginServiceUpdatePluginSettingsJSONRequestBody PluginServiceUpdatePluginSettingsJSONBody
PluginServiceUpdatePluginSettingsJSONRequestBody defines body for PluginServiceUpdatePluginSettings for application/json ContentType.
type PluginServiceUpdatePluginSettingsParams ¶
type PluginServiceUpdatePluginSettingsParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
PluginServiceUpdatePluginSettingsParams defines parameters for PluginServiceUpdatePluginSettings.
type RoleServiceAddRoleJSONRequestBody ¶
type RoleServiceAddRoleJSONRequestBody = ApiNewRoleRequest
RoleServiceAddRoleJSONRequestBody defines body for RoleServiceAddRole for application/json ContentType.
type RoleServiceAddRoleParams ¶
type RoleServiceAddRoleParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
RoleServiceAddRoleParams defines parameters for RoleServiceAddRole.
type RoleServiceGetRoleListParams ¶
type RoleServiceGetRoleListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
RoleServiceGetRoleListParams defines parameters for RoleServiceGetRoleList.
type RoleServiceSearchRoleByNameParams ¶
type RoleServiceSearchRoleByNameParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
RoleServiceSearchRoleByNameParams defines parameters for RoleServiceSearchRoleByName.
type RoleServiceUpdateRoleAccessListJSONBody ¶
type RoleServiceUpdateRoleAccessListJSONBody struct {
AccessListDiff map[string]UpdateRoleAccessListRequestAccessListDiff `json:"accessListDiff"`
}
RoleServiceUpdateRoleAccessListJSONBody defines parameters for RoleServiceUpdateRoleAccessList.
type RoleServiceUpdateRoleAccessListJSONRequestBody ¶
type RoleServiceUpdateRoleAccessListJSONRequestBody RoleServiceUpdateRoleAccessListJSONBody
RoleServiceUpdateRoleAccessListJSONRequestBody defines body for RoleServiceUpdateRoleAccessList for application/json ContentType.
type RoleServiceUpdateRoleAccessListParams ¶
type RoleServiceUpdateRoleAccessListParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
RoleServiceUpdateRoleAccessListParams defines parameters for RoleServiceUpdateRoleAccessList.
type RoleServiceUpdateRoleByNameJSONBody ¶
type RoleServiceUpdateRoleByNameJSONBody struct { Description string `json:"description"` Parent *string `json:"parent,omitempty"` }
RoleServiceUpdateRoleByNameJSONBody defines parameters for RoleServiceUpdateRoleByName.
type RoleServiceUpdateRoleByNameJSONRequestBody ¶
type RoleServiceUpdateRoleByNameJSONRequestBody RoleServiceUpdateRoleByNameJSONBody
RoleServiceUpdateRoleByNameJSONRequestBody defines body for RoleServiceUpdateRoleByName for application/json ContentType.
type RoleServiceUpdateRoleByNameParams ¶
type RoleServiceUpdateRoleByNameParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
RoleServiceUpdateRoleByNameParams defines parameters for RoleServiceUpdateRoleByName.
type ScriptServiceAddScriptJSONRequestBody ¶
type ScriptServiceAddScriptJSONRequestBody = ApiNewScriptRequest
ScriptServiceAddScriptJSONRequestBody defines body for ScriptServiceAddScript for application/json ContentType.
type ScriptServiceAddScriptParams ¶
type ScriptServiceAddScriptParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ScriptServiceAddScriptParams defines parameters for ScriptServiceAddScript.
type ScriptServiceExecSrcScriptByIdJSONRequestBody ¶
type ScriptServiceExecSrcScriptByIdJSONRequestBody = ApiExecSrcScriptRequest
ScriptServiceExecSrcScriptByIdJSONRequestBody defines body for ScriptServiceExecSrcScriptById for application/json ContentType.
type ScriptServiceExecSrcScriptByIdParams ¶
type ScriptServiceExecSrcScriptByIdParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ScriptServiceExecSrcScriptByIdParams defines parameters for ScriptServiceExecSrcScriptById.
type ScriptServiceGetScriptListParams ¶
type ScriptServiceGetScriptListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` // Ids The number of results returned on a page Ids *Ids `form:"ids[],omitempty" json:"ids[],omitempty"` Query *Query `form:"query,omitempty" json:"query,omitempty"` }
ScriptServiceGetScriptListParams defines parameters for ScriptServiceGetScriptList.
type ScriptServiceSearchScriptParams ¶
type ScriptServiceSearchScriptParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
ScriptServiceSearchScriptParams defines parameters for ScriptServiceSearchScript.
type ScriptServiceUpdateScriptByIdJSONBody ¶
type ScriptServiceUpdateScriptByIdJSONBody struct { Description string `json:"description"` Lang string `json:"lang"` Name string `json:"name"` Source string `json:"source"` }
ScriptServiceUpdateScriptByIdJSONBody defines parameters for ScriptServiceUpdateScriptById.
type ScriptServiceUpdateScriptByIdJSONRequestBody ¶
type ScriptServiceUpdateScriptByIdJSONRequestBody ScriptServiceUpdateScriptByIdJSONBody
ScriptServiceUpdateScriptByIdJSONRequestBody defines body for ScriptServiceUpdateScriptById for application/json ContentType.
type ScriptServiceUpdateScriptByIdParams ¶
type ScriptServiceUpdateScriptByIdParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
ScriptServiceUpdateScriptByIdParams defines parameters for ScriptServiceUpdateScriptById.
type ServerInterface ¶
type ServerInterface interface { // get user access list object // (GET /v1/access_list) AuthServiceAccessList(ctx echo.Context) error // add new action // (POST /v1/action) ActionServiceAddAction(ctx echo.Context, params ActionServiceAddActionParams) error // delete action // (DELETE /v1/action/{id}) ActionServiceDeleteAction(ctx echo.Context, id int64) error // get action by id // (GET /v1/action/{id}) ActionServiceGetActionById(ctx echo.Context, id int64) error // update action // (PUT /v1/action/{id}) ActionServiceUpdateAction(ctx echo.Context, id int64, params ActionServiceUpdateActionParams) error // get action list // (GET /v1/actions) ActionServiceGetActionList(ctx echo.Context, params ActionServiceGetActionListParams) error // search action // (GET /v1/actions/search) ActionServiceSearchAction(ctx echo.Context, params ActionServiceSearchActionParams) error // add new area // (POST /v1/area) AreaServiceAddArea(ctx echo.Context, params AreaServiceAddAreaParams) error // delete area // (DELETE /v1/area/{id}) AreaServiceDeleteArea(ctx echo.Context, id int64) error // get area by id // (GET /v1/area/{id}) AreaServiceGetAreaById(ctx echo.Context, id int64) error // update area // (PUT /v1/area/{id}) AreaServiceUpdateArea(ctx echo.Context, id int64, params AreaServiceUpdateAreaParams) error // get area list // (GET /v1/areas) AreaServiceGetAreaList(ctx echo.Context, params AreaServiceGetAreaListParams) error // search area // (GET /v1/areas/search) AreaServiceSearchArea(ctx echo.Context, params AreaServiceSearchAreaParams) error // apply state // (POST /v1/backup/apply) BackupServiceApplyState(ctx echo.Context, params BackupServiceApplyStateParams) error // revert state // (POST /v1/backup/rollback) BackupServiceRevertState(ctx echo.Context, params BackupServiceRevertStateParams) error // upload backup file // (POST /v1/backup/upload) BackupServiceUploadBackup(ctx echo.Context, params BackupServiceUploadBackupParams) error // delete backup // (DELETE /v1/backup/{name}) BackupServiceDeleteBackup(ctx echo.Context, name string) error // restore backup // (PUT /v1/backup/{name}) BackupServiceRestoreBackup(ctx echo.Context, name string) error // get backup list // (GET /v1/backups) BackupServiceGetBackupList(ctx echo.Context, params BackupServiceGetBackupListParams) error // new backup // (POST /v1/backups) BackupServiceNewBackup(ctx echo.Context, params BackupServiceNewBackupParams) error // add new condition // (POST /v1/condition) ConditionServiceAddCondition(ctx echo.Context, params ConditionServiceAddConditionParams) error // delete condition // (DELETE /v1/condition/{id}) ConditionServiceDeleteCondition(ctx echo.Context, id int64) error // get condition by id // (GET /v1/condition/{id}) ConditionServiceGetConditionById(ctx echo.Context, id int64, params ConditionServiceGetConditionByIdParams) error // update condition // (PUT /v1/condition/{id}) ConditionServiceUpdateCondition(ctx echo.Context, id int64, params ConditionServiceUpdateConditionParams) error // get condition list // (GET /v1/conditions) ConditionServiceGetConditionList(ctx echo.Context, params ConditionServiceGetConditionListParams) error // search condition // (GET /v1/conditions/search) ConditionServiceSearchCondition(ctx echo.Context, params ConditionServiceSearchConditionParams) error // add new dashboard // (POST /v1/dashboard) DashboardServiceAddDashboard(ctx echo.Context, params DashboardServiceAddDashboardParams) error // delete dashboard // (DELETE /v1/dashboard/{id}) DashboardServiceDeleteDashboard(ctx echo.Context, id int64) error // get dashboard by id // (GET /v1/dashboard/{id}) DashboardServiceGetDashboardById(ctx echo.Context, id int64) error // update dashboard // (PUT /v1/dashboard/{id}) DashboardServiceUpdateDashboard(ctx echo.Context, id int64, params DashboardServiceUpdateDashboardParams) error // add new dashboard_card // (POST /v1/dashboard_card) DashboardCardServiceAddDashboardCard(ctx echo.Context, params DashboardCardServiceAddDashboardCardParams) error // import dashboard_card // (POST /v1/dashboard_card/import) DashboardCardServiceImportDashboardCard(ctx echo.Context, params DashboardCardServiceImportDashboardCardParams) error // delete dashboard_card // (DELETE /v1/dashboard_card/{id}) DashboardCardServiceDeleteDashboardCard(ctx echo.Context, id int64) error // get dashboard_card by id // (GET /v1/dashboard_card/{id}) DashboardCardServiceGetDashboardCardById(ctx echo.Context, id int64) error // update dashboard_card // (PUT /v1/dashboard_card/{id}) DashboardCardServiceUpdateDashboardCard(ctx echo.Context, id int64, params DashboardCardServiceUpdateDashboardCardParams) error // add new dashboard_card // (POST /v1/dashboard_card_item) DashboardCardItemServiceAddDashboardCardItem(ctx echo.Context, params DashboardCardItemServiceAddDashboardCardItemParams) error // delete dashboard_card_item // (DELETE /v1/dashboard_card_item/{id}) DashboardCardItemServiceDeleteDashboardCardItem(ctx echo.Context, id int64) error // get dashboard_card_item by id // (GET /v1/dashboard_card_item/{id}) DashboardCardItemServiceGetDashboardCardItemById(ctx echo.Context, id int64) error // update dashboard_card_item // (PUT /v1/dashboard_card_item/{id}) DashboardCardItemServiceUpdateDashboardCardItem(ctx echo.Context, id int64, params DashboardCardItemServiceUpdateDashboardCardItemParams) error // get dashboard_card_item list // (GET /v1/dashboard_card_items) DashboardCardItemServiceGetDashboardCardItemList(ctx echo.Context, params DashboardCardItemServiceGetDashboardCardItemListParams) error // get dashboard_card list // (GET /v1/dashboard_cards) DashboardCardServiceGetDashboardCardList(ctx echo.Context, params DashboardCardServiceGetDashboardCardListParams) error // add new dashboard_tab // (POST /v1/dashboard_tab) DashboardTabServiceAddDashboardTab(ctx echo.Context, params DashboardTabServiceAddDashboardTabParams) error // delete dashboard_tab // (DELETE /v1/dashboard_tab/{id}) DashboardTabServiceDeleteDashboardTab(ctx echo.Context, id int64) error // get dashboard_tab by id // (GET /v1/dashboard_tab/{id}) DashboardTabServiceGetDashboardTabById(ctx echo.Context, id int64) error // update dashboard // (PUT /v1/dashboard_tab/{id}) DashboardTabServiceUpdateDashboardTab(ctx echo.Context, id int64, params DashboardTabServiceUpdateDashboardTabParams) error // get dashboard_tab list // (GET /v1/dashboard_tabs) DashboardTabServiceGetDashboardTabList(ctx echo.Context, params DashboardTabServiceGetDashboardTabListParams) error // import dashboard_tab // (POST /v1/dashboard_tabs/import) DashboardTabServiceImportDashboardTab(ctx echo.Context, params DashboardTabServiceImportDashboardTabParams) error // get dashboard list // (GET /v1/dashboards) DashboardServiceGetDashboardList(ctx echo.Context, params DashboardServiceGetDashboardListParams) error // import dashboard // (POST /v1/dashboards/import) DashboardServiceImportDashboard(ctx echo.Context, params DashboardServiceImportDashboardParams) error // search area // (GET /v1/dashboards/search) DashboardServiceSearchDashboard(ctx echo.Context, params DashboardServiceSearchDashboardParams) error // call action // (POST /v1/developer_tools/automation/call_action) DeveloperToolsServiceCallAction(ctx echo.Context, params DeveloperToolsServiceCallActionParams) error // call trigger // (POST /v1/developer_tools/automation/call_trigger) DeveloperToolsServiceCallTrigger(ctx echo.Context, params DeveloperToolsServiceCallTriggerParams) error // bas state // (GET /v1/developer_tools/bus/state) DeveloperToolsServiceGetEventBusStateList(ctx echo.Context, params DeveloperToolsServiceGetEventBusStateListParams) error // reload entity // (POST /v1/developer_tools/entity/reload) DeveloperToolsServiceReloadEntity(ctx echo.Context, params DeveloperToolsServiceReloadEntityParams) error // entity set state // (POST /v1/developer_tools/entity/set_state) DeveloperToolsServiceEntitySetState(ctx echo.Context, params DeveloperToolsServiceEntitySetStateParams) error // get entity list // (GET /v1/entities) EntityServiceGetEntityList(ctx echo.Context, params EntityServiceGetEntityListParams) error // import entity // (POST /v1/entities/import) EntityServiceImportEntity(ctx echo.Context, params EntityServiceImportEntityParams) error // get statistic // (GET /v1/entities/statistic) EntityServiceGetStatistic(ctx echo.Context) error // add new entity // (POST /v1/entity) EntityServiceAddEntity(ctx echo.Context, params EntityServiceAddEntityParams) error // search entity // (GET /v1/entity/search) EntityServiceSearchEntity(ctx echo.Context, params EntityServiceSearchEntityParams) error // delete entity // (DELETE /v1/entity/{id}) EntityServiceDeleteEntity(ctx echo.Context, id string) error // get entity // (GET /v1/entity/{id}) EntityServiceGetEntity(ctx echo.Context, id string) error // update entity // (PUT /v1/entity/{id}) EntityServiceUpdateEntity(ctx echo.Context, id string, params EntityServiceUpdateEntityParams) error // disable entity // (POST /v1/entity/{id}/disable) EntityServiceDisabledEntity(ctx echo.Context, id string) error // enabled entity // (POST /v1/entity/{id}/enable) EntityServiceEnabledEntity(ctx echo.Context, id string) error // (GET /v1/entity_storage) EntityStorageServiceGetEntityStorageList(ctx echo.Context, params EntityStorageServiceGetEntityStorageListParams) error // add new image // (POST /v1/image) ImageServiceAddImage(ctx echo.Context, params ImageServiceAddImageParams) error // upload image // (POST /v1/image/upload) ImageServiceUploadImage(ctx echo.Context, params ImageServiceUploadImageParams) error // delete image by id // (DELETE /v1/image/{id}) ImageServiceDeleteImageById(ctx echo.Context, id int64) error // get image by id // (GET /v1/image/{id}) ImageServiceGetImageById(ctx echo.Context, id int64) error // update image // (PUT /v1/image/{id}) ImageServiceUpdateImageById(ctx echo.Context, id int64, params ImageServiceUpdateImageByIdParams) error // get image list // (GET /v1/images) ImageServiceGetImageList(ctx echo.Context, params ImageServiceGetImageListParams) error // get image filter list // (GET /v1/images/filter_list) ImageServiceGetImageFilterList(ctx echo.Context) error // get image list by date // (GET /v1/images/filtered) ImageServiceGetImageListByDate(ctx echo.Context, params ImageServiceGetImageListByDateParams) error // entity call action // (POST /v1/interact/entity/call_action) InteractServiceEntityCallAction(ctx echo.Context, params InteractServiceEntityCallActionParams) error // (GET /v1/logs) LogServiceGetLogList(ctx echo.Context, params LogServiceGetLogListParams) error // get list // (GET /v1/message_delivery) MessageDeliveryServiceGetMessageDeliveryList(ctx echo.Context, params MessageDeliveryServiceGetMessageDeliveryListParams) error // get metric // (GET /v1/metric) MetricServiceGetMetric(ctx echo.Context, params MetricServiceGetMetricParams) error // get client by id // (GET /v1/mqtt/client/{id}) MqttServiceGetClientById(ctx echo.Context, id string) error // get client list // (GET /v1/mqtt/clients) MqttServiceGetClientList(ctx echo.Context, params MqttServiceGetClientListParams) error // get subscription list // (GET /v1/mqtt/subscriptions) MqttServiceGetSubscriptionList(ctx echo.Context, params MqttServiceGetSubscriptionListParams) error // sign out user // (POST /v1/password_reset) AuthServicePasswordReset(ctx echo.Context, params AuthServicePasswordResetParams) error // get plugin // (GET /v1/plugin/{name}) PluginServiceGetPlugin(ctx echo.Context, name string) error // disable plugin // (POST /v1/plugin/{name}/disable) PluginServiceDisablePlugin(ctx echo.Context, name string) error // enable plugin // (POST /v1/plugin/{name}/enable) PluginServiceEnablePlugin(ctx echo.Context, name string) error // get plugin readme // (GET /v1/plugin/{name}/readme) PluginServiceGetPluginReadme(ctx echo.Context, name string, params PluginServiceGetPluginReadmeParams) error // update plugin settings // (PUT /v1/plugin/{name}/settings) PluginServiceUpdatePluginSettings(ctx echo.Context, name string, params PluginServiceUpdatePluginSettingsParams) error // get plugin list // (GET /v1/plugins) PluginServiceGetPluginList(ctx echo.Context, params PluginServiceGetPluginListParams) error // search plugin // (GET /v1/plugins/search) PluginServiceSearchPlugin(ctx echo.Context, params PluginServiceSearchPluginParams) error // add new role // (POST /v1/role) RoleServiceAddRole(ctx echo.Context, params RoleServiceAddRoleParams) error // delete role by name // (DELETE /v1/role/{name}) RoleServiceDeleteRoleByName(ctx echo.Context, name string) error // get role by name // (GET /v1/role/{name}) RoleServiceGetRoleByName(ctx echo.Context, name string) error // update role // (PUT /v1/role/{name}) RoleServiceUpdateRoleByName(ctx echo.Context, name string, params RoleServiceUpdateRoleByNameParams) error // get role access list // (GET /v1/role/{name}/access_list) RoleServiceGetRoleAccessList(ctx echo.Context, name string) error // update role access list // (PUT /v1/role/{name}/access_list) RoleServiceUpdateRoleAccessList(ctx echo.Context, name string, params RoleServiceUpdateRoleAccessListParams) error // get role list // (GET /v1/roles) RoleServiceGetRoleList(ctx echo.Context, params RoleServiceGetRoleListParams) error // delete role by name // (GET /v1/roles/search) RoleServiceSearchRoleByName(ctx echo.Context, params RoleServiceSearchRoleByNameParams) error // add new script // (POST /v1/script) ScriptServiceAddScript(ctx echo.Context, params ScriptServiceAddScriptParams) error // exec src script by id // (POST /v1/script/exec_src) ScriptServiceExecSrcScriptById(ctx echo.Context, params ScriptServiceExecSrcScriptByIdParams) error // delete script by id // (DELETE /v1/script/{id}) ScriptServiceDeleteScriptById(ctx echo.Context, id int64) error // get script by id // (GET /v1/script/{id}) ScriptServiceGetScriptById(ctx echo.Context, id int64) error // update script // (PUT /v1/script/{id}) ScriptServiceUpdateScriptById(ctx echo.Context, id int64, params ScriptServiceUpdateScriptByIdParams) error // get compiled script by id // (GET /v1/script/{id}/compiled) ScriptServiceGetCompiledScriptById(ctx echo.Context, id int64) error // copy script by id // (POST /v1/script/{id}/copy) ScriptServiceCopyScriptById(ctx echo.Context, id int64) error // exec script by id // (POST /v1/script/{id}/exec) ScriptServiceExecScriptById(ctx echo.Context, id int64) error // get script list // (GET /v1/scripts) ScriptServiceGetScriptList(ctx echo.Context, params ScriptServiceGetScriptListParams) error // search script by name // (GET /v1/scripts/search) ScriptServiceSearchScript(ctx echo.Context, params ScriptServiceSearchScriptParams) error // get statistic // (GET /v1/scripts/statistic) ScriptServiceGetStatistic(ctx echo.Context) error // sign in user // (POST /v1/signin) AuthServiceSignin(ctx echo.Context) error // sign out user // (POST /v1/signout) AuthServiceSignout(ctx echo.Context) error // delete tag by id // (DELETE /v1/tag/{id}) TagServiceDeleteTagById(ctx echo.Context, id int64) error // get tag by id // (GET /v1/tag/{id}) TagServiceGetTagById(ctx echo.Context, id int64) error // update tag // (PUT /v1/tag/{id}) TagServiceUpdateTagById(ctx echo.Context, id int64, params TagServiceUpdateTagByIdParams) error // get tag list // (GET /v1/tags) TagServiceGetTagList(ctx echo.Context, params TagServiceGetTagListParams) error // search tag by name // (GET /v1/tags/search) TagServiceSearchTag(ctx echo.Context, params TagServiceSearchTagParams) error // add new task // (POST /v1/task) AutomationServiceAddTask(ctx echo.Context, params AutomationServiceAddTaskParams) error // delete task // (DELETE /v1/task/{id}) AutomationServiceDeleteTask(ctx echo.Context, id int64) error // get task // (GET /v1/task/{id}) AutomationServiceGetTask(ctx echo.Context, id int64) error // update task // (PUT /v1/task/{id}) AutomationServiceUpdateTask(ctx echo.Context, id int64, params AutomationServiceUpdateTaskParams) error // disable task // (POST /v1/task/{id}/disable) AutomationServiceDisableTask(ctx echo.Context, id int64) error // enable task // (POST /v1/task/{id}/enable) AutomationServiceEnableTask(ctx echo.Context, id int64) error // get task list // (GET /v1/tasks) AutomationServiceGetTaskList(ctx echo.Context, params AutomationServiceGetTaskListParams) error // import task // (POST /v1/tasks/import) AutomationServiceImportTask(ctx echo.Context, params AutomationServiceImportTaskParams) error // add new trigger // (POST /v1/trigger) TriggerServiceAddTrigger(ctx echo.Context, params TriggerServiceAddTriggerParams) error // delete trigger // (DELETE /v1/trigger/{id}) TriggerServiceDeleteTrigger(ctx echo.Context, id int64) error // get trigger by id // (GET /v1/trigger/{id}) TriggerServiceGetTriggerById(ctx echo.Context, id int64) error // update trigger // (PUT /v1/trigger/{id}) TriggerServiceUpdateTrigger(ctx echo.Context, id int64, params TriggerServiceUpdateTriggerParams) error // get trigger list // (GET /v1/triggers) TriggerServiceGetTriggerList(ctx echo.Context, params TriggerServiceGetTriggerListParams) error // search trigger // (GET /v1/triggers/search) TriggerServiceSearchTrigger(ctx echo.Context, params TriggerServiceSearchTriggerParams) error // disable triggers // (POST /v1/triggers/{id}/disable) TriggerServiceDisableTrigger(ctx echo.Context, id int64) error // enable triggers // (POST /v1/triggers/{id}/enable) TriggerServiceEnableTrigger(ctx echo.Context, id int64) error // add new user // (POST /v1/user) UserServiceAddUser(ctx echo.Context, params UserServiceAddUserParams) error // delete user by id // (DELETE /v1/user/{id}) UserServiceDeleteUserById(ctx echo.Context, id int64) error // get user by id // (GET /v1/user/{id}) UserServiceGetUserById(ctx echo.Context, id int64) error // update user by id // (PUT /v1/user/{id}) UserServiceUpdateUserById(ctx echo.Context, id int64, params UserServiceUpdateUserByIdParams) error // get user list // (GET /v1/users) UserServiceGetUserList(ctx echo.Context, params UserServiceGetUserListParams) error // add new variable // (POST /v1/variable) VariableServiceAddVariable(ctx echo.Context, params VariableServiceAddVariableParams) error // delete variable // (DELETE /v1/variable/{name}) VariableServiceDeleteVariable(ctx echo.Context, name string) error // get variable by name // (GET /v1/variable/{name}) VariableServiceGetVariableByName(ctx echo.Context, name string) error // update variable // (PUT /v1/variable/{name}) VariableServiceUpdateVariable(ctx echo.Context, name string, params VariableServiceUpdateVariableParams) error // get variable list // (GET /v1/variables) VariableServiceGetVariableList(ctx echo.Context, params VariableServiceGetVariableListParams) error // search trigger // (GET /v1/variables/search) VariableServiceSearchVariable(ctx echo.Context, params VariableServiceSearchVariableParams) error // (GET /v1/ws) StreamServiceSubscribe(ctx echo.Context) error // get bridge list // (GET /v1/zigbee2mqtt/bridge) Zigbee2mqttServiceGetBridgeList(ctx echo.Context, params Zigbee2mqttServiceGetBridgeListParams) error // add new bridge // (POST /v1/zigbee2mqtt/bridge) Zigbee2mqttServiceAddZigbee2mqttBridge(ctx echo.Context, params Zigbee2mqttServiceAddZigbee2mqttBridgeParams) error // delete bridge by id // (DELETE /v1/zigbee2mqtt/bridge/{id}) Zigbee2mqttServiceDeleteBridgeById(ctx echo.Context, id int64) error // get bridge // (GET /v1/zigbee2mqtt/bridge/{id}) Zigbee2mqttServiceGetZigbee2mqttBridge(ctx echo.Context, id int64) error // update bridge by id // (PUT /v1/zigbee2mqtt/bridge/{id}/bridge) Zigbee2mqttServiceUpdateBridgeById(ctx echo.Context, id int64, params Zigbee2mqttServiceUpdateBridgeByIdParams) error // list device // (GET /v1/zigbee2mqtt/bridge/{id}/devices) Zigbee2mqttServiceDeviceList(ctx echo.Context, id int64, params Zigbee2mqttServiceDeviceListParams) error // networkmap // (GET /v1/zigbee2mqtt/bridge/{id}/networkmap) Zigbee2mqttServiceNetworkmap(ctx echo.Context, id int64) error // update networkmap // (POST /v1/zigbee2mqtt/bridge/{id}/networkmap) Zigbee2mqttServiceUpdateNetworkmap(ctx echo.Context, id int64) error // reset bridge by id // (POST /v1/zigbee2mqtt/bridge/{id}/reset) Zigbee2mqttServiceResetBridgeById(ctx echo.Context, id int64) error // device ban // (POST /v1/zigbee2mqtt/device_ban) Zigbee2mqttServiceDeviceBan(ctx echo.Context, params Zigbee2mqttServiceDeviceBanParams) error // device rename // (POST /v1/zigbee2mqtt/device_rename) Zigbee2mqttServiceDeviceRename(ctx echo.Context, params Zigbee2mqttServiceDeviceRenameParams) error // device whitelist // (POST /v1/zigbee2mqtt/device_whitelist) Zigbee2mqttServiceDeviceWhitelist(ctx echo.Context, params Zigbee2mqttServiceDeviceWhitelistParams) error // search device // (GET /v1/zigbee2mqtt/search_device) Zigbee2mqttServiceSearchDevice(ctx echo.Context, params Zigbee2mqttServiceSearchDeviceParams) error }
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
}
ServerInterfaceWrapper converts echo contexts to parameters.
func (*ServerInterfaceWrapper) ActionServiceAddAction ¶
func (w *ServerInterfaceWrapper) ActionServiceAddAction(ctx echo.Context) error
ActionServiceAddAction converts echo context to params.
func (*ServerInterfaceWrapper) ActionServiceDeleteAction ¶
func (w *ServerInterfaceWrapper) ActionServiceDeleteAction(ctx echo.Context) error
ActionServiceDeleteAction converts echo context to params.
func (*ServerInterfaceWrapper) ActionServiceGetActionById ¶
func (w *ServerInterfaceWrapper) ActionServiceGetActionById(ctx echo.Context) error
ActionServiceGetActionById converts echo context to params.
func (*ServerInterfaceWrapper) ActionServiceGetActionList ¶
func (w *ServerInterfaceWrapper) ActionServiceGetActionList(ctx echo.Context) error
ActionServiceGetActionList converts echo context to params.
func (*ServerInterfaceWrapper) ActionServiceSearchAction ¶
func (w *ServerInterfaceWrapper) ActionServiceSearchAction(ctx echo.Context) error
ActionServiceSearchAction converts echo context to params.
func (*ServerInterfaceWrapper) ActionServiceUpdateAction ¶
func (w *ServerInterfaceWrapper) ActionServiceUpdateAction(ctx echo.Context) error
ActionServiceUpdateAction converts echo context to params.
func (*ServerInterfaceWrapper) AreaServiceAddArea ¶
func (w *ServerInterfaceWrapper) AreaServiceAddArea(ctx echo.Context) error
AreaServiceAddArea converts echo context to params.
func (*ServerInterfaceWrapper) AreaServiceDeleteArea ¶
func (w *ServerInterfaceWrapper) AreaServiceDeleteArea(ctx echo.Context) error
AreaServiceDeleteArea converts echo context to params.
func (*ServerInterfaceWrapper) AreaServiceGetAreaById ¶
func (w *ServerInterfaceWrapper) AreaServiceGetAreaById(ctx echo.Context) error
AreaServiceGetAreaById converts echo context to params.
func (*ServerInterfaceWrapper) AreaServiceGetAreaList ¶
func (w *ServerInterfaceWrapper) AreaServiceGetAreaList(ctx echo.Context) error
AreaServiceGetAreaList converts echo context to params.
func (*ServerInterfaceWrapper) AreaServiceSearchArea ¶
func (w *ServerInterfaceWrapper) AreaServiceSearchArea(ctx echo.Context) error
AreaServiceSearchArea converts echo context to params.
func (*ServerInterfaceWrapper) AreaServiceUpdateArea ¶
func (w *ServerInterfaceWrapper) AreaServiceUpdateArea(ctx echo.Context) error
AreaServiceUpdateArea converts echo context to params.
func (*ServerInterfaceWrapper) AuthServiceAccessList ¶
func (w *ServerInterfaceWrapper) AuthServiceAccessList(ctx echo.Context) error
AuthServiceAccessList converts echo context to params.
func (*ServerInterfaceWrapper) AuthServicePasswordReset ¶
func (w *ServerInterfaceWrapper) AuthServicePasswordReset(ctx echo.Context) error
AuthServicePasswordReset converts echo context to params.
func (*ServerInterfaceWrapper) AuthServiceSignin ¶
func (w *ServerInterfaceWrapper) AuthServiceSignin(ctx echo.Context) error
AuthServiceSignin converts echo context to params.
func (*ServerInterfaceWrapper) AuthServiceSignout ¶
func (w *ServerInterfaceWrapper) AuthServiceSignout(ctx echo.Context) error
AuthServiceSignout converts echo context to params.
func (*ServerInterfaceWrapper) AutomationServiceAddTask ¶
func (w *ServerInterfaceWrapper) AutomationServiceAddTask(ctx echo.Context) error
AutomationServiceAddTask converts echo context to params.
func (*ServerInterfaceWrapper) AutomationServiceDeleteTask ¶
func (w *ServerInterfaceWrapper) AutomationServiceDeleteTask(ctx echo.Context) error
AutomationServiceDeleteTask converts echo context to params.
func (*ServerInterfaceWrapper) AutomationServiceDisableTask ¶
func (w *ServerInterfaceWrapper) AutomationServiceDisableTask(ctx echo.Context) error
AutomationServiceDisableTask converts echo context to params.
func (*ServerInterfaceWrapper) AutomationServiceEnableTask ¶
func (w *ServerInterfaceWrapper) AutomationServiceEnableTask(ctx echo.Context) error
AutomationServiceEnableTask converts echo context to params.
func (*ServerInterfaceWrapper) AutomationServiceGetTask ¶
func (w *ServerInterfaceWrapper) AutomationServiceGetTask(ctx echo.Context) error
AutomationServiceGetTask converts echo context to params.
func (*ServerInterfaceWrapper) AutomationServiceGetTaskList ¶
func (w *ServerInterfaceWrapper) AutomationServiceGetTaskList(ctx echo.Context) error
AutomationServiceGetTaskList converts echo context to params.
func (*ServerInterfaceWrapper) AutomationServiceImportTask ¶
func (w *ServerInterfaceWrapper) AutomationServiceImportTask(ctx echo.Context) error
AutomationServiceImportTask converts echo context to params.
func (*ServerInterfaceWrapper) AutomationServiceUpdateTask ¶
func (w *ServerInterfaceWrapper) AutomationServiceUpdateTask(ctx echo.Context) error
AutomationServiceUpdateTask converts echo context to params.
func (*ServerInterfaceWrapper) BackupServiceApplyState ¶
func (w *ServerInterfaceWrapper) BackupServiceApplyState(ctx echo.Context) error
BackupServiceApplyState converts echo context to params.
func (*ServerInterfaceWrapper) BackupServiceDeleteBackup ¶
func (w *ServerInterfaceWrapper) BackupServiceDeleteBackup(ctx echo.Context) error
BackupServiceDeleteBackup converts echo context to params.
func (*ServerInterfaceWrapper) BackupServiceGetBackupList ¶
func (w *ServerInterfaceWrapper) BackupServiceGetBackupList(ctx echo.Context) error
BackupServiceGetBackupList converts echo context to params.
func (*ServerInterfaceWrapper) BackupServiceNewBackup ¶
func (w *ServerInterfaceWrapper) BackupServiceNewBackup(ctx echo.Context) error
BackupServiceNewBackup converts echo context to params.
func (*ServerInterfaceWrapper) BackupServiceRestoreBackup ¶
func (w *ServerInterfaceWrapper) BackupServiceRestoreBackup(ctx echo.Context) error
BackupServiceRestoreBackup converts echo context to params.
func (*ServerInterfaceWrapper) BackupServiceRevertState ¶
func (w *ServerInterfaceWrapper) BackupServiceRevertState(ctx echo.Context) error
BackupServiceRevertState converts echo context to params.
func (*ServerInterfaceWrapper) BackupServiceUploadBackup ¶
func (w *ServerInterfaceWrapper) BackupServiceUploadBackup(ctx echo.Context) error
BackupServiceUploadBackup converts echo context to params.
func (*ServerInterfaceWrapper) ConditionServiceAddCondition ¶
func (w *ServerInterfaceWrapper) ConditionServiceAddCondition(ctx echo.Context) error
ConditionServiceAddCondition converts echo context to params.
func (*ServerInterfaceWrapper) ConditionServiceDeleteCondition ¶
func (w *ServerInterfaceWrapper) ConditionServiceDeleteCondition(ctx echo.Context) error
ConditionServiceDeleteCondition converts echo context to params.
func (*ServerInterfaceWrapper) ConditionServiceGetConditionById ¶
func (w *ServerInterfaceWrapper) ConditionServiceGetConditionById(ctx echo.Context) error
ConditionServiceGetConditionById converts echo context to params.
func (*ServerInterfaceWrapper) ConditionServiceGetConditionList ¶
func (w *ServerInterfaceWrapper) ConditionServiceGetConditionList(ctx echo.Context) error
ConditionServiceGetConditionList converts echo context to params.
func (*ServerInterfaceWrapper) ConditionServiceSearchCondition ¶
func (w *ServerInterfaceWrapper) ConditionServiceSearchCondition(ctx echo.Context) error
ConditionServiceSearchCondition converts echo context to params.
func (*ServerInterfaceWrapper) ConditionServiceUpdateCondition ¶
func (w *ServerInterfaceWrapper) ConditionServiceUpdateCondition(ctx echo.Context) error
ConditionServiceUpdateCondition converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardItemServiceAddDashboardCardItem ¶
func (w *ServerInterfaceWrapper) DashboardCardItemServiceAddDashboardCardItem(ctx echo.Context) error
DashboardCardItemServiceAddDashboardCardItem converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardItemServiceDeleteDashboardCardItem ¶
func (w *ServerInterfaceWrapper) DashboardCardItemServiceDeleteDashboardCardItem(ctx echo.Context) error
DashboardCardItemServiceDeleteDashboardCardItem converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardItemServiceGetDashboardCardItemById ¶
func (w *ServerInterfaceWrapper) DashboardCardItemServiceGetDashboardCardItemById(ctx echo.Context) error
DashboardCardItemServiceGetDashboardCardItemById converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardItemServiceGetDashboardCardItemList ¶
func (w *ServerInterfaceWrapper) DashboardCardItemServiceGetDashboardCardItemList(ctx echo.Context) error
DashboardCardItemServiceGetDashboardCardItemList converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardItemServiceUpdateDashboardCardItem ¶
func (w *ServerInterfaceWrapper) DashboardCardItemServiceUpdateDashboardCardItem(ctx echo.Context) error
DashboardCardItemServiceUpdateDashboardCardItem converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardServiceAddDashboardCard ¶
func (w *ServerInterfaceWrapper) DashboardCardServiceAddDashboardCard(ctx echo.Context) error
DashboardCardServiceAddDashboardCard converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardServiceDeleteDashboardCard ¶
func (w *ServerInterfaceWrapper) DashboardCardServiceDeleteDashboardCard(ctx echo.Context) error
DashboardCardServiceDeleteDashboardCard converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardServiceGetDashboardCardById ¶
func (w *ServerInterfaceWrapper) DashboardCardServiceGetDashboardCardById(ctx echo.Context) error
DashboardCardServiceGetDashboardCardById converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardServiceGetDashboardCardList ¶
func (w *ServerInterfaceWrapper) DashboardCardServiceGetDashboardCardList(ctx echo.Context) error
DashboardCardServiceGetDashboardCardList converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardServiceImportDashboardCard ¶
func (w *ServerInterfaceWrapper) DashboardCardServiceImportDashboardCard(ctx echo.Context) error
DashboardCardServiceImportDashboardCard converts echo context to params.
func (*ServerInterfaceWrapper) DashboardCardServiceUpdateDashboardCard ¶
func (w *ServerInterfaceWrapper) DashboardCardServiceUpdateDashboardCard(ctx echo.Context) error
DashboardCardServiceUpdateDashboardCard converts echo context to params.
func (*ServerInterfaceWrapper) DashboardServiceAddDashboard ¶
func (w *ServerInterfaceWrapper) DashboardServiceAddDashboard(ctx echo.Context) error
DashboardServiceAddDashboard converts echo context to params.
func (*ServerInterfaceWrapper) DashboardServiceDeleteDashboard ¶
func (w *ServerInterfaceWrapper) DashboardServiceDeleteDashboard(ctx echo.Context) error
DashboardServiceDeleteDashboard converts echo context to params.
func (*ServerInterfaceWrapper) DashboardServiceGetDashboardById ¶
func (w *ServerInterfaceWrapper) DashboardServiceGetDashboardById(ctx echo.Context) error
DashboardServiceGetDashboardById converts echo context to params.
func (*ServerInterfaceWrapper) DashboardServiceGetDashboardList ¶
func (w *ServerInterfaceWrapper) DashboardServiceGetDashboardList(ctx echo.Context) error
DashboardServiceGetDashboardList converts echo context to params.
func (*ServerInterfaceWrapper) DashboardServiceImportDashboard ¶
func (w *ServerInterfaceWrapper) DashboardServiceImportDashboard(ctx echo.Context) error
DashboardServiceImportDashboard converts echo context to params.
func (*ServerInterfaceWrapper) DashboardServiceSearchDashboard ¶
func (w *ServerInterfaceWrapper) DashboardServiceSearchDashboard(ctx echo.Context) error
DashboardServiceSearchDashboard converts echo context to params.
func (*ServerInterfaceWrapper) DashboardServiceUpdateDashboard ¶
func (w *ServerInterfaceWrapper) DashboardServiceUpdateDashboard(ctx echo.Context) error
DashboardServiceUpdateDashboard converts echo context to params.
func (*ServerInterfaceWrapper) DashboardTabServiceAddDashboardTab ¶
func (w *ServerInterfaceWrapper) DashboardTabServiceAddDashboardTab(ctx echo.Context) error
DashboardTabServiceAddDashboardTab converts echo context to params.
func (*ServerInterfaceWrapper) DashboardTabServiceDeleteDashboardTab ¶
func (w *ServerInterfaceWrapper) DashboardTabServiceDeleteDashboardTab(ctx echo.Context) error
DashboardTabServiceDeleteDashboardTab converts echo context to params.
func (*ServerInterfaceWrapper) DashboardTabServiceGetDashboardTabById ¶
func (w *ServerInterfaceWrapper) DashboardTabServiceGetDashboardTabById(ctx echo.Context) error
DashboardTabServiceGetDashboardTabById converts echo context to params.
func (*ServerInterfaceWrapper) DashboardTabServiceGetDashboardTabList ¶
func (w *ServerInterfaceWrapper) DashboardTabServiceGetDashboardTabList(ctx echo.Context) error
DashboardTabServiceGetDashboardTabList converts echo context to params.
func (*ServerInterfaceWrapper) DashboardTabServiceImportDashboardTab ¶ added in v0.17.0
func (w *ServerInterfaceWrapper) DashboardTabServiceImportDashboardTab(ctx echo.Context) error
DashboardTabServiceImportDashboardTab converts echo context to params.
func (*ServerInterfaceWrapper) DashboardTabServiceUpdateDashboardTab ¶
func (w *ServerInterfaceWrapper) DashboardTabServiceUpdateDashboardTab(ctx echo.Context) error
DashboardTabServiceUpdateDashboardTab converts echo context to params.
func (*ServerInterfaceWrapper) DeveloperToolsServiceCallAction ¶
func (w *ServerInterfaceWrapper) DeveloperToolsServiceCallAction(ctx echo.Context) error
DeveloperToolsServiceCallAction converts echo context to params.
func (*ServerInterfaceWrapper) DeveloperToolsServiceCallTrigger ¶
func (w *ServerInterfaceWrapper) DeveloperToolsServiceCallTrigger(ctx echo.Context) error
DeveloperToolsServiceCallTrigger converts echo context to params.
func (*ServerInterfaceWrapper) DeveloperToolsServiceEntitySetState ¶
func (w *ServerInterfaceWrapper) DeveloperToolsServiceEntitySetState(ctx echo.Context) error
DeveloperToolsServiceEntitySetState converts echo context to params.
func (*ServerInterfaceWrapper) DeveloperToolsServiceGetEventBusStateList ¶
func (w *ServerInterfaceWrapper) DeveloperToolsServiceGetEventBusStateList(ctx echo.Context) error
DeveloperToolsServiceGetEventBusStateList converts echo context to params.
func (*ServerInterfaceWrapper) DeveloperToolsServiceReloadEntity ¶
func (w *ServerInterfaceWrapper) DeveloperToolsServiceReloadEntity(ctx echo.Context) error
DeveloperToolsServiceReloadEntity converts echo context to params.
func (*ServerInterfaceWrapper) EntityServiceAddEntity ¶
func (w *ServerInterfaceWrapper) EntityServiceAddEntity(ctx echo.Context) error
EntityServiceAddEntity converts echo context to params.
func (*ServerInterfaceWrapper) EntityServiceDeleteEntity ¶
func (w *ServerInterfaceWrapper) EntityServiceDeleteEntity(ctx echo.Context) error
EntityServiceDeleteEntity converts echo context to params.
func (*ServerInterfaceWrapper) EntityServiceDisabledEntity ¶
func (w *ServerInterfaceWrapper) EntityServiceDisabledEntity(ctx echo.Context) error
EntityServiceDisabledEntity converts echo context to params.
func (*ServerInterfaceWrapper) EntityServiceEnabledEntity ¶
func (w *ServerInterfaceWrapper) EntityServiceEnabledEntity(ctx echo.Context) error
EntityServiceEnabledEntity converts echo context to params.
func (*ServerInterfaceWrapper) EntityServiceGetEntity ¶
func (w *ServerInterfaceWrapper) EntityServiceGetEntity(ctx echo.Context) error
EntityServiceGetEntity converts echo context to params.
func (*ServerInterfaceWrapper) EntityServiceGetEntityList ¶
func (w *ServerInterfaceWrapper) EntityServiceGetEntityList(ctx echo.Context) error
EntityServiceGetEntityList converts echo context to params.
func (*ServerInterfaceWrapper) EntityServiceGetStatistic ¶ added in v0.17.0
func (w *ServerInterfaceWrapper) EntityServiceGetStatistic(ctx echo.Context) error
EntityServiceGetStatistic converts echo context to params.
func (*ServerInterfaceWrapper) EntityServiceImportEntity ¶
func (w *ServerInterfaceWrapper) EntityServiceImportEntity(ctx echo.Context) error
EntityServiceImportEntity converts echo context to params.
func (*ServerInterfaceWrapper) EntityServiceSearchEntity ¶
func (w *ServerInterfaceWrapper) EntityServiceSearchEntity(ctx echo.Context) error
EntityServiceSearchEntity converts echo context to params.
func (*ServerInterfaceWrapper) EntityServiceUpdateEntity ¶
func (w *ServerInterfaceWrapper) EntityServiceUpdateEntity(ctx echo.Context) error
EntityServiceUpdateEntity converts echo context to params.
func (*ServerInterfaceWrapper) EntityStorageServiceGetEntityStorageList ¶
func (w *ServerInterfaceWrapper) EntityStorageServiceGetEntityStorageList(ctx echo.Context) error
EntityStorageServiceGetEntityStorageList converts echo context to params.
func (*ServerInterfaceWrapper) ImageServiceAddImage ¶
func (w *ServerInterfaceWrapper) ImageServiceAddImage(ctx echo.Context) error
ImageServiceAddImage converts echo context to params.
func (*ServerInterfaceWrapper) ImageServiceDeleteImageById ¶
func (w *ServerInterfaceWrapper) ImageServiceDeleteImageById(ctx echo.Context) error
ImageServiceDeleteImageById converts echo context to params.
func (*ServerInterfaceWrapper) ImageServiceGetImageById ¶
func (w *ServerInterfaceWrapper) ImageServiceGetImageById(ctx echo.Context) error
ImageServiceGetImageById converts echo context to params.
func (*ServerInterfaceWrapper) ImageServiceGetImageFilterList ¶
func (w *ServerInterfaceWrapper) ImageServiceGetImageFilterList(ctx echo.Context) error
ImageServiceGetImageFilterList converts echo context to params.
func (*ServerInterfaceWrapper) ImageServiceGetImageList ¶
func (w *ServerInterfaceWrapper) ImageServiceGetImageList(ctx echo.Context) error
ImageServiceGetImageList converts echo context to params.
func (*ServerInterfaceWrapper) ImageServiceGetImageListByDate ¶
func (w *ServerInterfaceWrapper) ImageServiceGetImageListByDate(ctx echo.Context) error
ImageServiceGetImageListByDate converts echo context to params.
func (*ServerInterfaceWrapper) ImageServiceUpdateImageById ¶
func (w *ServerInterfaceWrapper) ImageServiceUpdateImageById(ctx echo.Context) error
ImageServiceUpdateImageById converts echo context to params.
func (*ServerInterfaceWrapper) ImageServiceUploadImage ¶
func (w *ServerInterfaceWrapper) ImageServiceUploadImage(ctx echo.Context) error
ImageServiceUploadImage converts echo context to params.
func (*ServerInterfaceWrapper) InteractServiceEntityCallAction ¶
func (w *ServerInterfaceWrapper) InteractServiceEntityCallAction(ctx echo.Context) error
InteractServiceEntityCallAction converts echo context to params.
func (*ServerInterfaceWrapper) LogServiceGetLogList ¶
func (w *ServerInterfaceWrapper) LogServiceGetLogList(ctx echo.Context) error
LogServiceGetLogList converts echo context to params.
func (*ServerInterfaceWrapper) MessageDeliveryServiceGetMessageDeliveryList ¶
func (w *ServerInterfaceWrapper) MessageDeliveryServiceGetMessageDeliveryList(ctx echo.Context) error
MessageDeliveryServiceGetMessageDeliveryList converts echo context to params.
func (*ServerInterfaceWrapper) MetricServiceGetMetric ¶
func (w *ServerInterfaceWrapper) MetricServiceGetMetric(ctx echo.Context) error
MetricServiceGetMetric converts echo context to params.
func (*ServerInterfaceWrapper) MqttServiceGetClientById ¶
func (w *ServerInterfaceWrapper) MqttServiceGetClientById(ctx echo.Context) error
MqttServiceGetClientById converts echo context to params.
func (*ServerInterfaceWrapper) MqttServiceGetClientList ¶
func (w *ServerInterfaceWrapper) MqttServiceGetClientList(ctx echo.Context) error
MqttServiceGetClientList converts echo context to params.
func (*ServerInterfaceWrapper) MqttServiceGetSubscriptionList ¶
func (w *ServerInterfaceWrapper) MqttServiceGetSubscriptionList(ctx echo.Context) error
MqttServiceGetSubscriptionList converts echo context to params.
func (*ServerInterfaceWrapper) PluginServiceDisablePlugin ¶
func (w *ServerInterfaceWrapper) PluginServiceDisablePlugin(ctx echo.Context) error
PluginServiceDisablePlugin converts echo context to params.
func (*ServerInterfaceWrapper) PluginServiceEnablePlugin ¶
func (w *ServerInterfaceWrapper) PluginServiceEnablePlugin(ctx echo.Context) error
PluginServiceEnablePlugin converts echo context to params.
func (*ServerInterfaceWrapper) PluginServiceGetPlugin ¶
func (w *ServerInterfaceWrapper) PluginServiceGetPlugin(ctx echo.Context) error
PluginServiceGetPlugin converts echo context to params.
func (*ServerInterfaceWrapper) PluginServiceGetPluginList ¶
func (w *ServerInterfaceWrapper) PluginServiceGetPluginList(ctx echo.Context) error
PluginServiceGetPluginList converts echo context to params.
func (*ServerInterfaceWrapper) PluginServiceGetPluginReadme ¶ added in v0.14.0
func (w *ServerInterfaceWrapper) PluginServiceGetPluginReadme(ctx echo.Context) error
PluginServiceGetPluginReadme converts echo context to params.
func (*ServerInterfaceWrapper) PluginServiceSearchPlugin ¶
func (w *ServerInterfaceWrapper) PluginServiceSearchPlugin(ctx echo.Context) error
PluginServiceSearchPlugin converts echo context to params.
func (*ServerInterfaceWrapper) PluginServiceUpdatePluginSettings ¶
func (w *ServerInterfaceWrapper) PluginServiceUpdatePluginSettings(ctx echo.Context) error
PluginServiceUpdatePluginSettings converts echo context to params.
func (*ServerInterfaceWrapper) RoleServiceAddRole ¶
func (w *ServerInterfaceWrapper) RoleServiceAddRole(ctx echo.Context) error
RoleServiceAddRole converts echo context to params.
func (*ServerInterfaceWrapper) RoleServiceDeleteRoleByName ¶
func (w *ServerInterfaceWrapper) RoleServiceDeleteRoleByName(ctx echo.Context) error
RoleServiceDeleteRoleByName converts echo context to params.
func (*ServerInterfaceWrapper) RoleServiceGetRoleAccessList ¶
func (w *ServerInterfaceWrapper) RoleServiceGetRoleAccessList(ctx echo.Context) error
RoleServiceGetRoleAccessList converts echo context to params.
func (*ServerInterfaceWrapper) RoleServiceGetRoleByName ¶
func (w *ServerInterfaceWrapper) RoleServiceGetRoleByName(ctx echo.Context) error
RoleServiceGetRoleByName converts echo context to params.
func (*ServerInterfaceWrapper) RoleServiceGetRoleList ¶
func (w *ServerInterfaceWrapper) RoleServiceGetRoleList(ctx echo.Context) error
RoleServiceGetRoleList converts echo context to params.
func (*ServerInterfaceWrapper) RoleServiceSearchRoleByName ¶
func (w *ServerInterfaceWrapper) RoleServiceSearchRoleByName(ctx echo.Context) error
RoleServiceSearchRoleByName converts echo context to params.
func (*ServerInterfaceWrapper) RoleServiceUpdateRoleAccessList ¶
func (w *ServerInterfaceWrapper) RoleServiceUpdateRoleAccessList(ctx echo.Context) error
RoleServiceUpdateRoleAccessList converts echo context to params.
func (*ServerInterfaceWrapper) RoleServiceUpdateRoleByName ¶
func (w *ServerInterfaceWrapper) RoleServiceUpdateRoleByName(ctx echo.Context) error
RoleServiceUpdateRoleByName converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceAddScript ¶
func (w *ServerInterfaceWrapper) ScriptServiceAddScript(ctx echo.Context) error
ScriptServiceAddScript converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceCopyScriptById ¶
func (w *ServerInterfaceWrapper) ScriptServiceCopyScriptById(ctx echo.Context) error
ScriptServiceCopyScriptById converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceDeleteScriptById ¶
func (w *ServerInterfaceWrapper) ScriptServiceDeleteScriptById(ctx echo.Context) error
ScriptServiceDeleteScriptById converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceExecScriptById ¶
func (w *ServerInterfaceWrapper) ScriptServiceExecScriptById(ctx echo.Context) error
ScriptServiceExecScriptById converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceExecSrcScriptById ¶
func (w *ServerInterfaceWrapper) ScriptServiceExecSrcScriptById(ctx echo.Context) error
ScriptServiceExecSrcScriptById converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceGetCompiledScriptById ¶ added in v0.17.0
func (w *ServerInterfaceWrapper) ScriptServiceGetCompiledScriptById(ctx echo.Context) error
ScriptServiceGetCompiledScriptById converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceGetScriptById ¶
func (w *ServerInterfaceWrapper) ScriptServiceGetScriptById(ctx echo.Context) error
ScriptServiceGetScriptById converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceGetScriptList ¶
func (w *ServerInterfaceWrapper) ScriptServiceGetScriptList(ctx echo.Context) error
ScriptServiceGetScriptList converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceGetStatistic ¶
func (w *ServerInterfaceWrapper) ScriptServiceGetStatistic(ctx echo.Context) error
ScriptServiceGetStatistic converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceSearchScript ¶
func (w *ServerInterfaceWrapper) ScriptServiceSearchScript(ctx echo.Context) error
ScriptServiceSearchScript converts echo context to params.
func (*ServerInterfaceWrapper) ScriptServiceUpdateScriptById ¶
func (w *ServerInterfaceWrapper) ScriptServiceUpdateScriptById(ctx echo.Context) error
ScriptServiceUpdateScriptById converts echo context to params.
func (*ServerInterfaceWrapper) StreamServiceSubscribe ¶
func (w *ServerInterfaceWrapper) StreamServiceSubscribe(ctx echo.Context) error
StreamServiceSubscribe converts echo context to params.
func (*ServerInterfaceWrapper) TagServiceDeleteTagById ¶ added in v0.17.0
func (w *ServerInterfaceWrapper) TagServiceDeleteTagById(ctx echo.Context) error
TagServiceDeleteTagById converts echo context to params.
func (*ServerInterfaceWrapper) TagServiceGetTagById ¶ added in v0.17.0
func (w *ServerInterfaceWrapper) TagServiceGetTagById(ctx echo.Context) error
TagServiceGetTagById converts echo context to params.
func (*ServerInterfaceWrapper) TagServiceGetTagList ¶ added in v0.17.0
func (w *ServerInterfaceWrapper) TagServiceGetTagList(ctx echo.Context) error
TagServiceGetTagList converts echo context to params.
func (*ServerInterfaceWrapper) TagServiceSearchTag ¶ added in v0.17.0
func (w *ServerInterfaceWrapper) TagServiceSearchTag(ctx echo.Context) error
TagServiceSearchTag converts echo context to params.
func (*ServerInterfaceWrapper) TagServiceUpdateTagById ¶ added in v0.17.0
func (w *ServerInterfaceWrapper) TagServiceUpdateTagById(ctx echo.Context) error
TagServiceUpdateTagById converts echo context to params.
func (*ServerInterfaceWrapper) TriggerServiceAddTrigger ¶
func (w *ServerInterfaceWrapper) TriggerServiceAddTrigger(ctx echo.Context) error
TriggerServiceAddTrigger converts echo context to params.
func (*ServerInterfaceWrapper) TriggerServiceDeleteTrigger ¶
func (w *ServerInterfaceWrapper) TriggerServiceDeleteTrigger(ctx echo.Context) error
TriggerServiceDeleteTrigger converts echo context to params.
func (*ServerInterfaceWrapper) TriggerServiceDisableTrigger ¶
func (w *ServerInterfaceWrapper) TriggerServiceDisableTrigger(ctx echo.Context) error
TriggerServiceDisableTrigger converts echo context to params.
func (*ServerInterfaceWrapper) TriggerServiceEnableTrigger ¶
func (w *ServerInterfaceWrapper) TriggerServiceEnableTrigger(ctx echo.Context) error
TriggerServiceEnableTrigger converts echo context to params.
func (*ServerInterfaceWrapper) TriggerServiceGetTriggerById ¶
func (w *ServerInterfaceWrapper) TriggerServiceGetTriggerById(ctx echo.Context) error
TriggerServiceGetTriggerById converts echo context to params.
func (*ServerInterfaceWrapper) TriggerServiceGetTriggerList ¶
func (w *ServerInterfaceWrapper) TriggerServiceGetTriggerList(ctx echo.Context) error
TriggerServiceGetTriggerList converts echo context to params.
func (*ServerInterfaceWrapper) TriggerServiceSearchTrigger ¶
func (w *ServerInterfaceWrapper) TriggerServiceSearchTrigger(ctx echo.Context) error
TriggerServiceSearchTrigger converts echo context to params.
func (*ServerInterfaceWrapper) TriggerServiceUpdateTrigger ¶
func (w *ServerInterfaceWrapper) TriggerServiceUpdateTrigger(ctx echo.Context) error
TriggerServiceUpdateTrigger converts echo context to params.
func (*ServerInterfaceWrapper) UserServiceAddUser ¶
func (w *ServerInterfaceWrapper) UserServiceAddUser(ctx echo.Context) error
UserServiceAddUser converts echo context to params.
func (*ServerInterfaceWrapper) UserServiceDeleteUserById ¶
func (w *ServerInterfaceWrapper) UserServiceDeleteUserById(ctx echo.Context) error
UserServiceDeleteUserById converts echo context to params.
func (*ServerInterfaceWrapper) UserServiceGetUserById ¶
func (w *ServerInterfaceWrapper) UserServiceGetUserById(ctx echo.Context) error
UserServiceGetUserById converts echo context to params.
func (*ServerInterfaceWrapper) UserServiceGetUserList ¶
func (w *ServerInterfaceWrapper) UserServiceGetUserList(ctx echo.Context) error
UserServiceGetUserList converts echo context to params.
func (*ServerInterfaceWrapper) UserServiceUpdateUserById ¶
func (w *ServerInterfaceWrapper) UserServiceUpdateUserById(ctx echo.Context) error
UserServiceUpdateUserById converts echo context to params.
func (*ServerInterfaceWrapper) VariableServiceAddVariable ¶
func (w *ServerInterfaceWrapper) VariableServiceAddVariable(ctx echo.Context) error
VariableServiceAddVariable converts echo context to params.
func (*ServerInterfaceWrapper) VariableServiceDeleteVariable ¶
func (w *ServerInterfaceWrapper) VariableServiceDeleteVariable(ctx echo.Context) error
VariableServiceDeleteVariable converts echo context to params.
func (*ServerInterfaceWrapper) VariableServiceGetVariableByName ¶
func (w *ServerInterfaceWrapper) VariableServiceGetVariableByName(ctx echo.Context) error
VariableServiceGetVariableByName converts echo context to params.
func (*ServerInterfaceWrapper) VariableServiceGetVariableList ¶
func (w *ServerInterfaceWrapper) VariableServiceGetVariableList(ctx echo.Context) error
VariableServiceGetVariableList converts echo context to params.
func (*ServerInterfaceWrapper) VariableServiceSearchVariable ¶ added in v0.17.0
func (w *ServerInterfaceWrapper) VariableServiceSearchVariable(ctx echo.Context) error
VariableServiceSearchVariable converts echo context to params.
func (*ServerInterfaceWrapper) VariableServiceUpdateVariable ¶
func (w *ServerInterfaceWrapper) VariableServiceUpdateVariable(ctx echo.Context) error
VariableServiceUpdateVariable converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceAddZigbee2mqttBridge ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceAddZigbee2mqttBridge(ctx echo.Context) error
Zigbee2mqttServiceAddZigbee2mqttBridge converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceDeleteBridgeById ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceDeleteBridgeById(ctx echo.Context) error
Zigbee2mqttServiceDeleteBridgeById converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceDeviceBan ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceDeviceBan(ctx echo.Context) error
Zigbee2mqttServiceDeviceBan converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceDeviceList ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceDeviceList(ctx echo.Context) error
Zigbee2mqttServiceDeviceList converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceDeviceRename ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceDeviceRename(ctx echo.Context) error
Zigbee2mqttServiceDeviceRename converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceDeviceWhitelist ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceDeviceWhitelist(ctx echo.Context) error
Zigbee2mqttServiceDeviceWhitelist converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceGetBridgeList ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceGetBridgeList(ctx echo.Context) error
Zigbee2mqttServiceGetBridgeList converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceGetZigbee2mqttBridge ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceGetZigbee2mqttBridge(ctx echo.Context) error
Zigbee2mqttServiceGetZigbee2mqttBridge converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceNetworkmap ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceNetworkmap(ctx echo.Context) error
Zigbee2mqttServiceNetworkmap converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceResetBridgeById ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceResetBridgeById(ctx echo.Context) error
Zigbee2mqttServiceResetBridgeById converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceSearchDevice ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceSearchDevice(ctx echo.Context) error
Zigbee2mqttServiceSearchDevice converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceUpdateBridgeById ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceUpdateBridgeById(ctx echo.Context) error
Zigbee2mqttServiceUpdateBridgeById converts echo context to params.
func (*ServerInterfaceWrapper) Zigbee2mqttServiceUpdateNetworkmap ¶
func (w *ServerInterfaceWrapper) Zigbee2mqttServiceUpdateNetworkmap(ctx echo.Context) error
Zigbee2mqttServiceUpdateNetworkmap converts echo context to params.
type TagServiceGetTagListParams ¶ added in v0.17.0
type TagServiceGetTagListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` Query *Query `form:"query,omitempty" json:"query,omitempty"` Tags *Tags `form:"tags[],omitempty" json:"tags[],omitempty"` }
TagServiceGetTagListParams defines parameters for TagServiceGetTagList.
type TagServiceSearchTagParams ¶ added in v0.17.0
type TagServiceSearchTagParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
TagServiceSearchTagParams defines parameters for TagServiceSearchTag.
type TagServiceUpdateTagByIdJSONBody ¶ added in v0.17.0
type TagServiceUpdateTagByIdJSONBody struct {
Name string `json:"name"`
}
TagServiceUpdateTagByIdJSONBody defines parameters for TagServiceUpdateTagById.
type TagServiceUpdateTagByIdJSONRequestBody ¶ added in v0.17.0
type TagServiceUpdateTagByIdJSONRequestBody TagServiceUpdateTagByIdJSONBody
TagServiceUpdateTagByIdJSONRequestBody defines body for TagServiceUpdateTagById for application/json ContentType.
type TagServiceUpdateTagByIdParams ¶ added in v0.17.0
type TagServiceUpdateTagByIdParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
TagServiceUpdateTagByIdParams defines parameters for TagServiceUpdateTagById.
type TriggerServiceAddTriggerJSONRequestBody ¶
type TriggerServiceAddTriggerJSONRequestBody = ApiNewTriggerRequest
TriggerServiceAddTriggerJSONRequestBody defines body for TriggerServiceAddTrigger for application/json ContentType.
type TriggerServiceAddTriggerParams ¶
type TriggerServiceAddTriggerParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
TriggerServiceAddTriggerParams defines parameters for TriggerServiceAddTrigger.
type TriggerServiceGetTriggerListParams ¶
type TriggerServiceGetTriggerListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` // Ids The number of results returned on a page Ids *Ids `form:"ids[],omitempty" json:"ids[],omitempty"` }
TriggerServiceGetTriggerListParams defines parameters for TriggerServiceGetTriggerList.
type TriggerServiceSearchTriggerParams ¶
type TriggerServiceSearchTriggerParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
TriggerServiceSearchTriggerParams defines parameters for TriggerServiceSearchTrigger.
type TriggerServiceUpdateTriggerJSONBody ¶
type TriggerServiceUpdateTriggerJSONBody struct { AreaId *int64 `json:"areaId,omitempty"` Attributes map[string]ApiAttribute `json:"attributes"` Description string `json:"description"` Enabled bool `json:"enabled"` EntityIds []string `json:"entityIds"` Name string `json:"name"` PluginName string `json:"pluginName"` Script *ApiScript `json:"script,omitempty"` ScriptId *int64 `json:"scriptId,omitempty"` }
TriggerServiceUpdateTriggerJSONBody defines parameters for TriggerServiceUpdateTrigger.
type TriggerServiceUpdateTriggerJSONRequestBody ¶
type TriggerServiceUpdateTriggerJSONRequestBody TriggerServiceUpdateTriggerJSONBody
TriggerServiceUpdateTriggerJSONRequestBody defines body for TriggerServiceUpdateTrigger for application/json ContentType.
type TriggerServiceUpdateTriggerParams ¶
type TriggerServiceUpdateTriggerParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
TriggerServiceUpdateTriggerParams defines parameters for TriggerServiceUpdateTrigger.
type UpdateDashboardCardRequestItem ¶
type UpdateDashboardCardRequestItem struct { Enabled bool `json:"enabled"` EntityId *string `json:"entityId,omitempty"` Frozen bool `json:"frozen"` Hidden bool `json:"hidden"` HideOn *[]string `json:"hideOn,omitempty"` Id int64 `json:"id"` Payload []byte `json:"payload"` ShowOn *[]string `json:"showOn,omitempty"` Title string `json:"title"` Type string `json:"type"` Weight int32 `json:"weight"` }
UpdateDashboardCardRequestItem defines model for UpdateDashboardCardRequestItem.
type UpdateRoleAccessListRequestAccessListDiff ¶
UpdateRoleAccessListRequestAccessListDiff defines model for UpdateRoleAccessListRequestAccessListDiff.
type UserServiceAddUserJSONRequestBody ¶
type UserServiceAddUserJSONRequestBody = ApiNewtUserRequest
UserServiceAddUserJSONRequestBody defines body for UserServiceAddUser for application/json ContentType.
type UserServiceAddUserParams ¶
type UserServiceAddUserParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
UserServiceAddUserParams defines parameters for UserServiceAddUser.
type UserServiceGetUserListParams ¶
type UserServiceGetUserListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
UserServiceGetUserListParams defines parameters for UserServiceGetUserList.
type UserServiceUpdateUserByIdJSONBody ¶
type UserServiceUpdateUserByIdJSONBody struct { Email string `json:"email"` FirstName string `json:"firstName"` ImageId *int64 `json:"imageId,omitempty"` Lang string `json:"lang"` LastName *string `json:"lastName,omitempty"` Meta *[]ApiUserMeta `json:"meta,omitempty"` Nickname string `json:"nickname"` Password string `json:"password"` PasswordRepeat string `json:"passwordRepeat"` RoleName string `json:"roleName"` Status string `json:"status"` }
UserServiceUpdateUserByIdJSONBody defines parameters for UserServiceUpdateUserById.
type UserServiceUpdateUserByIdJSONRequestBody ¶
type UserServiceUpdateUserByIdJSONRequestBody UserServiceUpdateUserByIdJSONBody
UserServiceUpdateUserByIdJSONRequestBody defines body for UserServiceUpdateUserById for application/json ContentType.
type UserServiceUpdateUserByIdParams ¶
type UserServiceUpdateUserByIdParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
UserServiceUpdateUserByIdParams defines parameters for UserServiceUpdateUserById.
type VariableServiceAddVariableJSONRequestBody ¶
type VariableServiceAddVariableJSONRequestBody = ApiNewVariableRequest
VariableServiceAddVariableJSONRequestBody defines body for VariableServiceAddVariable for application/json ContentType.
type VariableServiceAddVariableParams ¶
type VariableServiceAddVariableParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
VariableServiceAddVariableParams defines parameters for VariableServiceAddVariable.
type VariableServiceGetVariableListParams ¶
type VariableServiceGetVariableListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
VariableServiceGetVariableListParams defines parameters for VariableServiceGetVariableList.
type VariableServiceSearchVariableParams ¶ added in v0.17.0
type VariableServiceSearchVariableParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
VariableServiceSearchVariableParams defines parameters for VariableServiceSearchVariable.
type VariableServiceUpdateVariableJSONBody ¶
type VariableServiceUpdateVariableJSONBody struct { Tags []string `json:"tags"` Value string `json:"value"` }
VariableServiceUpdateVariableJSONBody defines parameters for VariableServiceUpdateVariable.
type VariableServiceUpdateVariableJSONRequestBody ¶
type VariableServiceUpdateVariableJSONRequestBody VariableServiceUpdateVariableJSONBody
VariableServiceUpdateVariableJSONRequestBody defines body for VariableServiceUpdateVariable for application/json ContentType.
type VariableServiceUpdateVariableParams ¶
type VariableServiceUpdateVariableParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
VariableServiceUpdateVariableParams defines parameters for VariableServiceUpdateVariable.
type Zigbee2mqttServiceAddZigbee2mqttBridgeJSONRequestBody ¶
type Zigbee2mqttServiceAddZigbee2mqttBridgeJSONRequestBody = ApiNewZigbee2mqttRequest
Zigbee2mqttServiceAddZigbee2mqttBridgeJSONRequestBody defines body for Zigbee2mqttServiceAddZigbee2mqttBridge for application/json ContentType.
type Zigbee2mqttServiceAddZigbee2mqttBridgeParams ¶
type Zigbee2mqttServiceAddZigbee2mqttBridgeParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
Zigbee2mqttServiceAddZigbee2mqttBridgeParams defines parameters for Zigbee2mqttServiceAddZigbee2mqttBridge.
type Zigbee2mqttServiceDeviceBanJSONRequestBody ¶
type Zigbee2mqttServiceDeviceBanJSONRequestBody = ApiDeviceBanRequest
Zigbee2mqttServiceDeviceBanJSONRequestBody defines body for Zigbee2mqttServiceDeviceBan for application/json ContentType.
type Zigbee2mqttServiceDeviceBanParams ¶
type Zigbee2mqttServiceDeviceBanParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
Zigbee2mqttServiceDeviceBanParams defines parameters for Zigbee2mqttServiceDeviceBan.
type Zigbee2mqttServiceDeviceListParams ¶
type Zigbee2mqttServiceDeviceListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
Zigbee2mqttServiceDeviceListParams defines parameters for Zigbee2mqttServiceDeviceList.
type Zigbee2mqttServiceDeviceRenameJSONRequestBody ¶
type Zigbee2mqttServiceDeviceRenameJSONRequestBody = ApiDeviceRenameRequest
Zigbee2mqttServiceDeviceRenameJSONRequestBody defines body for Zigbee2mqttServiceDeviceRename for application/json ContentType.
type Zigbee2mqttServiceDeviceRenameParams ¶
type Zigbee2mqttServiceDeviceRenameParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
Zigbee2mqttServiceDeviceRenameParams defines parameters for Zigbee2mqttServiceDeviceRename.
type Zigbee2mqttServiceDeviceWhitelistJSONRequestBody ¶
type Zigbee2mqttServiceDeviceWhitelistJSONRequestBody = ApiDeviceWhitelistRequest
Zigbee2mqttServiceDeviceWhitelistJSONRequestBody defines body for Zigbee2mqttServiceDeviceWhitelist for application/json ContentType.
type Zigbee2mqttServiceDeviceWhitelistParams ¶
type Zigbee2mqttServiceDeviceWhitelistParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
Zigbee2mqttServiceDeviceWhitelistParams defines parameters for Zigbee2mqttServiceDeviceWhitelist.
type Zigbee2mqttServiceGetBridgeListParams ¶
type Zigbee2mqttServiceGetBridgeListParams struct { // Sort Field on which to sort and its direction Sort *ListSort `form:"sort,omitempty" json:"sort,omitempty"` // Page Page number of the requested result set Page *ListPage `form:"page,omitempty" json:"page,omitempty"` // Limit The number of results returned on a page Limit *ListLimit `form:"limit,omitempty" json:"limit,omitempty"` }
Zigbee2mqttServiceGetBridgeListParams defines parameters for Zigbee2mqttServiceGetBridgeList.
type Zigbee2mqttServiceSearchDeviceParams ¶
type Zigbee2mqttServiceSearchDeviceParams struct { Query *SearchQuery `form:"query,omitempty" json:"query,omitempty"` Offset *SearchOffset `form:"offset,omitempty" json:"offset,omitempty"` Limit *SearchLimit `form:"limit,omitempty" json:"limit,omitempty"` }
Zigbee2mqttServiceSearchDeviceParams defines parameters for Zigbee2mqttServiceSearchDevice.
type Zigbee2mqttServiceUpdateBridgeByIdJSONBody ¶
type Zigbee2mqttServiceUpdateBridgeByIdJSONBody struct { BaseTopic string `json:"baseTopic"` Login string `json:"login"` Name string `json:"name"` Password *string `json:"password,omitempty"` PermitJoin bool `json:"permitJoin"` }
Zigbee2mqttServiceUpdateBridgeByIdJSONBody defines parameters for Zigbee2mqttServiceUpdateBridgeById.
type Zigbee2mqttServiceUpdateBridgeByIdJSONRequestBody ¶
type Zigbee2mqttServiceUpdateBridgeByIdJSONRequestBody Zigbee2mqttServiceUpdateBridgeByIdJSONBody
Zigbee2mqttServiceUpdateBridgeByIdJSONRequestBody defines body for Zigbee2mqttServiceUpdateBridgeById for application/json ContentType.
type Zigbee2mqttServiceUpdateBridgeByIdParams ¶
type Zigbee2mqttServiceUpdateBridgeByIdParams struct {
Accept *AcceptJSON `json:"Accept,omitempty"`
}
Zigbee2mqttServiceUpdateBridgeByIdParams defines parameters for Zigbee2mqttServiceUpdateBridgeById.