model

package
v0.1.83 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessRomaBriefInfo

type AccessRomaBriefInfo struct {

	// 认证key,加密存储
	AppKey *string `json:"app_key,omitempty"`
}

func (AccessRomaBriefInfo) String

func (o AccessRomaBriefInfo) String() string

type AccessRomaInfo

type AccessRomaInfo struct {

	// 认证key,加密存储
	AppKey *string `json:"app_key,omitempty"`

	// 认证secret,加密存储
	AppSecret *string `json:"app_secret,omitempty"`
}

func (AccessRomaInfo) String

func (o AccessRomaInfo) String() string

type ActiveStandbyConfigDto added in v0.0.97

type ActiveStandbyConfigDto struct {

	// 当前的工作节点,主节点还是备节点在工作,初始创建时工作节点为DEFAULT节点,(DEFAULT|MASTER|SLAVE)
	WorkNode *string `json:"work_node,omitempty"`

	// 主节点网卡名称
	MasterInterfaceName *string `json:"master_interface_name,omitempty"`

	// 备节点网卡名称
	SlaveInterfaceName *string `json:"slave_interface_name,omitempty"`

	// 网卡ip
	VirtualIpAddress *string `json:"virtual_ip_address,omitempty"`

	// 网卡ipv6地址
	VirtualIpv6Address *string `json:"virtual_ipv6_address,omitempty"`
}

ActiveStandbyConfigDto 高可用主备配置请求结构体

func (ActiveStandbyConfigDto) String added in v0.0.97

func (o ActiveStandbyConfigDto) String() string

type AddAppConfigsTemplatesRequest added in v0.1.56

type AddAppConfigsTemplatesRequest struct {
	Body *CreateAppConfigsTemplatesReqDto `json:"body,omitempty"`
}

AddAppConfigsTemplatesRequest Request Object

func (AddAppConfigsTemplatesRequest) String added in v0.1.56

type AddAppConfigsTemplatesResponse added in v0.1.56

type AddAppConfigsTemplatesResponse struct {

	// 模板id
	TplId *string `json:"tpl_id,omitempty"`

	// 模板名称
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 配置项数据
	ConfigTabs *interface{} `json:"config_tabs,omitempty"`

	// 默认数据
	DefaultValues *interface{} `json:"default_values,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddAppConfigsTemplatesResponse Response Object

func (AddAppConfigsTemplatesResponse) String added in v0.1.56

type AddDeviceRequest

type AddDeviceRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	Body *AddDeviceRequestBody `json:"body,omitempty"`
}

AddDeviceRequest Request Object

func (AddDeviceRequest) String

func (o AddDeviceRequest) String() string

type AddDeviceRequestBody

type AddDeviceRequestBody struct {

	// 设备标识码,通常使用IMEI、MAC地址或Serial No作为node_id。(注意:NB设备由于模组烧录信息后无法配置,所以NB设备会校验node_id全局唯一。)
	NodeId string `json:"node_id"`

	// 设备名称。
	DeviceName *string `json:"device_name,omitempty"`

	// 设备关联的产品ID,用于唯一标识一个产品模型,在管理门户导入产品模型后由平台分配获得。
	ProductId string `json:"product_id"`

	AuthInfo *EdgeDeviceAuthInfo `json:"auth_info,omitempty"`

	// 设备的描述信息。
	Description *string `json:"description,omitempty"`

	// 父设备ID,用于标识设备所属的父设备。携带该参数时,表示在该父设备下创建一个子设备,这个子设备不与平台直连,此时必须保证这个父设备在平台已存在,创建成功后子设备的gateway_id等于该参数值;不携带该参数时,表示创建一个和平台直连的设备,创建成功后设备的device_id和gateway_id一致。
	GatewayId *string `json:"gateway_id,omitempty"`

	// 资源空间Id。此参数为非必选参数,用于兼容平台老用户存在多应用的场景。存在多应用的用户需要使用该接口时,必须携带该参数指定注册的设备归属到哪个应用下,否则接口会提示错误。如果用户存在多应用,同时又不想携带该参数,可以联系华为技术支持对用户数据做应用合并。
	SpaceId *string `json:"space_id,omitempty"`

	// 设备扩展信息。用户可以自定义任何想要的扩展信息,如果在创建设备时为子设备指定该字段,将会通过MQTT接口“平台通知网关子设备新增“将该信息通知给网关。字段值大小上限为1K。 追加:如果通过EdgeHub, EdgeAccess进行设备接入,不需要携带extension_info;如果通过用户自定义的应用进行边缘设备接入,则携带模块id参数作为extension_info, 例如:{\\\"module_id\":\\\"user_xxx\"}
	ExtensionInfo *interface{} `json:"extension_info,omitempty"`

	// 设备初始配置。用户使用该字段可以为设备指定初始配置,指定后将会根据service_id和desired设置的属性值与产品中对应属性的默认值比对,如果不同,则将以设置的属性值为准写入到设备配置中。例如连接MQTT设备,配置接入平台密码,携带该参数{\\\"password\":\\\"xxxxxxxx\"}
	Config *interface{} `json:"config,omitempty"`
}

AddDeviceRequestBody 添加设备结构体。

func (AddDeviceRequestBody) String

func (o AddDeviceRequestBody) String() string

type AddDeviceResponse

type AddDeviceResponse struct {

	// 设备ID
	DeviceId *string `json:"device_id,omitempty"`

	// 设备密钥,认证类型使用密钥认证接入(SECRET)可填写该字段。注意:NB设备密钥由于协议特殊性,只支持十六进制密钥接入;修改设备、查询设备及查询设备列表接口不返回该参数。
	Password       *string `json:"password,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddDeviceResponse Response Object

func (AddDeviceResponse) String

func (o AddDeviceResponse) String() string

type AddGeneralAppConfigsTemplateRequest added in v0.1.56

type AddGeneralAppConfigsTemplateRequest struct {
}

AddGeneralAppConfigsTemplateRequest Request Object

func (AddGeneralAppConfigsTemplateRequest) String added in v0.1.56

type AddGeneralAppConfigsTemplateResponse added in v0.1.56

type AddGeneralAppConfigsTemplateResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddGeneralAppConfigsTemplateResponse Response Object

func (AddGeneralAppConfigsTemplateResponse) String added in v0.1.56

type AddGeneralOtTemplateRequest added in v0.1.37

type AddGeneralOtTemplateRequest struct {
}

AddGeneralOtTemplateRequest Request Object

func (AddGeneralOtTemplateRequest) String added in v0.1.37

type AddGeneralOtTemplateResponse added in v0.1.37

type AddGeneralOtTemplateResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddGeneralOtTemplateResponse Response Object

func (AddGeneralOtTemplateResponse) String added in v0.1.37

type AddOtTemplatesRequest added in v0.1.37

type AddOtTemplatesRequest struct {
	Body *CreateOtTemplatesReqDto `json:"body,omitempty"`
}

AddOtTemplatesRequest Request Object

func (AddOtTemplatesRequest) String added in v0.1.37

func (o AddOtTemplatesRequest) String() string

type AddOtTemplatesResponse added in v0.1.37

type AddOtTemplatesResponse struct {

	// 模板id
	TplId *string `json:"tpl_id,omitempty"`

	// 模板名称
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 数据源元数据
	DatasourceMeta *interface{} `json:"datasource_meta,omitempty"`

	// 点位表元数据
	PointMeta *interface{} `json:"point_meta,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddOtTemplatesResponse Response Object

func (AddOtTemplatesResponse) String added in v0.1.37

func (o AddOtTemplatesResponse) String() string

type AuthAkSkInfo

type AuthAkSkInfo struct {

	// 鉴权秘钥
	Secret *string `json:"secret,omitempty"`
}

func (AuthAkSkInfo) String

func (o AuthAkSkInfo) String() string

type AuthorizeNa2NodesRequestDto

type AuthorizeNa2NodesRequestDto struct {

	// 授权北向NA信息到边缘节点的请求结构体
	NodeIds *interface{} `json:"node_ids"`
}

func (AuthorizeNa2NodesRequestDto) String

type BasePathDto

type BasePathDto struct {

	// 节点日志根目录
	LogBasePath *string `json:"log_base_path,omitempty"`

	// 节点配置根目录
	ConfigBasePath *string `json:"config_base_path,omitempty"`

	// 节点数据存储根目录
	DbBasePath *string `json:"db_base_path,omitempty"`

	OfflineCacheConfigs *OfflineCacheConfigsDto `json:"offline_cache_configs,omitempty"`
}

func (BasePathDto) String

func (o BasePathDto) String() string

type BatchAssociateNaToNodesRequest

type BatchAssociateNaToNodesRequest struct {

	// 北向数据接收端点ID
	NaId string `json:"na_id"`

	// 批量删除delete,批量添加add
	Action string `json:"action"`

	Body *AuthorizeNa2NodesRequestDto `json:"body,omitempty"`
}

BatchAssociateNaToNodesRequest Request Object

func (BatchAssociateNaToNodesRequest) String

type BatchAssociateNaToNodesResponse

type BatchAssociateNaToNodesResponse struct {

	// 授权北向NA信息到边缘节点列表的返回结构体,仅返回本次授权的节点列表信息
	Nodes          *[]QueryAuthorizedNodeDto `json:"nodes,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

BatchAssociateNaToNodesResponse Response Object

func (BatchAssociateNaToNodesResponse) String

type BatchConfirmConfigsNewRequest

type BatchConfirmConfigsNewRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 边侧第三方应用的模块ID
	IaId string `json:"ia_id"`

	Body *ConfirmIaConfigsRequestBody `json:"body,omitempty"`
}

BatchConfirmConfigsNewRequest Request Object

func (BatchConfirmConfigsNewRequest) String

type BatchConfirmConfigsNewResponse

type BatchConfirmConfigsNewResponse struct {

	// 已确认的配置项id
	Ids            *interface{} `json:"ids,omitempty"`
	HttpStatusCode int          `json:"-"`
}

BatchConfirmConfigsNewResponse Response Object

func (BatchConfirmConfigsNewResponse) String

type BatchImportConfigRequestBody

type BatchImportConfigRequestBody struct {

	// 配置项ID
	Id string `json:"id"`

	// 配置项名称
	Name string `json:"name"`

	// 配置项详情,长度2MB以内
	Value string `json:"value"`

	// 配置项描述
	Description *string `json:"description,omitempty"`
}

func (BatchImportConfigRequestBody) String

type BatchImportConfigsRequest

type BatchImportConfigsRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 边侧第三方应用的模块ID
	IaId string `json:"ia_id"`

	Body *BatchImportConfigsRequestBody `json:"body,omitempty"`
}

BatchImportConfigsRequest Request Object

func (BatchImportConfigsRequest) String

func (o BatchImportConfigsRequest) String() string

type BatchImportConfigsRequestBody

type BatchImportConfigsRequestBody struct {

	// 南向IA配置项列表
	Configs *[]BatchImportConfigRequestBody `json:"configs,omitempty"`
}

func (BatchImportConfigsRequestBody) String

type BatchImportConfigsResponse

type BatchImportConfigsResponse struct {

	// 已成功导入的配置项id
	Ids            *interface{} `json:"ids,omitempty"`
	HttpStatusCode int          `json:"-"`
}

BatchImportConfigsResponse Response Object

func (BatchImportConfigsResponse) String

type BatchListAppConfigsTemplatesRequest added in v0.1.56

type BatchListAppConfigsTemplatesRequest struct {

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`
}

BatchListAppConfigsTemplatesRequest Request Object

func (BatchListAppConfigsTemplatesRequest) String added in v0.1.56

type BatchListAppConfigsTemplatesResponse added in v0.1.56

type BatchListAppConfigsTemplatesResponse struct {

	// 总记录数
	Count *int64 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 模板列表
	Templates      *[]QueryAppConfigsTemplateBriefRespDto `json:"templates,omitempty"`
	HttpStatusCode int                                    `json:"-"`
}

BatchListAppConfigsTemplatesResponse Response Object

func (BatchListAppConfigsTemplatesResponse) String added in v0.1.56

type BatchListDcDevicesRequest added in v0.1.32

type BatchListDcDevicesRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`

	// 设备标识码。
	DeviceId *string `json:"device_id,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`
}

BatchListDcDevicesRequest Request Object

func (BatchListDcDevicesRequest) String added in v0.1.32

func (o BatchListDcDevicesRequest) String() string

type BatchListDcDevicesResponse added in v0.1.32

type BatchListDcDevicesResponse struct {

	// 总记录数
	Count *int64 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	Devices        *[]QueryDcDeviceRespDto `json:"devices,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

BatchListDcDevicesResponse Response Object

func (BatchListDcDevicesResponse) String added in v0.1.32

type BatchListDcDsRequest added in v0.1.32

type BatchListDcDsRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 数据源所属的模块id
	ModuleId *string `json:"module_id,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`
}

BatchListDcDsRequest Request Object

func (BatchListDcDsRequest) String added in v0.1.32

func (o BatchListDcDsRequest) String() string

type BatchListDcDsResponse added in v0.1.32

type BatchListDcDsResponse struct {

	// 总记录数
	Count *int64 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	Datasources    *[]QueryDcDsBriefRespDto `json:"datasources,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

BatchListDcDsResponse Response Object

func (BatchListDcDsResponse) String added in v0.1.32

func (o BatchListDcDsResponse) String() string

type BatchListDcPointsRequest added in v0.1.32

type BatchListDcPointsRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`

	// 采集点位表id,创建点位表时设置,数据源下唯一。
	PointId *string `json:"point_id,omitempty"`

	// 点位名称,允许中、数字、英文大小写、下划线、中划线、#%()*特殊字符.模糊查询
	Name *string `json:"name,omitempty"`

	// 属性,允许中、数字、英文大小写、下划线、中划线,精确查询
	Property *string `json:"property,omitempty"`

	// 设备标识,精确查询
	DeviceId *string `json:"device_id,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`
}

BatchListDcPointsRequest Request Object

func (BatchListDcPointsRequest) String added in v0.1.32

func (o BatchListDcPointsRequest) String() string

type BatchListDcPointsResponse added in v0.1.32

type BatchListDcPointsResponse struct {

	// 总记录数
	Count *int64 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	Points         *[]CreateDcPointRespDto `json:"points,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

BatchListDcPointsResponse Response Object

func (BatchListDcPointsResponse) String added in v0.1.32

func (o BatchListDcPointsResponse) String() string

type BatchListEdgeAppVersionsRequest

type BatchListEdgeAppVersionsRequest struct {

	// 应用版本,应用内版本唯一。
	EdgeAppId string `json:"edge_app_id"`

	// 应用版本搜索关键字
	Version *string `json:"version,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`

	// ai加速卡类型
	AiCardType *BatchListEdgeAppVersionsRequestAiCardType `json:"ai_card_type,omitempty"`

	// 支持架构
	Arch *BatchListEdgeAppVersionsRequestArch `json:"arch,omitempty"`

	// 应用版本状态
	State *BatchListEdgeAppVersionsRequestState `json:"state,omitempty"`
}

BatchListEdgeAppVersionsRequest Request Object

func (BatchListEdgeAppVersionsRequest) String

type BatchListEdgeAppVersionsRequestAiCardType

type BatchListEdgeAppVersionsRequestAiCardType struct {
	// contains filtered or unexported fields
}

func (BatchListEdgeAppVersionsRequestAiCardType) MarshalJSON

func (*BatchListEdgeAppVersionsRequestAiCardType) UnmarshalJSON

func (BatchListEdgeAppVersionsRequestAiCardType) Value added in v0.0.90

type BatchListEdgeAppVersionsRequestArch

type BatchListEdgeAppVersionsRequestArch struct {
	// contains filtered or unexported fields
}

func (BatchListEdgeAppVersionsRequestArch) MarshalJSON

func (c BatchListEdgeAppVersionsRequestArch) MarshalJSON() ([]byte, error)

func (*BatchListEdgeAppVersionsRequestArch) UnmarshalJSON

func (c *BatchListEdgeAppVersionsRequestArch) UnmarshalJSON(b []byte) error

func (BatchListEdgeAppVersionsRequestArch) Value added in v0.0.90

type BatchListEdgeAppVersionsRequestState

type BatchListEdgeAppVersionsRequestState struct {
	// contains filtered or unexported fields
}

func (BatchListEdgeAppVersionsRequestState) MarshalJSON

func (c BatchListEdgeAppVersionsRequestState) MarshalJSON() ([]byte, error)

func (*BatchListEdgeAppVersionsRequestState) UnmarshalJSON

func (c *BatchListEdgeAppVersionsRequestState) UnmarshalJSON(b []byte) error

func (BatchListEdgeAppVersionsRequestState) Value added in v0.0.90

type BatchListEdgeAppVersionsResponse

type BatchListEdgeAppVersionsResponse struct {

	// 总记录数
	Count *int32 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	Versions       *[]QueryEdgeAppVersionBriefResponseDto `json:"versions,omitempty"`
	HttpStatusCode int                                    `json:"-"`
}

BatchListEdgeAppVersionsResponse Response Object

func (BatchListEdgeAppVersionsResponse) String

type BatchListEdgeAppsRequest

type BatchListEdgeAppsRequest struct {

	// 应用ID搜索关键字
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`

	// 应用id搜索关键字
	AppType *BatchListEdgeAppsRequestAppType `json:"app_type,omitempty"`

	// 功能类型
	FunctionType *BatchListEdgeAppsRequestFunctionType `json:"function_type,omitempty"`
}

BatchListEdgeAppsRequest Request Object

func (BatchListEdgeAppsRequest) String

func (o BatchListEdgeAppsRequest) String() string

type BatchListEdgeAppsRequestAppType

type BatchListEdgeAppsRequestAppType struct {
	// contains filtered or unexported fields
}

func (BatchListEdgeAppsRequestAppType) MarshalJSON

func (c BatchListEdgeAppsRequestAppType) MarshalJSON() ([]byte, error)

func (*BatchListEdgeAppsRequestAppType) UnmarshalJSON

func (c *BatchListEdgeAppsRequestAppType) UnmarshalJSON(b []byte) error

func (BatchListEdgeAppsRequestAppType) Value added in v0.0.90

type BatchListEdgeAppsRequestAppTypeEnum

type BatchListEdgeAppsRequestAppTypeEnum struct {
	SYSTEM_REQUIRED BatchListEdgeAppsRequestAppType
	SYSTEM_OPTIONAL BatchListEdgeAppsRequestAppType
	USER            BatchListEdgeAppsRequestAppType
}

func GetBatchListEdgeAppsRequestAppTypeEnum

func GetBatchListEdgeAppsRequestAppTypeEnum() BatchListEdgeAppsRequestAppTypeEnum

type BatchListEdgeAppsRequestFunctionType

type BatchListEdgeAppsRequestFunctionType struct {
	// contains filtered or unexported fields
}

func (BatchListEdgeAppsRequestFunctionType) MarshalJSON

func (c BatchListEdgeAppsRequestFunctionType) MarshalJSON() ([]byte, error)

func (*BatchListEdgeAppsRequestFunctionType) UnmarshalJSON

func (c *BatchListEdgeAppsRequestFunctionType) UnmarshalJSON(b []byte) error

func (BatchListEdgeAppsRequestFunctionType) Value added in v0.0.90

type BatchListEdgeAppsRequestFunctionTypeEnum

type BatchListEdgeAppsRequestFunctionTypeEnum struct {
	DATA_PROCESSING        BatchListEdgeAppsRequestFunctionType
	PROTOCOL_PARSING       BatchListEdgeAppsRequestFunctionType
	ON_PREMISE_INTEGRATION BatchListEdgeAppsRequestFunctionType
	GATEWAY_MANAGER        BatchListEdgeAppsRequestFunctionType
	COMPOSITE_APPLICATION  BatchListEdgeAppsRequestFunctionType
	DATA_COLLECTION        BatchListEdgeAppsRequestFunctionType
}

func GetBatchListEdgeAppsRequestFunctionTypeEnum

func GetBatchListEdgeAppsRequestFunctionTypeEnum() BatchListEdgeAppsRequestFunctionTypeEnum

type BatchListEdgeAppsResponse

type BatchListEdgeAppsResponse struct {

	// 总记录数
	Count *int32 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	EdgeApps       *[]QueryApplicationBriefResponseDto `json:"edge_apps,omitempty"`
	HttpStatusCode int                                 `json:"-"`
}

BatchListEdgeAppsResponse Response Object

func (BatchListEdgeAppsResponse) String

func (o BatchListEdgeAppsResponse) String() string

type BatchListModulesRequest

type BatchListModulesRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`

	// 应用类型
	AppType *BatchListModulesRequestAppType `json:"app_type,omitempty"`

	// 功能类型
	FunctionType *BatchListModulesRequestFunctionType `json:"function_type,omitempty"`
}

BatchListModulesRequest Request Object

func (BatchListModulesRequest) String

func (o BatchListModulesRequest) String() string

type BatchListModulesRequestAppType

type BatchListModulesRequestAppType struct {
	// contains filtered or unexported fields
}

func (BatchListModulesRequestAppType) MarshalJSON

func (c BatchListModulesRequestAppType) MarshalJSON() ([]byte, error)

func (*BatchListModulesRequestAppType) UnmarshalJSON

func (c *BatchListModulesRequestAppType) UnmarshalJSON(b []byte) error

func (BatchListModulesRequestAppType) Value added in v0.0.90

type BatchListModulesRequestAppTypeEnum

type BatchListModulesRequestAppTypeEnum struct {
	SYSTEM_REQUIRED BatchListModulesRequestAppType
	SYSTEM_OPTIONAL BatchListModulesRequestAppType
	USER            BatchListModulesRequestAppType
}

func GetBatchListModulesRequestAppTypeEnum

func GetBatchListModulesRequestAppTypeEnum() BatchListModulesRequestAppTypeEnum

type BatchListModulesRequestFunctionType

type BatchListModulesRequestFunctionType struct {
	// contains filtered or unexported fields
}

func (BatchListModulesRequestFunctionType) MarshalJSON

func (c BatchListModulesRequestFunctionType) MarshalJSON() ([]byte, error)

func (*BatchListModulesRequestFunctionType) UnmarshalJSON

func (c *BatchListModulesRequestFunctionType) UnmarshalJSON(b []byte) error

func (BatchListModulesRequestFunctionType) Value added in v0.0.90

type BatchListModulesRequestFunctionTypeEnum

type BatchListModulesRequestFunctionTypeEnum struct {
	DATA_PROCESSING        BatchListModulesRequestFunctionType
	PROTOCOL_PARSING       BatchListModulesRequestFunctionType
	ON_PREMISE_INTEGRATION BatchListModulesRequestFunctionType
}

func GetBatchListModulesRequestFunctionTypeEnum

func GetBatchListModulesRequestFunctionTypeEnum() BatchListModulesRequestFunctionTypeEnum

type BatchListModulesResponse

type BatchListModulesResponse struct {

	// 总记录数
	Count *int64 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	Modules        *[]EdgeModuleDto `json:"modules,omitempty"`
	HttpStatusCode int              `json:"-"`
}

BatchListModulesResponse Response Object

func (BatchListModulesResponse) String

func (o BatchListModulesResponse) String() string

type BatchListOtTemplatesRequest added in v0.1.37

type BatchListOtTemplatesRequest struct {

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`
}

BatchListOtTemplatesRequest Request Object

func (BatchListOtTemplatesRequest) String added in v0.1.37

type BatchListOtTemplatesResponse added in v0.1.37

type BatchListOtTemplatesResponse struct {

	// 总记录数
	Count *int64 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 每页记录数
	Templates      *[]QueryOtTemplateBriefRespDto `json:"templates,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

BatchListOtTemplatesResponse Response Object

func (BatchListOtTemplatesResponse) String added in v0.1.37

type CertificateLocalPathDto added in v0.1.20

type CertificateLocalPathDto struct {

	// 节点数字证书的本地存储路径。
	CertPath string `json:"cert_path"`

	// 证书私钥的本地存储路径。
	KeyPath string `json:"key_path"`
}

CertificateLocalPathDto 证书文件的本地存储路径

func (CertificateLocalPathDto) String added in v0.1.20

func (o CertificateLocalPathDto) String() string

type ConfirmIaConfigRequestBody

type ConfirmIaConfigRequestBody struct {

	// 配置项ID
	Id string `json:"id"`

	// 版本号
	Version string `json:"version"`
}

func (ConfirmIaConfigRequestBody) String

type ConfirmIaConfigsRequestBody

type ConfirmIaConfigsRequestBody struct {

	// 确认配置项列表
	Configs *[]ConfirmIaConfigRequestBody `json:"configs,omitempty"`
}

func (ConfirmIaConfigsRequestBody) String

type ContainerConfigsDto

type ContainerConfigsDto struct {

	// 开启容器特权模式
	Privileged *bool `json:"privileged,omitempty"`

	// 是否使用主机网络模式
	HostNetwork *bool `json:"host_network,omitempty"`

	// 重启策略,容器执行健康检查后失败后的策略
	RestartPolicy string `json:"restart_policy"`

	// 容器端口映射值
	ContainerPortList *[]ContainerPortDto `json:"container_port_list,omitempty"`
}

func (ContainerConfigsDto) String

func (o ContainerConfigsDto) String() string

type ContainerConfigsReqDto added in v0.0.97

type ContainerConfigsReqDto struct {

	// 容器端口映射值
	ContainerPortList *[]ContainerPortDto `json:"container_port_list,omitempty"`
}

func (ContainerConfigsReqDto) String added in v0.0.97

func (o ContainerConfigsReqDto) String() string

type ContainerConfigsResDto added in v0.0.97

type ContainerConfigsResDto struct {

	// 是否使用主机网络模式
	HostNetwork *bool `json:"host_network,omitempty"`

	// 容器端口映射值
	ContainerPortList *[]ContainerPortDto `json:"container_port_list,omitempty"`
}

func (ContainerConfigsResDto) String added in v0.0.97

func (o ContainerConfigsResDto) String() string

type ContainerPortDto

type ContainerPortDto struct {

	// 构成一堆映射的容器端口
	ContainerPort *int32 `json:"container_port,omitempty"`

	// 构成一对映射的物理机对应网卡端口
	HostPort *int32 `json:"host_port,omitempty"`

	// 对应网卡地址
	HostIp *string `json:"host_ip,omitempty"`
}

func (ContainerPortDto) String

func (o ContainerPortDto) String() string

type ContainerSettingsDto

type ContainerSettingsDto struct {
	Configs *ContainerConfigsDto `json:"configs,omitempty"`

	// 镜像存储地址
	ImageUrl string `json:"image_url"`

	// 环境变量
	Envs *interface{} `json:"envs,omitempty"`

	// 卷配置
	Volumes *[]VolumeDto `json:"volumes,omitempty"`

	// NPU类型, D310:昇腾310推理卡,D910:昇腾910训练卡;D310P:昇腾710或者310P加速卡
	NpuType *ContainerSettingsDtoNpuType `json:"npu_type,omitempty"`

	// NPU算力切分模板,昇腾D310Pro,支持:vir01、vir02、vir02_1c、vir04、vir04_4c_dvpp、vir04_3c、vir04_3c_ndvpp 昇腾D910芯片支持:vir01|vir02|vir04|vir08 可在对应芯片的机器上通过npu-smi info -t template-info命令查询其详细信息
	VnpuTemplate *ContainerSettingsDtoVnpuTemplate `json:"vnpu_template,omitempty"`

	Resources *ResourceDto `json:"resources,omitempty"`

	// 外挂设备配置
	ExtDevices *[]ExtDevice `json:"ext_devices,omitempty"`
}

func (ContainerSettingsDto) String

func (o ContainerSettingsDto) String() string

type ContainerSettingsDtoNpuType added in v0.1.45

type ContainerSettingsDtoNpuType struct {
	// contains filtered or unexported fields
}

func (ContainerSettingsDtoNpuType) MarshalJSON added in v0.1.45

func (c ContainerSettingsDtoNpuType) MarshalJSON() ([]byte, error)

func (*ContainerSettingsDtoNpuType) UnmarshalJSON added in v0.1.45

func (c *ContainerSettingsDtoNpuType) UnmarshalJSON(b []byte) error

func (ContainerSettingsDtoNpuType) Value added in v0.1.45

type ContainerSettingsDtoNpuTypeEnum added in v0.1.45

type ContainerSettingsDtoNpuTypeEnum struct {
	D310   ContainerSettingsDtoNpuType
	D910   ContainerSettingsDtoNpuType
	D310_P ContainerSettingsDtoNpuType
}

func GetContainerSettingsDtoNpuTypeEnum added in v0.1.45

func GetContainerSettingsDtoNpuTypeEnum() ContainerSettingsDtoNpuTypeEnum

type ContainerSettingsDtoVnpuTemplate added in v0.1.45

type ContainerSettingsDtoVnpuTemplate struct {
	// contains filtered or unexported fields
}

func (ContainerSettingsDtoVnpuTemplate) MarshalJSON added in v0.1.45

func (c ContainerSettingsDtoVnpuTemplate) MarshalJSON() ([]byte, error)

func (*ContainerSettingsDtoVnpuTemplate) UnmarshalJSON added in v0.1.45

func (c *ContainerSettingsDtoVnpuTemplate) UnmarshalJSON(b []byte) error

func (ContainerSettingsDtoVnpuTemplate) Value added in v0.1.45

type ContainerSettingsReqDto added in v0.0.97

type ContainerSettingsReqDto struct {
	Configs *ContainerConfigsReqDto `json:"configs,omitempty"`
}

func (ContainerSettingsReqDto) String added in v0.0.97

func (o ContainerSettingsReqDto) String() string

type CreateAppConfigsTemplatesReqDto added in v0.1.56

type CreateAppConfigsTemplatesReqDto struct {

	// 模板id
	TplId string `json:"tpl_id"`

	// 模板名称,允许中、数字、英文大小写、下划线、中划线
	Name string `json:"name"`

	// 描述
	Description string `json:"description"`

	// 配置项元数据
	ConfigTabs *interface{} `json:"config_tabs"`

	// 默认配置数据
	DefaultValues *interface{} `json:"default_values,omitempty"`
}

CreateAppConfigsTemplatesReqDto 创建应用配置模板请求体

func (CreateAppConfigsTemplatesReqDto) String added in v0.1.56

type CreateDcDsReqDto added in v0.1.32

type CreateDcDsReqDto struct {

	// 采集数据源id,节点下唯一
	DsId string `json:"ds_id"`

	// 数据源的连接及采集信息
	Config *interface{} `json:"config"`

	// 采集数据源名称,允许中、数字、英文大小写、下划线、中划线
	Name string `json:"name"`

	// 模块id
	ModuleId string `json:"module_id"`

	// 模板id,节点下唯一
	TplId string `json:"tpl_id"`

	// 质量上报开关,不携带或值不为true,默认为false
	QualityReport *bool `json:"quality_report,omitempty"`
}

CreateDcDsReqDto 创建数据源配置请求结构体

func (CreateDcDsReqDto) String added in v0.1.32

func (o CreateDcDsReqDto) String() string

type CreateDcPointReqDto added in v0.1.32

type CreateDcPointReqDto struct {

	// 点位表id,数据源下唯一
	PointId string `json:"point_id"`

	// 点位名称,允许中、数字、英文大小写、下划线、中划线、#%()*特殊字符
	Name string `json:"name"`

	// 点位数据类型
	DataType *string `json:"data_type,omitempty"`

	// 点位采集配置
	CollectionConfig *interface{} `json:"collection_config"`

	// 设备id
	DeviceId string `json:"device_id"`

	// 属性,允许中、数字、英文大小写、下划线、中划线
	Property string `json:"property"`

	ProcessingConfig *ProcessingConfigDto `json:"processing_config,omitempty"`
}

CreateDcPointReqDto 创建点位表配置请求结构体

func (CreateDcPointReqDto) String added in v0.1.32

func (o CreateDcPointReqDto) String() string

type CreateDcPointRequest added in v0.1.32

type CreateDcPointRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`

	Body *CreateDcPointReqDto `json:"body,omitempty"`
}

CreateDcPointRequest Request Object

func (CreateDcPointRequest) String added in v0.1.32

func (o CreateDcPointRequest) String() string

type CreateDcPointRespDto added in v0.1.32

type CreateDcPointRespDto struct {

	// 点位表id,数据源下唯一
	PointId *string `json:"point_id,omitempty"`

	// 点位名称,允许中、数字、英文大小写、下划线、中划线、#%()*特殊字符
	Name *string `json:"name,omitempty"`

	// 点位采集配置
	CollectionConfig *interface{} `json:"collection_config,omitempty"`

	// 设备id
	DeviceId *string `json:"device_id,omitempty"`

	// 属性,允许中、数字、英文大小写、下划线、中划线
	Property *string `json:"property,omitempty"`

	// 点位数据类型
	DataType *string `json:"data_type,omitempty"`

	// 采集数据源id,节点下唯一
	DsId *string `json:"ds_id,omitempty"`

	ProcessingConfig *ProcessingConfigDto `json:"processing_config,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`
}

CreateDcPointRespDto 创建点位表配置响应结构体

func (CreateDcPointRespDto) String added in v0.1.32

func (o CreateDcPointRespDto) String() string

type CreateDcPointResponse added in v0.1.32

type CreateDcPointResponse struct {

	// 点位表id,数据源下唯一
	PointId *string `json:"point_id,omitempty"`

	// 点位名称,允许中、数字、英文大小写、下划线、中划线、#%()*特殊字符
	Name *string `json:"name,omitempty"`

	// 点位采集配置
	CollectionConfig *interface{} `json:"collection_config,omitempty"`

	// 设备id
	DeviceId *string `json:"device_id,omitempty"`

	// 属性,允许中、数字、英文大小写、下划线、中划线
	Property *string `json:"property,omitempty"`

	// 点位数据类型
	DataType *string `json:"data_type,omitempty"`

	// 采集数据源id,节点下唯一
	DsId *string `json:"ds_id,omitempty"`

	ProcessingConfig *ProcessingConfigDto `json:"processing_config,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDcPointResponse Response Object

func (CreateDcPointResponse) String added in v0.1.32

func (o CreateDcPointResponse) String() string

type CreateDsRequest added in v0.1.32

type CreateDsRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	Body *CreateDcDsReqDto `json:"body,omitempty"`
}

CreateDsRequest Request Object

func (CreateDsRequest) String added in v0.1.32

func (o CreateDsRequest) String() string

type CreateDsResponse added in v0.1.32

type CreateDsResponse struct {

	// 采集数据源id,节点下唯一
	DsId *string `json:"ds_id,omitempty"`

	// 数据源的连接及采集信息
	Config *interface{} `json:"config,omitempty"`

	// 采集数据源名称,允许中、数字、英文大小写、下划线、中划线
	Name *string `json:"name,omitempty"`

	// 边缘节点id
	EdgeNodeId *string `json:"edge_node_id,omitempty"`

	// 模块id
	ModuleId *string `json:"module_id,omitempty"`

	// 模板id,节点下唯一
	TplId *string `json:"tpl_id,omitempty"`

	// 质量上报开关,不携带或值不为true,默认为false
	QualityReport *bool `json:"quality_report,omitempty"`

	// 应用ID
	EdgeAppName *string `json:"edge_app_name,omitempty"`

	// 数采连接信息
	ConnectionInfo *interface{} `json:"connection_info,omitempty"`

	// 数采连接状态,stopped|running
	ModuleState *string `json:"module_state,omitempty"`

	// 数采连接下点位数
	Count *int64 `json:"count,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 数采配置是否已同步,已同步:true,未同步:false
	Synchronized *bool `json:"synchronized,omitempty"`

	// 数采配置同步时间
	SynchronizedTime *string `json:"synchronized_time,omitempty"`
	HttpStatusCode   int     `json:"-"`
}

CreateDsResponse Response Object

func (CreateDsResponse) String added in v0.1.32

func (o CreateDsResponse) String() string

type CreateEdgeAppRequest

type CreateEdgeAppRequest struct {
	Body *CreateEdgeApplicationRequestDto `json:"body,omitempty"`
}

CreateEdgeAppRequest Request Object

func (CreateEdgeAppRequest) String

func (o CreateEdgeAppRequest) String() string

type CreateEdgeAppResponse

type CreateEdgeAppResponse struct {

	// 应用id
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 最新发布版本
	LastPublishedVersion *string `json:"last_published_version,omitempty"`

	// 应用类型SYSTEM_REQUIRED|SYSTEM_OPTIONAL|USER
	AppType *string `json:"app_type,omitempty"`

	// 应用类型DATA_PROCESSING|PROTOCOL_PARSING
	FunctionType *string `json:"function_type,omitempty"`

	// 部署类型docker|process
	DeployType *string `json:"deploy_type,omitempty"`

	// 驱动协议类型OPCUA|Modbus-TCP
	Protocol *string `json:"protocol,omitempty"`

	// 应用名称
	EdgeAppName    *string `json:"edge_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEdgeAppResponse Response Object

func (CreateEdgeAppResponse) String

func (o CreateEdgeAppResponse) String() string

type CreateEdgeApplicationRequestDto

type CreateEdgeApplicationRequestDto struct {

	// 应用ID
	EdgeAppId string `json:"edge_app_id"`

	// 应用名称
	EdgeAppName *string `json:"edge_app_name,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 功能类型,分为数据处理(DATA_PROCESSING)、协议解析(PROTOCOL_PARSING)、IT集成(ON_PREMISE_INTEGRATION)和混合应用(COMPOSITE_APPLICATION),数据默认为DATA_PROCESSING,数据处理模块可以传输消息,协议解析为驱动类型,IT集成为部署南向3rdIA使用,混合应用可同时实现数据处理和协议解析。
	FunctionType *CreateEdgeApplicationRequestDtoFunctionType `json:"function_type,omitempty"`

	// 驱动协议类型OPCUA|Modbus-TCP
	Protocol *string `json:"protocol,omitempty"`
}

func (CreateEdgeApplicationRequestDto) String

type CreateEdgeApplicationRequestDtoFunctionType

type CreateEdgeApplicationRequestDtoFunctionType struct {
	// contains filtered or unexported fields
}

func (CreateEdgeApplicationRequestDtoFunctionType) MarshalJSON

func (*CreateEdgeApplicationRequestDtoFunctionType) UnmarshalJSON

func (CreateEdgeApplicationRequestDtoFunctionType) Value added in v0.0.90

type CreateEdgeApplicationVersionDto

type CreateEdgeApplicationVersionDto struct {

	// 应用版本
	Version string `json:"version"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 应用集成的边缘SDK版本
	SdkVersion *string `json:"sdk_version,omitempty"`

	// 应用部署类型,分为docker容器部署类型和process进程部署类型,兼容之前数据,此字段可以为空,为空情况为docker类型
	DeployType *CreateEdgeApplicationVersionDtoDeployType `json:"deploy_type,omitempty"`

	// 是否允许部署多实例
	DeployMultiInstance *bool `json:"deploy_multi_instance,omitempty"`

	ContainerSettings *ContainerSettingsDto `json:"container_settings"`

	LivenessProbe *ProbeDto `json:"liveness_probe,omitempty"`

	ReadinessProbe *ProbeDto `json:"readiness_probe,omitempty"`

	// 架构
	Arch *interface{} `json:"arch"`

	// 启动命令
	Command *interface{} `json:"command,omitempty"`

	// 启动参数
	Args *interface{} `json:"args,omitempty"`

	// 应用输出路由端点
	Outputs *interface{} `json:"outputs,omitempty"`

	// 应用输入路由
	Inputs *interface{} `json:"inputs,omitempty"`

	// 应用实现的服务列表
	Services *interface{} `json:"services,omitempty"`

	// 驱动厂商
	Supplier *string `json:"supplier,omitempty"`

	// 模板id
	TplId *string `json:"tpl_id,omitempty"`
}

func (CreateEdgeApplicationVersionDto) String

type CreateEdgeApplicationVersionDtoDeployType

type CreateEdgeApplicationVersionDtoDeployType struct {
	// contains filtered or unexported fields
}

func (CreateEdgeApplicationVersionDtoDeployType) MarshalJSON

func (*CreateEdgeApplicationVersionDtoDeployType) UnmarshalJSON

func (CreateEdgeApplicationVersionDtoDeployType) Value added in v0.0.90

type CreateEdgeApplicationVersionDtoDeployTypeEnum

type CreateEdgeApplicationVersionDtoDeployTypeEnum struct {
	DOCKER  CreateEdgeApplicationVersionDtoDeployType
	PROCESS CreateEdgeApplicationVersionDtoDeployType
}

func GetCreateEdgeApplicationVersionDtoDeployTypeEnum

func GetCreateEdgeApplicationVersionDtoDeployTypeEnum() CreateEdgeApplicationVersionDtoDeployTypeEnum

type CreateEdgeApplicationVersionRequest

type CreateEdgeApplicationVersionRequest struct {

	// 应用ID,应用唯一。
	EdgeAppId string `json:"edge_app_id"`

	Body *CreateEdgeApplicationVersionDto `json:"body,omitempty"`
}

CreateEdgeApplicationVersionRequest Request Object

func (CreateEdgeApplicationVersionRequest) String

type CreateEdgeApplicationVersionResponse

type CreateEdgeApplicationVersionResponse struct {

	// 应用ID
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用名称
	Name *string `json:"name,omitempty"`

	// 部署类型docker|process
	DeployType *string `json:"deploy_type,omitempty"`

	// 是否允许部署多实例
	DeployMultiInstance *bool `json:"deploy_multi_instance,omitempty"`

	// 应用版本
	Version *string `json:"version,omitempty"`

	// 应用集成的边缘SDK版本
	SdkVersion *string `json:"sdk_version,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 应用版本状态
	State *CreateEdgeApplicationVersionResponseState `json:"state,omitempty"`

	LivenessProbe *ProbeDto `json:"liveness_probe,omitempty"`

	ReadinessProbe *ProbeDto `json:"readiness_probe,omitempty"`

	// 架构
	Arch *[]string `json:"arch,omitempty"`

	// 启动命令
	Command *[]string `json:"command,omitempty"`

	// 启动参数
	Args *[]string `json:"args,omitempty"`

	ContainerSettings *ContainerSettingsDto `json:"container_settings,omitempty"`

	// 应用输出路由端点
	Outputs *[]string `json:"outputs,omitempty"`

	// 应用输入路由
	Inputs *[]string `json:"inputs,omitempty"`

	// 应用实现的服务列表
	Services *[]string `json:"services,omitempty"`

	// 发布时间
	PublishTime *string `json:"publish_time,omitempty"`

	// 下线时间
	OffShelfTime *string `json:"off_shelf_time,omitempty"`

	// 驱动厂商
	Supplier *string `json:"supplier,omitempty"`

	// 模板id
	TplId          *string `json:"tpl_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEdgeApplicationVersionResponse Response Object

func (CreateEdgeApplicationVersionResponse) String

type CreateEdgeApplicationVersionResponseState

type CreateEdgeApplicationVersionResponseState struct {
	// contains filtered or unexported fields
}

func (CreateEdgeApplicationVersionResponseState) MarshalJSON

func (*CreateEdgeApplicationVersionResponseState) UnmarshalJSON

func (CreateEdgeApplicationVersionResponseState) Value added in v0.0.90

type CreateEdgeModuleReqDto

type CreateEdgeModuleReqDto struct {

	// 边缘应用名称
	EdgeAppId string `json:"edge_app_id"`

	// 边缘应用版本
	AppVersion string `json:"app_version"`

	// 边缘模块名称
	ModuleName *string `json:"module_name,omitempty"`

	ContainerSettings *ContainerSettingsReqDto `json:"container_settings,omitempty"`
}

CreateEdgeModuleReqDto 创建边缘模块请求结构体

func (CreateEdgeModuleReqDto) String

func (o CreateEdgeModuleReqDto) String() string

type CreateEdgeNodeRequest

type CreateEdgeNodeRequest struct {
	Body *EdgeNodeCreation `json:"body,omitempty"`
}

CreateEdgeNodeRequest Request Object

func (CreateEdgeNodeRequest) String

func (o CreateEdgeNodeRequest) String() string

type CreateEdgeNodeResponse

type CreateEdgeNodeResponse struct {

	// 边缘节点ID
	EdgeNodeId *string `json:"edge_node_id,omitempty"`

	// 边缘节点名称
	Name *string `json:"name,omitempty"`

	// 实例ID。物理多租下各实例的唯一标识,一般华为云租户无需携带该参数,仅在物理多租场景下从管理面访问API时需要携带该参数。
	InstanceId *string `json:"instance_id,omitempty"`

	// 资源空间id,对应IOTDA云服务接口参数中的app_id。
	SpaceId *string `json:"space_id,omitempty"`

	// 边缘节点关联的产品ID,用于唯一标识一个产品模型。
	ProductId *string `json:"product_id,omitempty"`

	// 边缘节点关联的产品名称。
	ProductName *string `json:"product_name,omitempty"`

	// 边缘节点状态UNINSTALLED|INSTALLED|OFFLINE|ONLINE|DELETING|FROZEN
	State *string `json:"state,omitempty"`

	// 节点所属资源类型:advanced|standard
	Type *string `json:"type,omitempty"`

	// 安装文件版本
	InstallerVersion *string `json:"installer_version,omitempty"`

	BasePath *BasePathDto `json:"base_path,omitempty"`

	// 资源id列表,创建节点时需绑定已购买的资源包,可以叠加节点功能。
	ResourceIds *[]string `json:"resource_ids,omitempty"`

	// 边缘节点ip列表
	Ips *[]string `json:"ips,omitempty"`

	// 边缘节点创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 注册节点网关配置
	HardwareModel *string `json:"hardware_model,omitempty"`

	// 节点使用的数据格式,默认为iotda物模型1.0格式,可以选择属性平铺数据格式flat_json
	DeviceDataFormat *string `json:"device_data_format,omitempty"`

	// 自动升级系统应用的节点开关,默认为关闭:OFF,IMMEDIATE表示节点开关打开
	AutomaticUpgrade *string `json:"automatic_upgrade,omitempty"`

	DeviceDataRecord *DeviceDataRecord `json:"device_data_record,omitempty"`

	// omagent监控运维工具是否上报指标
	MetricReport   *string `json:"metric_report,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEdgeNodeResponse Response Object

func (CreateEdgeNodeResponse) String

func (o CreateEdgeNodeResponse) String() string

type CreateExternalEntityReqDto

type CreateExternalEntityReqDto struct {

	// 外部实体Id,节点下唯一
	ExternalId string `json:"external_id"`

	// 连接外部实体的协议类型
	Protocol string `json:"protocol"`

	// 连接类型
	ConnectionType string `json:"connection_type"`

	MqttConnectionInfo *MqttConnectionInfo `json:"mqtt_connection_info,omitempty"`

	// 资源空间ID。此参数为非必选参数,存在多资源空间的用户需要使用该接口时,建议携带该参数指定创建的外部实体归属到IoDA哪个资源空间下的边缘节点设备下,否则创建的外部实体将会归属到默认资源空间下对应的边缘节点下,对应于IoDA的app_id.
	SpaceId *string `json:"space_id,omitempty"`
}

CreateExternalEntityReqDto 创建外部实体请求结构体

func (CreateExternalEntityReqDto) String

type CreateExternalEntityRequest

type CreateExternalEntityRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	Body *CreateExternalEntityReqDto `json:"body,omitempty"`
}

CreateExternalEntityRequest Request Object

func (CreateExternalEntityRequest) String

type CreateExternalEntityResponse

type CreateExternalEntityResponse struct {

	// 节点ID
	NodeId *string `json:"node_id,omitempty"`

	// 资源空间ID。此参数为非必选参数,存在多资源空间的用户需要使用该接口时,建议携带该参数指定创建的外部实体归属到IoDA哪个资源空间下的边缘节点设备下,否则创建的外部实体将会归属到默认资源空间下对应的边缘节点下,对应于IoDA的app_id.
	SpaceId *string `json:"space_id,omitempty"`

	// 外部实体ID
	ExternalId *string `json:"external_id,omitempty"`

	// 接入协议类型
	Protocol *string `json:"protocol,omitempty"`

	// 连接类型(client和server)
	ConnectionType *string `json:"connection_type,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后修改时间
	LastModifyTime *string `json:"last_modify_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateExternalEntityResponse Response Object

func (CreateExternalEntityResponse) String

type CreateInstallCmdRequest

type CreateInstallCmdRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 节点架构
	Arch string `json:"arch"`

	Body *CreateInstallCmdRequestDto `json:"body,omitempty"`
}

CreateInstallCmdRequest Request Object

func (CreateInstallCmdRequest) String

func (o CreateInstallCmdRequest) String() string

type CreateInstallCmdRequestDto added in v0.0.97

type CreateInstallCmdRequestDto struct {

	// 安装命令执行的主机标签DEFAULT|MASTER|SLAVE
	HostTag *string `json:"host_tag,omitempty"`
}

CreateInstallCmdRequestDto 标准版节点获取安装命令请求体

func (CreateInstallCmdRequestDto) String added in v0.0.97

type CreateInstallCmdResponse

type CreateInstallCmdResponse struct {

	// 标准版节点安装/升级命令
	Cmd            *string `json:"cmd,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateInstallCmdResponse Response Object

func (CreateInstallCmdResponse) String

func (o CreateInstallCmdResponse) String() string

type CreateModuleRequest

type CreateModuleRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	Body *CreateEdgeModuleReqDto `json:"body,omitempty"`
}

CreateModuleRequest Request Object

func (CreateModuleRequest) String

func (o CreateModuleRequest) String() string

type CreateModuleResponse

type CreateModuleResponse struct {

	// 应用ID
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用版本
	AppVersion *string `json:"app_version,omitempty"`

	// 模块运行状态
	State *CreateModuleResponseState `json:"state,omitempty"`

	// 模块管控状态
	ControlStatus *string `json:"control_status,omitempty"`

	// 边缘节点(同deviceID)ID
	NodeId *string `json:"node_id,omitempty"`

	// 模块名称
	ModuleName *string `json:"module_name,omitempty"`

	// 模块ID
	ModuleId *string `json:"module_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 应用类型
	AppType *CreateModuleResponseAppType `json:"app_type,omitempty"`

	// 功能类型
	FunctionType *CreateModuleResponseFunctionType `json:"function_type,omitempty"`

	ContainerSettings *ModuleContainerSettingsResDto `json:"container_settings,omitempty"`
	HttpStatusCode    int                            `json:"-"`
}

CreateModuleResponse Response Object

func (CreateModuleResponse) String

func (o CreateModuleResponse) String() string

type CreateModuleResponseAppType

type CreateModuleResponseAppType struct {
	// contains filtered or unexported fields
}

func (CreateModuleResponseAppType) MarshalJSON

func (c CreateModuleResponseAppType) MarshalJSON() ([]byte, error)

func (*CreateModuleResponseAppType) UnmarshalJSON

func (c *CreateModuleResponseAppType) UnmarshalJSON(b []byte) error

func (CreateModuleResponseAppType) Value added in v0.0.90

type CreateModuleResponseAppTypeEnum

type CreateModuleResponseAppTypeEnum struct {
	SYSTEM_REQUIRED CreateModuleResponseAppType
	SYSTEM_OPTIONAL CreateModuleResponseAppType
	USER            CreateModuleResponseAppType
}

func GetCreateModuleResponseAppTypeEnum

func GetCreateModuleResponseAppTypeEnum() CreateModuleResponseAppTypeEnum

type CreateModuleResponseFunctionType

type CreateModuleResponseFunctionType struct {
	// contains filtered or unexported fields
}

func (CreateModuleResponseFunctionType) MarshalJSON

func (c CreateModuleResponseFunctionType) MarshalJSON() ([]byte, error)

func (*CreateModuleResponseFunctionType) UnmarshalJSON

func (c *CreateModuleResponseFunctionType) UnmarshalJSON(b []byte) error

func (CreateModuleResponseFunctionType) Value added in v0.0.90

type CreateModuleResponseFunctionTypeEnum

type CreateModuleResponseFunctionTypeEnum struct {
	DATA_PROCESSING        CreateModuleResponseFunctionType
	PROTOCOL_PARSING       CreateModuleResponseFunctionType
	ON_PREMISE_INTEGRATION CreateModuleResponseFunctionType
	GATEWAY_MANAGER        CreateModuleResponseFunctionType
	COMPOSITE_APPLICATION  CreateModuleResponseFunctionType
	DATA_COLLECTION        CreateModuleResponseFunctionType
}

func GetCreateModuleResponseFunctionTypeEnum

func GetCreateModuleResponseFunctionTypeEnum() CreateModuleResponseFunctionTypeEnum

type CreateModuleResponseState

type CreateModuleResponseState struct {
	// contains filtered or unexported fields
}

func (CreateModuleResponseState) MarshalJSON

func (c CreateModuleResponseState) MarshalJSON() ([]byte, error)

func (*CreateModuleResponseState) UnmarshalJSON

func (c *CreateModuleResponseState) UnmarshalJSON(b []byte) error

func (CreateModuleResponseState) Value added in v0.0.90

type CreateOtTemplatesReqDto added in v0.1.37

type CreateOtTemplatesReqDto struct {

	// 模板id
	TplId string `json:"tpl_id"`

	// 模板名称,允许中、数字、英文大小写、下划线、中划线
	Name string `json:"name"`

	// 描述
	Description string `json:"description"`

	// 数据源元数据
	DatasourceMeta *interface{} `json:"datasource_meta"`

	// 点位表元数据
	PointMeta *interface{} `json:"point_meta"`
}

CreateOtTemplatesReqDto 创建OT数采模板请求体

func (CreateOtTemplatesReqDto) String added in v0.1.37

func (o CreateOtTemplatesReqDto) String() string

type CreateRouterReqDto

type CreateRouterReqDto struct {

	// 路由ID,节点下唯一
	RouteId string `json:"route_id"`

	// sql參數
	Sql string `json:"sql"`
}

CreateRouterReqDto 创建路由请求结构体

func (CreateRouterReqDto) String

func (o CreateRouterReqDto) String() string

type CreateScheduleReqDto added in v0.1.59

type CreateScheduleReqDto struct {

	// 调度计划id,租户下唯一,选填如不填则随机生成
	ScheduleId *string `json:"schedule_id,omitempty"`

	// 调度计划名称
	Name string `json:"name"`

	// 调度计划的循环类型,once表示在start_time执行,end_time结束;daliy表示start_time-end_time之间每天都执行
	CycleType string `json:"cycle_type"`

	// 调度计划是否生效
	Enabled bool `json:"enabled"`

	// 调度计划起始时间,毫秒级别的时间戳,可选值,不填表示立即执行
	StartTime *int64 `json:"start_time,omitempty"`

	// 调度计划结束时间,毫秒级别的时间戳
	EndTime int64 `json:"end_time"`

	// 调度计划优先级。
	Priority int32 `json:"priority"`

	Daily *DailyDto `json:"daily,omitempty"`

	// 调度任务信息
	Tasks []ScheduleTask `json:"tasks"`
}

CreateScheduleReqDto 创建调度计划请求结构体

func (CreateScheduleReqDto) String added in v0.1.59

func (o CreateScheduleReqDto) String() string

type CreateScheduleRequest added in v0.1.59

type CreateScheduleRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	Body *CreateScheduleReqDto `json:"body,omitempty"`
}

CreateScheduleRequest Request Object

func (CreateScheduleRequest) String added in v0.1.59

func (o CreateScheduleRequest) String() string

type CreateScheduleResponse added in v0.1.59

type CreateScheduleResponse struct {

	// 调度计划id,租户下唯一
	ScheduleId *string `json:"schedule_id,omitempty"`

	// 节点id
	NodeId *string `json:"node_id,omitempty"`

	// 调度计划名称
	Name *string `json:"name,omitempty"`

	// 调度计划的循环类型
	CycleType *string `json:"cycle_type,omitempty"`

	// 调度计划是否生效
	Enabled *bool `json:"enabled,omitempty"`

	// 调度计划起始时间,毫秒级别的时间戳
	StartTime *int64 `json:"start_time,omitempty"`

	// 调度计划结束时间,毫秒级别的时间戳
	EndTime *int64 `json:"end_time,omitempty"`

	// 调度计划优先级, 1-16
	Priority *int32 `json:"priority,omitempty"`

	Daily *DailyDto `json:"daily,omitempty"`

	// 调度任务信息
	Tasks          *[]ScheduleTask `json:"tasks,omitempty"`
	HttpStatusCode int             `json:"-"`
}

CreateScheduleResponse Response Object

func (CreateScheduleResponse) String added in v0.1.59

func (o CreateScheduleResponse) String() string

type DailyDto added in v0.1.59

type DailyDto struct {
	ExceptionalDates *ExceptionalDates `json:"exceptional_dates,omitempty"`

	// 时间段描述
	TimeSpans []TimeSpans `json:"time_spans"`

	// 描述此任务有效的星期几,为数组。如果为null,则表示start_time-endtime之间,每天都执行;如果为空数组,则表示start_time-endtime之间,每天都不执行;如果为[1, 2],则表示每周一、二执行。
	Weekdays *interface{} `json:"weekdays,omitempty"`
}

DailyDto 每天的时间描述结构体

func (DailyDto) String added in v0.1.59

func (o DailyDto) String() string

type DeleteAppConfigsTemplateRequest added in v0.1.56

type DeleteAppConfigsTemplateRequest struct {

	// 模板id,节点下唯一。
	TplId string `json:"tpl_id"`
}

DeleteAppConfigsTemplateRequest Request Object

func (DeleteAppConfigsTemplateRequest) String added in v0.1.56

type DeleteAppConfigsTemplateResponse added in v0.1.56

type DeleteAppConfigsTemplateResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteAppConfigsTemplateResponse Response Object

func (DeleteAppConfigsTemplateResponse) String added in v0.1.56

type DeleteDcDsRequest added in v0.1.32

type DeleteDcDsRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`
}

DeleteDcDsRequest Request Object

func (DeleteDcDsRequest) String added in v0.1.32

func (o DeleteDcDsRequest) String() string

type DeleteDcDsResponse added in v0.1.32

type DeleteDcDsResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteDcDsResponse Response Object

func (DeleteDcDsResponse) String added in v0.1.32

func (o DeleteDcDsResponse) String() string

type DeleteDcPointRequest added in v0.1.32

type DeleteDcPointRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`

	// 采集点位表id,创建点位表时设置,数据源下唯一。
	PointId string `json:"point_id"`

	// 设备id
	DeviceId *string `json:"device_id,omitempty"`

	// 设备服务属性,允许中、数字、英文大小写、下划线、中划线
	Property *string `json:"property,omitempty"`
}

DeleteDcPointRequest Request Object

func (DeleteDcPointRequest) String added in v0.1.32

func (o DeleteDcPointRequest) String() string

type DeleteDcPointResponse added in v0.1.32

type DeleteDcPointResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteDcPointResponse Response Object

func (DeleteDcPointResponse) String added in v0.1.32

func (o DeleteDcPointResponse) String() string

type DeleteDeviceRequest

type DeleteDeviceRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 设备ID
	DeviceId string `json:"device_id"`
}

DeleteDeviceRequest Request Object

func (DeleteDeviceRequest) String

func (o DeleteDeviceRequest) String() string

type DeleteDeviceResponse

type DeleteDeviceResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteDeviceResponse Response Object

func (DeleteDeviceResponse) String

func (o DeleteDeviceResponse) String() string

type DeleteEdgeAppRequest

type DeleteEdgeAppRequest struct {

	// 应用ID,应用唯一。
	EdgeAppId string `json:"edge_app_id"`
}

DeleteEdgeAppRequest Request Object

func (DeleteEdgeAppRequest) String

func (o DeleteEdgeAppRequest) String() string

type DeleteEdgeAppResponse

type DeleteEdgeAppResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteEdgeAppResponse Response Object

func (DeleteEdgeAppResponse) String

func (o DeleteEdgeAppResponse) String() string

type DeleteEdgeApplicationVersionRequest

type DeleteEdgeApplicationVersionRequest struct {

	// 应用版本,应用内版本唯一。
	EdgeAppId string `json:"edge_app_id"`

	// 应用版本ID,应用版本唯一。
	Version string `json:"version"`
}

DeleteEdgeApplicationVersionRequest Request Object

func (DeleteEdgeApplicationVersionRequest) String

type DeleteEdgeApplicationVersionResponse

type DeleteEdgeApplicationVersionResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteEdgeApplicationVersionResponse Response Object

func (DeleteEdgeApplicationVersionResponse) String

type DeleteEdgeNodeRequest

type DeleteEdgeNodeRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 是否同时删除外部节点(仅对高级版有效),默认为false不删除IEF侧的边缘节点
	DeleteExternalNode *bool `json:"delete_external_node,omitempty"`
}

DeleteEdgeNodeRequest Request Object

func (DeleteEdgeNodeRequest) String

func (o DeleteEdgeNodeRequest) String() string

type DeleteEdgeNodeResponse

type DeleteEdgeNodeResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteEdgeNodeResponse Response Object

func (DeleteEdgeNodeResponse) String

func (o DeleteEdgeNodeResponse) String() string

type DeleteExternalEntityRequest

type DeleteExternalEntityRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 外部实体ID
	ExternalId string `json:"external_id"`
}

DeleteExternalEntityRequest Request Object

func (DeleteExternalEntityRequest) String

type DeleteExternalEntityResponse

type DeleteExternalEntityResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteExternalEntityResponse Response Object

func (DeleteExternalEntityResponse) String

type DeleteIaConfigRequest

type DeleteIaConfigRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 边侧第三方应用的模块ID
	IaId string `json:"ia_id"`

	// 配置ID
	ConfigId string `json:"config_id"`
}

DeleteIaConfigRequest Request Object

func (DeleteIaConfigRequest) String

func (o DeleteIaConfigRequest) String() string

type DeleteIaConfigResponse

type DeleteIaConfigResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteIaConfigResponse Response Object

func (DeleteIaConfigResponse) String

func (o DeleteIaConfigResponse) String() string

type DeleteModuleRequest

type DeleteModuleRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 边缘模块ID
	ModuleId string `json:"module_id"`
}

DeleteModuleRequest Request Object

func (DeleteModuleRequest) String

func (o DeleteModuleRequest) String() string

type DeleteModuleResponse

type DeleteModuleResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteModuleResponse Response Object

func (DeleteModuleResponse) String

func (o DeleteModuleResponse) String() string

type DeleteNaRequest

type DeleteNaRequest struct {

	// 北向数据接收端点ID
	NaId string `json:"na_id"`
}

DeleteNaRequest Request Object

func (DeleteNaRequest) String

func (o DeleteNaRequest) String() string

type DeleteNaResponse

type DeleteNaResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteNaResponse Response Object

func (DeleteNaResponse) String

func (o DeleteNaResponse) String() string

type DeleteOtTemplateRequest added in v0.1.37

type DeleteOtTemplateRequest struct {

	// 模板id,节点下唯一。
	TplId string `json:"tpl_id"`
}

DeleteOtTemplateRequest Request Object

func (DeleteOtTemplateRequest) String added in v0.1.37

func (o DeleteOtTemplateRequest) String() string

type DeleteOtTemplateResponse added in v0.1.37

type DeleteOtTemplateResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteOtTemplateResponse Response Object

func (DeleteOtTemplateResponse) String added in v0.1.37

func (o DeleteOtTemplateResponse) String() string

type DeleteScheduleRequest added in v0.1.59

type DeleteScheduleRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 调度计划id
	ScheduleId string `json:"schedule_id"`
}

DeleteScheduleRequest Request Object

func (DeleteScheduleRequest) String added in v0.1.59

func (o DeleteScheduleRequest) String() string

type DeleteScheduleResponse added in v0.1.59

type DeleteScheduleResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteScheduleResponse Response Object

func (DeleteScheduleResponse) String added in v0.1.59

func (o DeleteScheduleResponse) String() string

type DeviceAuthInfoDisplayDto added in v0.1.20

type DeviceAuthInfoDisplayDto struct {

	// 边缘节点认证方式。
	AuthType string `json:"auth_type"`

	LocalPath *CertificateLocalPathDto `json:"local_path,omitempty"`
}

DeviceAuthInfoDisplayDto 边缘节点认证方式信息。

func (DeviceAuthInfoDisplayDto) String added in v0.1.20

func (o DeviceAuthInfoDisplayDto) String() string

type DeviceAuthInfoDto added in v0.1.20

type DeviceAuthInfoDto struct {

	// 边缘节点认证方式,不填默认为密钥认证接入方式(SECRET)。
	AuthType string `json:"auth_type"`

	// 证书指纹,认证类型使用证书认证接入(CERTIFICATES)需填写该字段。
	Fingerprint *string `json:"fingerprint,omitempty"`

	LocalPath *CertificateLocalPathDto `json:"local_path,omitempty"`
}

DeviceAuthInfoDto 边缘节点设备认证方式信息。

func (DeviceAuthInfoDto) String added in v0.1.20

func (o DeviceAuthInfoDto) String() string

type DeviceControlReleaseReqDto added in v0.1.59

type DeviceControlReleaseReqDto struct {

	// 控制id
	ControlId string `json:"control_id"`

	// 服务id,可选
	ServiceId *string `json:"service_id,omitempty"`

	// 调度计划优先级。
	Priority int32 `json:"priority"`

	// 控制释放的属性数组
	Properties []string `json:"properties"`
}

DeviceControlReleaseReqDto 设备控制设置请求结构体

func (DeviceControlReleaseReqDto) String added in v0.1.59

type DeviceControlSetReqDto added in v0.1.59

type DeviceControlSetReqDto struct {

	// 控制id
	ControlId string `json:"control_id"`

	// 服务id,可选
	ServiceId *string `json:"service_id,omitempty"`

	// 调度计划优先级。
	Priority int32 `json:"priority"`

	// 控制结束时间,毫秒级时间戳
	EndTime *int64 `json:"end_time,omitempty"`

	// 属性key和value的map,用于设置属性的值
	Properties *interface{} `json:"properties"`
}

DeviceControlSetReqDto 设备控制设置请求结构体

func (DeviceControlSetReqDto) String added in v0.1.59

func (o DeviceControlSetReqDto) String() string

type DeviceDataRecord added in v0.1.45

type DeviceDataRecord struct {

	// 磁盘配额,单位MB,参考值,只能保证在这个值左右
	DiskQuota int32 `json:"disk_quota"`

	// 老化时间,日志压缩文件名时间戳老于这个时间就会发生老化删除
	Age int32 `json:"age"`

	// 配置开关,true启用数据打印,false不启用数据打印
	State string `json:"state"`
}

DeviceDataRecord 设备上报数据打印开关

func (DeviceDataRecord) String added in v0.1.45

func (o DeviceDataRecord) String() string

type EdgeAppInstanceDto

type EdgeAppInstanceDto struct {

	// 边缘应用id,只允许数字、英文小写、中划线,切必须以字母或数字结尾
	EdgeAppId string `json:"edge_app_id"`

	// 边缘应用版本,只允许数字、英文小写、中划线,切必须以字母或数字结尾
	AppVersion *string `json:"app_version,omitempty"`
}

func (EdgeAppInstanceDto) String

func (o EdgeAppInstanceDto) String() string

type EdgeDeviceAuthInfo

type EdgeDeviceAuthInfo struct {

	// 鉴权类型。支持密钥认证接入(SECRET)和证书认证接入(CERTIFICATES)两种方式。使用密钥认证接入方式(SECRET)填写secret字段,使用证书认证接入方式(CERTIFICATES)填写fingerprint字段,不填写auth_type默认为密钥认证接入方式(SECRET)
	AuthType *string `json:"auth_type,omitempty"`

	// 设备密钥,认证类型使用密钥认证接入(SECRET)可填写该字段。注意:NB设备密钥由于协议特殊性,只支持十六进制密钥接入;修改设备、查询设备及查询设备列表接口不返回该参数。
	Secret *string `json:"secret,omitempty"`

	// 证书指纹,认证类型使用证书认证接入(CERTIFICATES)可填写该字段,注册设备时不填写该字段则取第一次设备接入时的证书指纹。注意:指纹只能为40位十六进制字符串或者64位十六进制字符串;修改设备、查询设备及查询设备列表接口不返回该参数。
	Fingerprint *string `json:"fingerprint,omitempty"`

	// 指设备是否通过安全协议方式接入,默认值为true。 - true:通过安全协议方式接入。 - false:通过非安全协议方式接入。
	SecureAccess *bool `json:"secure_access,omitempty"`

	// 设备验证码的有效时间,单位:秒,默认值:0 若设备在有效时间内未接入物联网平台并激活,则平台会删除该设备的注册信息。若设置为“0”,则表示设备验证码不会失效(建议填写为“0”)。注意:只有注册设备接口或者修改设备接口修改timeout时返回该参数。
	Timeout *int32 `json:"timeout,omitempty"`
}

EdgeDeviceAuthInfo 设备接入类型(已废弃)

func (EdgeDeviceAuthInfo) String

func (o EdgeDeviceAuthInfo) String() string

type EdgeModuleDto added in v0.0.97

type EdgeModuleDto struct {

	// 应用ID
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用版本
	AppVersion *string `json:"app_version,omitempty"`

	// 模块运行状态
	State *EdgeModuleDtoState `json:"state,omitempty"`

	// 模块管控状态
	ControlStatus *string `json:"control_status,omitempty"`

	// 边缘节点(同deviceID)ID
	NodeId *string `json:"node_id,omitempty"`

	// 模块名称
	ModuleName *string `json:"module_name,omitempty"`

	// 模块ID
	ModuleId *string `json:"module_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 应用类型
	AppType *EdgeModuleDtoAppType `json:"app_type,omitempty"`

	// 功能类型
	FunctionType *EdgeModuleDtoFunctionType `json:"function_type,omitempty"`
}

EdgeModuleDto 查询模块列表模块相关信息

func (EdgeModuleDto) String added in v0.0.97

func (o EdgeModuleDto) String() string

type EdgeModuleDtoAppType added in v0.0.97

type EdgeModuleDtoAppType struct {
	// contains filtered or unexported fields
}

func (EdgeModuleDtoAppType) MarshalJSON added in v0.0.97

func (c EdgeModuleDtoAppType) MarshalJSON() ([]byte, error)

func (*EdgeModuleDtoAppType) UnmarshalJSON added in v0.0.97

func (c *EdgeModuleDtoAppType) UnmarshalJSON(b []byte) error

func (EdgeModuleDtoAppType) Value added in v0.0.97

func (c EdgeModuleDtoAppType) Value() string

type EdgeModuleDtoAppTypeEnum added in v0.0.97

type EdgeModuleDtoAppTypeEnum struct {
	SYSTEM_REQUIRED EdgeModuleDtoAppType
	SYSTEM_OPTIONAL EdgeModuleDtoAppType
	USER            EdgeModuleDtoAppType
}

func GetEdgeModuleDtoAppTypeEnum added in v0.0.97

func GetEdgeModuleDtoAppTypeEnum() EdgeModuleDtoAppTypeEnum

type EdgeModuleDtoFunctionType added in v0.0.97

type EdgeModuleDtoFunctionType struct {
	// contains filtered or unexported fields
}

func (EdgeModuleDtoFunctionType) MarshalJSON added in v0.0.97

func (c EdgeModuleDtoFunctionType) MarshalJSON() ([]byte, error)

func (*EdgeModuleDtoFunctionType) UnmarshalJSON added in v0.0.97

func (c *EdgeModuleDtoFunctionType) UnmarshalJSON(b []byte) error

func (EdgeModuleDtoFunctionType) Value added in v0.0.97

type EdgeModuleDtoFunctionTypeEnum added in v0.0.97

type EdgeModuleDtoFunctionTypeEnum struct {
	DATA_PROCESSING        EdgeModuleDtoFunctionType
	PROTOCOL_PARSING       EdgeModuleDtoFunctionType
	ON_PREMISE_INTEGRATION EdgeModuleDtoFunctionType
	GATEWAY_MANAGER        EdgeModuleDtoFunctionType
	COMPOSITE_APPLICATION  EdgeModuleDtoFunctionType
	DATA_COLLECTION        EdgeModuleDtoFunctionType
}

func GetEdgeModuleDtoFunctionTypeEnum added in v0.0.97

func GetEdgeModuleDtoFunctionTypeEnum() EdgeModuleDtoFunctionTypeEnum

type EdgeModuleDtoState added in v0.0.97

type EdgeModuleDtoState struct {
	// contains filtered or unexported fields
}

func (EdgeModuleDtoState) MarshalJSON added in v0.0.97

func (c EdgeModuleDtoState) MarshalJSON() ([]byte, error)

func (*EdgeModuleDtoState) UnmarshalJSON added in v0.0.97

func (c *EdgeModuleDtoState) UnmarshalJSON(b []byte) error

func (EdgeModuleDtoState) Value added in v0.0.97

func (c EdgeModuleDtoState) Value() string

type EdgeModuleDtoStateEnum added in v0.0.97

type EdgeModuleDtoStateEnum struct {
	PENDING        EdgeModuleDtoState
	PENDING_DELETE EdgeModuleDtoState
	DELETE_FAILED  EdgeModuleDtoState
	RUNNING        EdgeModuleDtoState
	FAILED         EdgeModuleDtoState
	SUCCEEDED      EdgeModuleDtoState
	UNKNOWN        EdgeModuleDtoState
	DELETE_SUCCESS EdgeModuleDtoState
	STOPPED        EdgeModuleDtoState
}

func GetEdgeModuleDtoStateEnum added in v0.0.97

func GetEdgeModuleDtoStateEnum() EdgeModuleDtoStateEnum

type EdgeNodeCreation

type EdgeNodeCreation struct {

	// 边缘节点ID
	EdgeNodeId *string `json:"edge_node_id,omitempty"`

	// 边缘节点名称,只允许中、数字、英文大小写、中划线、下划线
	Name string `json:"name"`

	// 节点所属资源类型:advanced|standard
	Type string `json:"type"`

	// 边缘节点注册使用的验证码,如果不输入则平台随机生成。
	VerifyCode *string `json:"verify_code,omitempty"`

	// 验证码的有效时间单位秒,默认1800秒,范围为1~864000,过期后平台会随机生成。
	TimeOut *int32 `json:"time_out,omitempty"`

	// 系统架构。包括:arm64,arm32,x86_64。
	Arch *string `json:"arch,omitempty"`

	// 系统类型。包括:generalLinux通用系统,openHarmony。
	OsType *string `json:"os_type,omitempty"`

	// 实例ID。物理多租下各实例的唯一标识,一般华为云租户无需携带该参数,仅在物理多租场景下从管理面访问API时需要携带该参数。
	InstanceId *string `json:"instance_id,omitempty"`

	// 资源空间id,对应IOTDA云服务接口参数中的app_id。
	SpaceId *string `json:"space_id,omitempty"`

	// 资源id列表,创建节点时需绑定已购买的资源包,资源可叠加。
	ResourceIds *[]string `json:"resource_ids,omitempty"`

	// 节点的安全等级,MEDIUM表示本地明文存储,HIGH表示本地加密存储。
	SecurityLevel *string `json:"security_level,omitempty"`

	// 节点的可靠性等级。
	ReliabilityLevel *string `json:"reliability_level,omitempty"`

	// 节点的存储周期,默认0天,取值范围0~7天,0天则不存储。
	StoragePeriod *int32 `json:"storage_period,omitempty"`

	// AI加速卡类型,如华为昇腾AI加速卡NPU、图像处理加速卡GPU。
	AiCardType *string `json:"ai_card_type,omitempty"`

	// npu驱动动态库路径
	NpuLibraryPath *string `json:"npu_library_path,omitempty"`

	BasePath *BasePathDto `json:"base_path,omitempty"`

	// 边缘节点在IEF日志配置参数,仅高级版支持。
	LogConfigs *[]LogConfigDto `json:"log_configs,omitempty"`

	// 用户预置第三方边缘应用
	Apps *[]EdgeAppInstanceDto `json:"apps,omitempty"`

	// 网络接入方式类型
	NetworkAccessPoint *string `json:"network_access_point,omitempty"`

	// 网关型号
	HardwareModel *string `json:"hardware_model,omitempty"`

	OfflineCacheConfigs *OfflineCacheConfigsDto `json:"offline_cache_configs,omitempty"`

	DeviceAuthInfo *DeviceAuthInfoDto `json:"device_auth_info,omitempty"`

	// 节点使用的数据格式,默认为iotda物模型1.0格式,可以选择属性平铺数据格式flat_json
	DeviceDataFormat *string `json:"device_data_format,omitempty"`

	// 自动升级系统应用的节点开关,默认为关闭:OFF,IMMEDIATE表示节点开关打开
	AutomaticUpgrade *string `json:"automatic_upgrade,omitempty"`

	DeviceDataRecord *DeviceDataRecord `json:"device_data_record,omitempty"`

	// omagent监控运维工具是否上报指标
	MetricReport *string `json:"metric_report,omitempty"`
}

EdgeNodeCreation 创建边缘节点请求结构体。

func (EdgeNodeCreation) String

func (o EdgeNodeCreation) String() string

type EdgeNodeDto

type EdgeNodeDto struct {

	// 边缘节点ID
	EdgeNodeId *string `json:"edge_node_id,omitempty"`

	// 边缘节点名称
	Name *string `json:"name,omitempty"`

	// 边缘节点状态UNINSTALLED|INSTALLED|OFFLINE|ONLINE|DELETING|FROZEN
	State *string `json:"state,omitempty"`

	// 实例ID。物理多租下各实例的唯一标识,一般华为云租户无需携带该参数,仅在物理多租场景下从管理面访问API时需要携带该参数。
	InstanceId *string `json:"instance_id,omitempty"`

	// 资源空间id,对应IOTDA云服务接口参数中的app_id。
	SpaceId *string `json:"space_id,omitempty"`

	// 节点所属资源类型:advanced|standard
	Type *string `json:"type,omitempty"`

	// 节点所购买的资源类型的列表
	ResourceIds *[]string `json:"resource_ids,omitempty"`

	// 节点所购买的资源类型的列表
	ResourceSpecTypes *[]string `json:"resource_spec_types,omitempty"`

	// 边缘节点ip列表
	Ips *[]string `json:"ips,omitempty"`

	// 边缘节点创建时间
	CreateTime *string `json:"create_time,omitempty"`
}

EdgeNodeDto 查询边缘节点列表响应体

func (EdgeNodeDto) String

func (o EdgeNodeDto) String() string

type ExceptionalDates added in v0.1.59

type ExceptionalDates struct {

	// 例外日期
	ValidDates *[]string `json:"valid_dates,omitempty"`

	// 无效日期
	InvalidDates *[]string `json:"invalid_dates,omitempty"`
}

ExceptionalDates 例外的日期,valid_dates表示需要执行的日期,invalid_dates表示不执行的日期。其优先级最高,优先级:ExceptionalDates > weekdays > start_time-endtime

func (ExceptionalDates) String added in v0.1.59

func (o ExceptionalDates) String() string

type ExecuteDeviceControlsReleaseRequest added in v0.1.59

type ExecuteDeviceControlsReleaseRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 设备ID
	DeviceId string `json:"device_id"`

	Body *DeviceControlReleaseReqDto `json:"body,omitempty"`
}

ExecuteDeviceControlsReleaseRequest Request Object

func (ExecuteDeviceControlsReleaseRequest) String added in v0.1.59

type ExecuteDeviceControlsReleaseResponse added in v0.1.59

type ExecuteDeviceControlsReleaseResponse struct {

	// 属性设置的响应码,具体为实际设备返回的响应码
	ResultCode *int32 `json:"result_code,omitempty"`

	// 属性设置的描述,具体为实际设备返回的描述
	ResultDesc     *string `json:"result_desc,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ExecuteDeviceControlsReleaseResponse Response Object

func (ExecuteDeviceControlsReleaseResponse) String added in v0.1.59

type ExecuteDeviceControlsSetRequest added in v0.1.59

type ExecuteDeviceControlsSetRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 设备ID
	DeviceId string `json:"device_id"`

	Body *DeviceControlSetReqDto `json:"body,omitempty"`
}

ExecuteDeviceControlsSetRequest Request Object

func (ExecuteDeviceControlsSetRequest) String added in v0.1.59

type ExecuteDeviceControlsSetResponse added in v0.1.59

type ExecuteDeviceControlsSetResponse struct {

	// 属性设置的响应码,具体为实际设备返回的响应码
	ResultCode *int32 `json:"result_code,omitempty"`

	// 属性设置的描述,具体为实际设备返回的描述
	ResultDesc     *string `json:"result_desc,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ExecuteDeviceControlsSetResponse Response Object

func (ExecuteDeviceControlsSetResponse) String added in v0.1.59

type ExtDevice added in v0.0.97

type ExtDevice struct {

	// 源路径
	Source string `json:"source"`

	// 卷挂载路径
	Destination string `json:"destination"`

	// 只读,默认MRW
	CgroupPermissions *string `json:"cgroup_permissions,omitempty"`
}

ExtDevice 对应linux上device概念,用于串口、AI加速卡的挂载

func (ExtDevice) String added in v0.0.97

func (o ExtDevice) String() string

type ExternalEntityRespDto

type ExternalEntityRespDto struct {

	// 节点ID
	NodeId *string `json:"node_id,omitempty"`

	// 资源空间ID。此参数为非必选参数,存在多资源空间的用户需要使用该接口时,建议携带该参数指定创建的外部实体归属到IoDA哪个资源空间下的边缘节点设备下,否则创建的外部实体将会归属到默认资源空间下对应的边缘节点下,对应于IoDA的app_id.
	SpaceId *string `json:"space_id,omitempty"`

	// 外部实体ID
	ExternalId *string `json:"external_id,omitempty"`

	// 接入协议类型
	Protocol *string `json:"protocol,omitempty"`

	// 连接类型(client和server)
	ConnectionType *string `json:"connection_type,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后修改时间
	LastModifyTime *string `json:"last_modify_time,omitempty"`
}

ExternalEntityRespDto 创建外部实体后返回的信息结构体

func (ExternalEntityRespDto) String

func (o ExternalEntityRespDto) String() string

type HaConfigDto added in v0.0.97

type HaConfigDto struct {

	// 节点高可用类型双活或者主备
	HaType *string `json:"ha_type,omitempty"`

	ActiveStandbyConfig *ActiveStandbyConfigDto `json:"active_standby_config,omitempty"`
}

HaConfigDto 高可用配置请求结构体

func (HaConfigDto) String added in v0.0.97

func (o HaConfigDto) String() string

type HttpGetDto

type HttpGetDto struct {

	// 请求路径
	Path string `json:"path"`

	// 端口
	Port int32 `json:"port"`

	// 主机地址
	Host *string `json:"host,omitempty"`

	// 协议类型
	Scheme HttpGetDtoScheme `json:"scheme"`
}

func (HttpGetDto) String

func (o HttpGetDto) String() string

type HttpGetDtoScheme

type HttpGetDtoScheme struct {
	// contains filtered or unexported fields
}

func (HttpGetDtoScheme) MarshalJSON

func (c HttpGetDtoScheme) MarshalJSON() ([]byte, error)

func (*HttpGetDtoScheme) UnmarshalJSON

func (c *HttpGetDtoScheme) UnmarshalJSON(b []byte) error

func (HttpGetDtoScheme) Value added in v0.0.90

func (c HttpGetDtoScheme) Value() string

type HttpGetDtoSchemeEnum

type HttpGetDtoSchemeEnum struct {
	HTTP  HttpGetDtoScheme
	HTTPS HttpGetDtoScheme
}

func GetHttpGetDtoSchemeEnum

func GetHttpGetDtoSchemeEnum() HttpGetDtoSchemeEnum

type ImportPointsRequest added in v0.1.32

type ImportPointsRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`

	// 该字段PARTIAL则增量覆盖,已有点位更新,新增点位插入;该字段为COMPLETE则全量覆盖,则删除数据源下所有点位,插入当前导入所有点位
	UpdateType ImportPointsRequestUpdateType `json:"update_type"`

	Body *ImportPointsRequestBody `json:"body,omitempty" type:"multipart"`
}

ImportPointsRequest Request Object

func (ImportPointsRequest) String added in v0.1.32

func (o ImportPointsRequest) String() string

type ImportPointsRequestBody added in v0.1.32

type ImportPointsRequestBody struct {

	// 上传点位映射文件。当前仅支持xlsx/xls文件格式,且文件最大行数为10000行。
	File *def.FilePart `json:"file"`
}

func (ImportPointsRequestBody) String added in v0.1.32

func (o ImportPointsRequestBody) String() string

func (*ImportPointsRequestBody) UnmarshalJSON added in v0.1.32

func (o *ImportPointsRequestBody) UnmarshalJSON(b []byte) error

type ImportPointsRequestUpdateType added in v0.1.32

type ImportPointsRequestUpdateType struct {
	// contains filtered or unexported fields
}

func (ImportPointsRequestUpdateType) MarshalJSON added in v0.1.32

func (c ImportPointsRequestUpdateType) MarshalJSON() ([]byte, error)

func (*ImportPointsRequestUpdateType) UnmarshalJSON added in v0.1.32

func (c *ImportPointsRequestUpdateType) UnmarshalJSON(b []byte) error

func (ImportPointsRequestUpdateType) Value added in v0.1.32

type ImportPointsRequestUpdateTypeEnum added in v0.1.32

type ImportPointsRequestUpdateTypeEnum struct {
	PARTIAL  ImportPointsRequestUpdateType
	COMPLETE ImportPointsRequestUpdateType
}

func GetImportPointsRequestUpdateTypeEnum added in v0.1.32

func GetImportPointsRequestUpdateTypeEnum() ImportPointsRequestUpdateTypeEnum

type ImportPointsResponse added in v0.1.32

type ImportPointsResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ImportPointsResponse Response Object

func (ImportPointsResponse) String added in v0.1.32

func (o ImportPointsResponse) String() string

type ListDevicesRequest

type ListDevicesRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 父设备ID,对应之前的gatewayId的概念,传该参数时代表查询网关下的子设备,不传代表查询网关直连设备
	GatewayId *string `json:"gateway_id,omitempty"`

	// 设备名称
	DeviceName *string `json:"device_name,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`
}

ListDevicesRequest Request Object

func (ListDevicesRequest) String

func (o ListDevicesRequest) String() string

type ListDevicesResponse

type ListDevicesResponse struct {

	// 查询设备列表响应结构体
	Devices *[]QueryDeviceSimplifyDto `json:"devices,omitempty"`

	// 满足查询条件的记录总数。
	Count *int64 `json:"count,omitempty"`

	PageInfo       *PageInfoDto `json:"page_info,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListDevicesResponse Response Object

func (ListDevicesResponse) String

func (o ListDevicesResponse) String() string

type ListEdgeNodesRequest

type ListEdgeNodesRequest struct {

	// 节点名称
	Name *string `json:"name,omitempty"`

	// 节点状态,OFFLINE|ONLINE|UNINSTALLED|INSTALLED|DELETING|UPGRADING
	State *string `json:"state,omitempty"`

	// 节点所属资源类型,advanced|standard
	Type *string `json:"type,omitempty"`

	// 实例ID。物理多租下各实例的唯一标识,一般华为云租户无需携带该参数,仅在物理多租场景下从管理面访问API时需要携带该参数。
	InstanceId *string `json:"instance_id,omitempty"`

	// 资源空间ID。此参数为非必选参数,存在多资源空间的用户需要使用该接口时,可以携带该参数查询指定资源空间下的设备列表,不携带该参数则会查询该用户下所有设备列表。
	SpaceId *string `json:"space_id,omitempty"`

	// 节点id列表,查询ID在给的节点ID列表内的节点信息
	NodeIds *[]string `json:"node_ids,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`
}

ListEdgeNodesRequest Request Object

func (ListEdgeNodesRequest) String

func (o ListEdgeNodesRequest) String() string

type ListEdgeNodesResponse

type ListEdgeNodesResponse struct {

	// 总记录数
	Count *int64 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 节点列表
	Nodes          *[]EdgeNodeDto `json:"nodes,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListEdgeNodesResponse Response Object

func (ListEdgeNodesResponse) String

func (o ListEdgeNodesResponse) String() string

type ListExternalEntityRequest

type ListExternalEntityRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,取值范围为非负整数,默认值为10
	Limit *int32 `json:"limit,omitempty"`
}

ListExternalEntityRequest Request Object

func (ListExternalEntityRequest) String

func (o ListExternalEntityRequest) String() string

type ListExternalEntityResponse

type ListExternalEntityResponse struct {

	// 外部实体列表
	Externals      *[]ExternalEntityRespDto `json:"externals,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListExternalEntityResponse Response Object

func (ListExternalEntityResponse) String

type ListIaConfigsRequest

type ListIaConfigsRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 边侧第三方应用的模块ID
	IaId string `json:"ia_id"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,取值范围为非负整数,默认值为10
	Limit *int32 `json:"limit,omitempty"`
}

ListIaConfigsRequest Request Object

func (ListIaConfigsRequest) String

func (o ListIaConfigsRequest) String() string

type ListIaConfigsResponse

type ListIaConfigsResponse struct {

	// 南向3rdIA配置项列表
	Configs        *[]QueryIaConfigResponseDto `json:"configs,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

ListIaConfigsResponse Response Object

func (ListIaConfigsResponse) String

func (o ListIaConfigsResponse) String() string

type ListNaAuthorizedNodesRequest

type ListNaAuthorizedNodesRequest struct {

	// 北向数据接收端点ID
	NaId string `json:"na_id"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,默认值为10,取值区间为1-1000
	Limit *int32 `json:"limit,omitempty"`
}

ListNaAuthorizedNodesRequest Request Object

func (ListNaAuthorizedNodesRequest) String

type ListNaAuthorizedNodesResponse

type ListNaAuthorizedNodesResponse struct {

	// 总记录数
	Count *int64 `json:"count,omitempty"`

	PageInfo *PageInfoDto `json:"page_info,omitempty"`

	// 查询授权北向NA信息到边缘节点列表的返回结构体
	Nodes          *[]QueryAuthorizedNodeDto `json:"nodes,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

ListNaAuthorizedNodesResponse Response Object

func (ListNaAuthorizedNodesResponse) String

type ListNasRequest

type ListNasRequest struct {

	// NA名称搜索关键字
	Name *string `json:"name,omitempty"`

	// 查询的起始位置,取值范围为非负整数,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数,取值范围为非负整数,默认值为10
	Limit *int32 `json:"limit,omitempty"`
}

ListNasRequest Request Object

func (ListNasRequest) String

func (o ListNasRequest) String() string

type ListNasResponse

type ListNasResponse struct {

	// 北向NA列表
	Nas            *[]QueryNaBriefResponseDto `json:"nas,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

ListNasResponse Response Object

func (ListNasResponse) String

func (o ListNasResponse) String() string

type ListRoutesRequest

type ListRoutesRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 是否解析路由
	Parsed *bool `json:"parsed,omitempty"`
}

ListRoutesRequest Request Object

func (ListRoutesRequest) String

func (o ListRoutesRequest) String() string

type ListRoutesResponse

type ListRoutesResponse struct {

	// 路由列表
	Routes *[]RouterDetailRespDto `json:"routes,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListRoutesResponse Response Object

func (ListRoutesResponse) String

func (o ListRoutesResponse) String() string

type LogConfigDto

type LogConfigDto struct {

	// 应用日志文件大小限制,单位MB,默认50,取值范围10-1000
	Size *int32 `json:"size,omitempty"`

	// 应用日志级别,可选项:on/off/trace/debug/info/warn/error/fatal,当type为LTS时有效。当选择非on/off的选项时,将只采集大于等于指定级别的日志。
	Level *string `json:"level,omitempty"`

	// 应用日志rotate个数,默认5,取值范围1-10
	RotateNum *int32 `json:"rotate_num,omitempty"`

	// 应用日志rotate周期,可选项: daily/monthly/weekly/yearly
	RotatePeriod *string `json:"rotate_period,omitempty"`

	// LTS:将日志发送到LTS, local 本地日志
	Type *string `json:"type,omitempty"`

	// app:部署到边缘设备上的应用的日志, system 边缘设备上系统的日志
	Component *string `json:"component,omitempty"`
}

LogConfigDto 日志配置

func (LogConfigDto) String

func (o LogConfigDto) String() string

type ModuleContainerSettingsResDto added in v0.0.97

type ModuleContainerSettingsResDto struct {
	Configs *ContainerConfigsResDto `json:"configs,omitempty"`
}

func (ModuleContainerSettingsResDto) String added in v0.0.97

type MqttConnectionInfo

type MqttConnectionInfo struct {

	// 采用cleint方式连接时,mqtt服务器地址
	ServerAddress *string `json:"server_address,omitempty"`

	// mqtt连接时,client_id
	ClientId *string `json:"client_id,omitempty"`

	// 鉴权类型。支持密钥认证接入(SECRET)和证书认证接入(CERTIFICATES)两种方式。使用密钥认证接入方式(SECRET)填写user_name和user_name字段,使用证书认证接入方式(CERTIFICATES)填写privateKey和certificate字段
	AuthType *string `json:"auth_type,omitempty"`

	// 证书秘钥
	PrivateKey *string `json:"private_key,omitempty"`

	// 证书
	Certificate *string `json:"certificate,omitempty"`

	// 用户名
	UserName *string `json:"user_name,omitempty"`

	// 密码
	Password *string `json:"password,omitempty"`

	// 服务质量,默认为0,表示最多一次的传输,1表示至少一次,2表示仅一次.
	Qos *int32 `json:"qos,omitempty"`
}

MqttConnectionInfo 边缘hub与外部实体的mqtt连接信息

func (MqttConnectionInfo) String

func (o MqttConnectionInfo) String() string

type Nic

type Nic struct {

	// 网卡信息,如eth0,eth1
	Eth *string `json:"eth,omitempty"`

	// 网卡ip
	Ip *string `json:"ip,omitempty"`
}

Nic 网络网卡信息

func (Nic) String

func (o Nic) String() string

type OfflineCacheConfigsDto added in v0.1.20

type OfflineCacheConfigsDto struct {

	// 数据上报优先级,可选项:realtime_first实时数据优先 sequential按时序上报,默认realtime_first
	PublishOrder *string `json:"publish_order,omitempty"`

	// 节点离线缓存数据的储存天数,默认7,取值范围-1~14,-1表示存储天数没有限制
	Period *int32 `json:"period,omitempty"`

	// 节点离线缓存容量,单位MB,默认2048,取值范围500-8192
	Capacity *int32 `json:"capacity,omitempty"`
}

OfflineCacheConfigsDto 节点离线缓存配置

func (OfflineCacheConfigsDto) String added in v0.1.20

func (o OfflineCacheConfigsDto) String() string

type PageInfoDto

type PageInfoDto struct {

	// 页码
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数
	Limit *int32 `json:"limit,omitempty"`
}

func (PageInfoDto) String

func (o PageInfoDto) String() string

type PointCleanDto added in v0.1.32

type PointCleanDto struct {

	// 静默时间窗口,在该时间窗口内,没有触发上报条件,点位将不会上
	SilentWindow int32 `json:"silent_window"`

	// 偏差,在该偏差范围内表示是正常波动,点位将不进行上报
	Deviation float64 `json:"deviation"`
}

PointCleanDto 点位清洗配置结构体

func (PointCleanDto) String added in v0.1.32

func (o PointCleanDto) String() string

type PointScalingDto added in v0.1.32

type PointScalingDto struct {

	// 缩放的倍率
	Ratio float64 `json:"ratio"`

	// 基准值
	Base float64 `json:"base"`

	// 缩放后结果的精度,精确到小数点后几位,-1表示全部保留,0表示只保留整数位
	Accuracy *int32 `json:"accuracy,omitempty"`
}

PointScalingDto 点位缩放配置结构体

func (PointScalingDto) String added in v0.1.32

func (o PointScalingDto) String() string

type PointValidityingDto added in v0.1.32

type PointValidityingDto struct {

	// 点位上报值的最小值,小于该值则上报告警
	Min int64 `json:"min"`

	// 点位上报值的最大值,大于该值则上报告警
	Max int64 `json:"max"`
}

PointValidityingDto 点位校验配置结构体

func (PointValidityingDto) String added in v0.1.32

func (o PointValidityingDto) String() string

type ProbeDto

type ProbeDto struct {

	// 执行探测的命令行命令
	ExecCommand *string `json:"exec_command,omitempty"`

	TcpSocket *TcpSocketDto `json:"tcp_socket,omitempty"`

	HttpGet *HttpGetDto `json:"http_get,omitempty"`

	// 表示从工作负载启动后从多久开始探测
	InitialDelaySeconds int32 `json:"initial_delay_seconds"`

	// 表示探测超时时间
	TimeoutSeconds int32 `json:"timeout_seconds"`

	// 检查周期
	PeriodSeconds *int32 `json:"period_seconds,omitempty"`

	// 失败多少次算不健康
	FailureThreshold *int32 `json:"failure_threshold,omitempty"`
}

func (ProbeDto) String

func (o ProbeDto) String() string

type ProcessingConfigDto added in v0.1.32

type ProcessingConfigDto struct {
	Validity *PointValidityingDto `json:"validity,omitempty"`

	// 点位流公式配置字段
	StreamFormula *string `json:"stream_formula,omitempty"`

	Scaling *PointScalingDto `json:"scaling,omitempty"`

	Clean *PointCleanDto `json:"clean,omitempty"`
}

ProcessingConfigDto 点位处理配置结构体

func (ProcessingConfigDto) String added in v0.1.32

func (o ProcessingConfigDto) String() string

type QueryAppConfigsTemplateBriefRespDto added in v0.1.56

type QueryAppConfigsTemplateBriefRespDto struct {

	// 模板id
	TplId *string `json:"tpl_id,omitempty"`

	// 模板名称
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`
}

QueryAppConfigsTemplateBriefRespDto 应用配置模板概要响应信息

func (QueryAppConfigsTemplateBriefRespDto) String added in v0.1.56

type QueryApplicationBriefResponseDto

type QueryApplicationBriefResponseDto struct {

	// 应用id
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 最新发布版本
	LastPublishedVersion *string `json:"last_published_version,omitempty"`

	// 应用类型SYSTEM_REQUIRED|SYSTEM_OPTIONAL|USER
	AppType *string `json:"app_type,omitempty"`

	// 应用类型DATA_PROCESSING|PROTOCOL_PARSING
	FunctionType *string `json:"function_type,omitempty"`

	// 部署类型docker|process
	DeployType *string `json:"deploy_type,omitempty"`

	// 驱动协议类型OPCUA|Modbus-TCP
	Protocol *string `json:"protocol,omitempty"`

	// 应用名称
	EdgeAppName *string `json:"edge_app_name,omitempty"`
}

func (QueryApplicationBriefResponseDto) String

type QueryAuthorizedNodeDto

type QueryAuthorizedNodeDto struct {

	// 边缘节点ID
	NodeId *string `json:"node_id,omitempty"`

	// 授权时间
	AuthorizedTime *string `json:"authorized_time,omitempty"`
}

func (QueryAuthorizedNodeDto) String

func (o QueryAuthorizedNodeDto) String() string

type QueryDcDeviceRespDto added in v0.1.32

type QueryDcDeviceRespDto struct {

	// 设备id
	DeviceId *string `json:"device_id,omitempty"`
}

QueryDcDeviceRespDto 查询数采设备响应结构体

func (QueryDcDeviceRespDto) String added in v0.1.32

func (o QueryDcDeviceRespDto) String() string

type QueryDcDsBriefRespDto added in v0.1.32

type QueryDcDsBriefRespDto struct {

	// 采集数据源id,节点下唯一
	DsId *string `json:"ds_id,omitempty"`

	// 采集数据源名称,允许中、数字、英文大小写、下划线、中划线
	Name *string `json:"name,omitempty"`

	// 边缘节点id
	EdgeNodeId *string `json:"edge_node_id,omitempty"`

	// 模块id
	ModuleId *string `json:"module_id,omitempty"`

	// 模板id,节点下唯一
	TplId *string `json:"tpl_id,omitempty"`

	// 质量上报开关,不携带或值不为true,默认为false
	QualityReport *bool `json:"quality_report,omitempty"`

	// 应用ID
	EdgeAppName *string `json:"edge_app_name,omitempty"`

	// 数采连接信息
	ConnectionInfo *interface{} `json:"connection_info,omitempty"`

	// 数采连接状态,RUNNING|STOPPED
	ModuleState *string `json:"module_state,omitempty"`

	// 数采连接下点位数
	Count *int64 `json:"count,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 数采配置是否已同步,已同步:true,未同步:false
	Synchronized *bool `json:"synchronized,omitempty"`

	// 数采配置同步时间
	SynchronizedTime *string `json:"synchronized_time,omitempty"`
}

QueryDcDsBriefRespDto 创建数据表请求结构体

func (QueryDcDsBriefRespDto) String added in v0.1.32

func (o QueryDcDsBriefRespDto) String() string

type QueryDeviceSimplifyDto

type QueryDeviceSimplifyDto struct {

	// 设备id
	DeviceId *string `json:"device_id,omitempty"`

	// 设备识别码
	NodeId *string `json:"node_id,omitempty"`

	// 父设备id
	GatewayId *string `json:"gateway_id,omitempty"`

	// 设备名称
	DeviceName *string `json:"device_name,omitempty"`

	// 设备协议类型
	ProtocolType *string `json:"protocol_type,omitempty"`

	// 产品名称
	ProductName *string `json:"product_name,omitempty"`

	// 产品ID
	ProductId *string `json:"product_id,omitempty"`
}

QueryDeviceSimplifyDto 设备信息

func (QueryDeviceSimplifyDto) String

func (o QueryDeviceSimplifyDto) String() string

type QueryEdgeAppVersionBriefResponseDto

type QueryEdgeAppVersionBriefResponseDto struct {

	// 应用ID
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用名称
	Name *string `json:"name,omitempty"`

	// 应用名称
	Version *string `json:"version,omitempty"`

	// 应用集成的边缘SDK版本
	SdkVersion *string `json:"sdk_version,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 部署类型docker|process
	DeployType *string `json:"deploy_type,omitempty"`

	// 是否允许部署多实例
	DeployMultiInstance *bool `json:"deploy_multi_instance,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 应用版本状态
	State *QueryEdgeAppVersionBriefResponseDtoState `json:"state,omitempty"`

	// 架构
	Arch *[]string `json:"arch,omitempty"`

	// 发布时间
	PublishTime *string `json:"publish_time,omitempty"`

	// 下线时间
	OffShelfTime *string `json:"off_shelf_time,omitempty"`
}

func (QueryEdgeAppVersionBriefResponseDto) String

type QueryEdgeAppVersionBriefResponseDtoState

type QueryEdgeAppVersionBriefResponseDtoState struct {
	// contains filtered or unexported fields
}

func (QueryEdgeAppVersionBriefResponseDtoState) MarshalJSON

func (*QueryEdgeAppVersionBriefResponseDtoState) UnmarshalJSON

func (c *QueryEdgeAppVersionBriefResponseDtoState) UnmarshalJSON(b []byte) error

func (QueryEdgeAppVersionBriefResponseDtoState) Value added in v0.0.90

type QueryIaConfigResponseDto

type QueryIaConfigResponseDto struct {

	// 配置ID
	Id *string `json:"id,omitempty"`

	// 配置项名称
	Name *string `json:"name,omitempty"`

	// 配置项详情
	Value *string `json:"value,omitempty"`

	// 配置项描述
	Description *string `json:"description,omitempty"`

	// 版本号
	Version *int64 `json:"version,omitempty"`

	// 下发状态
	State *QueryIaConfigResponseDtoState `json:"state,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *string `json:"update_time,omitempty"`
}

func (QueryIaConfigResponseDto) String

func (o QueryIaConfigResponseDto) String() string

type QueryIaConfigResponseDtoState

type QueryIaConfigResponseDtoState struct {
	// contains filtered or unexported fields
}

func (QueryIaConfigResponseDtoState) MarshalJSON

func (c QueryIaConfigResponseDtoState) MarshalJSON() ([]byte, error)

func (*QueryIaConfigResponseDtoState) UnmarshalJSON

func (c *QueryIaConfigResponseDtoState) UnmarshalJSON(b []byte) error

func (QueryIaConfigResponseDtoState) Value added in v0.0.90

type QueryIaConfigResponseDtoStateEnum

type QueryIaConfigResponseDtoStateEnum struct {
	SUCCESS QueryIaConfigResponseDtoState
	SENDING QueryIaConfigResponseDtoState
}

func GetQueryIaConfigResponseDtoStateEnum

func GetQueryIaConfigResponseDtoStateEnum() QueryIaConfigResponseDtoStateEnum

type QueryNaBriefResponseDto

type QueryNaBriefResponseDto struct {

	// NA系统ID,提供给其他系统访问的唯一标识
	NaId *string `json:"na_id,omitempty"`

	// NA系统名称
	Name *string `json:"name,omitempty"`

	// 北向NA系统描述
	Description *string `json:"description,omitempty"`

	// 访问URL地址
	Endpoint *string `json:"endpoint,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *string `json:"update_time,omitempty"`
}

QueryNaBriefResponseDto 创建及查询北向NA返回结构体(简洁版)

func (QueryNaBriefResponseDto) String

func (o QueryNaBriefResponseDto) String() string

type QueryOtTemplateBriefRespDto added in v0.1.37

type QueryOtTemplateBriefRespDto struct {

	// 模板id
	TplId *string `json:"tpl_id,omitempty"`

	// 模板名称
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`
}

QueryOtTemplateBriefRespDto OT模板概要响应信息

func (QueryOtTemplateBriefRespDto) String added in v0.1.37

type ResourceConfigDto

type ResourceConfigDto struct {

	// cpu个数
	Cpu *float32 `json:"cpu,omitempty"`

	// 内存大小
	Memory *float32 `json:"memory,omitempty"`

	// gpu内存大小,单位为M
	Gpu *float32 `json:"gpu,omitempty"`

	// 使用npu加速卡个数
	Npu *float32 `json:"npu,omitempty"`
}

func (ResourceConfigDto) String

func (o ResourceConfigDto) String() string

type ResourceDto

type ResourceDto struct {
	Limits *ResourceConfigDto `json:"limits,omitempty"`

	Requests *ResourceConfigDto `json:"requests,omitempty"`
}

func (ResourceDto) String

func (o ResourceDto) String() string

type RouterDetailRespDto

type RouterDetailRespDto struct {

	// 路由ID,节点下唯一
	RouteId string `json:"route_id"`

	// 输入点所在模块的模块ID
	InputModuleId *string `json:"input_module_id,omitempty"`

	// 输出点所在模块的模块ID
	OutputModuleId *string `json:"output_module_id,omitempty"`

	// 输入点名称
	Input *string `json:"input,omitempty"`

	// 输出点名称
	Output *string `json:"output,omitempty"`

	// sql參數
	Sql *string `json:"sql,omitempty"`

	// 是否可用
	Available *bool `json:"available,omitempty"`
}

RouterDetailRespDto 解析路由结果返回结构体

func (RouterDetailRespDto) String

func (o RouterDetailRespDto) String() string

type RouterRespDto

type RouterRespDto struct {

	// 路由ID,节点下唯一
	RouteId string `json:"route_id"`

	// sql參數
	Sql *string `json:"sql,omitempty"`
}

RouterRespDto 创建路由请求结构体

func (RouterRespDto) String

func (o RouterRespDto) String() string

type ScheduleTask added in v0.1.59

type ScheduleTask struct {

	// 设备id数组
	DeviceIds []string `json:"device_ids"`

	// 任务执行的动作,当前支持SetProperties
	Action string `json:"action"`

	// 对应action的参数
	Paras *interface{} `json:"paras"`
}

ScheduleTask 调度计划结构体

func (ScheduleTask) String added in v0.1.59

func (o ScheduleTask) String() string

type ShowAppConfigsTemplateRequest added in v0.1.56

type ShowAppConfigsTemplateRequest struct {

	// 模板id,节点下唯一。
	TplId string `json:"tpl_id"`
}

ShowAppConfigsTemplateRequest Request Object

func (ShowAppConfigsTemplateRequest) String added in v0.1.56

type ShowAppConfigsTemplateResponse added in v0.1.56

type ShowAppConfigsTemplateResponse struct {

	// 模板id
	TplId *string `json:"tpl_id,omitempty"`

	// 模板名称
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 配置项数据
	ConfigTabs *interface{} `json:"config_tabs,omitempty"`

	// 默认数据
	DefaultValues *interface{} `json:"default_values,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAppConfigsTemplateResponse Response Object

func (ShowAppConfigsTemplateResponse) String added in v0.1.56

type ShowDcDsRequest added in v0.1.32

type ShowDcDsRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`
}

ShowDcDsRequest Request Object

func (ShowDcDsRequest) String added in v0.1.32

func (o ShowDcDsRequest) String() string

type ShowDcDsResponse added in v0.1.32

type ShowDcDsResponse struct {

	// 采集数据源id,节点下唯一
	DsId *string `json:"ds_id,omitempty"`

	// 数据源的连接及采集信息
	Config *interface{} `json:"config,omitempty"`

	// 采集数据源名称,允许中、数字、英文大小写、下划线、中划线
	Name *string `json:"name,omitempty"`

	// 边缘节点id
	EdgeNodeId *string `json:"edge_node_id,omitempty"`

	// 模块id
	ModuleId *string `json:"module_id,omitempty"`

	// 模板id,节点下唯一
	TplId *string `json:"tpl_id,omitempty"`

	// 质量上报开关,不携带或值不为true,默认为false
	QualityReport *bool `json:"quality_report,omitempty"`

	// 应用ID
	EdgeAppName *string `json:"edge_app_name,omitempty"`

	// 数采连接信息
	ConnectionInfo *interface{} `json:"connection_info,omitempty"`

	// 数采连接状态,stopped|running
	ModuleState *string `json:"module_state,omitempty"`

	// 数采连接下点位数
	Count *int64 `json:"count,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 数采配置是否已同步,已同步:true,未同步:false
	Synchronized *bool `json:"synchronized,omitempty"`

	// 数采配置同步时间
	SynchronizedTime *string `json:"synchronized_time,omitempty"`
	HttpStatusCode   int     `json:"-"`
}

ShowDcDsResponse Response Object

func (ShowDcDsResponse) String added in v0.1.32

func (o ShowDcDsResponse) String() string

type ShowDcPointRequest added in v0.1.32

type ShowDcPointRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`

	// 采集点位表id,创建点位表时设置,数据源下唯一。
	PointId string `json:"point_id"`

	// 设备id
	DeviceId *string `json:"device_id,omitempty"`

	// 设备服务属性,允许中、数字、英文大小写、下划线、中划线
	Property *string `json:"property,omitempty"`
}

ShowDcPointRequest Request Object

func (ShowDcPointRequest) String added in v0.1.32

func (o ShowDcPointRequest) String() string

type ShowDcPointResponse added in v0.1.32

type ShowDcPointResponse struct {

	// 点位表id,数据源下唯一
	PointId *string `json:"point_id,omitempty"`

	// 点位名称,允许中、数字、英文大小写、下划线、中划线、#%()*特殊字符
	Name *string `json:"name,omitempty"`

	// 点位采集配置
	CollectionConfig *interface{} `json:"collection_config,omitempty"`

	// 设备id
	DeviceId *string `json:"device_id,omitempty"`

	// 属性,允许中、数字、英文大小写、下划线、中划线
	Property *string `json:"property,omitempty"`

	// 点位数据类型
	DataType *string `json:"data_type,omitempty"`

	// 采集数据源id,节点下唯一
	DsId *string `json:"ds_id,omitempty"`

	ProcessingConfig *ProcessingConfigDto `json:"processing_config,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDcPointResponse Response Object

func (ShowDcPointResponse) String added in v0.1.32

func (o ShowDcPointResponse) String() string

type ShowEdgeAppRequest

type ShowEdgeAppRequest struct {

	// 应用ID,应用唯一。
	EdgeAppId string `json:"edge_app_id"`
}

ShowEdgeAppRequest Request Object

func (ShowEdgeAppRequest) String

func (o ShowEdgeAppRequest) String() string

type ShowEdgeAppResponse

type ShowEdgeAppResponse struct {

	// 应用id
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 最新发布版本
	LastPublishedVersion *string `json:"last_published_version,omitempty"`

	// 应用类型SYSTEM_REQUIRED|SYSTEM_OPTIONAL|USER
	AppType *string `json:"app_type,omitempty"`

	// 应用类型DATA_PROCESSING|PROTOCOL_PARSING
	FunctionType *string `json:"function_type,omitempty"`

	// 部署类型docker|process
	DeployType *string `json:"deploy_type,omitempty"`

	// 驱动协议类型OPCUA|Modbus-TCP
	Protocol *string `json:"protocol,omitempty"`

	// 应用名称
	EdgeAppName    *string `json:"edge_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowEdgeAppResponse Response Object

func (ShowEdgeAppResponse) String

func (o ShowEdgeAppResponse) String() string

type ShowEdgeApplicationVersionRequest

type ShowEdgeApplicationVersionRequest struct {

	// 应用ID,应用唯一。
	EdgeAppId string `json:"edge_app_id"`

	// 应用版本,应用内版本唯一。
	Version string `json:"version"`
}

ShowEdgeApplicationVersionRequest Request Object

func (ShowEdgeApplicationVersionRequest) String

type ShowEdgeApplicationVersionResponse

type ShowEdgeApplicationVersionResponse struct {

	// 应用ID
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用名称
	Name *string `json:"name,omitempty"`

	// 部署类型docker|process
	DeployType *string `json:"deploy_type,omitempty"`

	// 是否允许部署多实例
	DeployMultiInstance *bool `json:"deploy_multi_instance,omitempty"`

	// 应用版本
	Version *string `json:"version,omitempty"`

	// 应用集成的边缘SDK版本
	SdkVersion *string `json:"sdk_version,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 应用版本状态
	State *ShowEdgeApplicationVersionResponseState `json:"state,omitempty"`

	LivenessProbe *ProbeDto `json:"liveness_probe,omitempty"`

	ReadinessProbe *ProbeDto `json:"readiness_probe,omitempty"`

	// 架构
	Arch *[]string `json:"arch,omitempty"`

	// 启动命令
	Command *[]string `json:"command,omitempty"`

	// 启动参数
	Args *[]string `json:"args,omitempty"`

	ContainerSettings *ContainerSettingsDto `json:"container_settings,omitempty"`

	// 应用输出路由端点
	Outputs *[]string `json:"outputs,omitempty"`

	// 应用输入路由
	Inputs *[]string `json:"inputs,omitempty"`

	// 应用实现的服务列表
	Services *[]string `json:"services,omitempty"`

	// 发布时间
	PublishTime *string `json:"publish_time,omitempty"`

	// 下线时间
	OffShelfTime *string `json:"off_shelf_time,omitempty"`

	// 驱动厂商
	Supplier *string `json:"supplier,omitempty"`

	// 模板id
	TplId          *string `json:"tpl_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowEdgeApplicationVersionResponse Response Object

func (ShowEdgeApplicationVersionResponse) String

type ShowEdgeApplicationVersionResponseState

type ShowEdgeApplicationVersionResponseState struct {
	// contains filtered or unexported fields
}

func (ShowEdgeApplicationVersionResponseState) MarshalJSON

func (c ShowEdgeApplicationVersionResponseState) MarshalJSON() ([]byte, error)

func (*ShowEdgeApplicationVersionResponseState) UnmarshalJSON

func (c *ShowEdgeApplicationVersionResponseState) UnmarshalJSON(b []byte) error

func (ShowEdgeApplicationVersionResponseState) Value added in v0.0.90

type ShowEdgeNodeRequest

type ShowEdgeNodeRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`
}

ShowEdgeNodeRequest Request Object

func (ShowEdgeNodeRequest) String

func (o ShowEdgeNodeRequest) String() string

type ShowEdgeNodeResponse

type ShowEdgeNodeResponse struct {

	// 边缘节点在IEF的日志配置
	LogConfigs *[]LogConfigDto `json:"log_configs,omitempty"`

	HaConfig *HaConfigDto `json:"ha_config,omitempty"`

	// 边缘节点Id
	EdgeNodeId *string `json:"edge_node_id,omitempty"`

	// 实例ID。物理多租下各实例的唯一标识,一般华为云租户无需携带该参数,仅在物理多租场景下从管理面访问API时需要携带该参数。
	InstanceId *string `json:"instance_id,omitempty"`

	// 边缘节点关联的产品ID,用于唯一标识一个产品模型。
	ProductId *string `json:"product_id,omitempty"`

	// 边缘节点关联的产品名称。
	ProductName *string `json:"product_name,omitempty"`

	// 资源空间id,对应IOTDA云服务接口参数中的app_id。
	SpaceId *string `json:"space_id,omitempty"`

	// 节点所购买的资源类型的列表
	ResourceSpecTypes *[]string `json:"resource_spec_types,omitempty"`

	// 资源id列表,创建节点时需绑定已购买的资源包,可以叠加节点功能。
	ResourceIds *[]string `json:"resource_ids,omitempty"`

	// 边缘节点主机ip
	Ips *[]string `json:"ips,omitempty"`

	// 边缘节点名称
	Name *string `json:"name,omitempty"`

	// 边缘节点状态
	State *string `json:"state,omitempty"`

	// 边缘应用id,只允许数字、英文小写、中划线,切必须以字母或数字结尾
	SoftwareVersion *string `json:"software_version,omitempty"`

	// 边缘节点创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 边缘节点更新时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 边缘节点操作系统名称
	OsName *string `json:"os_name,omitempty"`

	// 边缘节点操作系统架构
	Arch *string `json:"arch,omitempty"`

	// 边缘节点主机名
	HostName *string `json:"host_name,omitempty"`

	// 边缘节点网络网卡信息
	Nics *[]Nic `json:"nics,omitempty"`

	// 网络规格,如4 cores | 3867 MB
	Specification *string `json:"specification,omitempty"`

	// AI加速卡类型,如华为昇腾AI加速卡NPU、图像处理加速卡GPU。
	AiCardType *string `json:"ai_card_type,omitempty"`

	// npu驱动动态库路径
	NpuLibraryPath *string `json:"npu_library_path,omitempty"`

	// 容器运行时版本
	ContainerVersion *string `json:"container_version,omitempty"`

	// 节点所属资源类型:advanced|standard
	Type *string `json:"type,omitempty"`

	// 节点的安全等级,MEDIUM边缘节数据上报不进行加密,HIGH对数据上报进行加密。
	SecurityLevel *string `json:"security_level,omitempty"`

	// 节点的可靠性等级。
	ReliabilityLevel *string `json:"reliability_level,omitempty"`

	// 节点的存储周期,默认0天,取值范围0~7天,0天则不存储。
	StoragePeriod *int32 `json:"storage_period,omitempty"`

	BasePath *BasePathDto `json:"base_path,omitempty"`

	// 注册节点网关配置
	HardwareModel *string `json:"hardware_model,omitempty"`

	OfflineCacheConfigs *OfflineCacheConfigsDto `json:"offline_cache_configs,omitempty"`

	DeviceAuthInfo *DeviceAuthInfoDisplayDto `json:"device_auth_info,omitempty"`

	// 节点使用的数据格式,默认为iotda物模型1.0格式,可以选择属性平铺数据格式flat_json
	DeviceDataFormat *string `json:"device_data_format,omitempty"`

	// 自动升级系统应用的节点开关,默认为关闭:OFF,IMMEDIATE表示节点开关打开
	AutomaticUpgrade *string `json:"automatic_upgrade,omitempty"`

	DeviceDataRecord *DeviceDataRecord `json:"device_data_record,omitempty"`

	// omagent监控运维工具是否上报指标
	MetricReport   *string `json:"metric_report,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowEdgeNodeResponse Response Object

func (ShowEdgeNodeResponse) String

func (o ShowEdgeNodeResponse) String() string

type ShowIaConfigRequest

type ShowIaConfigRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 边侧第三方应用的模块ID
	IaId string `json:"ia_id"`

	// 配置ID
	ConfigId string `json:"config_id"`
}

ShowIaConfigRequest Request Object

func (ShowIaConfigRequest) String

func (o ShowIaConfigRequest) String() string

type ShowIaConfigResponse

type ShowIaConfigResponse struct {

	// 配置ID
	Id *string `json:"id,omitempty"`

	// 配置项名称
	Name *string `json:"name,omitempty"`

	// 配置项详情
	Value *string `json:"value,omitempty"`

	// 配置项描述
	Description *string `json:"description,omitempty"`

	// 版本号
	Version *int64 `json:"version,omitempty"`

	// 下发状态
	State *ShowIaConfigResponseState `json:"state,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowIaConfigResponse Response Object

func (ShowIaConfigResponse) String

func (o ShowIaConfigResponse) String() string

type ShowIaConfigResponseState

type ShowIaConfigResponseState struct {
	// contains filtered or unexported fields
}

func (ShowIaConfigResponseState) MarshalJSON

func (c ShowIaConfigResponseState) MarshalJSON() ([]byte, error)

func (*ShowIaConfigResponseState) UnmarshalJSON

func (c *ShowIaConfigResponseState) UnmarshalJSON(b []byte) error

func (ShowIaConfigResponseState) Value added in v0.0.90

type ShowIaConfigResponseStateEnum

type ShowIaConfigResponseStateEnum struct {
	SUCCESS ShowIaConfigResponseState
	SENDING ShowIaConfigResponseState
}

func GetShowIaConfigResponseStateEnum

func GetShowIaConfigResponseStateEnum() ShowIaConfigResponseStateEnum

type ShowModuleRequest

type ShowModuleRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 边缘模块ID
	ModuleId string `json:"module_id"`
}

ShowModuleRequest Request Object

func (ShowModuleRequest) String

func (o ShowModuleRequest) String() string

type ShowModuleResponse

type ShowModuleResponse struct {

	// 应用ID
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用版本
	AppVersion *string `json:"app_version,omitempty"`

	// 模块运行状态
	State *ShowModuleResponseState `json:"state,omitempty"`

	// 模块管控状态
	ControlStatus *string `json:"control_status,omitempty"`

	// 边缘节点(同deviceID)ID
	NodeId *string `json:"node_id,omitempty"`

	// 模块名称
	ModuleName *string `json:"module_name,omitempty"`

	// 模块ID
	ModuleId *string `json:"module_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 应用类型
	AppType *ShowModuleResponseAppType `json:"app_type,omitempty"`

	// 功能类型
	FunctionType *ShowModuleResponseFunctionType `json:"function_type,omitempty"`

	ContainerSettings *ModuleContainerSettingsResDto `json:"container_settings,omitempty"`
	HttpStatusCode    int                            `json:"-"`
}

ShowModuleResponse Response Object

func (ShowModuleResponse) String

func (o ShowModuleResponse) String() string

type ShowModuleResponseAppType

type ShowModuleResponseAppType struct {
	// contains filtered or unexported fields
}

func (ShowModuleResponseAppType) MarshalJSON

func (c ShowModuleResponseAppType) MarshalJSON() ([]byte, error)

func (*ShowModuleResponseAppType) UnmarshalJSON

func (c *ShowModuleResponseAppType) UnmarshalJSON(b []byte) error

func (ShowModuleResponseAppType) Value added in v0.0.90

type ShowModuleResponseAppTypeEnum

type ShowModuleResponseAppTypeEnum struct {
	SYSTEM_REQUIRED ShowModuleResponseAppType
	SYSTEM_OPTIONAL ShowModuleResponseAppType
	USER            ShowModuleResponseAppType
}

func GetShowModuleResponseAppTypeEnum

func GetShowModuleResponseAppTypeEnum() ShowModuleResponseAppTypeEnum

type ShowModuleResponseFunctionType

type ShowModuleResponseFunctionType struct {
	// contains filtered or unexported fields
}

func (ShowModuleResponseFunctionType) MarshalJSON

func (c ShowModuleResponseFunctionType) MarshalJSON() ([]byte, error)

func (*ShowModuleResponseFunctionType) UnmarshalJSON

func (c *ShowModuleResponseFunctionType) UnmarshalJSON(b []byte) error

func (ShowModuleResponseFunctionType) Value added in v0.0.90

type ShowModuleResponseFunctionTypeEnum

type ShowModuleResponseFunctionTypeEnum struct {
	DATA_PROCESSING        ShowModuleResponseFunctionType
	PROTOCOL_PARSING       ShowModuleResponseFunctionType
	ON_PREMISE_INTEGRATION ShowModuleResponseFunctionType
	GATEWAY_MANAGER        ShowModuleResponseFunctionType
	COMPOSITE_APPLICATION  ShowModuleResponseFunctionType
	DATA_COLLECTION        ShowModuleResponseFunctionType
}

func GetShowModuleResponseFunctionTypeEnum

func GetShowModuleResponseFunctionTypeEnum() ShowModuleResponseFunctionTypeEnum

type ShowModuleResponseState

type ShowModuleResponseState struct {
	// contains filtered or unexported fields
}

func (ShowModuleResponseState) MarshalJSON

func (c ShowModuleResponseState) MarshalJSON() ([]byte, error)

func (*ShowModuleResponseState) UnmarshalJSON

func (c *ShowModuleResponseState) UnmarshalJSON(b []byte) error

func (ShowModuleResponseState) Value added in v0.0.90

func (c ShowModuleResponseState) Value() string

type ShowModuleResponseStateEnum

type ShowModuleResponseStateEnum struct {
	PENDING        ShowModuleResponseState
	PENDING_DELETE ShowModuleResponseState
	DELETE_FAILED  ShowModuleResponseState
	RUNNING        ShowModuleResponseState
	FAILED         ShowModuleResponseState
	SUCCEEDED      ShowModuleResponseState
	UNKNOWN        ShowModuleResponseState
	DELETE_SUCCESS ShowModuleResponseState
	STOPPED        ShowModuleResponseState
}

func GetShowModuleResponseStateEnum

func GetShowModuleResponseStateEnum() ShowModuleResponseStateEnum

type ShowModuleShadowRequest added in v0.1.56

type ShowModuleShadowRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 边缘模块ID
	ModuleId string `json:"module_id"`
}

ShowModuleShadowRequest Request Object

func (ShowModuleShadowRequest) String added in v0.1.56

func (o ShowModuleShadowRequest) String() string

type ShowModuleShadowResponse added in v0.1.56

type ShowModuleShadowResponse struct {

	// 应用配置内容
	Properties *interface{} `json:"properties,omitempty"`

	// 应用配置更新时间
	PropertiesUpdateTime *interface{} `json:"properties_update_time,omitempty"`
	HttpStatusCode       int          `json:"-"`
}

ShowModuleShadowResponse Response Object

func (ShowModuleShadowResponse) String added in v0.1.56

func (o ShowModuleShadowResponse) String() string

type ShowNaRequest

type ShowNaRequest struct {

	// 北向数据接收端点ID
	NaId string `json:"na_id"`
}

ShowNaRequest Request Object

func (ShowNaRequest) String

func (o ShowNaRequest) String() string

type ShowNaResponse

type ShowNaResponse struct {

	// NA系统ID,提供给其他系统访问的唯一标识
	NaId *string `json:"na_id,omitempty"`

	// NA系统名称
	Name *string `json:"name,omitempty"`

	// 北向NA系统描述
	Description *string `json:"description,omitempty"`

	// 访问URL地址
	Endpoint *string `json:"endpoint,omitempty"`

	// 鉴权方式
	AuthType *string `json:"auth_type,omitempty"`

	// 接入类型
	AccessType *string `json:"access_type,omitempty"`

	AccessRomaInfo *AccessRomaBriefInfo `json:"access_roma_info,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowNaResponse Response Object

func (ShowNaResponse) String

func (o ShowNaResponse) String() string

type ShowOtTemplateRequest added in v0.1.37

type ShowOtTemplateRequest struct {

	// 模板id,节点下唯一。
	TplId string `json:"tpl_id"`
}

ShowOtTemplateRequest Request Object

func (ShowOtTemplateRequest) String added in v0.1.37

func (o ShowOtTemplateRequest) String() string

type ShowOtTemplateResponse added in v0.1.37

type ShowOtTemplateResponse struct {

	// 模板id
	TplId *string `json:"tpl_id,omitempty"`

	// 模板名称
	Name *string `json:"name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 数据源元数据
	DatasourceMeta *interface{} `json:"datasource_meta,omitempty"`

	// 点位表元数据
	PointMeta *interface{} `json:"point_meta,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowOtTemplateResponse Response Object

func (ShowOtTemplateResponse) String added in v0.1.37

func (o ShowOtTemplateResponse) String() string

type ShowPointTemplateRequest added in v0.1.32

type ShowPointTemplateRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`
}

ShowPointTemplateRequest Request Object

func (ShowPointTemplateRequest) String added in v0.1.32

func (o ShowPointTemplateRequest) String() string

type ShowPointTemplateResponse added in v0.1.32

type ShowPointTemplateResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

ShowPointTemplateResponse Response Object

func (ShowPointTemplateResponse) Consume added in v0.1.47

func (o ShowPointTemplateResponse) Consume(writer io.Writer) (int64, error)

func (ShowPointTemplateResponse) String added in v0.1.32

func (o ShowPointTemplateResponse) String() string

type ShowPointsRequest added in v0.1.32

type ShowPointsRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`
}

ShowPointsRequest Request Object

func (ShowPointsRequest) String added in v0.1.32

func (o ShowPointsRequest) String() string

type ShowPointsResponse added in v0.1.32

type ShowPointsResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

ShowPointsResponse Response Object

func (ShowPointsResponse) Consume added in v0.1.47

func (o ShowPointsResponse) Consume(writer io.Writer) (int64, error)

func (ShowPointsResponse) String added in v0.1.32

func (o ShowPointsResponse) String() string

type ShowProductConfigRequest

type ShowProductConfigRequest struct {

	// 协议类型
	ProtocolType string `json:"protocol_type"`
}

ShowProductConfigRequest Request Object

func (ShowProductConfigRequest) String

func (o ShowProductConfigRequest) String() string

type ShowProductConfigResponse

type ShowProductConfigResponse struct {

	// 服务id
	ServiceId *string `json:"service_id,omitempty"`

	// 服务类型
	ServiceType *string `json:"service_type,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 属性
	Properties     *[]interface{} `json:"properties,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowProductConfigResponse Response Object

func (ShowProductConfigResponse) String

func (o ShowProductConfigResponse) String() string

type SynchronizeDcConfigsRequest added in v0.1.32

type SynchronizeDcConfigsRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`
}

SynchronizeDcConfigsRequest Request Object

func (SynchronizeDcConfigsRequest) String added in v0.1.32

type SynchronizeDcConfigsResponse added in v0.1.32

type SynchronizeDcConfigsResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

SynchronizeDcConfigsResponse Response Object

func (SynchronizeDcConfigsResponse) String added in v0.1.32

type TcpSocketDto added in v0.0.97

type TcpSocketDto struct {

	// 端口
	Port int32 `json:"port"`
}

func (TcpSocketDto) String added in v0.0.97

func (o TcpSocketDto) String() string

type TimeSpans added in v0.1.59

type TimeSpans struct {

	// 开始时间;不包含日期,为本地时刻,根据网关侧的本地时间进行调度
	Start string `json:"start"`

	// 结束时间,不包含日期,为本地时刻,根据网关侧的本地时间进行调度
	End string `json:"end"`
}

func (TimeSpans) String added in v0.1.59

func (o TimeSpans) String() string

type UpdateDcDsReqDto added in v0.1.32

type UpdateDcDsReqDto struct {

	// 数据源的连接及采集信息
	Config *interface{} `json:"config,omitempty"`

	// 采集数据源名称,允许中、数字、英文大小写、下划线、中划线
	Name *string `json:"name,omitempty"`

	// 质量上报开关,不携带或值不为true,默认为false
	QualityReport *bool `json:"quality_report,omitempty"`
}

UpdateDcDsReqDto 修改数据源配置请求结构体

func (UpdateDcDsReqDto) String added in v0.1.32

func (o UpdateDcDsReqDto) String() string

type UpdateDcDsRequest added in v0.1.32

type UpdateDcDsRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`

	Body *UpdateDcDsReqDto `json:"body,omitempty"`
}

UpdateDcDsRequest Request Object

func (UpdateDcDsRequest) String added in v0.1.32

func (o UpdateDcDsRequest) String() string

type UpdateDcDsResponse added in v0.1.32

type UpdateDcDsResponse struct {

	// 采集数据源id,节点下唯一
	DsId *string `json:"ds_id,omitempty"`

	// 数据源的连接及采集信息
	Config *interface{} `json:"config,omitempty"`

	// 采集数据源名称,允许中、数字、英文大小写、下划线、中划线
	Name *string `json:"name,omitempty"`

	// 边缘节点id
	EdgeNodeId *string `json:"edge_node_id,omitempty"`

	// 模块id
	ModuleId *string `json:"module_id,omitempty"`

	// 模板id,节点下唯一
	TplId *string `json:"tpl_id,omitempty"`

	// 质量上报开关,不携带或值不为true,默认为false
	QualityReport *bool `json:"quality_report,omitempty"`

	// 应用ID
	EdgeAppName *string `json:"edge_app_name,omitempty"`

	// 数采连接信息
	ConnectionInfo *interface{} `json:"connection_info,omitempty"`

	// 数采连接状态,stopped|running
	ModuleState *string `json:"module_state,omitempty"`

	// 数采连接下点位数
	Count *int64 `json:"count,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 数采配置是否已同步,已同步:true,未同步:false
	Synchronized *bool `json:"synchronized,omitempty"`

	// 数采配置同步时间
	SynchronizedTime *string `json:"synchronized_time,omitempty"`
	HttpStatusCode   int     `json:"-"`
}

UpdateDcDsResponse Response Object

func (UpdateDcDsResponse) String added in v0.1.32

func (o UpdateDcDsResponse) String() string

type UpdateDcPointReqDto added in v0.1.32

type UpdateDcPointReqDto struct {

	// 点位名称,允许中、数字、英文大小写、下划线、中划线、#%()*特殊字符
	Name *string `json:"name,omitempty"`

	// 点位采集配置
	CollectionConfig *interface{} `json:"collection_config,omitempty"`

	// 设备id
	DeviceId string `json:"device_id"`

	// 属性,允许中、数字、英文大小写、下划线、中划线
	Property string `json:"property"`

	// 点位数据类型
	DataType *string `json:"data_type,omitempty"`

	ProcessingConfig *ProcessingConfigDto `json:"processing_config,omitempty"`
}

UpdateDcPointReqDto 更新点位表请求结构体

func (UpdateDcPointReqDto) String added in v0.1.32

func (o UpdateDcPointReqDto) String() string

type UpdateDcPointRequest added in v0.1.32

type UpdateDcPointRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 采集数据源id,创建数据源配置时设置,节点下唯一。
	DsId string `json:"ds_id"`

	// 采集点位表id,创建点位表时设置,数据源下唯一。
	PointId string `json:"point_id"`

	Body *UpdateDcPointReqDto `json:"body,omitempty"`
}

UpdateDcPointRequest Request Object

func (UpdateDcPointRequest) String added in v0.1.32

func (o UpdateDcPointRequest) String() string

type UpdateDcPointResponse added in v0.1.32

type UpdateDcPointResponse struct {

	// 点位表id,数据源下唯一
	PointId *string `json:"point_id,omitempty"`

	// 点位名称,允许中、数字、英文大小写、下划线、中划线、#%()*特殊字符
	Name *string `json:"name,omitempty"`

	// 点位采集配置
	CollectionConfig *interface{} `json:"collection_config,omitempty"`

	// 设备id
	DeviceId *string `json:"device_id,omitempty"`

	// 属性,允许中、数字、英文大小写、下划线、中划线
	Property *string `json:"property,omitempty"`

	// 点位数据类型
	DataType *string `json:"data_type,omitempty"`

	// 采集数据源id,节点下唯一
	DsId *string `json:"ds_id,omitempty"`

	ProcessingConfig *ProcessingConfigDto `json:"processing_config,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateDcPointResponse Response Object

func (UpdateDcPointResponse) String added in v0.1.32

func (o UpdateDcPointResponse) String() string

type UpdateDesireds

type UpdateDesireds struct {

	// 设备配置,内容由产品的$config服务定义。
	Config *interface{} `json:"config,omitempty"`
}

UpdateDesireds 修改设备设备配置结构体。

func (UpdateDesireds) String

func (o UpdateDesireds) String() string

type UpdateDeviceRequest

type UpdateDeviceRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 设备ID
	DeviceId string `json:"device_id"`

	Body *UpdateDesireds `json:"body,omitempty"`
}

UpdateDeviceRequest Request Object

func (UpdateDeviceRequest) String

func (o UpdateDeviceRequest) String() string

type UpdateDeviceResponse

type UpdateDeviceResponse struct {

	// 设备配置,内容由产品的$config服务定义。
	Config         *interface{} `json:"config,omitempty"`
	HttpStatusCode int          `json:"-"`
}

UpdateDeviceResponse Response Object

func (UpdateDeviceResponse) String

func (o UpdateDeviceResponse) String() string

type UpdateEdgeAppVersionDto

type UpdateEdgeAppVersionDto struct {

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 部署类型docker|process
	DeployType *string `json:"deploy_type,omitempty"`

	// 是否允许部署多实例
	DeployMultiInstance *bool `json:"deploy_multi_instance,omitempty"`

	ContainerSettings *ContainerSettingsDto `json:"container_settings,omitempty"`

	LivenessProbe *ProbeDto `json:"liveness_probe,omitempty"`

	ReadinessProbe *ProbeDto `json:"readiness_probe,omitempty"`

	// 应用集成的边缘SDK版本
	SdkVersion *string `json:"sdk_version,omitempty"`

	// 架构
	Arch *interface{} `json:"arch,omitempty"`

	// 启动命令
	Command *interface{} `json:"command,omitempty"`

	// 启动参数
	Args *interface{} `json:"args,omitempty"`

	// 应用输出路由端点
	Outputs *interface{} `json:"outputs,omitempty"`

	// 应用输入路由
	Inputs *interface{} `json:"inputs,omitempty"`

	// 应用实现的服务列表
	Services *interface{} `json:"services,omitempty"`

	// 模板id
	TplId *string `json:"tpl_id,omitempty"`
}

func (UpdateEdgeAppVersionDto) String

func (o UpdateEdgeAppVersionDto) String() string

type UpdateEdgeAppVersionStateDto

type UpdateEdgeAppVersionStateDto struct {

	// 应用版本状态
	State *UpdateEdgeAppVersionStateDtoState `json:"state,omitempty"`
}

func (UpdateEdgeAppVersionStateDto) String

type UpdateEdgeAppVersionStateDtoState

type UpdateEdgeAppVersionStateDtoState struct {
	// contains filtered or unexported fields
}

func (UpdateEdgeAppVersionStateDtoState) MarshalJSON

func (c UpdateEdgeAppVersionStateDtoState) MarshalJSON() ([]byte, error)

func (*UpdateEdgeAppVersionStateDtoState) UnmarshalJSON

func (c *UpdateEdgeAppVersionStateDtoState) UnmarshalJSON(b []byte) error

func (UpdateEdgeAppVersionStateDtoState) Value added in v0.0.90

type UpdateEdgeAppVersionStateDtoStateEnum

type UpdateEdgeAppVersionStateDtoStateEnum struct {
	PUBLISHED UpdateEdgeAppVersionStateDtoState
	OFF_SHELF UpdateEdgeAppVersionStateDtoState
}

func GetUpdateEdgeAppVersionStateDtoStateEnum

func GetUpdateEdgeAppVersionStateDtoStateEnum() UpdateEdgeAppVersionStateDtoStateEnum

type UpdateEdgeApplicationVersionRequest

type UpdateEdgeApplicationVersionRequest struct {

	// 应用ID,应用唯一。
	EdgeAppId string `json:"edge_app_id"`

	// 应用版本,应用内版本唯一。
	Version string `json:"version"`

	Body *UpdateEdgeAppVersionDto `json:"body,omitempty"`
}

UpdateEdgeApplicationVersionRequest Request Object

func (UpdateEdgeApplicationVersionRequest) String

type UpdateEdgeApplicationVersionResponse

type UpdateEdgeApplicationVersionResponse struct {

	// 应用ID
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用名称
	Name *string `json:"name,omitempty"`

	// 应用名称
	Version *string `json:"version,omitempty"`

	// 应用集成的边缘SDK版本
	SdkVersion *string `json:"sdk_version,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 部署类型docker|process
	DeployType *string `json:"deploy_type,omitempty"`

	// 是否允许部署多实例
	DeployMultiInstance *bool `json:"deploy_multi_instance,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 应用版本状态
	State *UpdateEdgeApplicationVersionResponseState `json:"state,omitempty"`

	// 架构
	Arch *[]string `json:"arch,omitempty"`

	// 发布时间
	PublishTime *string `json:"publish_time,omitempty"`

	// 下线时间
	OffShelfTime   *string `json:"off_shelf_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEdgeApplicationVersionResponse Response Object

func (UpdateEdgeApplicationVersionResponse) String

type UpdateEdgeApplicationVersionResponseState

type UpdateEdgeApplicationVersionResponseState struct {
	// contains filtered or unexported fields
}

func (UpdateEdgeApplicationVersionResponseState) MarshalJSON

func (*UpdateEdgeApplicationVersionResponseState) UnmarshalJSON

func (UpdateEdgeApplicationVersionResponseState) Value added in v0.0.90

type UpdateEdgeApplicationVersionStateRequest

type UpdateEdgeApplicationVersionStateRequest struct {

	// 应用ID,应用唯一标识。
	EdgeAppId string `json:"edge_app_id"`

	// 应用版本,应用内版本唯一。
	Version string `json:"version"`

	Body *UpdateEdgeAppVersionStateDto `json:"body,omitempty"`
}

UpdateEdgeApplicationVersionStateRequest Request Object

func (UpdateEdgeApplicationVersionStateRequest) String

type UpdateEdgeApplicationVersionStateResponse

type UpdateEdgeApplicationVersionStateResponse struct {

	// 应用ID
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用名称
	Name *string `json:"name,omitempty"`

	// 应用名称
	Version *string `json:"version,omitempty"`

	// 应用集成的边缘SDK版本
	SdkVersion *string `json:"sdk_version,omitempty"`

	// 应用描述
	Description *string `json:"description,omitempty"`

	// 部署类型docker|process
	DeployType *string `json:"deploy_type,omitempty"`

	// 是否允许部署多实例
	DeployMultiInstance *bool `json:"deploy_multi_instance,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 应用版本状态
	State *UpdateEdgeApplicationVersionStateResponseState `json:"state,omitempty"`

	// 架构
	Arch *[]string `json:"arch,omitempty"`

	// 发布时间
	PublishTime *string `json:"publish_time,omitempty"`

	// 下线时间
	OffShelfTime   *string `json:"off_shelf_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEdgeApplicationVersionStateResponse Response Object

func (UpdateEdgeApplicationVersionStateResponse) String

type UpdateEdgeApplicationVersionStateResponseState

type UpdateEdgeApplicationVersionStateResponseState struct {
	// contains filtered or unexported fields
}

func (UpdateEdgeApplicationVersionStateResponseState) MarshalJSON

func (*UpdateEdgeApplicationVersionStateResponseState) UnmarshalJSON

func (UpdateEdgeApplicationVersionStateResponseState) Value added in v0.0.90

type UpdateEdgeModuleReqDto

type UpdateEdgeModuleReqDto struct {

	// 边缘应用版本
	AppVersion *string `json:"app_version,omitempty"`

	// 边缘模块名称
	ModuleName *string `json:"module_name,omitempty"`

	ContainerSettings *ContainerSettingsReqDto `json:"container_settings,omitempty"`

	// 模块期望状态: RUNNING(升级后期望模块运行),STOPPED(升级后期望模块停止),空值默认继承升级前模块期望状态
	DesiredState *UpdateEdgeModuleReqDtoDesiredState `json:"desired_state,omitempty"`
}

UpdateEdgeModuleReqDto 更新边缘模块请求结构体

func (UpdateEdgeModuleReqDto) String

func (o UpdateEdgeModuleReqDto) String() string

type UpdateEdgeModuleReqDtoDesiredState added in v0.1.56

type UpdateEdgeModuleReqDtoDesiredState struct {
	// contains filtered or unexported fields
}

func (UpdateEdgeModuleReqDtoDesiredState) MarshalJSON added in v0.1.56

func (c UpdateEdgeModuleReqDtoDesiredState) MarshalJSON() ([]byte, error)

func (*UpdateEdgeModuleReqDtoDesiredState) UnmarshalJSON added in v0.1.56

func (c *UpdateEdgeModuleReqDtoDesiredState) UnmarshalJSON(b []byte) error

func (UpdateEdgeModuleReqDtoDesiredState) Value added in v0.1.56

type UpdateEdgeModuleReqDtoDesiredStateEnum added in v0.1.56

type UpdateEdgeModuleReqDtoDesiredStateEnum struct {
	RUNNING UpdateEdgeModuleReqDtoDesiredState
	STOPPED UpdateEdgeModuleReqDtoDesiredState
}

func GetUpdateEdgeModuleReqDtoDesiredStateEnum added in v0.1.56

func GetUpdateEdgeModuleReqDtoDesiredStateEnum() UpdateEdgeModuleReqDtoDesiredStateEnum

type UpdateEdgeModuleStateReqDto added in v0.1.37

type UpdateEdgeModuleStateReqDto struct {

	// 模块状态
	State *UpdateEdgeModuleStateReqDtoState `json:"state,omitempty"`
}

UpdateEdgeModuleStateReqDto 更新边缘模块状态请求结构体

func (UpdateEdgeModuleStateReqDto) String added in v0.1.37

type UpdateEdgeModuleStateReqDtoState added in v0.1.37

type UpdateEdgeModuleStateReqDtoState struct {
	// contains filtered or unexported fields
}

func (UpdateEdgeModuleStateReqDtoState) MarshalJSON added in v0.1.37

func (c UpdateEdgeModuleStateReqDtoState) MarshalJSON() ([]byte, error)

func (*UpdateEdgeModuleStateReqDtoState) UnmarshalJSON added in v0.1.37

func (c *UpdateEdgeModuleStateReqDtoState) UnmarshalJSON(b []byte) error

func (UpdateEdgeModuleStateReqDtoState) Value added in v0.1.37

type UpdateEdgeModuleStateReqDtoStateEnum added in v0.1.37

type UpdateEdgeModuleStateReqDtoStateEnum struct {
	RUNNING UpdateEdgeModuleStateReqDtoState
	STOPPED UpdateEdgeModuleStateReqDtoState
}

func GetUpdateEdgeModuleStateReqDtoStateEnum added in v0.1.37

func GetUpdateEdgeModuleStateReqDtoStateEnum() UpdateEdgeModuleStateReqDtoStateEnum

type UpdateExternalEntityReqDto

type UpdateExternalEntityReqDto struct {

	// 连接外部实体的协议类型
	Protocol string `json:"protocol"`

	// 连接类型
	ConnectionType string `json:"connection_type"`

	MqttConnectionInfo *MqttConnectionInfo `json:"mqtt_connection_info,omitempty"`
}

UpdateExternalEntityReqDto 更新外部实体请求结构体

func (UpdateExternalEntityReqDto) String

type UpdateExternalEntityRequest

type UpdateExternalEntityRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 外部实体ID
	ExternalId string `json:"external_id"`

	Body *UpdateExternalEntityReqDto `json:"body,omitempty"`
}

UpdateExternalEntityRequest Request Object

func (UpdateExternalEntityRequest) String

type UpdateExternalEntityResponse

type UpdateExternalEntityResponse struct {

	// 节点ID
	NodeId *string `json:"node_id,omitempty"`

	// 资源空间ID。此参数为非必选参数,存在多资源空间的用户需要使用该接口时,建议携带该参数指定创建的外部实体归属到IoDA哪个资源空间下的边缘节点设备下,否则创建的外部实体将会归属到默认资源空间下对应的边缘节点下,对应于IoDA的app_id.
	SpaceId *string `json:"space_id,omitempty"`

	// 外部实体ID
	ExternalId *string `json:"external_id,omitempty"`

	// 接入协议类型
	Protocol *string `json:"protocol,omitempty"`

	// 连接类型(client和server)
	ConnectionType *string `json:"connection_type,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后修改时间
	LastModifyTime *string `json:"last_modify_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateExternalEntityResponse Response Object

func (UpdateExternalEntityResponse) String

type UpdateIaConfigRequest

type UpdateIaConfigRequest struct {

	// 边缘节点ID
	NodeId string `json:"node_id"`

	// 边侧第三方应用的模块ID
	IaId string `json:"ia_id"`

	// 配置ID
	ConfigId string `json:"config_id"`

	Body *UpdateIaConfigRequestDto `json:"body,omitempty"`
}

UpdateIaConfigRequest Request Object

func (UpdateIaConfigRequest) String

func (o UpdateIaConfigRequest) String() string

type UpdateIaConfigRequestDto

type UpdateIaConfigRequestDto struct {

	// 配置项名称
	Name string `json:"name"`

	// 配置项详情,长度2MB以内
	Value string `json:"value"`

	// 配置项描述
	Description *string `json:"description,omitempty"`
}

func (UpdateIaConfigRequestDto) String

func (o UpdateIaConfigRequestDto) String() string

type UpdateIaConfigResponse

type UpdateIaConfigResponse struct {

	// 配置ID
	Id *string `json:"id,omitempty"`

	// 配置项名称
	Name *string `json:"name,omitempty"`

	// 配置项详情
	Value *string `json:"value,omitempty"`

	// 配置项描述
	Description *string `json:"description,omitempty"`

	// 版本号
	Version *int64 `json:"version,omitempty"`

	// 下发状态
	State *UpdateIaConfigResponseState `json:"state,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateIaConfigResponse Response Object

func (UpdateIaConfigResponse) String

func (o UpdateIaConfigResponse) String() string

type UpdateIaConfigResponseState

type UpdateIaConfigResponseState struct {
	// contains filtered or unexported fields
}

func (UpdateIaConfigResponseState) MarshalJSON

func (c UpdateIaConfigResponseState) MarshalJSON() ([]byte, error)

func (*UpdateIaConfigResponseState) UnmarshalJSON

func (c *UpdateIaConfigResponseState) UnmarshalJSON(b []byte) error

func (UpdateIaConfigResponseState) Value added in v0.0.90

type UpdateIaConfigResponseStateEnum

type UpdateIaConfigResponseStateEnum struct {
	SUCCESS UpdateIaConfigResponseState
	SENDING UpdateIaConfigResponseState
}

func GetUpdateIaConfigResponseStateEnum

func GetUpdateIaConfigResponseStateEnum() UpdateIaConfigResponseStateEnum

type UpdateModuleRequest

type UpdateModuleRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 边缘模块ID
	ModuleId string `json:"module_id"`

	Body *UpdateEdgeModuleReqDto `json:"body,omitempty"`
}

UpdateModuleRequest Request Object

func (UpdateModuleRequest) String

func (o UpdateModuleRequest) String() string

type UpdateModuleResponse

type UpdateModuleResponse struct {

	// 应用ID
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用版本
	AppVersion *string `json:"app_version,omitempty"`

	// 模块运行状态
	State *UpdateModuleResponseState `json:"state,omitempty"`

	// 模块管控状态
	ControlStatus *string `json:"control_status,omitempty"`

	// 边缘节点(同deviceID)ID
	NodeId *string `json:"node_id,omitempty"`

	// 模块名称
	ModuleName *string `json:"module_name,omitempty"`

	// 模块ID
	ModuleId *string `json:"module_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 应用类型
	AppType *UpdateModuleResponseAppType `json:"app_type,omitempty"`

	// 功能类型
	FunctionType   *UpdateModuleResponseFunctionType `json:"function_type,omitempty"`
	HttpStatusCode int                               `json:"-"`
}

UpdateModuleResponse Response Object

func (UpdateModuleResponse) String

func (o UpdateModuleResponse) String() string

type UpdateModuleResponseAppType

type UpdateModuleResponseAppType struct {
	// contains filtered or unexported fields
}

func (UpdateModuleResponseAppType) MarshalJSON

func (c UpdateModuleResponseAppType) MarshalJSON() ([]byte, error)

func (*UpdateModuleResponseAppType) UnmarshalJSON

func (c *UpdateModuleResponseAppType) UnmarshalJSON(b []byte) error

func (UpdateModuleResponseAppType) Value added in v0.0.90

type UpdateModuleResponseAppTypeEnum

type UpdateModuleResponseAppTypeEnum struct {
	SYSTEM_REQUIRED UpdateModuleResponseAppType
	SYSTEM_OPTIONAL UpdateModuleResponseAppType
	USER            UpdateModuleResponseAppType
}

func GetUpdateModuleResponseAppTypeEnum

func GetUpdateModuleResponseAppTypeEnum() UpdateModuleResponseAppTypeEnum

type UpdateModuleResponseFunctionType

type UpdateModuleResponseFunctionType struct {
	// contains filtered or unexported fields
}

func (UpdateModuleResponseFunctionType) MarshalJSON

func (c UpdateModuleResponseFunctionType) MarshalJSON() ([]byte, error)

func (*UpdateModuleResponseFunctionType) UnmarshalJSON

func (c *UpdateModuleResponseFunctionType) UnmarshalJSON(b []byte) error

func (UpdateModuleResponseFunctionType) Value added in v0.0.90

type UpdateModuleResponseFunctionTypeEnum

type UpdateModuleResponseFunctionTypeEnum struct {
	DATA_PROCESSING        UpdateModuleResponseFunctionType
	PROTOCOL_PARSING       UpdateModuleResponseFunctionType
	ON_PREMISE_INTEGRATION UpdateModuleResponseFunctionType
	GATEWAY_MANAGER        UpdateModuleResponseFunctionType
	COMPOSITE_APPLICATION  UpdateModuleResponseFunctionType
	DATA_COLLECTION        UpdateModuleResponseFunctionType
}

func GetUpdateModuleResponseFunctionTypeEnum

func GetUpdateModuleResponseFunctionTypeEnum() UpdateModuleResponseFunctionTypeEnum

type UpdateModuleResponseState

type UpdateModuleResponseState struct {
	// contains filtered or unexported fields
}

func (UpdateModuleResponseState) MarshalJSON

func (c UpdateModuleResponseState) MarshalJSON() ([]byte, error)

func (*UpdateModuleResponseState) UnmarshalJSON

func (c *UpdateModuleResponseState) UnmarshalJSON(b []byte) error

func (UpdateModuleResponseState) Value added in v0.0.90

type UpdateModuleShadowRequest added in v0.1.56

type UpdateModuleShadowRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 边缘模块ID
	ModuleId string `json:"module_id"`

	Body *UpdateModuleShadowsRequestBody `json:"body,omitempty"`
}

UpdateModuleShadowRequest Request Object

func (UpdateModuleShadowRequest) String added in v0.1.56

func (o UpdateModuleShadowRequest) String() string

type UpdateModuleShadowResponse added in v0.1.56

type UpdateModuleShadowResponse struct {

	// 应用配置内容
	Properties *interface{} `json:"properties,omitempty"`

	// 应用配置更新时间
	PropertiesUpdateTime *interface{} `json:"properties_update_time,omitempty"`
	HttpStatusCode       int          `json:"-"`
}

UpdateModuleShadowResponse Response Object

func (UpdateModuleShadowResponse) String added in v0.1.56

type UpdateModuleShadowsRequestBody added in v0.1.56

type UpdateModuleShadowsRequestBody struct {

	// 应用配置内容
	Properties *interface{} `json:"properties,omitempty"`
}

func (UpdateModuleShadowsRequestBody) String added in v0.1.56

type UpdateModuleStateRequest added in v0.1.37

type UpdateModuleStateRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 边缘模块ID
	ModuleId string `json:"module_id"`

	Body *UpdateEdgeModuleStateReqDto `json:"body,omitempty"`
}

UpdateModuleStateRequest Request Object

func (UpdateModuleStateRequest) String added in v0.1.37

func (o UpdateModuleStateRequest) String() string

type UpdateModuleStateResponse added in v0.1.37

type UpdateModuleStateResponse struct {

	// 应用ID
	EdgeAppId *string `json:"edge_app_id,omitempty"`

	// 应用版本
	AppVersion *string `json:"app_version,omitempty"`

	// 模块运行状态
	State *UpdateModuleStateResponseState `json:"state,omitempty"`

	// 模块管控状态
	ControlStatus *string `json:"control_status,omitempty"`

	// 边缘节点(同deviceID)ID
	NodeId *string `json:"node_id,omitempty"`

	// 模块名称
	ModuleName *string `json:"module_name,omitempty"`

	// 模块ID
	ModuleId *string `json:"module_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 最后一次修改时间
	UpdateTime *string `json:"update_time,omitempty"`

	// 应用类型
	AppType *UpdateModuleStateResponseAppType `json:"app_type,omitempty"`

	// 功能类型
	FunctionType   *UpdateModuleStateResponseFunctionType `json:"function_type,omitempty"`
	HttpStatusCode int                                    `json:"-"`
}

UpdateModuleStateResponse Response Object

func (UpdateModuleStateResponse) String added in v0.1.37

func (o UpdateModuleStateResponse) String() string

type UpdateModuleStateResponseAppType added in v0.1.37

type UpdateModuleStateResponseAppType struct {
	// contains filtered or unexported fields
}

func (UpdateModuleStateResponseAppType) MarshalJSON added in v0.1.37

func (c UpdateModuleStateResponseAppType) MarshalJSON() ([]byte, error)

func (*UpdateModuleStateResponseAppType) UnmarshalJSON added in v0.1.37

func (c *UpdateModuleStateResponseAppType) UnmarshalJSON(b []byte) error

func (UpdateModuleStateResponseAppType) Value added in v0.1.37

type UpdateModuleStateResponseAppTypeEnum added in v0.1.37

type UpdateModuleStateResponseAppTypeEnum struct {
	SYSTEM_REQUIRED UpdateModuleStateResponseAppType
	SYSTEM_OPTIONAL UpdateModuleStateResponseAppType
	USER            UpdateModuleStateResponseAppType
}

func GetUpdateModuleStateResponseAppTypeEnum added in v0.1.37

func GetUpdateModuleStateResponseAppTypeEnum() UpdateModuleStateResponseAppTypeEnum

type UpdateModuleStateResponseFunctionType added in v0.1.37

type UpdateModuleStateResponseFunctionType struct {
	// contains filtered or unexported fields
}

func (UpdateModuleStateResponseFunctionType) MarshalJSON added in v0.1.37

func (c UpdateModuleStateResponseFunctionType) MarshalJSON() ([]byte, error)

func (*UpdateModuleStateResponseFunctionType) UnmarshalJSON added in v0.1.37

func (c *UpdateModuleStateResponseFunctionType) UnmarshalJSON(b []byte) error

func (UpdateModuleStateResponseFunctionType) Value added in v0.1.37

type UpdateModuleStateResponseFunctionTypeEnum added in v0.1.37

type UpdateModuleStateResponseFunctionTypeEnum struct {
	DATA_PROCESSING        UpdateModuleStateResponseFunctionType
	PROTOCOL_PARSING       UpdateModuleStateResponseFunctionType
	ON_PREMISE_INTEGRATION UpdateModuleStateResponseFunctionType
	GATEWAY_MANAGER        UpdateModuleStateResponseFunctionType
	COMPOSITE_APPLICATION  UpdateModuleStateResponseFunctionType
	DATA_COLLECTION        UpdateModuleStateResponseFunctionType
}

func GetUpdateModuleStateResponseFunctionTypeEnum added in v0.1.37

func GetUpdateModuleStateResponseFunctionTypeEnum() UpdateModuleStateResponseFunctionTypeEnum

type UpdateModuleStateResponseState added in v0.1.37

type UpdateModuleStateResponseState struct {
	// contains filtered or unexported fields
}

func (UpdateModuleStateResponseState) MarshalJSON added in v0.1.37

func (c UpdateModuleStateResponseState) MarshalJSON() ([]byte, error)

func (*UpdateModuleStateResponseState) UnmarshalJSON added in v0.1.37

func (c *UpdateModuleStateResponseState) UnmarshalJSON(b []byte) error

func (UpdateModuleStateResponseState) Value added in v0.1.37

type UpdateNaRequest

type UpdateNaRequest struct {

	// 北向数据接收端点ID
	NaId string `json:"na_id"`

	Body *UpdateNaRequestDto `json:"body,omitempty"`
}

UpdateNaRequest Request Object

func (UpdateNaRequest) String

func (o UpdateNaRequest) String() string

type UpdateNaRequestDto

type UpdateNaRequestDto struct {

	// NA系统名称
	Name string `json:"name"`

	// 北向NA系统描述
	Description *string `json:"description,omitempty"`

	// 访问URL地址
	Endpoint string `json:"endpoint"`

	// 鉴权方式
	AuthType *string `json:"auth_type,omitempty"`

	AuthAkskInfo *AuthAkSkInfo `json:"auth_aksk_info,omitempty"`

	// 接入类型
	AccessType string `json:"access_type"`

	AccessRomaInfo *AccessRomaInfo `json:"access_roma_info,omitempty"`
}

func (UpdateNaRequestDto) String

func (o UpdateNaRequestDto) String() string

type UpdateNaResponse

type UpdateNaResponse struct {

	// NA系统ID,提供给其他系统访问的唯一标识
	NaId *string `json:"na_id,omitempty"`

	// NA系统名称
	Name *string `json:"name,omitempty"`

	// 北向NA系统描述
	Description *string `json:"description,omitempty"`

	// 访问URL地址
	Endpoint *string `json:"endpoint,omitempty"`

	// 鉴权方式
	AuthType *string `json:"auth_type,omitempty"`

	// 接入类型
	AccessType *string `json:"access_type,omitempty"`

	AccessRomaInfo *AccessRomaBriefInfo `json:"access_roma_info,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateNaResponse Response Object

func (UpdateNaResponse) String

func (o UpdateNaResponse) String() string

type UpdateRoutesRequest

type UpdateRoutesRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	Body *[]CreateRouterReqDto `json:"body,omitempty"`
}

UpdateRoutesRequest Request Object

func (UpdateRoutesRequest) String

func (o UpdateRoutesRequest) String() string

type UpdateRoutesResponse

type UpdateRoutesResponse struct {

	// 路由列表
	Routes *[]RouterRespDto `json:"routes,omitempty"`

	// 最后一次修改时间
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateRoutesResponse Response Object

func (UpdateRoutesResponse) String

func (o UpdateRoutesResponse) String() string

type UpdateScheduleReqDto added in v0.1.59

type UpdateScheduleReqDto struct {

	// 调度计划名称
	Name string `json:"name"`

	// 调度计划是否生效
	Enabled bool `json:"enabled"`

	// 调度计划起始时间,毫秒级别的时间戳
	StartTime *int64 `json:"start_time,omitempty"`

	// 调度计划结束时间,毫秒级别的时间戳
	EndTime int64 `json:"end_time"`

	// 调度计划优先级。
	Priority int32 `json:"priority"`

	Daily *DailyDto `json:"daily,omitempty"`

	// 调度任务信息
	Tasks []ScheduleTask `json:"tasks"`
}

UpdateScheduleReqDto 更新调度计划请求结构体

func (UpdateScheduleReqDto) String added in v0.1.59

func (o UpdateScheduleReqDto) String() string

type UpdateScheduleRequest added in v0.1.59

type UpdateScheduleRequest struct {

	// 边缘节点ID
	EdgeNodeId string `json:"edge_node_id"`

	// 调度计划id
	ScheduleId string `json:"schedule_id"`

	Body *UpdateScheduleReqDto `json:"body,omitempty"`
}

UpdateScheduleRequest Request Object

func (UpdateScheduleRequest) String added in v0.1.59

func (o UpdateScheduleRequest) String() string

type UpdateScheduleResponse added in v0.1.59

type UpdateScheduleResponse struct {

	// 调度计划id,租户下唯一
	ScheduleId *string `json:"schedule_id,omitempty"`

	// 节点id
	NodeId *string `json:"node_id,omitempty"`

	// 调度计划名称
	Name *string `json:"name,omitempty"`

	// 调度计划的循环类型
	CycleType *string `json:"cycle_type,omitempty"`

	// 调度计划是否生效
	Enabled *bool `json:"enabled,omitempty"`

	// 调度计划起始时间,毫秒级别的时间戳
	StartTime *int64 `json:"start_time,omitempty"`

	// 调度计划结束时间,毫秒级别的时间戳
	EndTime *int64 `json:"end_time,omitempty"`

	// 调度计划优先级, 1-16
	Priority *int32 `json:"priority,omitempty"`

	Daily *DailyDto `json:"daily,omitempty"`

	// 调度任务信息
	Tasks          *[]ScheduleTask `json:"tasks,omitempty"`
	HttpStatusCode int             `json:"-"`
}

UpdateScheduleResponse Response Object

func (UpdateScheduleResponse) String added in v0.1.59

func (o UpdateScheduleResponse) String() string

type VolumeDto

type VolumeDto struct {

	// 卷名称
	Name string `json:"name"`

	// 挂载类型
	Type *string `json:"type,omitempty"`

	// 源路径
	Source string `json:"source"`

	// 卷挂载路径
	Destination string `json:"destination"`

	// 只读,默认只读
	ReadOnly *bool `json:"read_only,omitempty"`
}

func (VolumeDto) String

func (o VolumeDto) String() string

Source Files

Jump to

Keyboard shortcuts

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