v20190423

package
v1.0.931 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM签名/鉴权错误。
	AUTHFAILURE = "AuthFailure"

	// 操作失败。
	FAILEDOPERATION = "FailedOperation"

	// 动作消息不可达。
	FAILEDOPERATION_ACTIONUNREACHABLE = "FailedOperation.ActionUnreachable"

	// 广播任务正在执行。
	FAILEDOPERATION_BROADCASTTASKISRUNNING = "FailedOperation.BroadcastTaskIsRunning"

	// 产品未开通视频AI分析服务
	FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = "FailedOperation.CloudStorageAIServiceNotEnabled"

	// 设备已经被禁用。
	FAILEDOPERATION_DEVICEALREADYDISABLED = "FailedOperation.DeviceAlreadyDisabled"

	// 设备已为目标升级版本。
	FAILEDOPERATION_DEVICEFIRMWAREISUPDATED = "FailedOperation.DeviceFirmwareIsUpdated"

	// 设备固件版本错误。
	FAILEDOPERATION_DEVICEINFOOUTDATED = "FailedOperation.DeviceInfoOutdated"

	// 返回:消息发送失败,设备未订阅Topic。
	FAILEDOPERATION_DEVICENOSUBSCRIPTION = "FailedOperation.DeviceNoSubscription"

	// 设备处于离线状态。
	FAILEDOPERATION_DEVICEOFFLINE = "FailedOperation.DeviceOffline"

	// 存在其他升级任务。
	FAILEDOPERATION_OTHERUPDATETASKEXIST = "FailedOperation.OtherUpdateTaskExist"

	// 产品尚未发布。
	FAILEDOPERATION_PRODUCTNOTRELEASED = "FailedOperation.ProductNotReleased"

	// RRPC接口未收到设备端响应。
	FAILEDOPERATION_RRPCTIMEOUT = "FailedOperation.RRPCTimeout"

	// 请求TRTC失败
	FAILEDOPERATION_REQUESTTRTCFAIL = "FailedOperation.RequestTRTCFail"

	// 转发已经停止。
	FAILEDOPERATION_RULEALREADYDISABLED = "FailedOperation.RuleAlreadyDisabled"

	// 该规则已被启用。
	FAILEDOPERATION_RULEALREADYENABLED = "FailedOperation.RuleAlreadyEnabled"

	// 部分产品已经被绑定。
	FAILEDOPERATION_SOMEPRODUCTISALREADYBINDED = "FailedOperation.SomeProductIsAlreadyBinded"

	// 超过时间。
	FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout"

	// 内部错误。
	INTERNALERROR = "InternalError"

	// DB操作错误。
	INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"

	// DB操作错误。
	INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"

	// 内部LoRaServer错误。
	INTERNALERROR_INTERNALLORASERVERERROR = "InternalError.InternalLoRaServerError"

	// 内部RPC错误。
	INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"

	// 发生错误。
	INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"

	// 内部DB错误。
	INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"

	// 调用超时。
	INTERNALERROR_TIMEOUT = "InternalError.Timeout"

	// 参数错误。
	INVALIDPARAMETER = "InvalidParameter"

	// 动作输入参数不合法。
	INVALIDPARAMETER_ACTIONINPUTPARAMSINVALID = "InvalidParameter.ActionInputParamsInvalid"

	// 固件已存在。
	INVALIDPARAMETER_FIRMWAREALREADYEXIST = "InvalidParameter.FirmwareAlreadyExist"

	// 产品不是网关类型,无法绑定子产品。
	INVALIDPARAMETER_PRODUCTISNOTGATEWAY = "InvalidParameter.ProductIsNotGateway"

	// RoomId已存在
	INVALIDPARAMETER_ROOMIDEXIST = "InvalidParameter.RoomIdExist"

	// UserId数量超出限制
	INVALIDPARAMETER_USERIDOVERLIMIT = "InvalidParameter.UserIdOverLimit"

	// 参数取值错误。
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// 规则行为未配置。
	INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil"

	// 动作为空或不存在。
	INVALIDPARAMETERVALUE_ACTIONNILORNOTEXIST = "InvalidParameterValue.ActionNilOrNotExist"

	// 应用描述过长。
	INVALIDPARAMETERVALUE_APPDESCRIPTIONTOOLONG = "InvalidParameterValue.AppDescriptionTooLong"

	// App已存在。
	INVALIDPARAMETERVALUE_APPEXISTS = "InvalidParameterValue.AppExists"

	// 应用名称过长。
	INVALIDPARAMETERVALUE_APPNAMETOOLONG = "InvalidParameterValue.AppNameTooLong"

	// App无权限。
	INVALIDPARAMETERVALUE_APPNOPERMISSION = "InvalidParameterValue.AppNoPermission"

	// App不存在。
	INVALIDPARAMETERVALUE_APPNOTEXISTS = "InvalidParameterValue.AppNotExists"

	// 检查第三方URL超时或失败。
	INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail"

	// 创建的设备名已存在。
	INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = "InvalidParameterValue.DeviceAlreadyExist"

	// 设备未绑定任何网关设备。
	INVALIDPARAMETERVALUE_DEVICEHASNOTBINDGATEWAY = "InvalidParameterValue.DeviceHasNotBindGateway"

	// 设备不是网关类型。
	INVALIDPARAMETERVALUE_DEVICEISNOTGATEWAY = "InvalidParameterValue.DeviceIsNotGateway"

	// 设备名称非法。
	INVALIDPARAMETERVALUE_DEVICENAMEINVALID = "InvalidParameterValue.DeviceNameInvalid"

	// 设备不存在。
	INVALIDPARAMETERVALUE_DEVICENOTEXIST = "InvalidParameterValue.DeviceNotExist"

	// 使用标准蓝牙广播协议的产品,DeviceName最多不超过8个字符。
	INVALIDPARAMETERVALUE_ERRLLSYNCBROADCASTDEVICENAMELENGTHEXCEED = "InvalidParameterValue.ErrLLSyncBroadcastDeviceNameLengthExceed"

	// 任务不存在。
	INVALIDPARAMETERVALUE_ERRORTASKNOTEXIST = "InvalidParameterValue.ErrorTaskNotExist"

	// 存失败,行为操作和转发错误行为数据目标不可为同一设备。
	INVALIDPARAMETERVALUE_FAILACTIONHASSAMEDEVICE = "InvalidParameterValue.FailActionHasSameDevice"

	// 固件已经存在。
	INVALIDPARAMETERVALUE_FIRMWAREALREADYEXIST = "InvalidParameterValue.FirmwareAlreadyExist"

	// 转发重定向被拒绝。
	INVALIDPARAMETERVALUE_FORWARDREDIRECTDENIED = "InvalidParameterValue.ForwardRedirectDenied"

	// 拉取产品列表失败。
	INVALIDPARAMETERVALUE_GETPRODUCTSLISTERROR = "InvalidParameterValue.GetProductsListError"

	// 回调 Token 格式有误
	INVALIDPARAMETERVALUE_INVALIDCALLBACKTOKEN = "InvalidParameterValue.InvalidCallbackToken"

	// 回调 URL 无效或格式有误
	INVALIDPARAMETERVALUE_INVALIDCALLBACKURL = "InvalidParameterValue.InvalidCallbackUrl"

	// SQL语句含有非法字符。
	INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL"

	// LoRa频点参数错误。
	INVALIDPARAMETERVALUE_LORAFREQPARMSERROR = "InvalidParameterValue.LoRaFreqParmsError"

	// 物模型不符合产品模板。
	INVALIDPARAMETERVALUE_MODELDEFINEDONTMATCHTEMPLATE = "InvalidParameterValue.ModelDefineDontMatchTemplate"

	// 物模型存在重复ID。
	INVALIDPARAMETERVALUE_MODELDEFINEDUPID = "InvalidParameterValue.ModelDefineDupID"

	// 物模型事件/属性Model错误。
	INVALIDPARAMETERVALUE_MODELDEFINEERRORMODEL = "InvalidParameterValue.ModelDefineErrorModel"

	// 物模型事件/属性Model Type错误。
	INVALIDPARAMETERVALUE_MODELDEFINEERRORTYPE = "InvalidParameterValue.ModelDefineErrorType"

	// 物模型EVENT Parms存在重复ID。
	INVALIDPARAMETERVALUE_MODELDEFINEEVENTPARAMSDUPID = "InvalidParameterValue.ModelDefineEventParamsDupID"

	// 物模型EVENT Parms数量超过限制。
	INVALIDPARAMETERVALUE_MODELDEFINEEVENTPARAMSEXCEEDLIMIT = "InvalidParameterValue.ModelDefineEventParamsExceedLimit"

	// 物模型事件/属性参数错误。
	INVALIDPARAMETERVALUE_MODELDEFINEEVENTPROPERROR = "InvalidParameterValue.ModelDefineEventPropError"

	// 物模型事件/属性 Name 错误。
	INVALIDPARAMETERVALUE_MODELDEFINEEVENTPROPNAMEERROR = "InvalidParameterValue.ModelDefineEventPropNameError"

	// 物模型事件 Type 错误:lac 。
	INVALIDPARAMETERVALUE_MODELDEFINEEVENTTYPEERROR = "InvalidParameterValue.ModelDefineEventTypeError"

	// 数据模板未定义。
	INVALIDPARAMETERVALUE_MODELDEFINEINVALID = "InvalidParameterValue.ModelDefineInvalid"

	// 物模型为空。
	INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"

	// 物模型事件/属性 BOOL类型 Mapping 定义错误。
	INVALIDPARAMETERVALUE_MODELDEFINEPROPBOOLMAPPINGERROR = "InvalidParameterValue.ModelDefinePropBoolMappingError"

	// 物模型事件/属性 Enum类型 Mapping 定义错误。
	INVALIDPARAMETERVALUE_MODELDEFINEPROPENUMMAPPINGERROR = "InvalidParameterValue.ModelDefinePropEnumMappingError"

	// 物模型事件/属性 Min/Max 定义错误。
	INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEERROR = "InvalidParameterValue.ModelDefinePropRangeError"

	// 物模型事件/属性 Min/Max 范围超限。
	INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEOVERFLOW = "InvalidParameterValue.ModelDefinePropRangeOverflow"

	// 属性ID不存在。
	INVALIDPARAMETERVALUE_MODELPROPERTYNOTEXIST = "InvalidParameterValue.ModelPropertyNotExist"

	// 消息内容非法。
	INVALIDPARAMETERVALUE_MSGCONTENTINVALID = "InvalidParameterValue.MsgContentInvalid"

	// 消息等级非法。
	INVALIDPARAMETERVALUE_MSGLEVELINVALID = "InvalidParameterValue.MsgLevelInvalid"

	// 消息标题非法。
	INVALIDPARAMETERVALUE_MSGTITLEINVALID = "InvalidParameterValue.MsgTitleInvalid"

	// 消息类型非法。
	INVALIDPARAMETERVALUE_MSGTYPEINVALID = "InvalidParameterValue.MsgTypeInvalid"

	// 操作不支持。
	INVALIDPARAMETERVALUE_OPERATIONDENIED = "InvalidParameterValue.OperationDenied"

	// 消息Payload超出限制。
	INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit"

	// 创建的产品名已存在。
	INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist"

	// 产品ID非法。
	INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"

	// 产品不是网关类型,无法绑定子产品。
	INVALIDPARAMETERVALUE_PRODUCTISNOTGATEWAY = "InvalidParameterValue.ProductIsNotGateway"

	// 产品参数错误。
	INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"

	// 项目参数错误。
	INVALIDPARAMETERVALUE_PROJECTPARMSERROR = "InvalidParameterValue.ProjectParmsError"

	// 转发的topic格式错误。
	INVALIDPARAMETERVALUE_REPUBLISHTOPICFORMATERROR = "InvalidParameterValue.RepublishTopicFormatError"

	// 规则数量超过限制。
	INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit"

	// 二进制数据格式只可利用 * 将数据进行转发。
	INVALIDPARAMETERVALUE_SELECTKEYFROMBINARYPAYLOAD = "InvalidParameterValue.SelectKeyFromBinaryPayload"

	// 开始时间晚于结束时间。
	INVALIDPARAMETERVALUE_STARTTIMELATERENDTIME = "InvalidParameterValue.StartTimeLaterEndTime"

	// Topic已存在。
	INVALIDPARAMETERVALUE_TOPICPOLICYALREADYEXIST = "InvalidParameterValue.TopicPolicyAlreadyExist"

	// 规则已存在。
	INVALIDPARAMETERVALUE_TOPICRULEALREADYEXIST = "InvalidParameterValue.TopicRuleAlreadyExist"

	// 规则sql未编辑。
	INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited"

	// 请确认规则相关数据是否有更新。
	INVALIDPARAMETERVALUE_UPDATETOPICRULEDBFAIL = "InvalidParameterValue.UpdateTopicRuleDBFail"

	// 用户ID非法。
	INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIDInvalid"

	// VPN参数错误。
	INVALIDPARAMETERVALUE_VPNPARMSERROR = "InvalidParameterValue.VPNParmsError"

	// 应用数量超出限制。
	LIMITEXCEEDED_APPLICATIONEXCEEDLIMIT = "LimitExceeded.ApplicationExceedLimit"

	// 量产超出限制。
	LIMITEXCEEDED_BATCHPRODUCTIONEXCEEDLIMIT = "LimitExceeded.BatchProductionExceedLimit"

	// 量产为空。
	LIMITEXCEEDED_BATCHPRODUCTIONNULL = "LimitExceeded.BatchProductionNull"

	// 绑定的产品数量超过限制。
	LIMITEXCEEDED_BINDPRODUCTSEXCEEDLIMIT = "LimitExceeded.BindProductsExceedLimit"

	// 设备数量超过限制。
	LIMITEXCEEDED_DEVICEEXCEEDLIMIT = "LimitExceeded.DeviceExceedLimit"

	// 固件数量超出限制。
	LIMITEXCEEDED_FIRMWAREEXCEEDLIMIT = "LimitExceeded.FirmwareExceedLimit"

	// 消息数量超过限制。
	LIMITEXCEEDED_MESSAGESAVED = "LimitExceeded.MessageSaved"

	// 超过产品数量限制。
	LIMITEXCEEDED_PRODUCTEXCEEDLIMIT = "LimitExceeded.ProductExceedLimit"

	// 项目数量超出限制。
	LIMITEXCEEDED_PROJECTEXCEEDLIMIT = "LimitExceeded.ProjectExceedLimit"

	// LoRa频点数量超出限制。
	LIMITEXCEEDED_STUDIOLORAFREQEXCEEDLIMIT = "LimitExceeded.StudioLoRaFreqExceedLimit"

	// 产品数量超出限制。
	LIMITEXCEEDED_STUDIOPRODUCTEXCEEDLIMIT = "LimitExceeded.StudioProductExceedLimit"

	// 物模型超出限制。
	LIMITEXCEEDED_THINGMODELEXCEEDLIMIT = "LimitExceeded.ThingModelExceedLimit"

	// Topic数量超出限制。
	LIMITEXCEEDED_TOPICPOLICYEXCEEDLIMIT = "LimitExceeded.TopicPolicyExceedLimit"

	// 物模型事件 Type 错误。
	MISSINGPARAMETER_MODELDEFINEEVENTTYPEERROR = "MissingParameter.ModelDefineEventTypeError"

	// 资源不足。
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// 已有量产进行,请等待量产完成。
	RESOURCEINSUFFICIENT_BATCHPRODUCTIONISRUNNING = "ResourceInsufficient.BatchProductionIsRunning"

	// 资源不存在。
	RESOURCENOTFOUND = "ResourceNotFound"

	// 量产不存在。
	RESOURCENOTFOUND_BATCHPRODUCTIONNOTEXIST = "ResourceNotFound.BatchProductionNotExist"

	// 上传URL无法获取。
	RESOURCENOTFOUND_CANNOTGETFROMURL = "ResourceNotFound.CannotGetFromUrl"

	// 云存AI分析任务不存在
	RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASK = "ResourceNotFound.CloudStorageAIServiceTask"

	// 云存AI分析任务输出文件不存在
	RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASKFILE = "ResourceNotFound.CloudStorageAIServiceTaskFile"

	// 存在重复设备。
	RESOURCENOTFOUND_DEVICEDUPKEYEXIST = "ResourceNotFound.DeviceDupKeyExist"

	// 设备固件信息不存在。
	RESOURCENOTFOUND_DEVICEFIRMWARENOTEXIST = "ResourceNotFound.DeviceFirmWareNotExist"

	// 固件不存在。
	RESOURCENOTFOUND_DEVICEHASNOFIRMWARE = "ResourceNotFound.DeviceHasNoFirmware"

	// 设备未绑定家庭。
	RESOURCENOTFOUND_DEVICENOTBIND = "ResourceNotFound.DeviceNotBind"

	// 设备不存在。
	RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"

	// 设备影子未创建或是已删除。
	RESOURCENOTFOUND_DEVICESHADOWNOTEXIST = "ResourceNotFound.DeviceShadowNotExist"

	// 围栏未绑定该设备。
	RESOURCENOTFOUND_FENCEBINDNOTEXIST = "ResourceNotFound.FenceBindNotExist"

	// 围栏未创建或是已删除。
	RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"

	// 固件不存在。
	RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist"

	// 固件升级任务不存在。
	RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"

	// 存在重复网关。
	RESOURCENOTFOUND_GATEWAYDUPKEYEXIST = "ResourceNotFound.GatewayDupKeyExist"

	// 网关不存在。
	RESOURCENOTFOUND_GATEWAYNOTEXIST = "ResourceNotFound.GatewayNotExist"

	// 实例未创建或是已删除。
	RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"

	// 模组不存在或改动未生效。
	RESOURCENOTFOUND_MODULENOTEXIST = "ResourceNotFound.ModuleNotExist"

	// 产品不存在。
	RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"

	// 产品或设备不存在。
	RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"

	// 产品资源不存在。
	RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"

	// 项目不存在。
	RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"

	// 位置空间未创建或是已删除。
	RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"

	// LoRa频点尚未创建或已被删除。
	RESOURCENOTFOUND_STUDIOLORAFREQNOTEXIST = "ResourceNotFound.StudioLoRaFreqNotExist"

	// 产品不存在。
	RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"

	// Topic不存在。
	RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = "ResourceNotFound.TopicPolicyNotExist"

	// 规则不存在。
	RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"

	// 未授权操作。
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// APP对产品没有权限。
	UNAUTHORIZEDOPERATION_APPNOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.APPNoPermissionToStudioProduct"

	// App无权限。
	UNAUTHORIZEDOPERATION_APPNOPERMISSION = "UnauthorizedOperation.AppNoPermission"

	// 该设备绑定了网关设备,无法删除。
	UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"

	// 设备未启用。
	UNAUTHORIZEDOPERATION_DEVICEISNOTENABLED = "UnauthorizedOperation.DeviceIsNotEnabled"

	// 该设备下仍有绑定的设备。
	UNAUTHORIZEDOPERATION_GATEWAYHASBINDEDDEVICES = "UnauthorizedOperation.GatewayHasBindedDevices"

	// 此家庭无权操作。
	UNAUTHORIZEDOPERATION_NOPERMISSIONTOFAMILY = "UnauthorizedOperation.NoPermissionToFamily"

	// 实例ACL错误。
	UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance"

	// 项目ACL错误。
	UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"

	// 围栏ACL错误。
	UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

	// 实例ACL错误。
	UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = "UnauthorizedOperation.NoPermissionToStudioInstance"

	// 产品ACL错误。
	UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

	// 无权操作该房间
	UNAUTHORIZEDOPERATION_NOPERMISSIONTOTRTCROOM = "UnauthorizedOperation.NoPermissionToTRTCRoom"

	// 您的帐号未实名认证,请登录腾讯云进行实名认证
	UNAUTHORIZEDOPERATION_NOVERIFIED = "UnauthorizedOperation.NoVerified"

	// 没有权限。
	UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

	// 产品不支持密钥认证。
	UNAUTHORIZEDOPERATION_PRODUCTNOTSUPPORTPSK = "UnauthorizedOperation.ProductNotSupportPSK"

	// License数量不足。
	UNAUTHORIZEDOPERATION_USERLICENSEEXCEEDLIMIT = "UnauthorizedOperation.UserLicenseExceedLimit"

	// 未知参数错误。
	UNKNOWNPARAMETER = "UnknownParameter"

	// 操作不支持。
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// 围栏下还存在绑定的设备。
	UNSUPPORTEDOPERATION_BINDSEXISTUNDERFENCE = "UnsupportedOperation.BindsExistUnderFence"

	// 存在重复的绑定关系。
	UNSUPPORTEDOPERATION_CANNOTREBINDFAMILY = "UnsupportedOperation.CannotReBindFamily"

	// 创建的设备已经存在。
	UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist"

	// 设备数量超出实例限制。
	UNSUPPORTEDOPERATION_DEVICEEXCEEDLIMIT = "UnsupportedOperation.DeviceExceedLimit"

	// 设备ota升级中。
	UNSUPPORTEDOPERATION_DEVICEOTATASKINPROGRESS = "UnsupportedOperation.DeviceOtaTaskInProgress"

	// 设备类型错误。
	UNSUPPORTEDOPERATION_DEVICETYPE = "UnsupportedOperation.DeviceType"

	// 产品下还存在未删除的设备。
	UNSUPPORTEDOPERATION_DEVICESEXISTUNDERPRODUCT = "UnsupportedOperation.DevicesExistUnderProduct"

	// 该项目下存在物联使能SaaS服务。
	UNSUPPORTEDOPERATION_ENABLESAASSERVICEEXISTUNDERPROJECT = "UnsupportedOperation.EnableSaasServiceExistUnderProject"

	// 网关产品下存在设备绑定了子设备。
	UNSUPPORTEDOPERATION_EXISTBINDEDDEVICESUNDERGATEWAYPRODUCT = "UnsupportedOperation.ExistBindedDevicesUnderGatewayProduct"

	// 存在重复围栏。
	UNSUPPORTEDOPERATION_FENCEDUPKEYEXIST = "UnsupportedOperation.FenceDupKeyExist"

	// 位置空间下还存在未删除的围栏。
	UNSUPPORTEDOPERATION_FENCEEXISTUNDERSPACE = "UnsupportedOperation.FenceExistUnderSpace"

	// 网关产品还绑定子产品,无法删除。
	UNSUPPORTEDOPERATION_GATEWAYPRODUCTHASBINDEDPRODUCT = "UnsupportedOperation.GatewayProductHasBindedProduct"

	// 由于实例到期已被禁用,请续费后使用。
	UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

	// 存在重复LoRa频点。
	UNSUPPORTEDOPERATION_LORAFREQDUPKEYEXIST = "UnsupportedOperation.LoRaFreqDupKeyExist"

	// LoRa设备未上报数据。
	UNSUPPORTEDOPERATION_LORANOUPLINK = "UnsupportedOperation.LoRaNoUpLink"

	// Lora设备没有激活。
	UNSUPPORTEDOPERATION_LORANOTACTIVATE = "UnsupportedOperation.LoRaNotActivate"

	// VPN下还存在未删除的设备。
	UNSUPPORTEDOPERATION_NODESEXISTUNDERVPN = "UnsupportedOperation.NodesExistUnderVPN"

	// 该项目下还存在人员库,需删除人员库后才允许删除项目。
	UNSUPPORTEDOPERATION_POOLEXISTUNDERPROJECT = "UnsupportedOperation.PoolExistUnderProject"

	// 存在重复产品。
	UNSUPPORTEDOPERATION_PRODUCTDUPKEYEXIST = "UnsupportedOperation.ProductDupKeyExist"

	// 项目下有产品。
	UNSUPPORTEDOPERATION_PRODUCTEXISTUNDERPROJECT = "UnsupportedOperation.ProductExistUnderProject"

	// 产品被绑定到网关产品。
	UNSUPPORTEDOPERATION_PRODUCTHASBINDEDGATEWAYPRODUCT = "UnsupportedOperation.ProductHasBindedGateWayProduct"

	// 产品已被共享,请先解除共享。
	UNSUPPORTEDOPERATION_PRODUCTHASSHARED = "UnsupportedOperation.ProductHasShared"

	// 存在重复项目。
	UNSUPPORTEDOPERATION_PROJECTDUPKEYEXIST = "UnsupportedOperation.ProjectDupKeyExist"

	// 存在重复位置空间。
	UNSUPPORTEDOPERATION_SPACEDUPKEYEXIST = "UnsupportedOperation.SpaceDupKeyExist"

	// 人员库名称已存在。
	UNSUPPORTEDOPERATION_STAFFPOOLDUPNAMEEXIST = "UnsupportedOperation.StaffPoolDupNameExist"

	// LoRa频点还被节点或网关使用。
	UNSUPPORTEDOPERATION_STUDIOLORAFREQINUSED = "UnsupportedOperation.StudioLoRaFreqInUsed"

	// TRTC增值服务未开通
	UNSUPPORTEDOPERATION_TRTCSERVICENOTOPEN = "UnsupportedOperation.TRTCServiceNotOpen"

	// 账户有未支付订单。
	UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder"

	// 存在重复VPN。
	UNSUPPORTEDOPERATION_VPNDUPKEYEXIST = "UnsupportedOperation.VPNDupKeyExist"

	// Video账户未创建,请检查后重新操作。
	UNSUPPORTEDOPERATION_VIDEOACCOUNTNOTEXIST = "UnsupportedOperation.VideoAccountNotExist"

	// Video平台license数量不足。
	UNSUPPORTEDOPERATION_VIDEOINSUFFICIENTLICENSES = "UnsupportedOperation.VideoInsufficientLicenses"

	// Video平台产品不存在。
	UNSUPPORTEDOPERATION_VIDEOPRODUCTNOTEXIST = "UnsupportedOperation.VideoProductNotExist"
)
View Source
const APIVersion = "2019-04-23"

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivateTWeCallLicenseRequest added in v1.0.929

type ActivateTWeCallLicenseRequest struct {
	*tchttp.BaseRequest

	// voip类型
	PkgType *int64 `json:"PkgType,omitnil,omitempty" name:"PkgType"`

	// appId
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// 设备列表
	DeviceList []*TWeCallInfo `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
}

func NewActivateTWeCallLicenseRequest added in v1.0.929

func NewActivateTWeCallLicenseRequest() (request *ActivateTWeCallLicenseRequest)

func (*ActivateTWeCallLicenseRequest) FromJsonString added in v1.0.929

func (r *ActivateTWeCallLicenseRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ActivateTWeCallLicenseRequest) ToJsonString added in v1.0.929

func (r *ActivateTWeCallLicenseRequest) ToJsonString() string

type ActivateTWeCallLicenseRequestParams added in v1.0.929

type ActivateTWeCallLicenseRequestParams struct {
	// voip类型
	PkgType *int64 `json:"PkgType,omitnil,omitempty" name:"PkgType"`

	// appId
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// 设备列表
	DeviceList []*TWeCallInfo `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
}

Predefined struct for user

type ActivateTWeCallLicenseResponse added in v1.0.929

type ActivateTWeCallLicenseResponse struct {
	*tchttp.BaseResponse
	Response *ActivateTWeCallLicenseResponseParams `json:"Response"`
}

func NewActivateTWeCallLicenseResponse added in v1.0.929

func NewActivateTWeCallLicenseResponse() (response *ActivateTWeCallLicenseResponse)

func (*ActivateTWeCallLicenseResponse) FromJsonString added in v1.0.929

func (r *ActivateTWeCallLicenseResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ActivateTWeCallLicenseResponse) ToJsonString added in v1.0.929

func (r *ActivateTWeCallLicenseResponse) ToJsonString() string

type ActivateTWeCallLicenseResponseParams added in v1.0.929

type ActivateTWeCallLicenseResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AppDeviceInfo added in v1.0.242

type AppDeviceInfo struct {
	// 产品ID/设备名
	DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 设备别名
	AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"`

	// icon地址
	IconUrl *string `json:"IconUrl,omitnil,omitempty" name:"IconUrl"`

	// 家庭ID
	FamilyId *string `json:"FamilyId,omitnil,omitempty" name:"FamilyId"`

	// 房间ID
	RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"`

	// 设备类型
	DeviceType *int64 `json:"DeviceType,omitnil,omitempty" name:"DeviceType"`

	// 创建时间
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 更新时间
	UpdateTime *int64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type AssignTWeCallLicenseRequest added in v1.0.929

type AssignTWeCallLicenseRequest struct {
	*tchttp.BaseRequest

	// voip类型
	PkgType *int64 `json:"PkgType,omitnil,omitempty" name:"PkgType"`

	// appId
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// License数
	DeductNum *int64 `json:"DeductNum,omitnil,omitempty" name:"DeductNum"`
}

func NewAssignTWeCallLicenseRequest added in v1.0.929

func NewAssignTWeCallLicenseRequest() (request *AssignTWeCallLicenseRequest)

func (*AssignTWeCallLicenseRequest) FromJsonString added in v1.0.929

func (r *AssignTWeCallLicenseRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssignTWeCallLicenseRequest) ToJsonString added in v1.0.929

func (r *AssignTWeCallLicenseRequest) ToJsonString() string

type AssignTWeCallLicenseRequestParams added in v1.0.929

type AssignTWeCallLicenseRequestParams struct {
	// voip类型
	PkgType *int64 `json:"PkgType,omitnil,omitempty" name:"PkgType"`

	// appId
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// License数
	DeductNum *int64 `json:"DeductNum,omitnil,omitempty" name:"DeductNum"`
}

Predefined struct for user

type AssignTWeCallLicenseResponse added in v1.0.929

type AssignTWeCallLicenseResponse struct {
	*tchttp.BaseResponse
	Response *AssignTWeCallLicenseResponseParams `json:"Response"`
}

func NewAssignTWeCallLicenseResponse added in v1.0.929

func NewAssignTWeCallLicenseResponse() (response *AssignTWeCallLicenseResponse)

func (*AssignTWeCallLicenseResponse) FromJsonString added in v1.0.929

func (r *AssignTWeCallLicenseResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AssignTWeCallLicenseResponse) ToJsonString added in v1.0.929

func (r *AssignTWeCallLicenseResponse) ToJsonString() string

type AssignTWeCallLicenseResponseParams added in v1.0.929

type AssignTWeCallLicenseResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AuthMiniProgramAppInfo added in v1.0.929

type AuthMiniProgramAppInfo struct {
	// 小程序APPID
	// 注意:此字段可能返回 null,表示取不到有效值。
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 小程序名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	MiniProgramName *string `json:"MiniProgramName,omitnil,omitempty" name:"MiniProgramName"`

	// 激活码数
	// 注意:此字段可能返回 null,表示取不到有效值。
	LicenseNum *int64 `json:"LicenseNum,omitnil,omitempty" name:"LicenseNum"`

	// 应用ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	IotAppId *string `json:"IotAppId,omitnil,omitempty" name:"IotAppId"`

	// 应用名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	IotAppName *string `json:"IotAppName,omitnil,omitempty" name:"IotAppName"`
}

type BatchProductionInfo added in v1.0.288

type BatchProductionInfo struct {
	// 量产ID
	BatchProductionId *string `json:"BatchProductionId,omitnil,omitempty" name:"BatchProductionId"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 烧录方式
	BurnMethod *int64 `json:"BurnMethod,omitnil,omitempty" name:"BurnMethod"`

	// 创建时间
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 产品名称
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`
}

type BindCloudStorageUserRequest added in v1.0.888

type BindCloudStorageUserRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

func NewBindCloudStorageUserRequest added in v1.0.888

func NewBindCloudStorageUserRequest() (request *BindCloudStorageUserRequest)

func (*BindCloudStorageUserRequest) FromJsonString added in v1.0.888

func (r *BindCloudStorageUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindCloudStorageUserRequest) ToJsonString added in v1.0.888

func (r *BindCloudStorageUserRequest) ToJsonString() string

type BindCloudStorageUserRequestParams added in v1.0.888

type BindCloudStorageUserRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

Predefined struct for user

type BindCloudStorageUserResponse added in v1.0.888

type BindCloudStorageUserResponse struct {
	*tchttp.BaseResponse
	Response *BindCloudStorageUserResponseParams `json:"Response"`
}

func NewBindCloudStorageUserResponse added in v1.0.888

func NewBindCloudStorageUserResponse() (response *BindCloudStorageUserResponse)

func (*BindCloudStorageUserResponse) FromJsonString added in v1.0.888

func (r *BindCloudStorageUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindCloudStorageUserResponse) ToJsonString added in v1.0.888

func (r *BindCloudStorageUserResponse) ToJsonString() string

type BindCloudStorageUserResponseParams added in v1.0.888

type BindCloudStorageUserResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BindDeviceInfo added in v1.0.328

type BindDeviceInfo struct {
	// 产品ID。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名称。
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

type BindDevicesRequest added in v1.0.328

type BindDevicesRequest struct {
	*tchttp.BaseRequest

	// 网关设备的产品ID。
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备的设备名。
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 被绑定设备的产品ID。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 被绑定的多个设备名。
	DeviceNames []*string `json:"DeviceNames,omitnil,omitempty" name:"DeviceNames"`
}

func NewBindDevicesRequest added in v1.0.328

func NewBindDevicesRequest() (request *BindDevicesRequest)

func (*BindDevicesRequest) FromJsonString added in v1.0.328

func (r *BindDevicesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindDevicesRequest) ToJsonString added in v1.0.328

func (r *BindDevicesRequest) ToJsonString() string

type BindDevicesRequestParams added in v1.0.426

type BindDevicesRequestParams struct {
	// 网关设备的产品ID。
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备的设备名。
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 被绑定设备的产品ID。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 被绑定的多个设备名。
	DeviceNames []*string `json:"DeviceNames,omitnil,omitempty" name:"DeviceNames"`
}

Predefined struct for user

type BindDevicesResponse added in v1.0.328

type BindDevicesResponse struct {
	*tchttp.BaseResponse
	Response *BindDevicesResponseParams `json:"Response"`
}

func NewBindDevicesResponse added in v1.0.328

func NewBindDevicesResponse() (response *BindDevicesResponse)

func (*BindDevicesResponse) FromJsonString added in v1.0.328

func (r *BindDevicesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindDevicesResponse) ToJsonString added in v1.0.328

func (r *BindDevicesResponse) ToJsonString() string

type BindDevicesResponseParams added in v1.0.426

type BindDevicesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BindProductInfo added in v1.0.328

type BindProductInfo struct {
	// 产品ID。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 产品名称。
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 产品所属项目ID。
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 物模型类型。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataProtocol *int64 `json:"DataProtocol,omitnil,omitempty" name:"DataProtocol"`

	// 产品分组模板ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	CategoryId *int64 `json:"CategoryId,omitnil,omitempty" name:"CategoryId"`

	// 产品类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductType *int64 `json:"ProductType,omitnil,omitempty" name:"ProductType"`

	// 连接类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"`

	// 状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	DevStatus *string `json:"DevStatus,omitnil,omitempty" name:"DevStatus"`

	// 产品拥有者名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductOwnerName *string `json:"ProductOwnerName,omitnil,omitempty" name:"ProductOwnerName"`
}

type BindProductsRequest added in v1.0.328

type BindProductsRequest struct {
	*tchttp.BaseRequest

	// 网关产品ID。
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 待绑定的子产品ID数组。
	ProductIds []*string `json:"ProductIds,omitnil,omitempty" name:"ProductIds"`
}

func NewBindProductsRequest added in v1.0.328

func NewBindProductsRequest() (request *BindProductsRequest)

func (*BindProductsRequest) FromJsonString added in v1.0.328

func (r *BindProductsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindProductsRequest) ToJsonString added in v1.0.328

func (r *BindProductsRequest) ToJsonString() string

type BindProductsRequestParams added in v1.0.426

type BindProductsRequestParams struct {
	// 网关产品ID。
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 待绑定的子产品ID数组。
	ProductIds []*string `json:"ProductIds,omitnil,omitempty" name:"ProductIds"`
}

Predefined struct for user

type BindProductsResponse added in v1.0.328

type BindProductsResponse struct {
	*tchttp.BaseResponse
	Response *BindProductsResponseParams `json:"Response"`
}

func NewBindProductsResponse added in v1.0.328

func NewBindProductsResponse() (response *BindProductsResponse)

func (*BindProductsResponse) FromJsonString added in v1.0.328

func (r *BindProductsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindProductsResponse) ToJsonString added in v1.0.328

func (r *BindProductsResponse) ToJsonString() string

type BindProductsResponseParams added in v1.0.426

type BindProductsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CallDeviceActionAsyncRequest

type CallDeviceActionAsyncRequest struct {
	*tchttp.BaseRequest

	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
	ActionId *string `json:"ActionId,omitnil,omitempty" name:"ActionId"`

	// 输入参数
	InputParams *string `json:"InputParams,omitnil,omitempty" name:"InputParams"`
}

func NewCallDeviceActionAsyncRequest

func NewCallDeviceActionAsyncRequest() (request *CallDeviceActionAsyncRequest)

func (*CallDeviceActionAsyncRequest) FromJsonString

func (r *CallDeviceActionAsyncRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CallDeviceActionAsyncRequest) ToJsonString

func (r *CallDeviceActionAsyncRequest) ToJsonString() string

type CallDeviceActionAsyncRequestParams added in v1.0.426

type CallDeviceActionAsyncRequestParams struct {
	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
	ActionId *string `json:"ActionId,omitnil,omitempty" name:"ActionId"`

	// 输入参数
	InputParams *string `json:"InputParams,omitnil,omitempty" name:"InputParams"`
}

Predefined struct for user

type CallDeviceActionAsyncResponse

type CallDeviceActionAsyncResponse struct {
	*tchttp.BaseResponse
	Response *CallDeviceActionAsyncResponseParams `json:"Response"`
}

func NewCallDeviceActionAsyncResponse

func NewCallDeviceActionAsyncResponse() (response *CallDeviceActionAsyncResponse)

func (*CallDeviceActionAsyncResponse) FromJsonString

func (r *CallDeviceActionAsyncResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CallDeviceActionAsyncResponse) ToJsonString

func (r *CallDeviceActionAsyncResponse) ToJsonString() string

type CallDeviceActionAsyncResponseParams added in v1.0.426

type CallDeviceActionAsyncResponseParams struct {
	// 调用Id
	ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"`

	// 异步调用状态
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CallDeviceActionSyncRequest

type CallDeviceActionSyncRequest struct {
	*tchttp.BaseRequest

	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
	ActionId *string `json:"ActionId,omitnil,omitempty" name:"ActionId"`

	// 输入参数
	InputParams *string `json:"InputParams,omitnil,omitempty" name:"InputParams"`
}

func NewCallDeviceActionSyncRequest

func NewCallDeviceActionSyncRequest() (request *CallDeviceActionSyncRequest)

func (*CallDeviceActionSyncRequest) FromJsonString

func (r *CallDeviceActionSyncRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CallDeviceActionSyncRequest) ToJsonString

func (r *CallDeviceActionSyncRequest) ToJsonString() string

type CallDeviceActionSyncRequestParams added in v1.0.426

type CallDeviceActionSyncRequestParams struct {
	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
	ActionId *string `json:"ActionId,omitnil,omitempty" name:"ActionId"`

	// 输入参数
	InputParams *string `json:"InputParams,omitnil,omitempty" name:"InputParams"`
}

Predefined struct for user

type CallDeviceActionSyncResponse

type CallDeviceActionSyncResponse struct {
	*tchttp.BaseResponse
	Response *CallDeviceActionSyncResponseParams `json:"Response"`
}

func NewCallDeviceActionSyncResponse

func NewCallDeviceActionSyncResponse() (response *CallDeviceActionSyncResponse)

func (*CallDeviceActionSyncResponse) FromJsonString

func (r *CallDeviceActionSyncResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CallDeviceActionSyncResponse) ToJsonString

func (r *CallDeviceActionSyncResponse) ToJsonString() string

type CallDeviceActionSyncResponseParams added in v1.0.426

type CallDeviceActionSyncResponseParams struct {
	// 调用Id
	ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"`

	// 输出参数,取值设备端上报$thing/up/action method为action_reply 的 response字段,物模型协议参考https://cloud.tencent.com/document/product/1081/34916#.E8.AE.BE.E5.A4.87.E8.A1.8C.E4.B8.BA.E8.B0.83.E7.94.A8
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutputParams *string `json:"OutputParams,omitnil,omitempty" name:"OutputParams"`

	// 返回状态,取值设备端上报$thing/up/action	method为action_reply 的 status字段,如果不包含status字段,则取默认值,空字符串,物模型协议参考https://cloud.tencent.com/document/product/1081/34916#.E8.AE.BE.E5.A4.87.E8.A1.8C.E4.B8.BA.E8.B0.83.E7.94.A8
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CancelAssignTWeCallLicenseRequest added in v1.0.929

type CancelAssignTWeCallLicenseRequest struct {
	*tchttp.BaseRequest

	// 订单号
	PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"`
}

func NewCancelAssignTWeCallLicenseRequest added in v1.0.929

func NewCancelAssignTWeCallLicenseRequest() (request *CancelAssignTWeCallLicenseRequest)

func (*CancelAssignTWeCallLicenseRequest) FromJsonString added in v1.0.929

func (r *CancelAssignTWeCallLicenseRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CancelAssignTWeCallLicenseRequest) ToJsonString added in v1.0.929

func (r *CancelAssignTWeCallLicenseRequest) ToJsonString() string

type CancelAssignTWeCallLicenseRequestParams added in v1.0.929

type CancelAssignTWeCallLicenseRequestParams struct {
	// 订单号
	PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"`
}

Predefined struct for user

type CancelAssignTWeCallLicenseResponse added in v1.0.929

type CancelAssignTWeCallLicenseResponse struct {
	*tchttp.BaseResponse
	Response *CancelAssignTWeCallLicenseResponseParams `json:"Response"`
}

func NewCancelAssignTWeCallLicenseResponse added in v1.0.929

func NewCancelAssignTWeCallLicenseResponse() (response *CancelAssignTWeCallLicenseResponse)

func (*CancelAssignTWeCallLicenseResponse) FromJsonString added in v1.0.929

func (r *CancelAssignTWeCallLicenseResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CancelAssignTWeCallLicenseResponse) ToJsonString added in v1.0.929

func (r *CancelAssignTWeCallLicenseResponse) ToJsonString() string

type CancelAssignTWeCallLicenseResponseParams added in v1.0.929

type CancelAssignTWeCallLicenseResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) ActivateTWeCallLicense added in v1.0.929

func (c *Client) ActivateTWeCallLicense(request *ActivateTWeCallLicenseRequest) (response *ActivateTWeCallLicenseResponse, err error)

ActivateTWeCallLicense 激活

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ActivateTWeCallLicenseWithContext added in v1.0.929

func (c *Client) ActivateTWeCallLicenseWithContext(ctx context.Context, request *ActivateTWeCallLicenseRequest) (response *ActivateTWeCallLicenseResponse, err error)

ActivateTWeCallLicense 激活

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) AssignTWeCallLicense added in v1.0.929

func (c *Client) AssignTWeCallLicense(request *AssignTWeCallLicenseRequest) (response *AssignTWeCallLicenseResponse, err error)

AssignTWeCallLicense 分配License

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) AssignTWeCallLicenseWithContext added in v1.0.929

func (c *Client) AssignTWeCallLicenseWithContext(ctx context.Context, request *AssignTWeCallLicenseRequest) (response *AssignTWeCallLicenseResponse, err error)

AssignTWeCallLicense 分配License

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) BindCloudStorageUser added in v1.0.888

func (c *Client) BindCloudStorageUser(request *BindCloudStorageUserRequest) (response *BindCloudStorageUserResponse, err error)

BindCloudStorageUser 绑定云存用户

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) BindCloudStorageUserWithContext added in v1.0.888

func (c *Client) BindCloudStorageUserWithContext(ctx context.Context, request *BindCloudStorageUserRequest) (response *BindCloudStorageUserResponse, err error)

BindCloudStorageUser 绑定云存用户

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) BindDevices added in v1.0.328

func (c *Client) BindDevices(request *BindDevicesRequest) (response *BindDevicesResponse, err error)

BindDevices 批量绑定子设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEVICEISNOTGATEWAY = "InvalidParameterValue.DeviceIsNotGateway"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) BindDevicesWithContext added in v1.0.328

func (c *Client) BindDevicesWithContext(ctx context.Context, request *BindDevicesRequest) (response *BindDevicesResponse, err error)

BindDevices 批量绑定子设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEVICEISNOTGATEWAY = "InvalidParameterValue.DeviceIsNotGateway"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) BindProducts added in v1.0.328

func (c *Client) BindProducts(request *BindProductsRequest) (response *BindProductsResponse, err error)

BindProducts 批量绑定子产品

可能返回的错误码:

FAILEDOPERATION_SOMEPRODUCTISALREADYBINDED = "FailedOperation.SomeProductIsAlreadyBinded"
INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PRODUCTISNOTGATEWAY = "InvalidParameter.ProductIsNotGateway"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PRODUCTISNOTGATEWAY = "InvalidParameterValue.ProductIsNotGateway"
LIMITEXCEEDED_BINDPRODUCTSEXCEEDLIMIT = "LimitExceeded.BindProductsExceedLimit"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) BindProductsWithContext added in v1.0.328

func (c *Client) BindProductsWithContext(ctx context.Context, request *BindProductsRequest) (response *BindProductsResponse, err error)

BindProducts 批量绑定子产品

可能返回的错误码:

FAILEDOPERATION_SOMEPRODUCTISALREADYBINDED = "FailedOperation.SomeProductIsAlreadyBinded"
INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_PRODUCTISNOTGATEWAY = "InvalidParameter.ProductIsNotGateway"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PRODUCTISNOTGATEWAY = "InvalidParameterValue.ProductIsNotGateway"
LIMITEXCEEDED_BINDPRODUCTSEXCEEDLIMIT = "LimitExceeded.BindProductsExceedLimit"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CallDeviceActionAsync

func (c *Client) CallDeviceActionAsync(request *CallDeviceActionAsyncRequest) (response *CallDeviceActionAsyncResponse, err error)

CallDeviceActionAsync 提供给用户异步调用设备行为的能力

可能返回的错误码:

FAILEDOPERATION_ACTIONUNREACHABLE = "FailedOperation.ActionUnreachable"
INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INVALIDPARAMETER_ACTIONINPUTPARAMSINVALID = "InvalidParameter.ActionInputParamsInvalid"
INVALIDPARAMETERVALUE_ACTIONNILORNOTEXIST = "InvalidParameterValue.ActionNilOrNotExist"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
INVALIDPARAMETERVALUE_MODELPROPERTYNOTEXIST = "InvalidParameterValue.ModelPropertyNotExist"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) CallDeviceActionAsyncWithContext added in v1.0.324

func (c *Client) CallDeviceActionAsyncWithContext(ctx context.Context, request *CallDeviceActionAsyncRequest) (response *CallDeviceActionAsyncResponse, err error)

CallDeviceActionAsync 提供给用户异步调用设备行为的能力

可能返回的错误码:

FAILEDOPERATION_ACTIONUNREACHABLE = "FailedOperation.ActionUnreachable"
INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INVALIDPARAMETER_ACTIONINPUTPARAMSINVALID = "InvalidParameter.ActionInputParamsInvalid"
INVALIDPARAMETERVALUE_ACTIONNILORNOTEXIST = "InvalidParameterValue.ActionNilOrNotExist"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
INVALIDPARAMETERVALUE_MODELPROPERTYNOTEXIST = "InvalidParameterValue.ModelPropertyNotExist"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) CallDeviceActionSync

func (c *Client) CallDeviceActionSync(request *CallDeviceActionSyncRequest) (response *CallDeviceActionSyncResponse, err error)

CallDeviceActionSync 为用户提供同步调用设备行为的能力。

可能返回的错误码:

FAILEDOPERATION_ACTIONUNREACHABLE = "FailedOperation.ActionUnreachable"
FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INVALIDPARAMETER_ACTIONINPUTPARAMSINVALID = "InvalidParameter.ActionInputParamsInvalid"
INVALIDPARAMETERVALUE_ACTIONNILORNOTEXIST = "InvalidParameterValue.ActionNilOrNotExist"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
INVALIDPARAMETERVALUE_MODELPROPERTYNOTEXIST = "InvalidParameterValue.ModelPropertyNotExist"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) CallDeviceActionSyncWithContext added in v1.0.324

func (c *Client) CallDeviceActionSyncWithContext(ctx context.Context, request *CallDeviceActionSyncRequest) (response *CallDeviceActionSyncResponse, err error)

CallDeviceActionSync 为用户提供同步调用设备行为的能力。

可能返回的错误码:

FAILEDOPERATION_ACTIONUNREACHABLE = "FailedOperation.ActionUnreachable"
FAILEDOPERATION_TIMEOUT = "FailedOperation.Timeout"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INVALIDPARAMETER_ACTIONINPUTPARAMSINVALID = "InvalidParameter.ActionInputParamsInvalid"
INVALIDPARAMETERVALUE_ACTIONNILORNOTEXIST = "InvalidParameterValue.ActionNilOrNotExist"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
INVALIDPARAMETERVALUE_MODELPROPERTYNOTEXIST = "InvalidParameterValue.ModelPropertyNotExist"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) CancelAssignTWeCallLicense added in v1.0.929

func (c *Client) CancelAssignTWeCallLicense(request *CancelAssignTWeCallLicenseRequest) (response *CancelAssignTWeCallLicenseResponse, err error)

CancelAssignTWeCallLicense 取消分配

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CancelAssignTWeCallLicenseWithContext added in v1.0.929

func (c *Client) CancelAssignTWeCallLicenseWithContext(ctx context.Context, request *CancelAssignTWeCallLicenseRequest) (response *CancelAssignTWeCallLicenseResponse, err error)

CancelAssignTWeCallLicense 取消分配

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ControlDeviceData

func (c *Client) ControlDeviceData(request *ControlDeviceDataRequest) (response *ControlDeviceDataResponse, err error)

ControlDeviceData 根据设备产品ID、设备名称,设置控制设备的属性数据。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPROPNAMEERROR = "InvalidParameterValue.ModelDefineEventPropNameError"
INVALIDPARAMETERVALUE_MODELDEFINEINVALID = "InvalidParameterValue.ModelDefineInvalid"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNAUTHORIZEDOPERATION_NOVERIFIED = "UnauthorizedOperation.NoVerified"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_LORANOUPLINK = "UnsupportedOperation.LoRaNoUpLink"
UNSUPPORTEDOPERATION_LORANOTACTIVATE = "UnsupportedOperation.LoRaNotActivate"

func (*Client) ControlDeviceDataWithContext added in v1.0.324

func (c *Client) ControlDeviceDataWithContext(ctx context.Context, request *ControlDeviceDataRequest) (response *ControlDeviceDataResponse, err error)

ControlDeviceData 根据设备产品ID、设备名称,设置控制设备的属性数据。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPROPNAMEERROR = "InvalidParameterValue.ModelDefineEventPropNameError"
INVALIDPARAMETERVALUE_MODELDEFINEINVALID = "InvalidParameterValue.ModelDefineInvalid"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNAUTHORIZEDOPERATION_NOVERIFIED = "UnauthorizedOperation.NoVerified"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_LORANOUPLINK = "UnsupportedOperation.LoRaNoUpLink"
UNSUPPORTEDOPERATION_LORANOTACTIVATE = "UnsupportedOperation.LoRaNotActivate"

func (*Client) CreateBatchProduction added in v1.0.288

func (c *Client) CreateBatchProduction(request *CreateBatchProductionRequest) (response *CreateBatchProductionResponse, err error)

CreateBatchProduction 用于新建批量生产设备

可能返回的错误码:

FAILEDOPERATION_PRODUCTNOTRELEASED = "FailedOperation.ProductNotReleased"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ERRLLSYNCBROADCASTDEVICENAMELENGTHEXCEED = "InvalidParameterValue.ErrLLSyncBroadcastDeviceNameLengthExceed"
LIMITEXCEEDED_BATCHPRODUCTIONEXCEEDLIMIT = "LimitExceeded.BatchProductionExceedLimit"
LIMITEXCEEDED_BATCHPRODUCTIONNULL = "LimitExceeded.BatchProductionNull"
RESOURCEINSUFFICIENT_BATCHPRODUCTIONISRUNNING = "ResourceInsufficient.BatchProductionIsRunning"
RESOURCENOTFOUND_CANNOTGETFROMURL = "ResourceNotFound.CannotGetFromUrl"
RESOURCENOTFOUND_DEVICEDUPKEYEXIST = "ResourceNotFound.DeviceDupKeyExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_DEVICEEXCEEDLIMIT = "UnsupportedOperation.DeviceExceedLimit"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) CreateBatchProductionWithContext added in v1.0.324

func (c *Client) CreateBatchProductionWithContext(ctx context.Context, request *CreateBatchProductionRequest) (response *CreateBatchProductionResponse, err error)

CreateBatchProduction 用于新建批量生产设备

可能返回的错误码:

FAILEDOPERATION_PRODUCTNOTRELEASED = "FailedOperation.ProductNotReleased"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ERRLLSYNCBROADCASTDEVICENAMELENGTHEXCEED = "InvalidParameterValue.ErrLLSyncBroadcastDeviceNameLengthExceed"
LIMITEXCEEDED_BATCHPRODUCTIONEXCEEDLIMIT = "LimitExceeded.BatchProductionExceedLimit"
LIMITEXCEEDED_BATCHPRODUCTIONNULL = "LimitExceeded.BatchProductionNull"
RESOURCEINSUFFICIENT_BATCHPRODUCTIONISRUNNING = "ResourceInsufficient.BatchProductionIsRunning"
RESOURCENOTFOUND_CANNOTGETFROMURL = "ResourceNotFound.CannotGetFromUrl"
RESOURCENOTFOUND_DEVICEDUPKEYEXIST = "ResourceNotFound.DeviceDupKeyExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_DEVICEEXCEEDLIMIT = "UnsupportedOperation.DeviceExceedLimit"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) CreateDevice

func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)

CreateDevice 创建设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = "InvalidParameterValue.DeviceAlreadyExist"
LIMITEXCEEDED_DEVICEEXCEEDLIMIT = "LimitExceeded.DeviceExceedLimit"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNAUTHORIZEDOPERATION_PRODUCTNOTSUPPORTPSK = "UnauthorizedOperation.ProductNotSupportPSK"
UNAUTHORIZEDOPERATION_USERLICENSEEXCEEDLIMIT = "UnauthorizedOperation.UserLicenseExceedLimit"
UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist"
UNSUPPORTEDOPERATION_DEVICEEXCEEDLIMIT = "UnsupportedOperation.DeviceExceedLimit"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_VIDEOACCOUNTNOTEXIST = "UnsupportedOperation.VideoAccountNotExist"
UNSUPPORTEDOPERATION_VIDEOINSUFFICIENTLICENSES = "UnsupportedOperation.VideoInsufficientLicenses"

func (*Client) CreateDeviceWithContext added in v1.0.324

func (c *Client) CreateDeviceWithContext(ctx context.Context, request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)

CreateDevice 创建设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = "InvalidParameterValue.DeviceAlreadyExist"
LIMITEXCEEDED_DEVICEEXCEEDLIMIT = "LimitExceeded.DeviceExceedLimit"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNAUTHORIZEDOPERATION_PRODUCTNOTSUPPORTPSK = "UnauthorizedOperation.ProductNotSupportPSK"
UNAUTHORIZEDOPERATION_USERLICENSEEXCEEDLIMIT = "UnauthorizedOperation.UserLicenseExceedLimit"
UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = "UnsupportedOperation.DeviceDupKeyExist"
UNSUPPORTEDOPERATION_DEVICEEXCEEDLIMIT = "UnsupportedOperation.DeviceExceedLimit"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_VIDEOACCOUNTNOTEXIST = "UnsupportedOperation.VideoAccountNotExist"
UNSUPPORTEDOPERATION_VIDEOINSUFFICIENTLICENSES = "UnsupportedOperation.VideoInsufficientLicenses"

func (*Client) CreateFenceBind added in v1.0.266

func (c *Client) CreateFenceBind(request *CreateFenceBindRequest) (response *CreateFenceBindResponse, err error)

CreateFenceBind 创建围栏绑定信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) CreateFenceBindWithContext added in v1.0.324

func (c *Client) CreateFenceBindWithContext(ctx context.Context, request *CreateFenceBindRequest) (response *CreateFenceBindResponse, err error)

CreateFenceBind 创建围栏绑定信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) CreateIotVideoCloudStorage added in v1.0.888

func (c *Client) CreateIotVideoCloudStorage(request *CreateIotVideoCloudStorageRequest) (response *CreateIotVideoCloudStorageResponse, err error)

CreateIotVideoCloudStorage 开通云存服务

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateIotVideoCloudStorageWithContext added in v1.0.888

func (c *Client) CreateIotVideoCloudStorageWithContext(ctx context.Context, request *CreateIotVideoCloudStorageRequest) (response *CreateIotVideoCloudStorageResponse, err error)

CreateIotVideoCloudStorage 开通云存服务

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateLoRaFrequency

func (c *Client) CreateLoRaFrequency(request *CreateLoRaFrequencyRequest) (response *CreateLoRaFrequencyResponse, err error)

CreateLoRaFrequency 创建 LoRa 自定义频点

可能返回的错误码:

INVALIDPARAMETERVALUE_LORAFREQPARMSERROR = "InvalidParameterValue.LoRaFreqParmsError"
LIMITEXCEEDED_STUDIOLORAFREQEXCEEDLIMIT = "LimitExceeded.StudioLoRaFreqExceedLimit"
UNSUPPORTEDOPERATION_LORAFREQDUPKEYEXIST = "UnsupportedOperation.LoRaFreqDupKeyExist"

func (*Client) CreateLoRaFrequencyWithContext added in v1.0.324

func (c *Client) CreateLoRaFrequencyWithContext(ctx context.Context, request *CreateLoRaFrequencyRequest) (response *CreateLoRaFrequencyResponse, err error)

CreateLoRaFrequency 创建 LoRa 自定义频点

可能返回的错误码:

INVALIDPARAMETERVALUE_LORAFREQPARMSERROR = "InvalidParameterValue.LoRaFreqParmsError"
LIMITEXCEEDED_STUDIOLORAFREQEXCEEDLIMIT = "LimitExceeded.StudioLoRaFreqExceedLimit"
UNSUPPORTEDOPERATION_LORAFREQDUPKEYEXIST = "UnsupportedOperation.LoRaFreqDupKeyExist"

func (*Client) CreateLoRaGateway

func (c *Client) CreateLoRaGateway(request *CreateLoRaGatewayRequest) (response *CreateLoRaGatewayResponse, err error)

CreateLoRaGateway 创建新 LoRa 网关设备接口

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALLORASERVERERROR = "InternalError.InternalLoRaServerError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
RESOURCENOTFOUND_GATEWAYDUPKEYEXIST = "ResourceNotFound.GatewayDupKeyExist"

func (*Client) CreateLoRaGatewayWithContext added in v1.0.324

func (c *Client) CreateLoRaGatewayWithContext(ctx context.Context, request *CreateLoRaGatewayRequest) (response *CreateLoRaGatewayResponse, err error)

CreateLoRaGateway 创建新 LoRa 网关设备接口

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALLORASERVERERROR = "InternalError.InternalLoRaServerError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
RESOURCENOTFOUND_GATEWAYDUPKEYEXIST = "ResourceNotFound.GatewayDupKeyExist"

func (*Client) CreatePositionFence added in v1.0.266

func (c *Client) CreatePositionFence(request *CreatePositionFenceRequest) (response *CreatePositionFenceResponse, err error)

CreatePositionFence 创建围栏

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_FENCEDUPKEYEXIST = "UnsupportedOperation.FenceDupKeyExist"

func (*Client) CreatePositionFenceWithContext added in v1.0.324

func (c *Client) CreatePositionFenceWithContext(ctx context.Context, request *CreatePositionFenceRequest) (response *CreatePositionFenceResponse, err error)

CreatePositionFence 创建围栏

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_FENCEDUPKEYEXIST = "UnsupportedOperation.FenceDupKeyExist"

func (*Client) CreatePositionSpace added in v1.0.266

func (c *Client) CreatePositionSpace(request *CreatePositionSpaceRequest) (response *CreatePositionSpaceResponse, err error)

CreatePositionSpace 创建位置空间

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_SPACEDUPKEYEXIST = "UnsupportedOperation.SpaceDupKeyExist"

func (*Client) CreatePositionSpaceWithContext added in v1.0.324

func (c *Client) CreatePositionSpaceWithContext(ctx context.Context, request *CreatePositionSpaceRequest) (response *CreatePositionSpaceResponse, err error)

CreatePositionSpace 创建位置空间

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_SPACEDUPKEYEXIST = "UnsupportedOperation.SpaceDupKeyExist"

func (*Client) CreateProject

func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)

CreateProject 为用户提供新建项目的能力,用于集中管理产品和应用。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PROJECTPARMSERROR = "InvalidParameterValue.ProjectParmsError"
LIMITEXCEEDED_PROJECTEXCEEDLIMIT = "LimitExceeded.ProjectExceedLimit"
RESOURCENOTFOUND_DEVICEDUPKEYEXIST = "ResourceNotFound.DeviceDupKeyExist"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_MODULENOTEXIST = "ResourceNotFound.ModuleNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = "UnauthorizedOperation.NoPermissionToStudioInstance"
UNSUPPORTEDOPERATION_DEVICESEXISTUNDERPRODUCT = "UnsupportedOperation.DevicesExistUnderProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_POOLEXISTUNDERPROJECT = "UnsupportedOperation.PoolExistUnderProject"
UNSUPPORTEDOPERATION_PROJECTDUPKEYEXIST = "UnsupportedOperation.ProjectDupKeyExist"
UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder"

func (*Client) CreateProjectWithContext added in v1.0.324

func (c *Client) CreateProjectWithContext(ctx context.Context, request *CreateProjectRequest) (response *CreateProjectResponse, err error)

CreateProject 为用户提供新建项目的能力,用于集中管理产品和应用。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PROJECTPARMSERROR = "InvalidParameterValue.ProjectParmsError"
LIMITEXCEEDED_PROJECTEXCEEDLIMIT = "LimitExceeded.ProjectExceedLimit"
RESOURCENOTFOUND_DEVICEDUPKEYEXIST = "ResourceNotFound.DeviceDupKeyExist"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_MODULENOTEXIST = "ResourceNotFound.ModuleNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = "UnauthorizedOperation.NoPermissionToStudioInstance"
UNSUPPORTEDOPERATION_DEVICESEXISTUNDERPRODUCT = "UnsupportedOperation.DevicesExistUnderProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_POOLEXISTUNDERPROJECT = "UnsupportedOperation.PoolExistUnderProject"
UNSUPPORTEDOPERATION_PROJECTDUPKEYEXIST = "UnsupportedOperation.ProjectDupKeyExist"
UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder"

func (*Client) CreateStudioProduct

func (c *Client) CreateStudioProduct(request *CreateStudioProductRequest) (response *CreateStudioProductResponse, err error)

CreateStudioProduct 为用户提供新建产品的能力,用于管理用户的设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
INVALIDPARAMETERVALUE_MODELDEFINEPROPBOOLMAPPINGERROR = "InvalidParameterValue.ModelDefinePropBoolMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPENUMMAPPINGERROR = "InvalidParameterValue.ModelDefinePropEnumMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEERROR = "InvalidParameterValue.ModelDefinePropRangeError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEOVERFLOW = "InvalidParameterValue.ModelDefinePropRangeOverflow"
INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
INVALIDPARAMETERVALUE_PROJECTPARMSERROR = "InvalidParameterValue.ProjectParmsError"
INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIDInvalid"
LIMITEXCEEDED_PRODUCTEXCEEDLIMIT = "LimitExceeded.ProductExceedLimit"
LIMITEXCEEDED_STUDIOPRODUCTEXCEEDLIMIT = "LimitExceeded.StudioProductExceedLimit"
LIMITEXCEEDED_THINGMODELEXCEEDLIMIT = "LimitExceeded.ThingModelExceedLimit"
MISSINGPARAMETER_MODELDEFINEEVENTTYPEERROR = "MissingParameter.ModelDefineEventTypeError"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_DEVICESEXISTUNDERPRODUCT = "UnsupportedOperation.DevicesExistUnderProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_PRODUCTDUPKEYEXIST = "UnsupportedOperation.ProductDupKeyExist"
UNSUPPORTEDOPERATION_PRODUCTEXISTUNDERPROJECT = "UnsupportedOperation.ProductExistUnderProject"

func (*Client) CreateStudioProductWithContext added in v1.0.324

func (c *Client) CreateStudioProductWithContext(ctx context.Context, request *CreateStudioProductRequest) (response *CreateStudioProductResponse, err error)

CreateStudioProduct 为用户提供新建产品的能力,用于管理用户的设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
INVALIDPARAMETERVALUE_MODELDEFINEPROPBOOLMAPPINGERROR = "InvalidParameterValue.ModelDefinePropBoolMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPENUMMAPPINGERROR = "InvalidParameterValue.ModelDefinePropEnumMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEERROR = "InvalidParameterValue.ModelDefinePropRangeError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEOVERFLOW = "InvalidParameterValue.ModelDefinePropRangeOverflow"
INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
INVALIDPARAMETERVALUE_PROJECTPARMSERROR = "InvalidParameterValue.ProjectParmsError"
INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIDInvalid"
LIMITEXCEEDED_PRODUCTEXCEEDLIMIT = "LimitExceeded.ProductExceedLimit"
LIMITEXCEEDED_STUDIOPRODUCTEXCEEDLIMIT = "LimitExceeded.StudioProductExceedLimit"
LIMITEXCEEDED_THINGMODELEXCEEDLIMIT = "LimitExceeded.ThingModelExceedLimit"
MISSINGPARAMETER_MODELDEFINEEVENTTYPEERROR = "MissingParameter.ModelDefineEventTypeError"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_DEVICESEXISTUNDERPRODUCT = "UnsupportedOperation.DevicesExistUnderProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_PRODUCTDUPKEYEXIST = "UnsupportedOperation.ProductDupKeyExist"
UNSUPPORTEDOPERATION_PRODUCTEXISTUNDERPROJECT = "UnsupportedOperation.ProductExistUnderProject"

func (*Client) CreateTRTCSignaturesWithRoomId added in v1.0.916

func (c *Client) CreateTRTCSignaturesWithRoomId(request *CreateTRTCSignaturesWithRoomIdRequest) (response *CreateTRTCSignaturesWithRoomIdResponse, err error)

CreateTRTCSignaturesWithRoomId 创建TRTC通话参数

可能返回的错误码:

INVALIDPARAMETER_ROOMIDEXIST = "InvalidParameter.RoomIdExist"
INVALIDPARAMETER_USERIDOVERLIMIT = "InvalidParameter.UserIdOverLimit"
UNSUPPORTEDOPERATION_TRTCSERVICENOTOPEN = "UnsupportedOperation.TRTCServiceNotOpen"

func (*Client) CreateTRTCSignaturesWithRoomIdWithContext added in v1.0.916

func (c *Client) CreateTRTCSignaturesWithRoomIdWithContext(ctx context.Context, request *CreateTRTCSignaturesWithRoomIdRequest) (response *CreateTRTCSignaturesWithRoomIdResponse, err error)

CreateTRTCSignaturesWithRoomId 创建TRTC通话参数

可能返回的错误码:

INVALIDPARAMETER_ROOMIDEXIST = "InvalidParameter.RoomIdExist"
INVALIDPARAMETER_USERIDOVERLIMIT = "InvalidParameter.UserIdOverLimit"
UNSUPPORTEDOPERATION_TRTCSERVICENOTOPEN = "UnsupportedOperation.TRTCServiceNotOpen"

func (*Client) CreateTopicPolicy added in v1.0.263

func (c *Client) CreateTopicPolicy(request *CreateTopicPolicyRequest) (response *CreateTopicPolicyResponse, err error)

CreateTopicPolicy 本接口(CreateTopicPolicy)用于创建一个Topic

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TOPICPOLICYALREADYEXIST = "InvalidParameterValue.TopicPolicyAlreadyExist"
LIMITEXCEEDED_TOPICPOLICYEXCEEDLIMIT = "LimitExceeded.TopicPolicyExceedLimit"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"

func (*Client) CreateTopicPolicyWithContext added in v1.0.324

func (c *Client) CreateTopicPolicyWithContext(ctx context.Context, request *CreateTopicPolicyRequest) (response *CreateTopicPolicyResponse, err error)

CreateTopicPolicy 本接口(CreateTopicPolicy)用于创建一个Topic

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TOPICPOLICYALREADYEXIST = "InvalidParameterValue.TopicPolicyAlreadyExist"
LIMITEXCEEDED_TOPICPOLICYEXCEEDLIMIT = "LimitExceeded.TopicPolicyExceedLimit"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"

func (*Client) CreateTopicRule

func (c *Client) CreateTopicRule(request *CreateTopicRuleRequest) (response *CreateTopicRuleResponse, err error)

CreateTopicRule 创建规则

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil"
INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail"
INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL"
INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit"
INVALIDPARAMETERVALUE_TOPICRULEALREADYEXIST = "InvalidParameterValue.TopicRuleAlreadyExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateTopicRuleWithContext added in v1.0.324

func (c *Client) CreateTopicRuleWithContext(ctx context.Context, request *CreateTopicRuleRequest) (response *CreateTopicRuleResponse, err error)

CreateTopicRule 创建规则

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil"
INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail"
INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL"
INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit"
INVALIDPARAMETERVALUE_TOPICRULEALREADYEXIST = "InvalidParameterValue.TopicRuleAlreadyExist"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCloudStorageEvent added in v1.0.888

func (c *Client) DeleteCloudStorageEvent(request *DeleteCloudStorageEventRequest) (response *DeleteCloudStorageEventResponse, err error)

DeleteCloudStorageEvent 删除云存事件

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteCloudStorageEventWithContext added in v1.0.888

func (c *Client) DeleteCloudStorageEventWithContext(ctx context.Context, request *DeleteCloudStorageEventRequest) (response *DeleteCloudStorageEventResponse, err error)

DeleteCloudStorageEvent 删除云存事件

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteDevice

func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)

DeleteDevice 删除设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"
UNAUTHORIZEDOPERATION_GATEWAYHASBINDEDDEVICES = "UnauthorizedOperation.GatewayHasBindedDevices"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_DEVICEOTATASKINPROGRESS = "UnsupportedOperation.DeviceOtaTaskInProgress"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DeleteDeviceWithContext added in v1.0.324

func (c *Client) DeleteDeviceWithContext(ctx context.Context, request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)

DeleteDevice 删除设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"
UNAUTHORIZEDOPERATION_GATEWAYHASBINDEDDEVICES = "UnauthorizedOperation.GatewayHasBindedDevices"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_DEVICEOTATASKINPROGRESS = "UnsupportedOperation.DeviceOtaTaskInProgress"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DeleteDevices added in v1.0.238

func (c *Client) DeleteDevices(request *DeleteDevicesRequest) (response *DeleteDevicesResponse, err error)

DeleteDevices 批量删除设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"
UNAUTHORIZEDOPERATION_GATEWAYHASBINDEDDEVICES = "UnauthorizedOperation.GatewayHasBindedDevices"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_DEVICEOTATASKINPROGRESS = "UnsupportedOperation.DeviceOtaTaskInProgress"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DeleteDevicesWithContext added in v1.0.324

func (c *Client) DeleteDevicesWithContext(ctx context.Context, request *DeleteDevicesRequest) (response *DeleteDevicesResponse, err error)

DeleteDevices 批量删除设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"
UNAUTHORIZEDOPERATION_GATEWAYHASBINDEDDEVICES = "UnauthorizedOperation.GatewayHasBindedDevices"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_DEVICEOTATASKINPROGRESS = "UnsupportedOperation.DeviceOtaTaskInProgress"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DeleteFenceBind added in v1.0.266

func (c *Client) DeleteFenceBind(request *DeleteFenceBindRequest) (response *DeleteFenceBindResponse, err error)

DeleteFenceBind 删除围栏绑定信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_FENCEBINDNOTEXIST = "ResourceNotFound.FenceBindNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) DeleteFenceBindWithContext added in v1.0.324

func (c *Client) DeleteFenceBindWithContext(ctx context.Context, request *DeleteFenceBindRequest) (response *DeleteFenceBindResponse, err error)

DeleteFenceBind 删除围栏绑定信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_FENCEBINDNOTEXIST = "ResourceNotFound.FenceBindNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) DeleteLoRaFrequency

func (c *Client) DeleteLoRaFrequency(request *DeleteLoRaFrequencyRequest) (response *DeleteLoRaFrequencyResponse, err error)

DeleteLoRaFrequency 提供删除LoRa自定义频点的能力

可能返回的错误码:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_STUDIOLORAFREQNOTEXIST = "ResourceNotFound.StudioLoRaFreqNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_NODESEXISTUNDERVPN = "UnsupportedOperation.NodesExistUnderVPN"
UNSUPPORTEDOPERATION_STUDIOLORAFREQINUSED = "UnsupportedOperation.StudioLoRaFreqInUsed"

func (*Client) DeleteLoRaFrequencyWithContext added in v1.0.324

func (c *Client) DeleteLoRaFrequencyWithContext(ctx context.Context, request *DeleteLoRaFrequencyRequest) (response *DeleteLoRaFrequencyResponse, err error)

DeleteLoRaFrequency 提供删除LoRa自定义频点的能力

可能返回的错误码:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_STUDIOLORAFREQNOTEXIST = "ResourceNotFound.StudioLoRaFreqNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_NODESEXISTUNDERVPN = "UnsupportedOperation.NodesExistUnderVPN"
UNSUPPORTEDOPERATION_STUDIOLORAFREQINUSED = "UnsupportedOperation.StudioLoRaFreqInUsed"

func (*Client) DeleteLoRaGateway

func (c *Client) DeleteLoRaGateway(request *DeleteLoRaGatewayRequest) (response *DeleteLoRaGatewayResponse, err error)

DeleteLoRaGateway 删除 LoRa 网关的接口

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_GATEWAYNOTEXIST = "ResourceNotFound.GatewayNotExist"

func (*Client) DeleteLoRaGatewayWithContext added in v1.0.324

func (c *Client) DeleteLoRaGatewayWithContext(ctx context.Context, request *DeleteLoRaGatewayRequest) (response *DeleteLoRaGatewayResponse, err error)

DeleteLoRaGateway 删除 LoRa 网关的接口

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_GATEWAYNOTEXIST = "ResourceNotFound.GatewayNotExist"

func (*Client) DeletePositionFence added in v1.0.266

func (c *Client) DeletePositionFence(request *DeletePositionFenceRequest) (response *DeletePositionFenceResponse, err error)

DeletePositionFence 删除围栏

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"
UNSUPPORTEDOPERATION_BINDSEXISTUNDERFENCE = "UnsupportedOperation.BindsExistUnderFence"

func (*Client) DeletePositionFenceWithContext added in v1.0.324

func (c *Client) DeletePositionFenceWithContext(ctx context.Context, request *DeletePositionFenceRequest) (response *DeletePositionFenceResponse, err error)

DeletePositionFence 删除围栏

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"
UNSUPPORTEDOPERATION_BINDSEXISTUNDERFENCE = "UnsupportedOperation.BindsExistUnderFence"

func (*Client) DeletePositionSpace added in v1.0.266

func (c *Client) DeletePositionSpace(request *DeletePositionSpaceRequest) (response *DeletePositionSpaceResponse, err error)

DeletePositionSpace 删除位置空间

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_FENCEEXISTUNDERSPACE = "UnsupportedOperation.FenceExistUnderSpace"

func (*Client) DeletePositionSpaceWithContext added in v1.0.324

func (c *Client) DeletePositionSpaceWithContext(ctx context.Context, request *DeletePositionSpaceRequest) (response *DeletePositionSpaceResponse, err error)

DeletePositionSpace 删除位置空间

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_FENCEEXISTUNDERSPACE = "UnsupportedOperation.FenceExistUnderSpace"

func (*Client) DeleteProject

func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)

DeleteProject 提供删除某个项目的能力

可能返回的错误码:

RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_ENABLESAASSERVICEEXISTUNDERPROJECT = "UnsupportedOperation.EnableSaasServiceExistUnderProject"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_POOLEXISTUNDERPROJECT = "UnsupportedOperation.PoolExistUnderProject"
UNSUPPORTEDOPERATION_PRODUCTEXISTUNDERPROJECT = "UnsupportedOperation.ProductExistUnderProject"

func (*Client) DeleteProjectWithContext added in v1.0.324

func (c *Client) DeleteProjectWithContext(ctx context.Context, request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)

DeleteProject 提供删除某个项目的能力

可能返回的错误码:

RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_ENABLESAASSERVICEEXISTUNDERPROJECT = "UnsupportedOperation.EnableSaasServiceExistUnderProject"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_POOLEXISTUNDERPROJECT = "UnsupportedOperation.PoolExistUnderProject"
UNSUPPORTEDOPERATION_PRODUCTEXISTUNDERPROJECT = "UnsupportedOperation.ProductExistUnderProject"

func (*Client) DeleteStudioProduct

func (c *Client) DeleteStudioProduct(request *DeleteStudioProductRequest) (response *DeleteStudioProductResponse, err error)

DeleteStudioProduct 提供删除某个项目下产品的能力

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_DEVICESEXISTUNDERPRODUCT = "UnsupportedOperation.DevicesExistUnderProduct"
UNSUPPORTEDOPERATION_GATEWAYPRODUCTHASBINDEDPRODUCT = "UnsupportedOperation.GatewayProductHasBindedProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_PRODUCTHASBINDEDGATEWAYPRODUCT = "UnsupportedOperation.ProductHasBindedGateWayProduct"
UNSUPPORTEDOPERATION_PRODUCTHASSHARED = "UnsupportedOperation.ProductHasShared"

func (*Client) DeleteStudioProductWithContext added in v1.0.324

func (c *Client) DeleteStudioProductWithContext(ctx context.Context, request *DeleteStudioProductRequest) (response *DeleteStudioProductResponse, err error)

DeleteStudioProduct 提供删除某个项目下产品的能力

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_DEVICESEXISTUNDERPRODUCT = "UnsupportedOperation.DevicesExistUnderProduct"
UNSUPPORTEDOPERATION_GATEWAYPRODUCTHASBINDEDPRODUCT = "UnsupportedOperation.GatewayProductHasBindedProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_PRODUCTHASBINDEDGATEWAYPRODUCT = "UnsupportedOperation.ProductHasBindedGateWayProduct"
UNSUPPORTEDOPERATION_PRODUCTHASSHARED = "UnsupportedOperation.ProductHasShared"

func (*Client) DeleteTopicPolicy added in v1.0.269

func (c *Client) DeleteTopicPolicy(request *DeleteTopicPolicyRequest) (response *DeleteTopicPolicyResponse, err error)

DeleteTopicPolicy 本接口(DeleteTopicPolicy)用于删除Topic

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = "ResourceNotFound.TopicPolicyNotExist"

func (*Client) DeleteTopicPolicyWithContext added in v1.0.324

func (c *Client) DeleteTopicPolicyWithContext(ctx context.Context, request *DeleteTopicPolicyRequest) (response *DeleteTopicPolicyResponse, err error)

DeleteTopicPolicy 本接口(DeleteTopicPolicy)用于删除Topic

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = "ResourceNotFound.TopicPolicyNotExist"

func (*Client) DeleteTopicRule

func (c *Client) DeleteTopicRule(request *DeleteTopicRuleRequest) (response *DeleteTopicRuleResponse, err error)

DeleteTopicRule 删除规则

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteTopicRuleWithContext added in v1.0.324

func (c *Client) DeleteTopicRuleWithContext(ctx context.Context, request *DeleteTopicRuleRequest) (response *DeleteTopicRuleResponse, err error)

DeleteTopicRule 删除规则

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeBatchProduction added in v1.0.288

func (c *Client) DescribeBatchProduction(request *DescribeBatchProductionRequest) (response *DescribeBatchProductionResponse, err error)

DescribeBatchProduction 获取量产详情信息。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_BATCHPRODUCTIONNOTEXIST = "ResourceNotFound.BatchProductionNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeBatchProductionWithContext added in v1.0.324

func (c *Client) DescribeBatchProductionWithContext(ctx context.Context, request *DescribeBatchProductionRequest) (response *DescribeBatchProductionResponse, err error)

DescribeBatchProduction 获取量产详情信息。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_BATCHPRODUCTIONNOTEXIST = "ResourceNotFound.BatchProductionNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeBindedProducts added in v1.0.328

func (c *Client) DescribeBindedProducts(request *DescribeBindedProductsRequest) (response *DescribeBindedProductsResponse, err error)

DescribeBindedProducts 获取网关产品已经绑定的子产品

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) DescribeBindedProductsWithContext added in v1.0.328

func (c *Client) DescribeBindedProductsWithContext(ctx context.Context, request *DescribeBindedProductsRequest) (response *DescribeBindedProductsResponse, err error)

DescribeBindedProducts 获取网关产品已经绑定的子产品

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) DescribeCloudStorage added in v1.0.888

func (c *Client) DescribeCloudStorage(request *DescribeCloudStorageRequest) (response *DescribeCloudStorageResponse, err error)

DescribeCloudStorage 获取设备云存服务详情

可能返回的错误码:

INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageAIService added in v1.0.902

func (c *Client) DescribeCloudStorageAIService(request *DescribeCloudStorageAIServiceRequest) (response *DescribeCloudStorageAIServiceResponse, err error)

DescribeCloudStorageAIService 查询指定设备的云存 AI 服务开通状态与参数配置

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageAIServiceCallback added in v1.0.902

func (c *Client) DescribeCloudStorageAIServiceCallback(request *DescribeCloudStorageAIServiceCallbackRequest) (response *DescribeCloudStorageAIServiceCallbackResponse, err error)

DescribeCloudStorageAIServiceCallback 查询云存AI分析回调配置

可能返回的错误码:

FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = "FailedOperation.CloudStorageAIServiceNotEnabled"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageAIServiceCallbackWithContext added in v1.0.902

func (c *Client) DescribeCloudStorageAIServiceCallbackWithContext(ctx context.Context, request *DescribeCloudStorageAIServiceCallbackRequest) (response *DescribeCloudStorageAIServiceCallbackResponse, err error)

DescribeCloudStorageAIServiceCallback 查询云存AI分析回调配置

可能返回的错误码:

FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = "FailedOperation.CloudStorageAIServiceNotEnabled"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageAIServiceTask added in v1.0.916

func (c *Client) DescribeCloudStorageAIServiceTask(request *DescribeCloudStorageAIServiceTaskRequest) (response *DescribeCloudStorageAIServiceTaskResponse, err error)

DescribeCloudStorageAIServiceTask 查询指定的云存 AI 分析任务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASK = "ResourceNotFound.CloudStorageAIServiceTask"

func (*Client) DescribeCloudStorageAIServiceTaskWithContext added in v1.0.916

func (c *Client) DescribeCloudStorageAIServiceTaskWithContext(ctx context.Context, request *DescribeCloudStorageAIServiceTaskRequest) (response *DescribeCloudStorageAIServiceTaskResponse, err error)

DescribeCloudStorageAIServiceTask 查询指定的云存 AI 分析任务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASK = "ResourceNotFound.CloudStorageAIServiceTask"

func (*Client) DescribeCloudStorageAIServiceTasks added in v1.0.902

func (c *Client) DescribeCloudStorageAIServiceTasks(request *DescribeCloudStorageAIServiceTasksRequest) (response *DescribeCloudStorageAIServiceTasksResponse, err error)

DescribeCloudStorageAIServiceTasks 查询指定设备的云存 AI 分析任务列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeCloudStorageAIServiceTasksWithContext added in v1.0.902

func (c *Client) DescribeCloudStorageAIServiceTasksWithContext(ctx context.Context, request *DescribeCloudStorageAIServiceTasksRequest) (response *DescribeCloudStorageAIServiceTasksResponse, err error)

DescribeCloudStorageAIServiceTasks 查询指定设备的云存 AI 分析任务列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"

func (*Client) DescribeCloudStorageAIServiceWithContext added in v1.0.902

func (c *Client) DescribeCloudStorageAIServiceWithContext(ctx context.Context, request *DescribeCloudStorageAIServiceRequest) (response *DescribeCloudStorageAIServiceResponse, err error)

DescribeCloudStorageAIService 查询指定设备的云存 AI 服务开通状态与参数配置

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageDate added in v1.0.888

func (c *Client) DescribeCloudStorageDate(request *DescribeCloudStorageDateRequest) (response *DescribeCloudStorageDateResponse, err error)

DescribeCloudStorageDate 获取具有云存的日期

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageDateWithContext added in v1.0.888

func (c *Client) DescribeCloudStorageDateWithContext(ctx context.Context, request *DescribeCloudStorageDateRequest) (response *DescribeCloudStorageDateResponse, err error)

DescribeCloudStorageDate 获取具有云存的日期

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageEvents added in v1.0.888

func (c *Client) DescribeCloudStorageEvents(request *DescribeCloudStorageEventsRequest) (response *DescribeCloudStorageEventsResponse, err error)

DescribeCloudStorageEvents 拉取云存事件列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageEventsWithContext added in v1.0.888

func (c *Client) DescribeCloudStorageEventsWithContext(ctx context.Context, request *DescribeCloudStorageEventsRequest) (response *DescribeCloudStorageEventsResponse, err error)

DescribeCloudStorageEvents 拉取云存事件列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageMultiThumbnail added in v1.0.888

func (c *Client) DescribeCloudStorageMultiThumbnail(request *DescribeCloudStorageMultiThumbnailRequest) (response *DescribeCloudStorageMultiThumbnailResponse, err error)

DescribeCloudStorageMultiThumbnail 拉取多个云存事件缩略图

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageMultiThumbnailWithContext added in v1.0.888

func (c *Client) DescribeCloudStorageMultiThumbnailWithContext(ctx context.Context, request *DescribeCloudStorageMultiThumbnailRequest) (response *DescribeCloudStorageMultiThumbnailResponse, err error)

DescribeCloudStorageMultiThumbnail 拉取多个云存事件缩略图

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageOrder added in v1.0.888

func (c *Client) DescribeCloudStorageOrder(request *DescribeCloudStorageOrderRequest) (response *DescribeCloudStorageOrderResponse, err error)

DescribeCloudStorageOrder 查询云存服务详情

可能返回的错误码:

INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageOrderWithContext added in v1.0.888

func (c *Client) DescribeCloudStorageOrderWithContext(ctx context.Context, request *DescribeCloudStorageOrderRequest) (response *DescribeCloudStorageOrderResponse, err error)

DescribeCloudStorageOrder 查询云存服务详情

可能返回的错误码:

INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStoragePackageConsumeDetails added in v1.0.888

func (c *Client) DescribeCloudStoragePackageConsumeDetails(request *DescribeCloudStoragePackageConsumeDetailsRequest) (response *DescribeCloudStoragePackageConsumeDetailsResponse, err error)

DescribeCloudStoragePackageConsumeDetails 获取云存套餐包消耗详细记录

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStoragePackageConsumeDetailsWithContext added in v1.0.888

func (c *Client) DescribeCloudStoragePackageConsumeDetailsWithContext(ctx context.Context, request *DescribeCloudStoragePackageConsumeDetailsRequest) (response *DescribeCloudStoragePackageConsumeDetailsResponse, err error)

DescribeCloudStoragePackageConsumeDetails 获取云存套餐包消耗详细记录

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStoragePackageConsumeStats added in v1.0.888

func (c *Client) DescribeCloudStoragePackageConsumeStats(request *DescribeCloudStoragePackageConsumeStatsRequest) (response *DescribeCloudStoragePackageConsumeStatsResponse, err error)

DescribeCloudStoragePackageConsumeStats 获取云存套餐包消耗统计

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStoragePackageConsumeStatsWithContext added in v1.0.888

func (c *Client) DescribeCloudStoragePackageConsumeStatsWithContext(ctx context.Context, request *DescribeCloudStoragePackageConsumeStatsRequest) (response *DescribeCloudStoragePackageConsumeStatsResponse, err error)

DescribeCloudStoragePackageConsumeStats 获取云存套餐包消耗统计

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageStreamData added in v1.0.888

func (c *Client) DescribeCloudStorageStreamData(request *DescribeCloudStorageStreamDataRequest) (response *DescribeCloudStorageStreamDataResponse, err error)

DescribeCloudStorageStreamData 获取设备图片流数据

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageStreamDataWithContext added in v1.0.888

func (c *Client) DescribeCloudStorageStreamDataWithContext(ctx context.Context, request *DescribeCloudStorageStreamDataRequest) (response *DescribeCloudStorageStreamDataResponse, err error)

DescribeCloudStorageStreamData 获取设备图片流数据

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageThumbnail added in v1.0.888

func (c *Client) DescribeCloudStorageThumbnail(request *DescribeCloudStorageThumbnailRequest) (response *DescribeCloudStorageThumbnailResponse, err error)

DescribeCloudStorageThumbnail 拉取云存事件缩略图

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageThumbnailList added in v1.0.888

func (c *Client) DescribeCloudStorageThumbnailList(request *DescribeCloudStorageThumbnailListRequest) (response *DescribeCloudStorageThumbnailListResponse, err error)

DescribeCloudStorageThumbnailList 批量拉取云存事件缩略图

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageThumbnailListWithContext added in v1.0.888

func (c *Client) DescribeCloudStorageThumbnailListWithContext(ctx context.Context, request *DescribeCloudStorageThumbnailListRequest) (response *DescribeCloudStorageThumbnailListResponse, err error)

DescribeCloudStorageThumbnailList 批量拉取云存事件缩略图

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageThumbnailWithContext added in v1.0.888

func (c *Client) DescribeCloudStorageThumbnailWithContext(ctx context.Context, request *DescribeCloudStorageThumbnailRequest) (response *DescribeCloudStorageThumbnailResponse, err error)

DescribeCloudStorageThumbnail 拉取云存事件缩略图

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageTime added in v1.0.888

func (c *Client) DescribeCloudStorageTime(request *DescribeCloudStorageTimeRequest) (response *DescribeCloudStorageTimeResponse, err error)

DescribeCloudStorageTime 获取某一天云存时间轴

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageTimeWithContext added in v1.0.888

func (c *Client) DescribeCloudStorageTimeWithContext(ctx context.Context, request *DescribeCloudStorageTimeRequest) (response *DescribeCloudStorageTimeResponse, err error)

DescribeCloudStorageTime 获取某一天云存时间轴

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageUsers added in v1.0.888

func (c *Client) DescribeCloudStorageUsers(request *DescribeCloudStorageUsersRequest) (response *DescribeCloudStorageUsersResponse, err error)

DescribeCloudStorageUsers 拉取云存用户列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageUsersWithContext added in v1.0.888

func (c *Client) DescribeCloudStorageUsersWithContext(ctx context.Context, request *DescribeCloudStorageUsersRequest) (response *DescribeCloudStorageUsersResponse, err error)

DescribeCloudStorageUsers 拉取云存用户列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCloudStorageWithContext added in v1.0.888

func (c *Client) DescribeCloudStorageWithContext(ctx context.Context, request *DescribeCloudStorageRequest) (response *DescribeCloudStorageResponse, err error)

DescribeCloudStorage 获取设备云存服务详情

可能返回的错误码:

INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDevice

func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)

DescribeDevice 用于查看某个设备的详细信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeDeviceBindGateway added in v1.0.328

func (c *Client) DescribeDeviceBindGateway(request *DescribeDeviceBindGatewayRequest) (response *DescribeDeviceBindGatewayResponse, err error)

DescribeDeviceBindGateway 查询设备绑定的网关设备

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_TIMEOUT = "InternalError.Timeout"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEVICEHASNOTBINDGATEWAY = "InvalidParameterValue.DeviceHasNotBindGateway"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDeviceBindGatewayWithContext added in v1.0.328

func (c *Client) DescribeDeviceBindGatewayWithContext(ctx context.Context, request *DescribeDeviceBindGatewayRequest) (response *DescribeDeviceBindGatewayResponse, err error)

DescribeDeviceBindGateway 查询设备绑定的网关设备

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_TIMEOUT = "InternalError.Timeout"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEVICEHASNOTBINDGATEWAY = "InvalidParameterValue.DeviceHasNotBindGateway"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDeviceData

func (c *Client) DescribeDeviceData(request *DescribeDeviceDataRequest) (response *DescribeDeviceDataResponse, err error)

DescribeDeviceData 根据设备产品ID、设备名称,获取设备上报的属性数据。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_DEVICESHADOWNOTEXIST = "ResourceNotFound.DeviceShadowNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeDeviceDataHistory

func (c *Client) DescribeDeviceDataHistory(request *DescribeDeviceDataHistoryRequest) (response *DescribeDeviceDataHistoryResponse, err error)

DescribeDeviceDataHistory 获取设备在指定时间范围内上报的历史数据。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeDeviceDataHistoryWithContext added in v1.0.324

func (c *Client) DescribeDeviceDataHistoryWithContext(ctx context.Context, request *DescribeDeviceDataHistoryRequest) (response *DescribeDeviceDataHistoryResponse, err error)

DescribeDeviceDataHistory 获取设备在指定时间范围内上报的历史数据。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeDeviceDataWithContext added in v1.0.324

func (c *Client) DescribeDeviceDataWithContext(ctx context.Context, request *DescribeDeviceDataRequest) (response *DescribeDeviceDataResponse, err error)

DescribeDeviceData 根据设备产品ID、设备名称,获取设备上报的属性数据。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_DEVICESHADOWNOTEXIST = "ResourceNotFound.DeviceShadowNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeDeviceFirmWare added in v1.0.862

func (c *Client) DescribeDeviceFirmWare(request *DescribeDeviceFirmWareRequest) (response *DescribeDeviceFirmWareResponse, err error)

DescribeDeviceFirmWare 获取设备固件信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICEFIRMWARENOTEXIST = "ResourceNotFound.DeviceFirmWareNotExist"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeDeviceFirmWareWithContext added in v1.0.862

func (c *Client) DescribeDeviceFirmWareWithContext(ctx context.Context, request *DescribeDeviceFirmWareRequest) (response *DescribeDeviceFirmWareResponse, err error)

DescribeDeviceFirmWare 获取设备固件信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICEFIRMWARENOTEXIST = "ResourceNotFound.DeviceFirmWareNotExist"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeDeviceFirmwares added in v1.0.909

func (c *Client) DescribeDeviceFirmwares(request *DescribeDeviceFirmwaresRequest) (response *DescribeDeviceFirmwaresResponse, err error)

DescribeDeviceFirmwares 获取设备当前固件信息

可能返回的错误码:

INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEVICENOTEXIST = "InvalidParameterValue.DeviceNotExist"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) DescribeDeviceFirmwaresWithContext added in v1.0.909

func (c *Client) DescribeDeviceFirmwaresWithContext(ctx context.Context, request *DescribeDeviceFirmwaresRequest) (response *DescribeDeviceFirmwaresResponse, err error)

DescribeDeviceFirmwares 获取设备当前固件信息

可能返回的错误码:

INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEVICENOTEXIST = "InvalidParameterValue.DeviceNotExist"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) DescribeDeviceLocationSolve added in v1.0.541

func (c *Client) DescribeDeviceLocationSolve(request *DescribeDeviceLocationSolveRequest) (response *DescribeDeviceLocationSolveResponse, err error)

DescribeDeviceLocationSolve 获取实时位置解析

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_MODULENOTEXIST = "ResourceNotFound.ModuleNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeDeviceLocationSolveWithContext added in v1.0.541

func (c *Client) DescribeDeviceLocationSolveWithContext(ctx context.Context, request *DescribeDeviceLocationSolveRequest) (response *DescribeDeviceLocationSolveResponse, err error)

DescribeDeviceLocationSolve 获取实时位置解析

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_MODULENOTEXIST = "ResourceNotFound.ModuleNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeDevicePackages added in v1.0.888

func (c *Client) DescribeDevicePackages(request *DescribeDevicePackagesRequest) (response *DescribeDevicePackagesResponse, err error)

DescribeDevicePackages 根据设备信息拉取有效套餐列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDevicePackagesWithContext added in v1.0.888

func (c *Client) DescribeDevicePackagesWithContext(ctx context.Context, request *DescribeDevicePackagesRequest) (response *DescribeDevicePackagesResponse, err error)

DescribeDevicePackages 根据设备信息拉取有效套餐列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDevicePositionList added in v1.0.266

func (c *Client) DescribeDevicePositionList(request *DescribeDevicePositionListRequest) (response *DescribeDevicePositionListResponse, err error)

DescribeDevicePositionList 获取设备位置列表

可能返回的错误码:

INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"

func (*Client) DescribeDevicePositionListWithContext added in v1.0.324

func (c *Client) DescribeDevicePositionListWithContext(ctx context.Context, request *DescribeDevicePositionListRequest) (response *DescribeDevicePositionListResponse, err error)

DescribeDevicePositionList 获取设备位置列表

可能返回的错误码:

INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"

func (*Client) DescribeDeviceWithContext added in v1.0.324

func (c *Client) DescribeDeviceWithContext(ctx context.Context, request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)

DescribeDevice 用于查看某个设备的详细信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeFenceBindList added in v1.0.266

func (c *Client) DescribeFenceBindList(request *DescribeFenceBindListRequest) (response *DescribeFenceBindListResponse, err error)

DescribeFenceBindList 获取围栏绑定信息列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) DescribeFenceBindListWithContext added in v1.0.324

func (c *Client) DescribeFenceBindListWithContext(ctx context.Context, request *DescribeFenceBindListRequest) (response *DescribeFenceBindListResponse, err error)

DescribeFenceBindList 获取围栏绑定信息列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) DescribeFenceEventList added in v1.0.266

func (c *Client) DescribeFenceEventList(request *DescribeFenceEventListRequest) (response *DescribeFenceEventListResponse, err error)

DescribeFenceEventList 获取围栏告警事件列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_STARTTIMELATERENDTIME = "InvalidParameterValue.StartTimeLaterEndTime"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) DescribeFenceEventListWithContext added in v1.0.324

func (c *Client) DescribeFenceEventListWithContext(ctx context.Context, request *DescribeFenceEventListRequest) (response *DescribeFenceEventListResponse, err error)

DescribeFenceEventList 获取围栏告警事件列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_STARTTIMELATERENDTIME = "InvalidParameterValue.StartTimeLaterEndTime"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) DescribeFirmwareTask

func (c *Client) DescribeFirmwareTask(request *DescribeFirmwareTaskRequest) (response *DescribeFirmwareTaskResponse, err error)

DescribeFirmwareTask 查询固件升级任务列表

可能返回的错误码:

INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"

func (*Client) DescribeFirmwareTaskWithContext added in v1.0.324

func (c *Client) DescribeFirmwareTaskWithContext(ctx context.Context, request *DescribeFirmwareTaskRequest) (response *DescribeFirmwareTaskResponse, err error)

DescribeFirmwareTask 查询固件升级任务列表

可能返回的错误码:

INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
RESOURCENOTFOUND_FIRMWARETASKNOTEXIST = "ResourceNotFound.FirmwareTaskNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"

func (*Client) DescribeGatewayBindDevices added in v1.0.328

func (c *Client) DescribeGatewayBindDevices(request *DescribeGatewayBindDevicesRequest) (response *DescribeGatewayBindDevicesResponse, err error)

DescribeGatewayBindDevices 获取网关绑定的子设备列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeGatewayBindDevicesWithContext added in v1.0.328

func (c *Client) DescribeGatewayBindDevicesWithContext(ctx context.Context, request *DescribeGatewayBindDevicesRequest) (response *DescribeGatewayBindDevicesResponse, err error)

DescribeGatewayBindDevices 获取网关绑定的子设备列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeGatewaySubDeviceList added in v1.0.344

func (c *Client) DescribeGatewaySubDeviceList(request *DescribeGatewaySubDeviceListRequest) (response *DescribeGatewaySubDeviceListResponse, err error)

DescribeGatewaySubDeviceList 查询绑定到家庭的网关设备的子设备列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTBIND = "ResourceNotFound.DeviceNotBind"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) DescribeGatewaySubDeviceListWithContext added in v1.0.344

func (c *Client) DescribeGatewaySubDeviceListWithContext(ctx context.Context, request *DescribeGatewaySubDeviceListRequest) (response *DescribeGatewaySubDeviceListResponse, err error)

DescribeGatewaySubDeviceList 查询绑定到家庭的网关设备的子设备列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTBIND = "ResourceNotFound.DeviceNotBind"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) DescribeGatewaySubProducts added in v1.0.328

func (c *Client) DescribeGatewaySubProducts(request *DescribeGatewaySubProductsRequest) (response *DescribeGatewaySubProductsResponse, err error)

DescribeGatewaySubProducts 用于获取网关可绑定或解绑的子产品

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_STAFFPOOLDUPNAMEEXIST = "UnsupportedOperation.StaffPoolDupNameExist"

func (*Client) DescribeGatewaySubProductsWithContext added in v1.0.328

func (c *Client) DescribeGatewaySubProductsWithContext(ctx context.Context, request *DescribeGatewaySubProductsRequest) (response *DescribeGatewaySubProductsResponse, err error)

DescribeGatewaySubProducts 用于获取网关可绑定或解绑的子产品

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_STAFFPOOLDUPNAMEEXIST = "UnsupportedOperation.StaffPoolDupNameExist"

func (*Client) DescribeInstance added in v1.0.728

func (c *Client) DescribeInstance(request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)

DescribeInstance 公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = "UnauthorizedOperation.NoPermissionToStudioInstance"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder"

func (*Client) DescribeInstanceWithContext added in v1.0.728

func (c *Client) DescribeInstanceWithContext(ctx context.Context, request *DescribeInstanceRequest) (response *DescribeInstanceResponse, err error)

DescribeInstance 公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOINSTANCE = "UnauthorizedOperation.NoPermissionToStudioInstance"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder"

func (*Client) DescribeLoRaFrequency

func (c *Client) DescribeLoRaFrequency(request *DescribeLoRaFrequencyRequest) (response *DescribeLoRaFrequencyResponse, err error)

DescribeLoRaFrequency 提供查询LoRa自定义频点详情的能力

可能返回的错误码:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_STUDIOLORAFREQNOTEXIST = "ResourceNotFound.StudioLoRaFreqNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeLoRaFrequencyWithContext added in v1.0.324

func (c *Client) DescribeLoRaFrequencyWithContext(ctx context.Context, request *DescribeLoRaFrequencyRequest) (response *DescribeLoRaFrequencyResponse, err error)

DescribeLoRaFrequency 提供查询LoRa自定义频点详情的能力

可能返回的错误码:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_STUDIOLORAFREQNOTEXIST = "ResourceNotFound.StudioLoRaFreqNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeModelDefinition

func (c *Client) DescribeModelDefinition(request *DescribeModelDefinitionRequest) (response *DescribeModelDefinitionResponse, err error)

DescribeModelDefinition 查询产品配置的数据模板信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEVICENAMEINVALID = "InvalidParameterValue.DeviceNameInvalid"
INVALIDPARAMETERVALUE_MODELDEFINEDONTMATCHTEMPLATE = "InvalidParameterValue.ModelDefineDontMatchTemplate"
INVALIDPARAMETERVALUE_MODELDEFINEDUPID = "InvalidParameterValue.ModelDefineDupID"
INVALIDPARAMETERVALUE_MODELDEFINEERRORMODEL = "InvalidParameterValue.ModelDefineErrorModel"
INVALIDPARAMETERVALUE_MODELDEFINEERRORTYPE = "InvalidParameterValue.ModelDefineErrorType"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPARAMSDUPID = "InvalidParameterValue.ModelDefineEventParamsDupID"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPARAMSEXCEEDLIMIT = "InvalidParameterValue.ModelDefineEventParamsExceedLimit"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPROPNAMEERROR = "InvalidParameterValue.ModelDefineEventPropNameError"
INVALIDPARAMETERVALUE_MODELDEFINEINVALID = "InvalidParameterValue.ModelDefineInvalid"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
INVALIDPARAMETERVALUE_MODELDEFINEPROPBOOLMAPPINGERROR = "InvalidParameterValue.ModelDefinePropBoolMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPENUMMAPPINGERROR = "InvalidParameterValue.ModelDefinePropEnumMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEERROR = "InvalidParameterValue.ModelDefinePropRangeError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEOVERFLOW = "InvalidParameterValue.ModelDefinePropRangeOverflow"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeModelDefinitionWithContext added in v1.0.324

func (c *Client) DescribeModelDefinitionWithContext(ctx context.Context, request *DescribeModelDefinitionRequest) (response *DescribeModelDefinitionResponse, err error)

DescribeModelDefinition 查询产品配置的数据模板信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEVICENAMEINVALID = "InvalidParameterValue.DeviceNameInvalid"
INVALIDPARAMETERVALUE_MODELDEFINEDONTMATCHTEMPLATE = "InvalidParameterValue.ModelDefineDontMatchTemplate"
INVALIDPARAMETERVALUE_MODELDEFINEDUPID = "InvalidParameterValue.ModelDefineDupID"
INVALIDPARAMETERVALUE_MODELDEFINEERRORMODEL = "InvalidParameterValue.ModelDefineErrorModel"
INVALIDPARAMETERVALUE_MODELDEFINEERRORTYPE = "InvalidParameterValue.ModelDefineErrorType"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPARAMSDUPID = "InvalidParameterValue.ModelDefineEventParamsDupID"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPARAMSEXCEEDLIMIT = "InvalidParameterValue.ModelDefineEventParamsExceedLimit"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPROPNAMEERROR = "InvalidParameterValue.ModelDefineEventPropNameError"
INVALIDPARAMETERVALUE_MODELDEFINEINVALID = "InvalidParameterValue.ModelDefineInvalid"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
INVALIDPARAMETERVALUE_MODELDEFINEPROPBOOLMAPPINGERROR = "InvalidParameterValue.ModelDefinePropBoolMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPENUMMAPPINGERROR = "InvalidParameterValue.ModelDefinePropEnumMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEERROR = "InvalidParameterValue.ModelDefinePropRangeError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEOVERFLOW = "InvalidParameterValue.ModelDefinePropRangeOverflow"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribePackageConsumeTask added in v1.0.888

func (c *Client) DescribePackageConsumeTask(request *DescribePackageConsumeTaskRequest) (response *DescribePackageConsumeTaskResponse, err error)

DescribePackageConsumeTask 查询套餐消耗记录详情

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePackageConsumeTaskWithContext added in v1.0.888

func (c *Client) DescribePackageConsumeTaskWithContext(ctx context.Context, request *DescribePackageConsumeTaskRequest) (response *DescribePackageConsumeTaskResponse, err error)

DescribePackageConsumeTask 查询套餐消耗记录详情

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePackageConsumeTasks added in v1.0.888

func (c *Client) DescribePackageConsumeTasks(request *DescribePackageConsumeTasksRequest) (response *DescribePackageConsumeTasksResponse, err error)

DescribePackageConsumeTasks 查询套餐消耗记录列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePackageConsumeTasksWithContext added in v1.0.888

func (c *Client) DescribePackageConsumeTasksWithContext(ctx context.Context, request *DescribePackageConsumeTasksRequest) (response *DescribePackageConsumeTasksResponse, err error)

DescribePackageConsumeTasks 查询套餐消耗记录列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribePositionFenceList added in v1.0.266

func (c *Client) DescribePositionFenceList(request *DescribePositionFenceListRequest) (response *DescribePositionFenceListResponse, err error)

DescribePositionFenceList 获取围栏列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribePositionFenceListWithContext added in v1.0.324

func (c *Client) DescribePositionFenceListWithContext(ctx context.Context, request *DescribePositionFenceListRequest) (response *DescribePositionFenceListResponse, err error)

DescribePositionFenceList 获取围栏列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeProductCloudStorageAIService added in v1.0.902

func (c *Client) DescribeProductCloudStorageAIService(request *DescribeProductCloudStorageAIServiceRequest) (response *DescribeProductCloudStorageAIServiceResponse, err error)

DescribeProductCloudStorageAIService 查询指定产品的云存 AI 服务开通状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeProductCloudStorageAIServiceWithContext added in v1.0.902

func (c *Client) DescribeProductCloudStorageAIServiceWithContext(ctx context.Context, request *DescribeProductCloudStorageAIServiceRequest) (response *DescribeProductCloudStorageAIServiceResponse, err error)

DescribeProductCloudStorageAIService 查询指定产品的云存 AI 服务开通状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeProject

func (c *Client) DescribeProject(request *DescribeProjectRequest) (response *DescribeProjectResponse, err error)

DescribeProject 查询项目详情

可能返回的错误码:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeProjectWithContext added in v1.0.324

func (c *Client) DescribeProjectWithContext(ctx context.Context, request *DescribeProjectRequest) (response *DescribeProjectResponse, err error)

DescribeProject 查询项目详情

可能返回的错误码:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeSpaceFenceEventList added in v1.0.266

func (c *Client) DescribeSpaceFenceEventList(request *DescribeSpaceFenceEventListRequest) (response *DescribeSpaceFenceEventListResponse, err error)

DescribeSpaceFenceEventList 获取位置空间中围栏告警事件列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_STARTTIMELATERENDTIME = "InvalidParameterValue.StartTimeLaterEndTime"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeSpaceFenceEventListWithContext added in v1.0.324

func (c *Client) DescribeSpaceFenceEventListWithContext(ctx context.Context, request *DescribeSpaceFenceEventListRequest) (response *DescribeSpaceFenceEventListResponse, err error)

DescribeSpaceFenceEventList 获取位置空间中围栏告警事件列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_STARTTIMELATERENDTIME = "InvalidParameterValue.StartTimeLaterEndTime"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeStudioProduct

func (c *Client) DescribeStudioProduct(request *DescribeStudioProductRequest) (response *DescribeStudioProductResponse, err error)

DescribeStudioProduct 提供查看产品详细信息的能力,包括产品的ID、数据协议、认证类型等重要参数

可能返回的错误码:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeStudioProductWithContext added in v1.0.324

func (c *Client) DescribeStudioProductWithContext(ctx context.Context, request *DescribeStudioProductRequest) (response *DescribeStudioProductResponse, err error)

DescribeStudioProduct 提供查看产品详细信息的能力,包括产品的ID、数据协议、认证类型等重要参数

可能返回的错误码:

INTERNALERROR = "InternalError"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) DescribeTopicPolicy added in v1.0.269

func (c *Client) DescribeTopicPolicy(request *DescribeTopicPolicyRequest) (response *DescribeTopicPolicyResponse, err error)

DescribeTopicPolicy 本接口(DescribeTopicPolicy)用于查看Topic详细信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = "ResourceNotFound.TopicPolicyNotExist"

func (*Client) DescribeTopicPolicyWithContext added in v1.0.324

func (c *Client) DescribeTopicPolicyWithContext(ctx context.Context, request *DescribeTopicPolicyRequest) (response *DescribeTopicPolicyResponse, err error)

DescribeTopicPolicy 本接口(DescribeTopicPolicy)用于查看Topic详细信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = "ResourceNotFound.TopicPolicyNotExist"

func (*Client) DescribeTopicRule

func (c *Client) DescribeTopicRule(request *DescribeTopicRuleRequest) (response *DescribeTopicRuleResponse, err error)

DescribeTopicRule 获取规则信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil"
INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit"
INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeTopicRuleWithContext added in v1.0.324

func (c *Client) DescribeTopicRuleWithContext(ctx context.Context, request *DescribeTopicRuleRequest) (response *DescribeTopicRuleResponse, err error)

DescribeTopicRule 获取规则信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil"
INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit"
INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DirectBindDeviceInFamily added in v1.0.242

func (c *Client) DirectBindDeviceInFamily(request *DirectBindDeviceInFamilyRequest) (response *DirectBindDeviceInFamilyResponse, err error)

DirectBindDeviceInFamily 直接绑定设备和家庭

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_APPNOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.APPNoPermissionToStudioProduct"
UNAUTHORIZEDOPERATION_APPNOPERMISSION = "UnauthorizedOperation.AppNoPermission"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOFAMILY = "UnauthorizedOperation.NoPermissionToFamily"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_CANNOTREBINDFAMILY = "UnsupportedOperation.CannotReBindFamily"
UNSUPPORTEDOPERATION_DEVICETYPE = "UnsupportedOperation.DeviceType"

func (*Client) DirectBindDeviceInFamilyWithContext added in v1.0.324

func (c *Client) DirectBindDeviceInFamilyWithContext(ctx context.Context, request *DirectBindDeviceInFamilyRequest) (response *DirectBindDeviceInFamilyResponse, err error)

DirectBindDeviceInFamily 直接绑定设备和家庭

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTION = "InternalError.InternalServerException"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_APPNOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.APPNoPermissionToStudioProduct"
UNAUTHORIZEDOPERATION_APPNOPERMISSION = "UnauthorizedOperation.AppNoPermission"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOFAMILY = "UnauthorizedOperation.NoPermissionToFamily"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_CANNOTREBINDFAMILY = "UnsupportedOperation.CannotReBindFamily"
UNSUPPORTEDOPERATION_DEVICETYPE = "UnsupportedOperation.DeviceType"

func (*Client) DisableTopicRule

func (c *Client) DisableTopicRule(request *DisableTopicRuleRequest) (response *DisableTopicRuleResponse, err error)

DisableTopicRule 禁用规则

可能返回的错误码:

FAILEDOPERATION_RULEALREADYDISABLED = "FailedOperation.RuleAlreadyDisabled"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil"
INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit"
INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableTopicRuleWithContext added in v1.0.324

func (c *Client) DisableTopicRuleWithContext(ctx context.Context, request *DisableTopicRuleRequest) (response *DisableTopicRuleResponse, err error)

DisableTopicRule 禁用规则

可能返回的错误码:

FAILEDOPERATION_RULEALREADYDISABLED = "FailedOperation.RuleAlreadyDisabled"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil"
INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit"
INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DismissRoomByStrRoomIdFromTRTC added in v1.0.916

func (c *Client) DismissRoomByStrRoomIdFromTRTC(request *DismissRoomByStrRoomIdFromTRTCRequest) (response *DismissRoomByStrRoomIdFromTRTCResponse, err error)

DismissRoomByStrRoomIdFromTRTC 解散TRTC房间

可能返回的错误码:

FAILEDOPERATION_REQUESTTRTCFAIL = "FailedOperation.RequestTRTCFail"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOTRTCROOM = "UnauthorizedOperation.NoPermissionToTRTCRoom"
UNSUPPORTEDOPERATION_TRTCSERVICENOTOPEN = "UnsupportedOperation.TRTCServiceNotOpen"

func (*Client) DismissRoomByStrRoomIdFromTRTCWithContext added in v1.0.916

func (c *Client) DismissRoomByStrRoomIdFromTRTCWithContext(ctx context.Context, request *DismissRoomByStrRoomIdFromTRTCRequest) (response *DismissRoomByStrRoomIdFromTRTCResponse, err error)

DismissRoomByStrRoomIdFromTRTC 解散TRTC房间

可能返回的错误码:

FAILEDOPERATION_REQUESTTRTCFAIL = "FailedOperation.RequestTRTCFail"
INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOTRTCROOM = "UnauthorizedOperation.NoPermissionToTRTCRoom"
UNSUPPORTEDOPERATION_TRTCSERVICENOTOPEN = "UnsupportedOperation.TRTCServiceNotOpen"

func (*Client) EnableTopicRule

func (c *Client) EnableTopicRule(request *EnableTopicRuleRequest) (response *EnableTopicRuleResponse, err error)

EnableTopicRule 启用规则

可能返回的错误码:

FAILEDOPERATION_RULEALREADYENABLED = "FailedOperation.RuleAlreadyEnabled"
INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil"
INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail"
INVALIDPARAMETERVALUE_FORWARDREDIRECTDENIED = "InvalidParameterValue.ForwardRedirectDenied"
INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL"
INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit"
INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) EnableTopicRuleWithContext added in v1.0.324

func (c *Client) EnableTopicRuleWithContext(ctx context.Context, request *EnableTopicRuleRequest) (response *EnableTopicRuleResponse, err error)

EnableTopicRule 启用规则

可能返回的错误码:

FAILEDOPERATION_RULEALREADYENABLED = "FailedOperation.RuleAlreadyEnabled"
INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_ACTIONNIL = "InvalidParameterValue.ActionNil"
INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail"
INVALIDPARAMETERVALUE_FORWARDREDIRECTDENIED = "InvalidParameterValue.ForwardRedirectDenied"
INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL"
INVALIDPARAMETERVALUE_RULENUMBERBEYONDLIMIT = "InvalidParameterValue.RuleNumberBeyondLimit"
INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GenSingleDeviceSignatureOfPublic added in v1.0.306

func (c *Client) GenSingleDeviceSignatureOfPublic(request *GenSingleDeviceSignatureOfPublicRequest) (response *GenSingleDeviceSignatureOfPublicResponse, err error)

GenSingleDeviceSignatureOfPublic 无

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) GenSingleDeviceSignatureOfPublicWithContext added in v1.0.324

func (c *Client) GenSingleDeviceSignatureOfPublicWithContext(ctx context.Context, request *GenSingleDeviceSignatureOfPublicRequest) (response *GenSingleDeviceSignatureOfPublicResponse, err error)

GenSingleDeviceSignatureOfPublic 无

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) GenerateCloudStorageAIServiceTaskFileURL added in v1.0.916

func (c *Client) GenerateCloudStorageAIServiceTaskFileURL(request *GenerateCloudStorageAIServiceTaskFileURLRequest) (response *GenerateCloudStorageAIServiceTaskFileURLResponse, err error)

GenerateCloudStorageAIServiceTaskFileURL 获取云存 AI 分析任务输出文件的下载地址

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASK = "ResourceNotFound.CloudStorageAIServiceTask"
RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASKFILE = "ResourceNotFound.CloudStorageAIServiceTaskFile"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GenerateCloudStorageAIServiceTaskFileURLWithContext added in v1.0.916

func (c *Client) GenerateCloudStorageAIServiceTaskFileURLWithContext(ctx context.Context, request *GenerateCloudStorageAIServiceTaskFileURLRequest) (response *GenerateCloudStorageAIServiceTaskFileURLResponse, err error)

GenerateCloudStorageAIServiceTaskFileURL 获取云存 AI 分析任务输出文件的下载地址

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASK = "ResourceNotFound.CloudStorageAIServiceTask"
RESOURCENOTFOUND_CLOUDSTORAGEAISERVICETASKFILE = "ResourceNotFound.CloudStorageAIServiceTaskFile"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GenerateSignedVideoURL added in v1.0.888

func (c *Client) GenerateSignedVideoURL(request *GenerateSignedVideoURLRequest) (response *GenerateSignedVideoURLResponse, err error)

GenerateSignedVideoURL 获取视频防盗链播放URL

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GenerateSignedVideoURLWithContext added in v1.0.888

func (c *Client) GenerateSignedVideoURLWithContext(ctx context.Context, request *GenerateSignedVideoURLRequest) (response *GenerateSignedVideoURLResponse, err error)

GenerateSignedVideoURL 获取视频防盗链播放URL

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetAuthMiniProgramAppList added in v1.0.929

func (c *Client) GetAuthMiniProgramAppList(request *GetAuthMiniProgramAppListRequest) (response *GetAuthMiniProgramAppListResponse, err error)

GetAuthMiniProgramAppList 查询小程序列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetAuthMiniProgramAppListWithContext added in v1.0.929

func (c *Client) GetAuthMiniProgramAppListWithContext(ctx context.Context, request *GetAuthMiniProgramAppListRequest) (response *GetAuthMiniProgramAppListResponse, err error)

GetAuthMiniProgramAppList 查询小程序列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetBatchProductionsList added in v1.0.288

func (c *Client) GetBatchProductionsList(request *GetBatchProductionsListRequest) (response *GetBatchProductionsListResponse, err error)

GetBatchProductionsList 列出量产数据列表信息。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"

func (*Client) GetBatchProductionsListWithContext added in v1.0.324

func (c *Client) GetBatchProductionsListWithContext(ctx context.Context, request *GetBatchProductionsListRequest) (response *GetBatchProductionsListResponse, err error)

GetBatchProductionsList 列出量产数据列表信息。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"

func (*Client) GetCOSURL

func (c *Client) GetCOSURL(request *GetCOSURLRequest) (response *GetCOSURLResponse, err error)

GetCOSURL 本接口(GetCOSURL)用于获取固件COS存储的上传请求URL地址

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) GetCOSURLWithContext added in v1.0.324

func (c *Client) GetCOSURLWithContext(ctx context.Context, request *GetCOSURLRequest) (response *GetCOSURLResponse, err error)

GetCOSURL 本接口(GetCOSURL)用于获取固件COS存储的上传请求URL地址

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) GetDeviceList

func (c *Client) GetDeviceList(request *GetDeviceListRequest) (response *GetDeviceListResponse, err error)

GetDeviceList 用于查询某个产品下的设备列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_GETPRODUCTSLISTERROR = "InvalidParameterValue.GetProductsListError"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) GetDeviceListWithContext added in v1.0.324

func (c *Client) GetDeviceListWithContext(ctx context.Context, request *GetDeviceListRequest) (response *GetDeviceListResponse, err error)

GetDeviceList 用于查询某个产品下的设备列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_GETPRODUCTSLISTERROR = "InvalidParameterValue.GetProductsListError"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) GetDeviceLocationHistory added in v1.0.266

func (c *Client) GetDeviceLocationHistory(request *GetDeviceLocationHistoryRequest) (response *GetDeviceLocationHistoryResponse, err error)

GetDeviceLocationHistory 获取设备历史位置

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_STARTTIMELATERENDTIME = "InvalidParameterValue.StartTimeLaterEndTime"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) GetDeviceLocationHistoryWithContext added in v1.0.324

func (c *Client) GetDeviceLocationHistoryWithContext(ctx context.Context, request *GetDeviceLocationHistoryRequest) (response *GetDeviceLocationHistoryResponse, err error)

GetDeviceLocationHistory 获取设备历史位置

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_STARTTIMELATERENDTIME = "InvalidParameterValue.StartTimeLaterEndTime"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) GetDeviceSumStatistics added in v1.0.766

func (c *Client) GetDeviceSumStatistics(request *GetDeviceSumStatisticsRequest) (response *GetDeviceSumStatisticsResponse, err error)

GetDeviceSumStatistics 拉取设备统计汇总数据

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"

func (*Client) GetDeviceSumStatisticsWithContext added in v1.0.766

func (c *Client) GetDeviceSumStatisticsWithContext(ctx context.Context, request *GetDeviceSumStatisticsRequest) (response *GetDeviceSumStatisticsResponse, err error)

GetDeviceSumStatistics 拉取设备统计汇总数据

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"

func (*Client) GetFamilyDeviceUserList added in v1.0.310

func (c *Client) GetFamilyDeviceUserList(request *GetFamilyDeviceUserListRequest) (response *GetFamilyDeviceUserListResponse, err error)

GetFamilyDeviceUserList 用于获取设备绑定的用户列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEVICENAMEINVALID = "InvalidParameterValue.DeviceNameInvalid"
INVALIDPARAMETERVALUE_DEVICENOTEXIST = "InvalidParameterValue.DeviceNotExist"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
RESOURCENOTFOUND_DEVICENOTBIND = "ResourceNotFound.DeviceNotBind"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) GetFamilyDeviceUserListWithContext added in v1.0.324

func (c *Client) GetFamilyDeviceUserListWithContext(ctx context.Context, request *GetFamilyDeviceUserListRequest) (response *GetFamilyDeviceUserListResponse, err error)

GetFamilyDeviceUserList 用于获取设备绑定的用户列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DEVICENAMEINVALID = "InvalidParameterValue.DeviceNameInvalid"
INVALIDPARAMETERVALUE_DEVICENOTEXIST = "InvalidParameterValue.DeviceNotExist"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
RESOURCENOTFOUND_DEVICENOTBIND = "ResourceNotFound.DeviceNotBind"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) GetGatewaySubDeviceList added in v1.0.328

func (c *Client) GetGatewaySubDeviceList(request *GetGatewaySubDeviceListRequest) (response *GetGatewaySubDeviceListResponse, err error)

GetGatewaySubDeviceList 获取指定网关设备的子设备列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTBIND = "ResourceNotFound.DeviceNotBind"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) GetGatewaySubDeviceListWithContext added in v1.0.328

func (c *Client) GetGatewaySubDeviceListWithContext(ctx context.Context, request *GetGatewaySubDeviceListRequest) (response *GetGatewaySubDeviceListResponse, err error)

GetGatewaySubDeviceList 获取指定网关设备的子设备列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICENOTBIND = "ResourceNotFound.DeviceNotBind"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) GetLoRaGatewayList

func (c *Client) GetLoRaGatewayList(request *GetLoRaGatewayListRequest) (response *GetLoRaGatewayListResponse, err error)

GetLoRaGatewayList 获取 LoRa 网关列表接口

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) GetLoRaGatewayListWithContext added in v1.0.324

func (c *Client) GetLoRaGatewayListWithContext(ctx context.Context, request *GetLoRaGatewayListRequest) (response *GetLoRaGatewayListResponse, err error)

GetLoRaGatewayList 获取 LoRa 网关列表接口

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) GetPositionSpaceList added in v1.0.266

func (c *Client) GetPositionSpaceList(request *GetPositionSpaceListRequest) (response *GetPositionSpaceListResponse, err error)

GetPositionSpaceList 获取位置空间列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetPositionSpaceListWithContext added in v1.0.324

func (c *Client) GetPositionSpaceListWithContext(ctx context.Context, request *GetPositionSpaceListRequest) (response *GetPositionSpaceListResponse, err error)

GetPositionSpaceList 获取位置空间列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetProjectList

func (c *Client) GetProjectList(request *GetProjectListRequest) (response *GetProjectListResponse, err error)

GetProjectList 提供查询用户所创建的项目列表查询功能。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance"
UNAUTHORIZEDOPERATION_NOVERIFIED = "UnauthorizedOperation.NoVerified"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder"

func (*Client) GetProjectListWithContext added in v1.0.324

func (c *Client) GetProjectListWithContext(ctx context.Context, request *GetProjectListRequest) (response *GetProjectListResponse, err error)

GetProjectList 提供查询用户所创建的项目列表查询功能。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOINSTANCE = "UnauthorizedOperation.NoPermissionToInstance"
UNAUTHORIZEDOPERATION_NOVERIFIED = "UnauthorizedOperation.NoVerified"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_UNPAIDORDER = "UnsupportedOperation.UnpaidOrder"

func (*Client) GetStudioProductList

func (c *Client) GetStudioProductList(request *GetStudioProductListRequest) (response *GetStudioProductListResponse, err error)

GetStudioProductList 提供查询某个项目下所有产品信息的能力。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetStudioProductListWithContext added in v1.0.324

func (c *Client) GetStudioProductListWithContext(ctx context.Context, request *GetStudioProductListRequest) (response *GetStudioProductListResponse, err error)

GetStudioProductList 提供查询某个项目下所有产品信息的能力。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) GetTWeCallActiveStatus added in v1.0.929

func (c *Client) GetTWeCallActiveStatus(request *GetTWeCallActiveStatusRequest) (response *GetTWeCallActiveStatusResponse, err error)

GetTWeCallActiveStatus 查询激活状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetTWeCallActiveStatusWithContext added in v1.0.929

func (c *Client) GetTWeCallActiveStatusWithContext(ctx context.Context, request *GetTWeCallActiveStatusRequest) (response *GetTWeCallActiveStatusResponse, err error)

GetTWeCallActiveStatus 查询激活状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetTWeCallPkgList added in v1.0.929

func (c *Client) GetTWeCallPkgList(request *GetTWeCallPkgListRequest) (response *GetTWeCallPkgListResponse, err error)

GetTWeCallPkgList 查询TWeCall包列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetTWeCallPkgListWithContext added in v1.0.929

func (c *Client) GetTWeCallPkgListWithContext(ctx context.Context, request *GetTWeCallPkgListRequest) (response *GetTWeCallPkgListResponse, err error)

GetTWeCallPkgList 查询TWeCall包列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetTopicRuleList

func (c *Client) GetTopicRuleList(request *GetTopicRuleListRequest) (response *GetTopicRuleListResponse, err error)

GetTopicRuleList 获取规则列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) GetTopicRuleListWithContext added in v1.0.324

func (c *Client) GetTopicRuleListWithContext(ctx context.Context, request *GetTopicRuleListRequest) (response *GetTopicRuleListResponse, err error)

GetTopicRuleList 获取规则列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) InheritCloudStorageUser added in v1.0.888

func (c *Client) InheritCloudStorageUser(request *InheritCloudStorageUserRequest) (response *InheritCloudStorageUserResponse, err error)

InheritCloudStorageUser 继承云存用户

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) InheritCloudStorageUserWithContext added in v1.0.888

func (c *Client) InheritCloudStorageUserWithContext(ctx context.Context, request *InheritCloudStorageUserRequest) (response *InheritCloudStorageUserResponse, err error)

InheritCloudStorageUser 继承云存用户

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ListEventHistory

func (c *Client) ListEventHistory(request *ListEventHistoryRequest) (response *ListEventHistoryResponse, err error)

ListEventHistory 获取设备的历史事件

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_APPNOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.APPNoPermissionToStudioProduct"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) ListEventHistoryWithContext added in v1.0.324

func (c *Client) ListEventHistoryWithContext(ctx context.Context, request *ListEventHistoryRequest) (response *ListEventHistoryResponse, err error)

ListEventHistory 获取设备的历史事件

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_APPNOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.APPNoPermissionToStudioProduct"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) ListFirmwares

func (c *Client) ListFirmwares(request *ListFirmwaresRequest) (response *ListFirmwaresResponse, err error)

ListFirmwares 本接口(ListFirmwares)用于获取固件列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) ListFirmwaresWithContext added in v1.0.324

func (c *Client) ListFirmwaresWithContext(ctx context.Context, request *ListFirmwaresRequest) (response *ListFirmwaresResponse, err error)

ListFirmwares 本接口(ListFirmwares)用于获取固件列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) ListTopicPolicy added in v1.0.269

func (c *Client) ListTopicPolicy(request *ListTopicPolicyRequest) (response *ListTopicPolicyResponse, err error)

ListTopicPolicy 本接口(ListTopicPolicy)用于获取Topic列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) ListTopicPolicyWithContext added in v1.0.324

func (c *Client) ListTopicPolicyWithContext(ctx context.Context, request *ListTopicPolicyRequest) (response *ListTopicPolicyResponse, err error)

ListTopicPolicy 本接口(ListTopicPolicy)用于获取Topic列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) ModifyCloudStorageAIService added in v1.0.902

func (c *Client) ModifyCloudStorageAIService(request *ModifyCloudStorageAIServiceRequest) (response *ModifyCloudStorageAIServiceResponse, err error)

ModifyCloudStorageAIService 修改指定设备的云存 AI 服务开通状态与参数配置

可能返回的错误码:

FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = "FailedOperation.CloudStorageAIServiceNotEnabled"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCloudStorageAIServiceCallback added in v1.0.902

func (c *Client) ModifyCloudStorageAIServiceCallback(request *ModifyCloudStorageAIServiceCallbackRequest) (response *ModifyCloudStorageAIServiceCallbackResponse, err error)

ModifyCloudStorageAIServiceCallback 修改云存AI分析回调配置

可能返回的错误码:

FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = "FailedOperation.CloudStorageAIServiceNotEnabled"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDCALLBACKTOKEN = "InvalidParameterValue.InvalidCallbackToken"
INVALIDPARAMETERVALUE_INVALIDCALLBACKURL = "InvalidParameterValue.InvalidCallbackUrl"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCloudStorageAIServiceCallbackWithContext added in v1.0.902

func (c *Client) ModifyCloudStorageAIServiceCallbackWithContext(ctx context.Context, request *ModifyCloudStorageAIServiceCallbackRequest) (response *ModifyCloudStorageAIServiceCallbackResponse, err error)

ModifyCloudStorageAIServiceCallback 修改云存AI分析回调配置

可能返回的错误码:

FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = "FailedOperation.CloudStorageAIServiceNotEnabled"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_INVALIDCALLBACKTOKEN = "InvalidParameterValue.InvalidCallbackToken"
INVALIDPARAMETERVALUE_INVALIDCALLBACKURL = "InvalidParameterValue.InvalidCallbackUrl"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCloudStorageAIServiceWithContext added in v1.0.902

func (c *Client) ModifyCloudStorageAIServiceWithContext(ctx context.Context, request *ModifyCloudStorageAIServiceRequest) (response *ModifyCloudStorageAIServiceResponse, err error)

ModifyCloudStorageAIService 修改指定设备的云存 AI 服务开通状态与参数配置

可能返回的错误码:

FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = "FailedOperation.CloudStorageAIServiceNotEnabled"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyFenceBind added in v1.0.266

func (c *Client) ModifyFenceBind(request *ModifyFenceBindRequest) (response *ModifyFenceBindResponse, err error)

ModifyFenceBind 更新围栏绑定信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) ModifyFenceBindWithContext added in v1.0.324

func (c *Client) ModifyFenceBindWithContext(ctx context.Context, request *ModifyFenceBindRequest) (response *ModifyFenceBindResponse, err error)

ModifyFenceBind 更新围栏绑定信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) ModifyLoRaFrequency

func (c *Client) ModifyLoRaFrequency(request *ModifyLoRaFrequencyRequest) (response *ModifyLoRaFrequencyResponse, err error)

ModifyLoRaFrequency 修改LoRa自定义频点

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_LORAFREQPARMSERROR = "InvalidParameterValue.LoRaFreqParmsError"
INVALIDPARAMETERVALUE_VPNPARMSERROR = "InvalidParameterValue.VPNParmsError"
RESOURCENOTFOUND_STUDIOLORAFREQNOTEXIST = "ResourceNotFound.StudioLoRaFreqNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_LORAFREQDUPKEYEXIST = "UnsupportedOperation.LoRaFreqDupKeyExist"
UNSUPPORTEDOPERATION_VPNDUPKEYEXIST = "UnsupportedOperation.VPNDupKeyExist"

func (*Client) ModifyLoRaFrequencyWithContext added in v1.0.324

func (c *Client) ModifyLoRaFrequencyWithContext(ctx context.Context, request *ModifyLoRaFrequencyRequest) (response *ModifyLoRaFrequencyResponse, err error)

ModifyLoRaFrequency 修改LoRa自定义频点

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE_LORAFREQPARMSERROR = "InvalidParameterValue.LoRaFreqParmsError"
INVALIDPARAMETERVALUE_VPNPARMSERROR = "InvalidParameterValue.VPNParmsError"
RESOURCENOTFOUND_STUDIOLORAFREQNOTEXIST = "ResourceNotFound.StudioLoRaFreqNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_LORAFREQDUPKEYEXIST = "UnsupportedOperation.LoRaFreqDupKeyExist"
UNSUPPORTEDOPERATION_VPNDUPKEYEXIST = "UnsupportedOperation.VPNDupKeyExist"

func (*Client) ModifyLoRaGateway

func (c *Client) ModifyLoRaGateway(request *ModifyLoRaGatewayRequest) (response *ModifyLoRaGatewayResponse, err error)

ModifyLoRaGateway 修改 LoRa 网关信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALLORASERVERERROR = "InternalError.InternalLoRaServerError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_GATEWAYNOTEXIST = "ResourceNotFound.GatewayNotExist"

func (*Client) ModifyLoRaGatewayWithContext added in v1.0.324

func (c *Client) ModifyLoRaGatewayWithContext(ctx context.Context, request *ModifyLoRaGatewayRequest) (response *ModifyLoRaGatewayResponse, err error)

ModifyLoRaGateway 修改 LoRa 网关信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALLORASERVERERROR = "InternalError.InternalLoRaServerError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_GATEWAYNOTEXIST = "ResourceNotFound.GatewayNotExist"

func (*Client) ModifyModelDefinition

func (c *Client) ModifyModelDefinition(request *ModifyModelDefinitionRequest) (response *ModifyModelDefinitionResponse, err error)

ModifyModelDefinition 提供修改产品的数据模板的能力

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APPDESCRIPTIONTOOLONG = "InvalidParameterValue.AppDescriptionTooLong"
INVALIDPARAMETERVALUE_APPEXISTS = "InvalidParameterValue.AppExists"
INVALIDPARAMETERVALUE_APPNAMETOOLONG = "InvalidParameterValue.AppNameTooLong"
INVALIDPARAMETERVALUE_APPNOPERMISSION = "InvalidParameterValue.AppNoPermission"
INVALIDPARAMETERVALUE_APPNOTEXISTS = "InvalidParameterValue.AppNotExists"
INVALIDPARAMETERVALUE_DEVICENAMEINVALID = "InvalidParameterValue.DeviceNameInvalid"
INVALIDPARAMETERVALUE_ERRORTASKNOTEXIST = "InvalidParameterValue.ErrorTaskNotExist"
INVALIDPARAMETERVALUE_MODELDEFINEDONTMATCHTEMPLATE = "InvalidParameterValue.ModelDefineDontMatchTemplate"
INVALIDPARAMETERVALUE_MODELDEFINEDUPID = "InvalidParameterValue.ModelDefineDupID"
INVALIDPARAMETERVALUE_MODELDEFINEERRORMODEL = "InvalidParameterValue.ModelDefineErrorModel"
INVALIDPARAMETERVALUE_MODELDEFINEERRORTYPE = "InvalidParameterValue.ModelDefineErrorType"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPARAMSDUPID = "InvalidParameterValue.ModelDefineEventParamsDupID"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPARAMSEXCEEDLIMIT = "InvalidParameterValue.ModelDefineEventParamsExceedLimit"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPROPERROR = "InvalidParameterValue.ModelDefineEventPropError"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPROPNAMEERROR = "InvalidParameterValue.ModelDefineEventPropNameError"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTTYPEERROR = "InvalidParameterValue.ModelDefineEventTypeError"
INVALIDPARAMETERVALUE_MODELDEFINEINVALID = "InvalidParameterValue.ModelDefineInvalid"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
INVALIDPARAMETERVALUE_MODELDEFINEPROPBOOLMAPPINGERROR = "InvalidParameterValue.ModelDefinePropBoolMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPENUMMAPPINGERROR = "InvalidParameterValue.ModelDefinePropEnumMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEERROR = "InvalidParameterValue.ModelDefinePropRangeError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEOVERFLOW = "InvalidParameterValue.ModelDefinePropRangeOverflow"
INVALIDPARAMETERVALUE_MSGCONTENTINVALID = "InvalidParameterValue.MsgContentInvalid"
INVALIDPARAMETERVALUE_MSGLEVELINVALID = "InvalidParameterValue.MsgLevelInvalid"
INVALIDPARAMETERVALUE_MSGTITLEINVALID = "InvalidParameterValue.MsgTitleInvalid"
INVALIDPARAMETERVALUE_MSGTYPEINVALID = "InvalidParameterValue.MsgTypeInvalid"
INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
INVALIDPARAMETERVALUE_PROJECTPARMSERROR = "InvalidParameterValue.ProjectParmsError"
INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIDInvalid"
LIMITEXCEEDED_APPLICATIONEXCEEDLIMIT = "LimitExceeded.ApplicationExceedLimit"
LIMITEXCEEDED_PROJECTEXCEEDLIMIT = "LimitExceeded.ProjectExceedLimit"
LIMITEXCEEDED_STUDIOPRODUCTEXCEEDLIMIT = "LimitExceeded.StudioProductExceedLimit"
LIMITEXCEEDED_THINGMODELEXCEEDLIMIT = "LimitExceeded.ThingModelExceedLimit"
MISSINGPARAMETER_MODELDEFINEEVENTTYPEERROR = "MissingParameter.ModelDefineEventTypeError"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_APPNOPERMISSION = "UnauthorizedOperation.AppNoPermission"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_PRODUCTEXISTUNDERPROJECT = "UnsupportedOperation.ProductExistUnderProject"

func (*Client) ModifyModelDefinitionWithContext added in v1.0.324

func (c *Client) ModifyModelDefinitionWithContext(ctx context.Context, request *ModifyModelDefinitionRequest) (response *ModifyModelDefinitionResponse, err error)

ModifyModelDefinition 提供修改产品的数据模板的能力

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_APPDESCRIPTIONTOOLONG = "InvalidParameterValue.AppDescriptionTooLong"
INVALIDPARAMETERVALUE_APPEXISTS = "InvalidParameterValue.AppExists"
INVALIDPARAMETERVALUE_APPNAMETOOLONG = "InvalidParameterValue.AppNameTooLong"
INVALIDPARAMETERVALUE_APPNOPERMISSION = "InvalidParameterValue.AppNoPermission"
INVALIDPARAMETERVALUE_APPNOTEXISTS = "InvalidParameterValue.AppNotExists"
INVALIDPARAMETERVALUE_DEVICENAMEINVALID = "InvalidParameterValue.DeviceNameInvalid"
INVALIDPARAMETERVALUE_ERRORTASKNOTEXIST = "InvalidParameterValue.ErrorTaskNotExist"
INVALIDPARAMETERVALUE_MODELDEFINEDONTMATCHTEMPLATE = "InvalidParameterValue.ModelDefineDontMatchTemplate"
INVALIDPARAMETERVALUE_MODELDEFINEDUPID = "InvalidParameterValue.ModelDefineDupID"
INVALIDPARAMETERVALUE_MODELDEFINEERRORMODEL = "InvalidParameterValue.ModelDefineErrorModel"
INVALIDPARAMETERVALUE_MODELDEFINEERRORTYPE = "InvalidParameterValue.ModelDefineErrorType"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPARAMSDUPID = "InvalidParameterValue.ModelDefineEventParamsDupID"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPARAMSEXCEEDLIMIT = "InvalidParameterValue.ModelDefineEventParamsExceedLimit"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPROPERROR = "InvalidParameterValue.ModelDefineEventPropError"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTPROPNAMEERROR = "InvalidParameterValue.ModelDefineEventPropNameError"
INVALIDPARAMETERVALUE_MODELDEFINEEVENTTYPEERROR = "InvalidParameterValue.ModelDefineEventTypeError"
INVALIDPARAMETERVALUE_MODELDEFINEINVALID = "InvalidParameterValue.ModelDefineInvalid"
INVALIDPARAMETERVALUE_MODELDEFINENIL = "InvalidParameterValue.ModelDefineNil"
INVALIDPARAMETERVALUE_MODELDEFINEPROPBOOLMAPPINGERROR = "InvalidParameterValue.ModelDefinePropBoolMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPENUMMAPPINGERROR = "InvalidParameterValue.ModelDefinePropEnumMappingError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEERROR = "InvalidParameterValue.ModelDefinePropRangeError"
INVALIDPARAMETERVALUE_MODELDEFINEPROPRANGEOVERFLOW = "InvalidParameterValue.ModelDefinePropRangeOverflow"
INVALIDPARAMETERVALUE_MSGCONTENTINVALID = "InvalidParameterValue.MsgContentInvalid"
INVALIDPARAMETERVALUE_MSGLEVELINVALID = "InvalidParameterValue.MsgLevelInvalid"
INVALIDPARAMETERVALUE_MSGTITLEINVALID = "InvalidParameterValue.MsgTitleInvalid"
INVALIDPARAMETERVALUE_MSGTYPEINVALID = "InvalidParameterValue.MsgTypeInvalid"
INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
INVALIDPARAMETERVALUE_PROJECTPARMSERROR = "InvalidParameterValue.ProjectParmsError"
INVALIDPARAMETERVALUE_USERIDINVALID = "InvalidParameterValue.UserIDInvalid"
LIMITEXCEEDED_APPLICATIONEXCEEDLIMIT = "LimitExceeded.ApplicationExceedLimit"
LIMITEXCEEDED_PROJECTEXCEEDLIMIT = "LimitExceeded.ProjectExceedLimit"
LIMITEXCEEDED_STUDIOPRODUCTEXCEEDLIMIT = "LimitExceeded.StudioProductExceedLimit"
LIMITEXCEEDED_THINGMODELEXCEEDLIMIT = "LimitExceeded.ThingModelExceedLimit"
MISSINGPARAMETER_MODELDEFINEEVENTTYPEERROR = "MissingParameter.ModelDefineEventTypeError"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_APPNOPERMISSION = "UnauthorizedOperation.AppNoPermission"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_PRODUCTEXISTUNDERPROJECT = "UnsupportedOperation.ProductExistUnderProject"

func (*Client) ModifyPositionFence added in v1.0.266

func (c *Client) ModifyPositionFence(request *ModifyPositionFenceRequest) (response *ModifyPositionFenceResponse, err error)

ModifyPositionFence 更新围栏

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) ModifyPositionFenceWithContext added in v1.0.324

func (c *Client) ModifyPositionFenceWithContext(ctx context.Context, request *ModifyPositionFenceRequest) (response *ModifyPositionFenceResponse, err error)

ModifyPositionFence 更新围栏

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
RESOURCENOTFOUND_FENCENOTEXIST = "ResourceNotFound.FenceNotExist"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOFENCE = "UnauthorizedOperation.NoPermissionToStudioFence"

func (*Client) ModifyPositionSpace added in v1.0.266

func (c *Client) ModifyPositionSpace(request *ModifyPositionSpaceRequest) (response *ModifyPositionSpaceResponse, err error)

ModifyPositionSpace 更新位置空间

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_SPACEDUPKEYEXIST = "UnsupportedOperation.SpaceDupKeyExist"

func (*Client) ModifyPositionSpaceWithContext added in v1.0.324

func (c *Client) ModifyPositionSpaceWithContext(ctx context.Context, request *ModifyPositionSpaceRequest) (response *ModifyPositionSpaceResponse, err error)

ModifyPositionSpace 更新位置空间

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_SPACEDUPKEYEXIST = "UnsupportedOperation.SpaceDupKeyExist"

func (*Client) ModifyProductCloudStorageAIService added in v1.0.902

func (c *Client) ModifyProductCloudStorageAIService(request *ModifyProductCloudStorageAIServiceRequest) (response *ModifyProductCloudStorageAIServiceResponse, err error)

ModifyProductCloudStorageAIService 修改指定产品的云存 AI 服务开通状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyProductCloudStorageAIServiceWithContext added in v1.0.902

func (c *Client) ModifyProductCloudStorageAIServiceWithContext(ctx context.Context, request *ModifyProductCloudStorageAIServiceRequest) (response *ModifyProductCloudStorageAIServiceResponse, err error)

ModifyProductCloudStorageAIService 修改指定产品的云存 AI 服务开通状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyProject

func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)

ModifyProject 修改项目

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE_PROJECTPARMSERROR = "InvalidParameterValue.ProjectParmsError"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_PROJECTDUPKEYEXIST = "UnsupportedOperation.ProjectDupKeyExist"

func (*Client) ModifyProjectWithContext added in v1.0.324

func (c *Client) ModifyProjectWithContext(ctx context.Context, request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)

ModifyProject 修改项目

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE_PROJECTPARMSERROR = "InvalidParameterValue.ProjectParmsError"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_PROJECTDUPKEYEXIST = "UnsupportedOperation.ProjectDupKeyExist"

func (*Client) ModifySpaceProperty added in v1.0.266

func (c *Client) ModifySpaceProperty(request *ModifySpacePropertyRequest) (response *ModifySpacePropertyResponse, err error)

ModifySpaceProperty 更新位置空间产品属性

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) ModifySpacePropertyWithContext added in v1.0.324

func (c *Client) ModifySpacePropertyWithContext(ctx context.Context, request *ModifySpacePropertyRequest) (response *ModifySpacePropertyResponse, err error)

ModifySpaceProperty 更新位置空间产品属性

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_SPACENOTEXIST = "ResourceNotFound.SpaceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) ModifyStudioProduct

func (c *Client) ModifyStudioProduct(request *ModifyStudioProductRequest) (response *ModifyStudioProductResponse, err error)

ModifyStudioProduct 提供修改产品的名称和描述等信息的能力,对于已发布产品不允许进行修改。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MODELDEFINEDONTMATCHTEMPLATE = "InvalidParameterValue.ModelDefineDontMatchTemplate"
INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
LIMITEXCEEDED_STUDIOPRODUCTEXCEEDLIMIT = "LimitExceeded.StudioProductExceedLimit"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_VIDEOPRODUCTNOTEXIST = "UnsupportedOperation.VideoProductNotExist"

func (*Client) ModifyStudioProductWithContext added in v1.0.324

func (c *Client) ModifyStudioProductWithContext(ctx context.Context, request *ModifyStudioProductRequest) (response *ModifyStudioProductResponse, err error)

ModifyStudioProduct 提供修改产品的名称和描述等信息的能力,对于已发布产品不允许进行修改。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_MODELDEFINEDONTMATCHTEMPLATE = "InvalidParameterValue.ModelDefineDontMatchTemplate"
INVALIDPARAMETERVALUE_PRODUCTALREADYEXIST = "InvalidParameterValue.ProductAlreadyExist"
INVALIDPARAMETERVALUE_PRODUCTIDINVALID = "InvalidParameterValue.ProductIDInvalid"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
LIMITEXCEEDED_STUDIOPRODUCTEXCEEDLIMIT = "LimitExceeded.StudioProductExceedLimit"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOPROJECT = "UnauthorizedOperation.NoPermissionToProject"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_VIDEOPRODUCTNOTEXIST = "UnsupportedOperation.VideoProductNotExist"

func (*Client) ModifyTopicPolicy added in v1.0.269

func (c *Client) ModifyTopicPolicy(request *ModifyTopicPolicyRequest) (response *ModifyTopicPolicyResponse, err error)

ModifyTopicPolicy 本接口(UpdateTopicPolicy)用于更新Topic信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TOPICPOLICYALREADYEXIST = "InvalidParameterValue.TopicPolicyAlreadyExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = "ResourceNotFound.TopicPolicyNotExist"

func (*Client) ModifyTopicPolicyWithContext added in v1.0.324

func (c *Client) ModifyTopicPolicyWithContext(ctx context.Context, request *ModifyTopicPolicyRequest) (response *ModifyTopicPolicyResponse, err error)

ModifyTopicPolicy 本接口(UpdateTopicPolicy)用于更新Topic信息

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_TOPICPOLICYALREADYEXIST = "InvalidParameterValue.TopicPolicyAlreadyExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
RESOURCENOTFOUND_TOPICPOLICYNOTEXIST = "ResourceNotFound.TopicPolicyNotExist"

func (*Client) ModifyTopicRule

func (c *Client) ModifyTopicRule(request *ModifyTopicRuleRequest) (response *ModifyTopicRuleResponse, err error)

ModifyTopicRule 修改规则

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail"
INVALIDPARAMETERVALUE_FAILACTIONHASSAMEDEVICE = "InvalidParameterValue.FailActionHasSameDevice"
INVALIDPARAMETERVALUE_FORWARDREDIRECTDENIED = "InvalidParameterValue.ForwardRedirectDenied"
INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL"
INVALIDPARAMETERVALUE_OPERATIONDENIED = "InvalidParameterValue.OperationDenied"
INVALIDPARAMETERVALUE_REPUBLISHTOPICFORMATERROR = "InvalidParameterValue.RepublishTopicFormatError"
INVALIDPARAMETERVALUE_SELECTKEYFROMBINARYPAYLOAD = "InvalidParameterValue.SelectKeyFromBinaryPayload"
INVALIDPARAMETERVALUE_TOPICRULEALREADYEXIST = "InvalidParameterValue.TopicRuleAlreadyExist"
INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited"
INVALIDPARAMETERVALUE_UPDATETOPICRULEDBFAIL = "InvalidParameterValue.UpdateTopicRuleDBFail"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) ModifyTopicRuleWithContext added in v1.0.324

func (c *Client) ModifyTopicRuleWithContext(ctx context.Context, request *ModifyTopicRuleRequest) (response *ModifyTopicRuleResponse, err error)

ModifyTopicRule 修改规则

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = "InvalidParameterValue.CheckForwardURLFail"
INVALIDPARAMETERVALUE_FAILACTIONHASSAMEDEVICE = "InvalidParameterValue.FailActionHasSameDevice"
INVALIDPARAMETERVALUE_FORWARDREDIRECTDENIED = "InvalidParameterValue.ForwardRedirectDenied"
INVALIDPARAMETERVALUE_INVALIDSQL = "InvalidParameterValue.InvalidSQL"
INVALIDPARAMETERVALUE_OPERATIONDENIED = "InvalidParameterValue.OperationDenied"
INVALIDPARAMETERVALUE_REPUBLISHTOPICFORMATERROR = "InvalidParameterValue.RepublishTopicFormatError"
INVALIDPARAMETERVALUE_SELECTKEYFROMBINARYPAYLOAD = "InvalidParameterValue.SelectKeyFromBinaryPayload"
INVALIDPARAMETERVALUE_TOPICRULEALREADYEXIST = "InvalidParameterValue.TopicRuleAlreadyExist"
INVALIDPARAMETERVALUE_TOPICRULESQLNOTEDITED = "InvalidParameterValue.TopicRuleSqlNotEdited"
INVALIDPARAMETERVALUE_UPDATETOPICRULEDBFAIL = "InvalidParameterValue.UpdateTopicRuleDBFail"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_PERMISSIONDENIED = "UnauthorizedOperation.PermissionDenied"

func (*Client) PublishBroadcastMessage added in v1.0.386

func (c *Client) PublishBroadcastMessage(request *PublishBroadcastMessageRequest) (response *PublishBroadcastMessageResponse, err error)

PublishBroadcastMessage 发布广播消息

可能返回的错误码:

FAILEDOPERATION_BROADCASTTASKISRUNNING = "FailedOperation.BroadcastTaskIsRunning"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) PublishBroadcastMessageWithContext added in v1.0.386

func (c *Client) PublishBroadcastMessageWithContext(ctx context.Context, request *PublishBroadcastMessageRequest) (response *PublishBroadcastMessageResponse, err error)

PublishBroadcastMessage 发布广播消息

可能返回的错误码:

FAILEDOPERATION_BROADCASTTASKISRUNNING = "FailedOperation.BroadcastTaskIsRunning"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) PublishMessage

func (c *Client) PublishMessage(request *PublishMessageRequest) (response *PublishMessageResponse, err error)

PublishMessage 本接口(PublishMessage)用于使用自定义透传协议进行设备远控

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DEVICEALREADYDISABLED = "FailedOperation.DeviceAlreadyDisabled"
FAILEDOPERATION_DEVICENOSUBSCRIPTION = "FailedOperation.DeviceNoSubscription"
FAILEDOPERATION_DEVICEOFFLINE = "FailedOperation.DeviceOffline"
INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_MESSAGESAVED = "LimitExceeded.MessageSaved"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_LORANOUPLINK = "UnsupportedOperation.LoRaNoUpLink"
UNSUPPORTEDOPERATION_LORANOTACTIVATE = "UnsupportedOperation.LoRaNotActivate"

func (*Client) PublishMessageWithContext added in v1.0.324

func (c *Client) PublishMessageWithContext(ctx context.Context, request *PublishMessageRequest) (response *PublishMessageResponse, err error)

PublishMessage 本接口(PublishMessage)用于使用自定义透传协议进行设备远控

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DEVICEALREADYDISABLED = "FailedOperation.DeviceAlreadyDisabled"
FAILEDOPERATION_DEVICENOSUBSCRIPTION = "FailedOperation.DeviceNoSubscription"
FAILEDOPERATION_DEVICEOFFLINE = "FailedOperation.DeviceOffline"
INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_MESSAGESAVED = "LimitExceeded.MessageSaved"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_PRODUCTORDEVICENOTEXIST = "ResourceNotFound.ProductOrDeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"
UNSUPPORTEDOPERATION_LORANOUPLINK = "UnsupportedOperation.LoRaNoUpLink"
UNSUPPORTEDOPERATION_LORANOTACTIVATE = "UnsupportedOperation.LoRaNotActivate"

func (*Client) PublishRRPCMessage added in v1.0.309

func (c *Client) PublishRRPCMessage(request *PublishRRPCMessageRequest) (response *PublishRRPCMessageResponse, err error)

PublishRRPCMessage 下发RRPC消息

可能返回的错误码:

FAILEDOPERATION_DEVICENOSUBSCRIPTION = "FailedOperation.DeviceNoSubscription"
FAILEDOPERATION_DEVICEOFFLINE = "FailedOperation.DeviceOffline"
FAILEDOPERATION_RRPCTIMEOUT = "FailedOperation.RRPCTimeout"
INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) PublishRRPCMessageWithContext added in v1.0.324

func (c *Client) PublishRRPCMessageWithContext(ctx context.Context, request *PublishRRPCMessageRequest) (response *PublishRRPCMessageResponse, err error)

PublishRRPCMessage 下发RRPC消息

可能返回的错误码:

FAILEDOPERATION_DEVICENOSUBSCRIPTION = "FailedOperation.DeviceNoSubscription"
FAILEDOPERATION_DEVICEOFFLINE = "FailedOperation.DeviceOffline"
FAILEDOPERATION_RRPCTIMEOUT = "FailedOperation.RRPCTimeout"
INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_PAYLOADOVERLIMIT = "InvalidParameterValue.PayloadOverLimit"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"

func (*Client) ReleaseStudioProduct

func (c *Client) ReleaseStudioProduct(request *ReleaseStudioProductRequest) (response *ReleaseStudioProductResponse, err error)

ReleaseStudioProduct 产品开发完成并测试通过后,通过发布产品将产品设置为发布状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) ReleaseStudioProductWithContext added in v1.0.324

func (c *Client) ReleaseStudioProductWithContext(ctx context.Context, request *ReleaseStudioProductRequest) (response *ReleaseStudioProductResponse, err error)

ReleaseStudioProduct 产品开发完成并测试通过后,通过发布产品将产品设置为发布状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
RESOURCENOTFOUND_PRODUCTNOTEXIST = "ResourceNotFound.ProductNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) RemoveUserByRoomIdFromTRTC added in v1.0.916

func (c *Client) RemoveUserByRoomIdFromTRTC(request *RemoveUserByRoomIdFromTRTCRequest) (response *RemoveUserByRoomIdFromTRTCResponse, err error)

RemoveUserByRoomIdFromTRTC TRTC操作,将用户从房间移出

可能返回的错误码:

FAILEDOPERATION_REQUESTTRTCFAIL = "FailedOperation.RequestTRTCFail"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOTRTCROOM = "UnauthorizedOperation.NoPermissionToTRTCRoom"

func (*Client) RemoveUserByRoomIdFromTRTCWithContext added in v1.0.916

func (c *Client) RemoveUserByRoomIdFromTRTCWithContext(ctx context.Context, request *RemoveUserByRoomIdFromTRTCRequest) (response *RemoveUserByRoomIdFromTRTCResponse, err error)

RemoveUserByRoomIdFromTRTC TRTC操作,将用户从房间移出

可能返回的错误码:

FAILEDOPERATION_REQUESTTRTCFAIL = "FailedOperation.RequestTRTCFail"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOTRTCROOM = "UnauthorizedOperation.NoPermissionToTRTCRoom"

func (*Client) ResetCloudStorage added in v1.0.888

func (c *Client) ResetCloudStorage(request *ResetCloudStorageRequest) (response *ResetCloudStorageResponse, err error)

ResetCloudStorage 重置云存服务

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ResetCloudStorageEvent added in v1.0.888

func (c *Client) ResetCloudStorageEvent(request *ResetCloudStorageEventRequest) (response *ResetCloudStorageEventResponse, err error)

ResetCloudStorageEvent 重置云存事件

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ResetCloudStorageEventWithContext added in v1.0.888

func (c *Client) ResetCloudStorageEventWithContext(ctx context.Context, request *ResetCloudStorageEventRequest) (response *ResetCloudStorageEventResponse, err error)

ResetCloudStorageEvent 重置云存事件

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ResetCloudStorageWithContext added in v1.0.888

func (c *Client) ResetCloudStorageWithContext(ctx context.Context, request *ResetCloudStorageRequest) (response *ResetCloudStorageResponse, err error)

ResetCloudStorage 重置云存服务

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SearchPositionSpace added in v1.0.266

func (c *Client) SearchPositionSpace(request *SearchPositionSpaceRequest) (response *SearchPositionSpaceResponse, err error)

SearchPositionSpace 搜索位置空间

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SearchPositionSpaceWithContext added in v1.0.324

func (c *Client) SearchPositionSpaceWithContext(ctx context.Context, request *SearchPositionSpaceRequest) (response *SearchPositionSpaceResponse, err error)

SearchPositionSpace 搜索位置空间

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALSERVEREXCEPTIONDB = "InternalError.InternalServerExceptionDB"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_PROJECTNOTEXIST = "ResourceNotFound.ProjectNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) SearchStudioProduct

func (c *Client) SearchStudioProduct(request *SearchStudioProductRequest) (response *SearchStudioProductResponse, err error)

SearchStudioProduct 提供根据产品名称查找产品的能力

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) SearchStudioProductWithContext added in v1.0.324

func (c *Client) SearchStudioProductWithContext(ctx context.Context, request *SearchStudioProductRequest) (response *SearchStudioProductResponse, err error)

SearchStudioProduct 提供根据产品名称查找产品的能力

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INVALIDPARAMETERVALUE_PRODUCTPARMSERROR = "InvalidParameterValue.ProductParmsError"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) SearchTopicRule

func (c *Client) SearchTopicRule(request *SearchTopicRuleRequest) (response *SearchTopicRuleResponse, err error)

SearchTopicRule 搜索规则

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) SearchTopicRuleWithContext added in v1.0.324

func (c *Client) SearchTopicRuleWithContext(ctx context.Context, request *SearchTopicRuleRequest) (response *SearchTopicRuleResponse, err error)

SearchTopicRule 搜索规则

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_TOPICRULENOTEXIST = "ResourceNotFound.TopicRuleNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) TransferCloudStorage added in v1.0.888

func (c *Client) TransferCloudStorage(request *TransferCloudStorageRequest) (response *TransferCloudStorageResponse, err error)

TransferCloudStorage 转移云存服务

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) TransferCloudStorageWithContext added in v1.0.888

func (c *Client) TransferCloudStorageWithContext(ctx context.Context, request *TransferCloudStorageRequest) (response *TransferCloudStorageResponse, err error)

TransferCloudStorage 转移云存服务

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UnbindDevices added in v1.0.328

func (c *Client) UnbindDevices(request *UnbindDevicesRequest) (response *UnbindDevicesResponse, err error)

UnbindDevices 批量解绑子设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) UnbindDevicesWithContext added in v1.0.328

func (c *Client) UnbindDevicesWithContext(ctx context.Context, request *UnbindDevicesRequest) (response *UnbindDevicesResponse, err error)

UnbindDevices 批量解绑子设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) UnbindProducts added in v1.0.328

func (c *Client) UnbindProducts(request *UnbindProductsRequest) (response *UnbindProductsResponse, err error)

UnbindProducts 批量解绑子产品

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_EXISTBINDEDDEVICESUNDERGATEWAYPRODUCT = "UnsupportedOperation.ExistBindedDevicesUnderGatewayProduct"

func (*Client) UnbindProductsWithContext added in v1.0.328

func (c *Client) UnbindProductsWithContext(ctx context.Context, request *UnbindProductsRequest) (response *UnbindProductsResponse, err error)

UnbindProducts 批量解绑子产品

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION_EXISTBINDEDDEVICESUNDERGATEWAYPRODUCT = "UnsupportedOperation.ExistBindedDevicesUnderGatewayProduct"

func (*Client) UpdateDeviceTWeCallAuthorizeStatus added in v1.0.927

func (c *Client) UpdateDeviceTWeCallAuthorizeStatus(request *UpdateDeviceTWeCallAuthorizeStatusRequest) (response *UpdateDeviceTWeCallAuthorizeStatusResponse, err error)

UpdateDeviceTWeCallAuthorizeStatus 更新用户对设备的TweCall授权状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateDeviceTWeCallAuthorizeStatusWithContext added in v1.0.927

func (c *Client) UpdateDeviceTWeCallAuthorizeStatusWithContext(ctx context.Context, request *UpdateDeviceTWeCallAuthorizeStatusRequest) (response *UpdateDeviceTWeCallAuthorizeStatusResponse, err error)

UpdateDeviceTWeCallAuthorizeStatus 更新用户对设备的TweCall授权状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND_PRODUCTRESOURCENOTEXIST = "ResourceNotFound.ProductResourceNotExist"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateDevicesEnableState added in v1.0.238

func (c *Client) UpdateDevicesEnableState(request *UpdateDevicesEnableStateRequest) (response *UpdateDevicesEnableStateResponse, err error)

UpdateDevicesEnableState 批量禁用启用设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"
UNAUTHORIZEDOPERATION_GATEWAYHASBINDEDDEVICES = "UnauthorizedOperation.GatewayHasBindedDevices"
UNSUPPORTEDOPERATION_DEVICEOTATASKINPROGRESS = "UnsupportedOperation.DeviceOtaTaskInProgress"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) UpdateDevicesEnableStateWithContext added in v1.0.324

func (c *Client) UpdateDevicesEnableStateWithContext(ctx context.Context, request *UpdateDevicesEnableStateRequest) (response *UpdateDevicesEnableStateResponse, err error)

UpdateDevicesEnableState 批量禁用启用设备

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_INSTANCENOTEXIST = "ResourceNotFound.InstanceNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_DEVICEHASALREADYBINDGATEWAY = "UnauthorizedOperation.DeviceHasAlreadyBindGateway"
UNAUTHORIZEDOPERATION_GATEWAYHASBINDEDDEVICES = "UnauthorizedOperation.GatewayHasBindedDevices"
UNSUPPORTEDOPERATION_DEVICEOTATASKINPROGRESS = "UnsupportedOperation.DeviceOtaTaskInProgress"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) UpdateFirmware

func (c *Client) UpdateFirmware(request *UpdateFirmwareRequest) (response *UpdateFirmwareResponse, err error)

UpdateFirmware 本接口(UpdateFirmware)用于对指定设备发起固件升级请求

可能返回的错误码:

FAILEDOPERATION_DEVICEFIRMWAREISUPDATED = "FailedOperation.DeviceFirmwareIsUpdated"
FAILEDOPERATION_DEVICEINFOOUTDATED = "FailedOperation.DeviceInfoOutdated"
FAILEDOPERATION_OTHERUPDATETASKEXIST = "FailedOperation.OtherUpdateTaskExist"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICEHASNOFIRMWARE = "ResourceNotFound.DeviceHasNoFirmware"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_DEVICEISNOTENABLED = "UnauthorizedOperation.DeviceIsNotEnabled"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) UpdateFirmwareWithContext added in v1.0.324

func (c *Client) UpdateFirmwareWithContext(ctx context.Context, request *UpdateFirmwareRequest) (response *UpdateFirmwareResponse, err error)

UpdateFirmware 本接口(UpdateFirmware)用于对指定设备发起固件升级请求

可能返回的错误码:

FAILEDOPERATION_DEVICEFIRMWAREISUPDATED = "FailedOperation.DeviceFirmwareIsUpdated"
FAILEDOPERATION_DEVICEINFOOUTDATED = "FailedOperation.DeviceInfoOutdated"
FAILEDOPERATION_OTHERUPDATETASKEXIST = "FailedOperation.OtherUpdateTaskExist"
INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_DBOPERTAIONERROR = "InternalError.DBOpertaionError"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND_DEVICEHASNOFIRMWARE = "ResourceNotFound.DeviceHasNoFirmware"
RESOURCENOTFOUND_DEVICENOTEXIST = "ResourceNotFound.DeviceNotExist"
RESOURCENOTFOUND_FIRMWARENOTEXIST = "ResourceNotFound.FirmwareNotExist"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNAUTHORIZEDOPERATION_DEVICEISNOTENABLED = "UnauthorizedOperation.DeviceIsNotEnabled"
UNAUTHORIZEDOPERATION_NOPERMISSIONTOSTUDIOPRODUCT = "UnauthorizedOperation.NoPermissionToStudioProduct"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) UploadFirmware

func (c *Client) UploadFirmware(request *UploadFirmwareRequest) (response *UploadFirmwareResponse, err error)

UploadFirmware 本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER_FIRMWAREALREADYEXIST = "InvalidParameter.FirmwareAlreadyExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FIRMWAREALREADYEXIST = "InvalidParameterValue.FirmwareAlreadyExist"
LIMITEXCEEDED_FIRMWAREEXCEEDLIMIT = "LimitExceeded.FirmwareExceedLimit"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

func (*Client) UploadFirmwareWithContext added in v1.0.324

func (c *Client) UploadFirmwareWithContext(ctx context.Context, request *UploadFirmwareRequest) (response *UploadFirmwareResponse, err error)

UploadFirmware 本接口(UploadFirmware)用于创建设备固件版本信息,在平台用于固件版本升级、固件资源下发等。

可能返回的错误码:

INTERNALERROR = "InternalError"
INTERNALERROR_DBOPERATIONERROR = "InternalError.DBOperationError"
INTERNALERROR_INTERNALRPCERROR = "InternalError.InternalRPCError"
INVALIDPARAMETER_FIRMWAREALREADYEXIST = "InvalidParameter.FirmwareAlreadyExist"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_FIRMWAREALREADYEXIST = "InvalidParameterValue.FirmwareAlreadyExist"
LIMITEXCEEDED_FIRMWAREEXCEEDLIMIT = "LimitExceeded.FirmwareExceedLimit"
RESOURCENOTFOUND_STUDIOPRODUCTNOTEXIST = "ResourceNotFound.StudioProductNotExist"
UNSUPPORTEDOPERATION_INSTANCEISOLATED = "UnsupportedOperation.InstanceIsolated"

type CloudStorageAIServiceTask added in v1.0.902

type CloudStorageAIServiceTask struct {
	// 云存 AI 服务任务 ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// 产品 ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 通道 ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// 云存 AI 服务类型。可能取值:
	//
	// - `PackageDetect`:包裹检测
	// - `Highlight`:视频浓缩
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// 对应云存视频的起始时间
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 对应云存视频的结束时间
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 任务状态(1:失败;2:成功但结果为空;3:成功且结果非空;4:执行中)
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 任务结果
	Result *string `json:"Result,omitnil,omitempty" name:"Result"`

	// 任务输出文件列表
	Files []*string `json:"Files,omitnil,omitempty" name:"Files"`

	// 创建时间
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 最后更新时间
	UpdateTime *int64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type CloudStorageEvent added in v1.0.888

type CloudStorageEvent struct {
	// 事件起始时间(Unix 时间戳,秒级
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 事件结束时间(Unix 时间戳,秒级
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 事件缩略图
	Thumbnail *string `json:"Thumbnail,omitnil,omitempty" name:"Thumbnail"`

	// 事件ID
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`
}

type CloudStorageTimeData added in v1.0.888

type CloudStorageTimeData struct {
	// 云存时间轴信息列表
	TimeList []*CloudStorageTimeInfo `json:"TimeList,omitnil,omitempty" name:"TimeList"`

	// 播放地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	VideoURL *string `json:"VideoURL,omitnil,omitempty" name:"VideoURL"`
}

type CloudStorageTimeInfo added in v1.0.888

type CloudStorageTimeInfo struct {
	// 开始时间
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

type CloudStorageUserInfo added in v1.0.888

type CloudStorageUserInfo struct {
	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

type ControlDeviceDataRequest

type ControlDeviceDataRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 属性数据, JSON格式字符串, 注意字段需要在物模型属性里定义
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 请求类型 , 不填该参数或者 desired 表示下发属性给设备,  reported 表示模拟设备上报属性
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// 设备ID,该字段有值将代替 ProductId/DeviceName , 通常情况不需要填写
	DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`

	// 上报数据UNIX时间戳(毫秒), 仅对Method:reported有效
	DataTimestamp *int64 `json:"DataTimestamp,omitnil,omitempty" name:"DataTimestamp"`
}

func NewControlDeviceDataRequest

func NewControlDeviceDataRequest() (request *ControlDeviceDataRequest)

func (*ControlDeviceDataRequest) FromJsonString

func (r *ControlDeviceDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ControlDeviceDataRequest) ToJsonString

func (r *ControlDeviceDataRequest) ToJsonString() string

type ControlDeviceDataRequestParams added in v1.0.426

type ControlDeviceDataRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 属性数据, JSON格式字符串, 注意字段需要在物模型属性里定义
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 请求类型 , 不填该参数或者 desired 表示下发属性给设备,  reported 表示模拟设备上报属性
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`

	// 设备ID,该字段有值将代替 ProductId/DeviceName , 通常情况不需要填写
	DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`

	// 上报数据UNIX时间戳(毫秒), 仅对Method:reported有效
	DataTimestamp *int64 `json:"DataTimestamp,omitnil,omitempty" name:"DataTimestamp"`
}

Predefined struct for user

type ControlDeviceDataResponse

type ControlDeviceDataResponse struct {
	*tchttp.BaseResponse
	Response *ControlDeviceDataResponseParams `json:"Response"`
}

func NewControlDeviceDataResponse

func NewControlDeviceDataResponse() (response *ControlDeviceDataResponse)

func (*ControlDeviceDataResponse) FromJsonString

func (r *ControlDeviceDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ControlDeviceDataResponse) ToJsonString

func (r *ControlDeviceDataResponse) ToJsonString() string

type ControlDeviceDataResponseParams added in v1.0.426

type ControlDeviceDataResponseParams struct {
	// 返回信息
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// JSON字符串, 返回下发控制的结果信息,
	// Sent = 1 表示设备已经在线并且订阅了控制下发的mqtt topic.
	// pushResult 是表示发送结果,其中 0 表示成功, 23101 表示设备未在线或没有订阅相关的 MQTT Topic。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Result *string `json:"Result,omitnil,omitempty" name:"Result"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateBatchProductionRequest added in v1.0.288

type CreateBatchProductionRequest struct {
	*tchttp.BaseRequest

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 烧录方式,0为直接烧录,1为动态注册。
	BurnMethod *int64 `json:"BurnMethod,omitnil,omitempty" name:"BurnMethod"`

	// 生成方式,0为系统生成,1为文件上传。
	GenerationMethod *int64 `json:"GenerationMethod,omitnil,omitempty" name:"GenerationMethod"`

	// 文件上传URL,用于文件上传时填写。
	UploadUrl *string `json:"UploadUrl,omitnil,omitempty" name:"UploadUrl"`

	// 量产数量,用于系统生成时填写。
	BatchCnt *int64 `json:"BatchCnt,omitnil,omitempty" name:"BatchCnt"`

	// 是否生成二维码,0为不生成,1为生成。
	GenerationQRCode *int64 `json:"GenerationQRCode,omitnil,omitempty" name:"GenerationQRCode"`
}

func NewCreateBatchProductionRequest added in v1.0.288

func NewCreateBatchProductionRequest() (request *CreateBatchProductionRequest)

func (*CreateBatchProductionRequest) FromJsonString added in v1.0.288

func (r *CreateBatchProductionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBatchProductionRequest) ToJsonString added in v1.0.288

func (r *CreateBatchProductionRequest) ToJsonString() string

type CreateBatchProductionRequestParams added in v1.0.426

type CreateBatchProductionRequestParams struct {
	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 烧录方式,0为直接烧录,1为动态注册。
	BurnMethod *int64 `json:"BurnMethod,omitnil,omitempty" name:"BurnMethod"`

	// 生成方式,0为系统生成,1为文件上传。
	GenerationMethod *int64 `json:"GenerationMethod,omitnil,omitempty" name:"GenerationMethod"`

	// 文件上传URL,用于文件上传时填写。
	UploadUrl *string `json:"UploadUrl,omitnil,omitempty" name:"UploadUrl"`

	// 量产数量,用于系统生成时填写。
	BatchCnt *int64 `json:"BatchCnt,omitnil,omitempty" name:"BatchCnt"`

	// 是否生成二维码,0为不生成,1为生成。
	GenerationQRCode *int64 `json:"GenerationQRCode,omitnil,omitempty" name:"GenerationQRCode"`
}

Predefined struct for user

type CreateBatchProductionResponse added in v1.0.288

type CreateBatchProductionResponse struct {
	*tchttp.BaseResponse
	Response *CreateBatchProductionResponseParams `json:"Response"`
}

func NewCreateBatchProductionResponse added in v1.0.288

func NewCreateBatchProductionResponse() (response *CreateBatchProductionResponse)

func (*CreateBatchProductionResponse) FromJsonString added in v1.0.288

func (r *CreateBatchProductionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateBatchProductionResponse) ToJsonString added in v1.0.288

func (r *CreateBatchProductionResponse) ToJsonString() string

type CreateBatchProductionResponseParams added in v1.0.426

type CreateBatchProductionResponseParams struct {
	// 项目Id
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 量产id
	BatchProductionId *string `json:"BatchProductionId,omitnil,omitempty" name:"BatchProductionId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDeviceRequest

type CreateDeviceRequest struct {
	*tchttp.BaseRequest

	// 产品ID。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// LoRaWAN 设备地址
	DevAddr *string `json:"DevAddr,omitnil,omitempty" name:"DevAddr"`

	// LoRaWAN 应用密钥
	AppKey *string `json:"AppKey,omitnil,omitempty" name:"AppKey"`

	// LoRaWAN 设备唯一标识
	DevEUI *string `json:"DevEUI,omitnil,omitempty" name:"DevEUI"`

	// LoRaWAN 应用会话密钥
	AppSKey *string `json:"AppSKey,omitnil,omitempty" name:"AppSKey"`

	// LoRaWAN 网络会话密钥
	NwkSKey *string `json:"NwkSKey,omitnil,omitempty" name:"NwkSKey"`

	// 手动指定设备的PSK密钥
	DefinedPsk *string `json:"DefinedPsk,omitnil,omitempty" name:"DefinedPsk"`
}

func NewCreateDeviceRequest

func NewCreateDeviceRequest() (request *CreateDeviceRequest)

func (*CreateDeviceRequest) FromJsonString

func (r *CreateDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDeviceRequest) ToJsonString

func (r *CreateDeviceRequest) ToJsonString() string

type CreateDeviceRequestParams added in v1.0.426

type CreateDeviceRequestParams struct {
	// 产品ID。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// LoRaWAN 设备地址
	DevAddr *string `json:"DevAddr,omitnil,omitempty" name:"DevAddr"`

	// LoRaWAN 应用密钥
	AppKey *string `json:"AppKey,omitnil,omitempty" name:"AppKey"`

	// LoRaWAN 设备唯一标识
	DevEUI *string `json:"DevEUI,omitnil,omitempty" name:"DevEUI"`

	// LoRaWAN 应用会话密钥
	AppSKey *string `json:"AppSKey,omitnil,omitempty" name:"AppSKey"`

	// LoRaWAN 网络会话密钥
	NwkSKey *string `json:"NwkSKey,omitnil,omitempty" name:"NwkSKey"`

	// 手动指定设备的PSK密钥
	DefinedPsk *string `json:"DefinedPsk,omitnil,omitempty" name:"DefinedPsk"`
}

Predefined struct for user

type CreateDeviceResponse

type CreateDeviceResponse struct {
	*tchttp.BaseResponse
	Response *CreateDeviceResponseParams `json:"Response"`
}

func NewCreateDeviceResponse

func NewCreateDeviceResponse() (response *CreateDeviceResponse)

func (*CreateDeviceResponse) FromJsonString

func (r *CreateDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDeviceResponse) ToJsonString

func (r *CreateDeviceResponse) ToJsonString() string

type CreateDeviceResponseParams added in v1.0.426

type CreateDeviceResponseParams struct {
	// 设备参数描述。
	Data *DeviceData `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateFenceBindRequest added in v1.0.266

type CreateFenceBindRequest struct {
	*tchttp.BaseRequest

	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 围栏绑定的产品列表
	Items []*FenceBindProductItem `json:"Items,omitnil,omitempty" name:"Items"`
}

func NewCreateFenceBindRequest added in v1.0.266

func NewCreateFenceBindRequest() (request *CreateFenceBindRequest)

func (*CreateFenceBindRequest) FromJsonString added in v1.0.266

func (r *CreateFenceBindRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateFenceBindRequest) ToJsonString added in v1.0.266

func (r *CreateFenceBindRequest) ToJsonString() string

type CreateFenceBindRequestParams added in v1.0.426

type CreateFenceBindRequestParams struct {
	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 围栏绑定的产品列表
	Items []*FenceBindProductItem `json:"Items,omitnil,omitempty" name:"Items"`
}

Predefined struct for user

type CreateFenceBindResponse added in v1.0.266

type CreateFenceBindResponse struct {
	*tchttp.BaseResponse
	Response *CreateFenceBindResponseParams `json:"Response"`
}

func NewCreateFenceBindResponse added in v1.0.266

func NewCreateFenceBindResponse() (response *CreateFenceBindResponse)

func (*CreateFenceBindResponse) FromJsonString added in v1.0.266

func (r *CreateFenceBindResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateFenceBindResponse) ToJsonString added in v1.0.266

func (r *CreateFenceBindResponse) ToJsonString() string

type CreateFenceBindResponseParams added in v1.0.426

type CreateFenceBindResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateIotVideoCloudStorageRequest added in v1.0.888

type CreateIotVideoCloudStorageRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存套餐ID:
	// yc1m3d : 全时3天存储月套餐。
	// yc1m7d : 全时7天存储月套餐。
	// yc1m30d :全时30天存储月套餐。
	// yc1y3d :全时3天存储年套餐。
	// yc1y7d :全时7天存储年套餐。
	// yc1y30d :全时30天存储年套餐。
	// ye1m3d :事件3天存储月套餐。
	// ye1m7d :事件7天存储月套餐。
	// ye1m30d :事件30天存储月套餐 。
	// ye1y3d :事件3天存储年套餐。
	// ye1y7d :事件7天存储年套餐。
	// ye1y30d :事件30天存储年套餐。
	// yc1w7d : 全时7天存储周套餐。
	// ye1w7d : 事件7天存储周套餐。
	// lye1m3d:低功耗事件3天月套餐。
	// lye1m7d:低功耗事件7天月套餐。
	// lye1m30d:低功耗事件30天月套餐。
	// lye1y3d:低功耗事件3天年套餐。
	// lye1y7d:低功耗事件7天年套餐。
	// lye1y30d:低功耗事件30天年套餐。
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// 如果当前设备已开启云存套餐,Override=1会使用新套餐覆盖原有套餐。不传此参数则默认为0。
	Override *uint64 `json:"Override,omitnil,omitempty" name:"Override"`

	// 套餐列表顺序:PackageQueue=front会立即使用新购买的套餐,新购套餐结束后,列表中下一个未过期的套餐继续生效;PackageQueue=end会等设备当前所有已购买套餐过期后才会生效新购套餐。与Override参数不能同时使用。
	PackageQueue *string `json:"PackageQueue,omitnil,omitempty" name:"PackageQueue"`

	// 订单id
	OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"`

	// 通道ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// 云存视频存储区域,国内默认为ap-guangzhou。海外默认为东南亚ap-singapore,可选美东na-ashburn、欧洲eu-frankfurt。
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`
}

func NewCreateIotVideoCloudStorageRequest added in v1.0.888

func NewCreateIotVideoCloudStorageRequest() (request *CreateIotVideoCloudStorageRequest)

func (*CreateIotVideoCloudStorageRequest) FromJsonString added in v1.0.888

func (r *CreateIotVideoCloudStorageRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIotVideoCloudStorageRequest) ToJsonString added in v1.0.888

func (r *CreateIotVideoCloudStorageRequest) ToJsonString() string

type CreateIotVideoCloudStorageRequestParams added in v1.0.888

type CreateIotVideoCloudStorageRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存套餐ID:
	// yc1m3d : 全时3天存储月套餐。
	// yc1m7d : 全时7天存储月套餐。
	// yc1m30d :全时30天存储月套餐。
	// yc1y3d :全时3天存储年套餐。
	// yc1y7d :全时7天存储年套餐。
	// yc1y30d :全时30天存储年套餐。
	// ye1m3d :事件3天存储月套餐。
	// ye1m7d :事件7天存储月套餐。
	// ye1m30d :事件30天存储月套餐 。
	// ye1y3d :事件3天存储年套餐。
	// ye1y7d :事件7天存储年套餐。
	// ye1y30d :事件30天存储年套餐。
	// yc1w7d : 全时7天存储周套餐。
	// ye1w7d : 事件7天存储周套餐。
	// lye1m3d:低功耗事件3天月套餐。
	// lye1m7d:低功耗事件7天月套餐。
	// lye1m30d:低功耗事件30天月套餐。
	// lye1y3d:低功耗事件3天年套餐。
	// lye1y7d:低功耗事件7天年套餐。
	// lye1y30d:低功耗事件30天年套餐。
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// 如果当前设备已开启云存套餐,Override=1会使用新套餐覆盖原有套餐。不传此参数则默认为0。
	Override *uint64 `json:"Override,omitnil,omitempty" name:"Override"`

	// 套餐列表顺序:PackageQueue=front会立即使用新购买的套餐,新购套餐结束后,列表中下一个未过期的套餐继续生效;PackageQueue=end会等设备当前所有已购买套餐过期后才会生效新购套餐。与Override参数不能同时使用。
	PackageQueue *string `json:"PackageQueue,omitnil,omitempty" name:"PackageQueue"`

	// 订单id
	OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"`

	// 通道ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// 云存视频存储区域,国内默认为ap-guangzhou。海外默认为东南亚ap-singapore,可选美东na-ashburn、欧洲eu-frankfurt。
	StorageRegion *string `json:"StorageRegion,omitnil,omitempty" name:"StorageRegion"`
}

Predefined struct for user

type CreateIotVideoCloudStorageResponse added in v1.0.888

type CreateIotVideoCloudStorageResponse struct {
	*tchttp.BaseResponse
	Response *CreateIotVideoCloudStorageResponseParams `json:"Response"`
}

func NewCreateIotVideoCloudStorageResponse added in v1.0.888

func NewCreateIotVideoCloudStorageResponse() (response *CreateIotVideoCloudStorageResponse)

func (*CreateIotVideoCloudStorageResponse) FromJsonString added in v1.0.888

func (r *CreateIotVideoCloudStorageResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateIotVideoCloudStorageResponse) ToJsonString added in v1.0.888

func (r *CreateIotVideoCloudStorageResponse) ToJsonString() string

type CreateIotVideoCloudStorageResponseParams added in v1.0.888

type CreateIotVideoCloudStorageResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateLoRaFrequencyRequest

type CreateLoRaFrequencyRequest struct {
	*tchttp.BaseRequest

	// 频点配置名称
	FreqName *string `json:"FreqName,omitnil,omitempty" name:"FreqName"`

	// 数据上行信道
	ChannelsDataUp []*uint64 `json:"ChannelsDataUp,omitnil,omitempty" name:"ChannelsDataUp"`

	// 数据下行RX1信道
	ChannelsDataRX1 []*uint64 `json:"ChannelsDataRX1,omitnil,omitempty" name:"ChannelsDataRX1"`

	// 数据下行RX2信道
	ChannelsDataRX2 []*uint64 `json:"ChannelsDataRX2,omitnil,omitempty" name:"ChannelsDataRX2"`

	// 入网上行信道
	ChannelsJoinUp []*uint64 `json:"ChannelsJoinUp,omitnil,omitempty" name:"ChannelsJoinUp"`

	// 入网下行RX1信道
	ChannelsJoinRX1 []*uint64 `json:"ChannelsJoinRX1,omitnil,omitempty" name:"ChannelsJoinRX1"`

	// 入网下行RX2信道
	ChannelsJoinRX2 []*uint64 `json:"ChannelsJoinRX2,omitnil,omitempty" name:"ChannelsJoinRX2"`

	// 频点配置描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewCreateLoRaFrequencyRequest

func NewCreateLoRaFrequencyRequest() (request *CreateLoRaFrequencyRequest)

func (*CreateLoRaFrequencyRequest) FromJsonString

func (r *CreateLoRaFrequencyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateLoRaFrequencyRequest) ToJsonString

func (r *CreateLoRaFrequencyRequest) ToJsonString() string

type CreateLoRaFrequencyRequestParams added in v1.0.426

type CreateLoRaFrequencyRequestParams struct {
	// 频点配置名称
	FreqName *string `json:"FreqName,omitnil,omitempty" name:"FreqName"`

	// 数据上行信道
	ChannelsDataUp []*uint64 `json:"ChannelsDataUp,omitnil,omitempty" name:"ChannelsDataUp"`

	// 数据下行RX1信道
	ChannelsDataRX1 []*uint64 `json:"ChannelsDataRX1,omitnil,omitempty" name:"ChannelsDataRX1"`

	// 数据下行RX2信道
	ChannelsDataRX2 []*uint64 `json:"ChannelsDataRX2,omitnil,omitempty" name:"ChannelsDataRX2"`

	// 入网上行信道
	ChannelsJoinUp []*uint64 `json:"ChannelsJoinUp,omitnil,omitempty" name:"ChannelsJoinUp"`

	// 入网下行RX1信道
	ChannelsJoinRX1 []*uint64 `json:"ChannelsJoinRX1,omitnil,omitempty" name:"ChannelsJoinRX1"`

	// 入网下行RX2信道
	ChannelsJoinRX2 []*uint64 `json:"ChannelsJoinRX2,omitnil,omitempty" name:"ChannelsJoinRX2"`

	// 频点配置描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type CreateLoRaFrequencyResponse

type CreateLoRaFrequencyResponse struct {
	*tchttp.BaseResponse
	Response *CreateLoRaFrequencyResponseParams `json:"Response"`
}

func NewCreateLoRaFrequencyResponse

func NewCreateLoRaFrequencyResponse() (response *CreateLoRaFrequencyResponse)

func (*CreateLoRaFrequencyResponse) FromJsonString

func (r *CreateLoRaFrequencyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateLoRaFrequencyResponse) ToJsonString

func (r *CreateLoRaFrequencyResponse) ToJsonString() string

type CreateLoRaFrequencyResponseParams added in v1.0.426

type CreateLoRaFrequencyResponseParams struct {
	// LoRa频点信息
	Data *LoRaFrequencyEntry `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateLoRaGatewayRequest

type CreateLoRaGatewayRequest struct {
	*tchttp.BaseRequest

	// LoRa 网关Id
	GatewayId *string `json:"GatewayId,omitnil,omitempty" name:"GatewayId"`

	// 网关名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 详情描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 位置坐标
	Location *LoRaGatewayLocation `json:"Location,omitnil,omitempty" name:"Location"`

	// 位置信息
	Position *string `json:"Position,omitnil,omitempty" name:"Position"`

	// 位置详情
	PositionDetails *string `json:"PositionDetails,omitnil,omitempty" name:"PositionDetails"`

	// 是否公开
	IsPublic *bool `json:"IsPublic,omitnil,omitempty" name:"IsPublic"`

	// 频点ID
	FrequencyId *string `json:"FrequencyId,omitnil,omitempty" name:"FrequencyId"`
}

func NewCreateLoRaGatewayRequest

func NewCreateLoRaGatewayRequest() (request *CreateLoRaGatewayRequest)

func (*CreateLoRaGatewayRequest) FromJsonString

func (r *CreateLoRaGatewayRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateLoRaGatewayRequest) ToJsonString

func (r *CreateLoRaGatewayRequest) ToJsonString() string

type CreateLoRaGatewayRequestParams added in v1.0.426

type CreateLoRaGatewayRequestParams struct {
	// LoRa 网关Id
	GatewayId *string `json:"GatewayId,omitnil,omitempty" name:"GatewayId"`

	// 网关名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 详情描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 位置坐标
	Location *LoRaGatewayLocation `json:"Location,omitnil,omitempty" name:"Location"`

	// 位置信息
	Position *string `json:"Position,omitnil,omitempty" name:"Position"`

	// 位置详情
	PositionDetails *string `json:"PositionDetails,omitnil,omitempty" name:"PositionDetails"`

	// 是否公开
	IsPublic *bool `json:"IsPublic,omitnil,omitempty" name:"IsPublic"`

	// 频点ID
	FrequencyId *string `json:"FrequencyId,omitnil,omitempty" name:"FrequencyId"`
}

Predefined struct for user

type CreateLoRaGatewayResponse

type CreateLoRaGatewayResponse struct {
	*tchttp.BaseResponse
	Response *CreateLoRaGatewayResponseParams `json:"Response"`
}

func NewCreateLoRaGatewayResponse

func NewCreateLoRaGatewayResponse() (response *CreateLoRaGatewayResponse)

func (*CreateLoRaGatewayResponse) FromJsonString

func (r *CreateLoRaGatewayResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateLoRaGatewayResponse) ToJsonString

func (r *CreateLoRaGatewayResponse) ToJsonString() string

type CreateLoRaGatewayResponseParams added in v1.0.426

type CreateLoRaGatewayResponseParams struct {
	// LoRa 网关信息
	Gateway *LoRaGatewayItem `json:"Gateway,omitnil,omitempty" name:"Gateway"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePositionFenceRequest added in v1.0.266

type CreatePositionFenceRequest struct {
	*tchttp.BaseRequest

	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 围栏名称
	FenceName *string `json:"FenceName,omitnil,omitempty" name:"FenceName"`

	// 围栏区域信息,采用 GeoJSON 格式
	FenceArea *string `json:"FenceArea,omitnil,omitempty" name:"FenceArea"`

	// 围栏描述
	FenceDesc *string `json:"FenceDesc,omitnil,omitempty" name:"FenceDesc"`
}

func NewCreatePositionFenceRequest added in v1.0.266

func NewCreatePositionFenceRequest() (request *CreatePositionFenceRequest)

func (*CreatePositionFenceRequest) FromJsonString added in v1.0.266

func (r *CreatePositionFenceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePositionFenceRequest) ToJsonString added in v1.0.266

func (r *CreatePositionFenceRequest) ToJsonString() string

type CreatePositionFenceRequestParams added in v1.0.426

type CreatePositionFenceRequestParams struct {
	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 围栏名称
	FenceName *string `json:"FenceName,omitnil,omitempty" name:"FenceName"`

	// 围栏区域信息,采用 GeoJSON 格式
	FenceArea *string `json:"FenceArea,omitnil,omitempty" name:"FenceArea"`

	// 围栏描述
	FenceDesc *string `json:"FenceDesc,omitnil,omitempty" name:"FenceDesc"`
}

Predefined struct for user

type CreatePositionFenceResponse added in v1.0.266

type CreatePositionFenceResponse struct {
	*tchttp.BaseResponse
	Response *CreatePositionFenceResponseParams `json:"Response"`
}

func NewCreatePositionFenceResponse added in v1.0.266

func NewCreatePositionFenceResponse() (response *CreatePositionFenceResponse)

func (*CreatePositionFenceResponse) FromJsonString added in v1.0.266

func (r *CreatePositionFenceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePositionFenceResponse) ToJsonString added in v1.0.266

func (r *CreatePositionFenceResponse) ToJsonString() string

type CreatePositionFenceResponseParams added in v1.0.426

type CreatePositionFenceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePositionSpaceRequest added in v1.0.266

type CreatePositionSpaceRequest struct {
	*tchttp.BaseRequest

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 空间名称
	SpaceName *string `json:"SpaceName,omitnil,omitempty" name:"SpaceName"`

	// 授权类型,0:只读 1:读写
	AuthorizeType *int64 `json:"AuthorizeType,omitnil,omitempty" name:"AuthorizeType"`

	// 产品列表
	ProductIdList []*string `json:"ProductIdList,omitnil,omitempty" name:"ProductIdList"`

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

	// 缩略图
	Icon *string `json:"Icon,omitnil,omitempty" name:"Icon"`
}

func NewCreatePositionSpaceRequest added in v1.0.266

func NewCreatePositionSpaceRequest() (request *CreatePositionSpaceRequest)

func (*CreatePositionSpaceRequest) FromJsonString added in v1.0.266

func (r *CreatePositionSpaceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePositionSpaceRequest) ToJsonString added in v1.0.266

func (r *CreatePositionSpaceRequest) ToJsonString() string

type CreatePositionSpaceRequestParams added in v1.0.426

type CreatePositionSpaceRequestParams struct {
	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 空间名称
	SpaceName *string `json:"SpaceName,omitnil,omitempty" name:"SpaceName"`

	// 授权类型,0:只读 1:读写
	AuthorizeType *int64 `json:"AuthorizeType,omitnil,omitempty" name:"AuthorizeType"`

	// 产品列表
	ProductIdList []*string `json:"ProductIdList,omitnil,omitempty" name:"ProductIdList"`

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

	// 缩略图
	Icon *string `json:"Icon,omitnil,omitempty" name:"Icon"`
}

Predefined struct for user

type CreatePositionSpaceResponse added in v1.0.266

type CreatePositionSpaceResponse struct {
	*tchttp.BaseResponse
	Response *CreatePositionSpaceResponseParams `json:"Response"`
}

func NewCreatePositionSpaceResponse added in v1.0.266

func NewCreatePositionSpaceResponse() (response *CreatePositionSpaceResponse)

func (*CreatePositionSpaceResponse) FromJsonString added in v1.0.266

func (r *CreatePositionSpaceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreatePositionSpaceResponse) ToJsonString added in v1.0.266

func (r *CreatePositionSpaceResponse) ToJsonString() string

type CreatePositionSpaceResponseParams added in v1.0.426

type CreatePositionSpaceResponseParams struct {
	// 空间Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateProjectRequest

type CreateProjectRequest struct {
	*tchttp.BaseRequest

	// 项目名称
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// 项目描述
	ProjectDesc *string `json:"ProjectDesc,omitnil,omitempty" name:"ProjectDesc"`

	// 实例ID,不带实例ID,默认为公共实例
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewCreateProjectRequest

func NewCreateProjectRequest() (request *CreateProjectRequest)

func (*CreateProjectRequest) FromJsonString

func (r *CreateProjectRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProjectRequest) ToJsonString

func (r *CreateProjectRequest) ToJsonString() string

type CreateProjectRequestParams added in v1.0.426

type CreateProjectRequestParams struct {
	// 项目名称
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// 项目描述
	ProjectDesc *string `json:"ProjectDesc,omitnil,omitempty" name:"ProjectDesc"`

	// 实例ID,不带实例ID,默认为公共实例
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type CreateProjectResponse

type CreateProjectResponse struct {
	*tchttp.BaseResponse
	Response *CreateProjectResponseParams `json:"Response"`
}

func NewCreateProjectResponse

func NewCreateProjectResponse() (response *CreateProjectResponse)

func (*CreateProjectResponse) FromJsonString

func (r *CreateProjectResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateProjectResponse) ToJsonString

func (r *CreateProjectResponse) ToJsonString() string

type CreateProjectResponseParams added in v1.0.426

type CreateProjectResponseParams struct {
	// 返回信息
	Project *ProjectEntry `json:"Project,omitnil,omitempty" name:"Project"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateStudioProductRequest

type CreateStudioProductRequest struct {
	*tchttp.BaseRequest

	// 产品名称,名称不能和已经存在的产品名称重复。命名规则:[a-zA-Z0-9:_-]{1,32}
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)
	CategoryId *int64 `json:"CategoryId,omitnil,omitempty" name:"CategoryId"`

	// 产品类型 填写 ( 0 普通产品 , 5 网关产品)
	ProductType *int64 `json:"ProductType,omitnil,omitempty" name:"ProductType"`

	// 加密类型 ,1表示证书认证,2表示秘钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式
	EncryptionType *string `json:"EncryptionType,omitnil,omitempty" name:"EncryptionType"`

	// 连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh
	NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"`

	// 数据协议 (1 使用物模型 2 为自定义)
	DataProtocol *int64 `json:"DataProtocol,omitnil,omitempty" name:"DataProtocol"`

	// 产品描述
	ProductDesc *string `json:"ProductDesc,omitnil,omitempty" name:"ProductDesc"`

	// 产品的项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 平均传输速率
	Rate *string `json:"Rate,omitnil,omitempty" name:"Rate"`

	// 期限
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

func NewCreateStudioProductRequest

func NewCreateStudioProductRequest() (request *CreateStudioProductRequest)

func (*CreateStudioProductRequest) FromJsonString

func (r *CreateStudioProductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStudioProductRequest) ToJsonString

func (r *CreateStudioProductRequest) ToJsonString() string

type CreateStudioProductRequestParams added in v1.0.426

type CreateStudioProductRequestParams struct {
	// 产品名称,名称不能和已经存在的产品名称重复。命名规则:[a-zA-Z0-9:_-]{1,32}
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)
	CategoryId *int64 `json:"CategoryId,omitnil,omitempty" name:"CategoryId"`

	// 产品类型 填写 ( 0 普通产品 , 5 网关产品)
	ProductType *int64 `json:"ProductType,omitnil,omitempty" name:"ProductType"`

	// 加密类型 ,1表示证书认证,2表示秘钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式
	EncryptionType *string `json:"EncryptionType,omitnil,omitempty" name:"EncryptionType"`

	// 连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh
	NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"`

	// 数据协议 (1 使用物模型 2 为自定义)
	DataProtocol *int64 `json:"DataProtocol,omitnil,omitempty" name:"DataProtocol"`

	// 产品描述
	ProductDesc *string `json:"ProductDesc,omitnil,omitempty" name:"ProductDesc"`

	// 产品的项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 平均传输速率
	Rate *string `json:"Rate,omitnil,omitempty" name:"Rate"`

	// 期限
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

Predefined struct for user

type CreateStudioProductResponse

type CreateStudioProductResponse struct {
	*tchttp.BaseResponse
	Response *CreateStudioProductResponseParams `json:"Response"`
}

func NewCreateStudioProductResponse

func NewCreateStudioProductResponse() (response *CreateStudioProductResponse)

func (*CreateStudioProductResponse) FromJsonString

func (r *CreateStudioProductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateStudioProductResponse) ToJsonString

func (r *CreateStudioProductResponse) ToJsonString() string

type CreateStudioProductResponseParams added in v1.0.426

type CreateStudioProductResponseParams struct {
	// 产品描述
	Product *ProductEntry `json:"Product,omitnil,omitempty" name:"Product"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateTRTCSignaturesWithRoomIdRequest added in v1.0.916

type CreateTRTCSignaturesWithRoomIdRequest struct {
	*tchttp.BaseRequest

	// TRTC进房间的用户名称数组,数组元素不可重复,最长不超过 10 个。
	TRTCUserIds []*string `json:"TRTCUserIds,omitnil,omitempty" name:"TRTCUserIds"`

	// 房间id
	RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"`
}

func NewCreateTRTCSignaturesWithRoomIdRequest added in v1.0.916

func NewCreateTRTCSignaturesWithRoomIdRequest() (request *CreateTRTCSignaturesWithRoomIdRequest)

func (*CreateTRTCSignaturesWithRoomIdRequest) FromJsonString added in v1.0.916

func (r *CreateTRTCSignaturesWithRoomIdRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTRTCSignaturesWithRoomIdRequest) ToJsonString added in v1.0.916

type CreateTRTCSignaturesWithRoomIdRequestParams added in v1.0.916

type CreateTRTCSignaturesWithRoomIdRequestParams struct {
	// TRTC进房间的用户名称数组,数组元素不可重复,最长不超过 10 个。
	TRTCUserIds []*string `json:"TRTCUserIds,omitnil,omitempty" name:"TRTCUserIds"`

	// 房间id
	RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"`
}

Predefined struct for user

type CreateTRTCSignaturesWithRoomIdResponse added in v1.0.916

type CreateTRTCSignaturesWithRoomIdResponse struct {
	*tchttp.BaseResponse
	Response *CreateTRTCSignaturesWithRoomIdResponseParams `json:"Response"`
}

func NewCreateTRTCSignaturesWithRoomIdResponse added in v1.0.916

func NewCreateTRTCSignaturesWithRoomIdResponse() (response *CreateTRTCSignaturesWithRoomIdResponse)

func (*CreateTRTCSignaturesWithRoomIdResponse) FromJsonString added in v1.0.916

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTRTCSignaturesWithRoomIdResponse) ToJsonString added in v1.0.916

type CreateTRTCSignaturesWithRoomIdResponseParams added in v1.0.916

type CreateTRTCSignaturesWithRoomIdResponseParams struct {
	// 返回参数数组
	// 注意:此字段可能返回 null,表示取不到有效值。
	TRTCParamList []*TRTCParams `json:"TRTCParamList,omitnil,omitempty" name:"TRTCParamList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateTopicPolicyRequest added in v1.0.263

type CreateTopicPolicyRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// Topic名称
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Topic权限,1发布,2订阅,3订阅和发布
	Privilege *uint64 `json:"Privilege,omitnil,omitempty" name:"Privilege"`
}

func NewCreateTopicPolicyRequest added in v1.0.263

func NewCreateTopicPolicyRequest() (request *CreateTopicPolicyRequest)

func (*CreateTopicPolicyRequest) FromJsonString added in v1.0.263

func (r *CreateTopicPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTopicPolicyRequest) ToJsonString added in v1.0.263

func (r *CreateTopicPolicyRequest) ToJsonString() string

type CreateTopicPolicyRequestParams added in v1.0.426

type CreateTopicPolicyRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// Topic名称
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Topic权限,1发布,2订阅,3订阅和发布
	Privilege *uint64 `json:"Privilege,omitnil,omitempty" name:"Privilege"`
}

Predefined struct for user

type CreateTopicPolicyResponse added in v1.0.263

type CreateTopicPolicyResponse struct {
	*tchttp.BaseResponse
	Response *CreateTopicPolicyResponseParams `json:"Response"`
}

func NewCreateTopicPolicyResponse added in v1.0.263

func NewCreateTopicPolicyResponse() (response *CreateTopicPolicyResponse)

func (*CreateTopicPolicyResponse) FromJsonString added in v1.0.263

func (r *CreateTopicPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTopicPolicyResponse) ToJsonString added in v1.0.263

func (r *CreateTopicPolicyResponse) ToJsonString() string

type CreateTopicPolicyResponseParams added in v1.0.426

type CreateTopicPolicyResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateTopicRuleRequest

type CreateTopicRuleRequest struct {
	*tchttp.BaseRequest

	// 规则名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// 规则内容
	TopicRulePayload *TopicRulePayload `json:"TopicRulePayload,omitnil,omitempty" name:"TopicRulePayload"`
}

func NewCreateTopicRuleRequest

func NewCreateTopicRuleRequest() (request *CreateTopicRuleRequest)

func (*CreateTopicRuleRequest) FromJsonString

func (r *CreateTopicRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTopicRuleRequest) ToJsonString

func (r *CreateTopicRuleRequest) ToJsonString() string

type CreateTopicRuleRequestParams added in v1.0.426

type CreateTopicRuleRequestParams struct {
	// 规则名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// 规则内容
	TopicRulePayload *TopicRulePayload `json:"TopicRulePayload,omitnil,omitempty" name:"TopicRulePayload"`
}

Predefined struct for user

type CreateTopicRuleResponse

type CreateTopicRuleResponse struct {
	*tchttp.BaseResponse
	Response *CreateTopicRuleResponseParams `json:"Response"`
}

func NewCreateTopicRuleResponse

func NewCreateTopicRuleResponse() (response *CreateTopicRuleResponse)

func (*CreateTopicRuleResponse) FromJsonString

func (r *CreateTopicRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateTopicRuleResponse) ToJsonString

func (r *CreateTopicRuleResponse) ToJsonString() string

type CreateTopicRuleResponseParams added in v1.0.426

type CreateTopicRuleResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteCloudStorageEventRequest added in v1.0.888

type DeleteCloudStorageEventRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 事件id
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`

	// 开始时间,unix时间
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间,unix时间
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewDeleteCloudStorageEventRequest added in v1.0.888

func NewDeleteCloudStorageEventRequest() (request *DeleteCloudStorageEventRequest)

func (*DeleteCloudStorageEventRequest) FromJsonString added in v1.0.888

func (r *DeleteCloudStorageEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCloudStorageEventRequest) ToJsonString added in v1.0.888

func (r *DeleteCloudStorageEventRequest) ToJsonString() string

type DeleteCloudStorageEventRequestParams added in v1.0.888

type DeleteCloudStorageEventRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 事件id
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`

	// 开始时间,unix时间
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间,unix时间
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type DeleteCloudStorageEventResponse added in v1.0.888

type DeleteCloudStorageEventResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCloudStorageEventResponseParams `json:"Response"`
}

func NewDeleteCloudStorageEventResponse added in v1.0.888

func NewDeleteCloudStorageEventResponse() (response *DeleteCloudStorageEventResponse)

func (*DeleteCloudStorageEventResponse) FromJsonString added in v1.0.888

func (r *DeleteCloudStorageEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCloudStorageEventResponse) ToJsonString added in v1.0.888

func (r *DeleteCloudStorageEventResponse) ToJsonString() string

type DeleteCloudStorageEventResponseParams added in v1.0.888

type DeleteCloudStorageEventResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDeviceRequest

type DeleteDeviceRequest struct {
	*tchttp.BaseRequest

	// 产品ID。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 是否删除绑定设备
	ForceDelete *bool `json:"ForceDelete,omitnil,omitempty" name:"ForceDelete"`
}

func NewDeleteDeviceRequest

func NewDeleteDeviceRequest() (request *DeleteDeviceRequest)

func (*DeleteDeviceRequest) FromJsonString

func (r *DeleteDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDeviceRequest) ToJsonString

func (r *DeleteDeviceRequest) ToJsonString() string

type DeleteDeviceRequestParams added in v1.0.426

type DeleteDeviceRequestParams struct {
	// 产品ID。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 是否删除绑定设备
	ForceDelete *bool `json:"ForceDelete,omitnil,omitempty" name:"ForceDelete"`
}

Predefined struct for user

type DeleteDeviceResponse

type DeleteDeviceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDeviceResponseParams `json:"Response"`
}

func NewDeleteDeviceResponse

func NewDeleteDeviceResponse() (response *DeleteDeviceResponse)

func (*DeleteDeviceResponse) FromJsonString

func (r *DeleteDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDeviceResponse) ToJsonString

func (r *DeleteDeviceResponse) ToJsonString() string

type DeleteDeviceResponseParams added in v1.0.426

type DeleteDeviceResponseParams struct {
	// 删除的结果代码
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResultCode *string `json:"ResultCode,omitnil,omitempty" name:"ResultCode"`

	// 删除的结果信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResultMessage *string `json:"ResultMessage,omitnil,omitempty" name:"ResultMessage"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDevicesRequest added in v1.0.238

type DeleteDevicesRequest struct {
	*tchttp.BaseRequest

	// 多个设备标识
	DevicesItems []*DevicesItem `json:"DevicesItems,omitnil,omitempty" name:"DevicesItems"`
}

func NewDeleteDevicesRequest added in v1.0.238

func NewDeleteDevicesRequest() (request *DeleteDevicesRequest)

func (*DeleteDevicesRequest) FromJsonString added in v1.0.238

func (r *DeleteDevicesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDevicesRequest) ToJsonString added in v1.0.238

func (r *DeleteDevicesRequest) ToJsonString() string

type DeleteDevicesRequestParams added in v1.0.426

type DeleteDevicesRequestParams struct {
	// 多个设备标识
	DevicesItems []*DevicesItem `json:"DevicesItems,omitnil,omitempty" name:"DevicesItems"`
}

Predefined struct for user

type DeleteDevicesResponse added in v1.0.238

type DeleteDevicesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDevicesResponseParams `json:"Response"`
}

func NewDeleteDevicesResponse added in v1.0.238

func NewDeleteDevicesResponse() (response *DeleteDevicesResponse)

func (*DeleteDevicesResponse) FromJsonString added in v1.0.238

func (r *DeleteDevicesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDevicesResponse) ToJsonString added in v1.0.238

func (r *DeleteDevicesResponse) ToJsonString() string

type DeleteDevicesResponseParams added in v1.0.426

type DeleteDevicesResponseParams struct {
	// 删除的结果代码
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResultCode *string `json:"ResultCode,omitnil,omitempty" name:"ResultCode"`

	// 删除的结果信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResultMessage *string `json:"ResultMessage,omitnil,omitempty" name:"ResultMessage"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteFenceBindRequest added in v1.0.266

type DeleteFenceBindRequest struct {
	*tchttp.BaseRequest

	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 围栏绑定的产品信息
	Items []*FenceBindProductItem `json:"Items,omitnil,omitempty" name:"Items"`
}

func NewDeleteFenceBindRequest added in v1.0.266

func NewDeleteFenceBindRequest() (request *DeleteFenceBindRequest)

func (*DeleteFenceBindRequest) FromJsonString added in v1.0.266

func (r *DeleteFenceBindRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteFenceBindRequest) ToJsonString added in v1.0.266

func (r *DeleteFenceBindRequest) ToJsonString() string

type DeleteFenceBindRequestParams added in v1.0.426

type DeleteFenceBindRequestParams struct {
	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 围栏绑定的产品信息
	Items []*FenceBindProductItem `json:"Items,omitnil,omitempty" name:"Items"`
}

Predefined struct for user

type DeleteFenceBindResponse added in v1.0.266

type DeleteFenceBindResponse struct {
	*tchttp.BaseResponse
	Response *DeleteFenceBindResponseParams `json:"Response"`
}

func NewDeleteFenceBindResponse added in v1.0.266

func NewDeleteFenceBindResponse() (response *DeleteFenceBindResponse)

func (*DeleteFenceBindResponse) FromJsonString added in v1.0.266

func (r *DeleteFenceBindResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteFenceBindResponse) ToJsonString added in v1.0.266

func (r *DeleteFenceBindResponse) ToJsonString() string

type DeleteFenceBindResponseParams added in v1.0.426

type DeleteFenceBindResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteLoRaFrequencyRequest

type DeleteLoRaFrequencyRequest struct {
	*tchttp.BaseRequest

	// 频点唯一ID
	FreqId *string `json:"FreqId,omitnil,omitempty" name:"FreqId"`
}

func NewDeleteLoRaFrequencyRequest

func NewDeleteLoRaFrequencyRequest() (request *DeleteLoRaFrequencyRequest)

func (*DeleteLoRaFrequencyRequest) FromJsonString

func (r *DeleteLoRaFrequencyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLoRaFrequencyRequest) ToJsonString

func (r *DeleteLoRaFrequencyRequest) ToJsonString() string

type DeleteLoRaFrequencyRequestParams added in v1.0.426

type DeleteLoRaFrequencyRequestParams struct {
	// 频点唯一ID
	FreqId *string `json:"FreqId,omitnil,omitempty" name:"FreqId"`
}

Predefined struct for user

type DeleteLoRaFrequencyResponse

type DeleteLoRaFrequencyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLoRaFrequencyResponseParams `json:"Response"`
}

func NewDeleteLoRaFrequencyResponse

func NewDeleteLoRaFrequencyResponse() (response *DeleteLoRaFrequencyResponse)

func (*DeleteLoRaFrequencyResponse) FromJsonString

func (r *DeleteLoRaFrequencyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLoRaFrequencyResponse) ToJsonString

func (r *DeleteLoRaFrequencyResponse) ToJsonString() string

type DeleteLoRaFrequencyResponseParams added in v1.0.426

type DeleteLoRaFrequencyResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteLoRaGatewayRequest

type DeleteLoRaGatewayRequest struct {
	*tchttp.BaseRequest

	// LoRa 网关 Id
	GatewayId *string `json:"GatewayId,omitnil,omitempty" name:"GatewayId"`
}

func NewDeleteLoRaGatewayRequest

func NewDeleteLoRaGatewayRequest() (request *DeleteLoRaGatewayRequest)

func (*DeleteLoRaGatewayRequest) FromJsonString

func (r *DeleteLoRaGatewayRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLoRaGatewayRequest) ToJsonString

func (r *DeleteLoRaGatewayRequest) ToJsonString() string

type DeleteLoRaGatewayRequestParams added in v1.0.426

type DeleteLoRaGatewayRequestParams struct {
	// LoRa 网关 Id
	GatewayId *string `json:"GatewayId,omitnil,omitempty" name:"GatewayId"`
}

Predefined struct for user

type DeleteLoRaGatewayResponse

type DeleteLoRaGatewayResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLoRaGatewayResponseParams `json:"Response"`
}

func NewDeleteLoRaGatewayResponse

func NewDeleteLoRaGatewayResponse() (response *DeleteLoRaGatewayResponse)

func (*DeleteLoRaGatewayResponse) FromJsonString

func (r *DeleteLoRaGatewayResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteLoRaGatewayResponse) ToJsonString

func (r *DeleteLoRaGatewayResponse) ToJsonString() string

type DeleteLoRaGatewayResponseParams added in v1.0.426

type DeleteLoRaGatewayResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePositionFenceRequest added in v1.0.266

type DeletePositionFenceRequest struct {
	*tchttp.BaseRequest

	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`
}

func NewDeletePositionFenceRequest added in v1.0.266

func NewDeletePositionFenceRequest() (request *DeletePositionFenceRequest)

func (*DeletePositionFenceRequest) FromJsonString added in v1.0.266

func (r *DeletePositionFenceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePositionFenceRequest) ToJsonString added in v1.0.266

func (r *DeletePositionFenceRequest) ToJsonString() string

type DeletePositionFenceRequestParams added in v1.0.426

type DeletePositionFenceRequestParams struct {
	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`
}

Predefined struct for user

type DeletePositionFenceResponse added in v1.0.266

type DeletePositionFenceResponse struct {
	*tchttp.BaseResponse
	Response *DeletePositionFenceResponseParams `json:"Response"`
}

func NewDeletePositionFenceResponse added in v1.0.266

func NewDeletePositionFenceResponse() (response *DeletePositionFenceResponse)

func (*DeletePositionFenceResponse) FromJsonString added in v1.0.266

func (r *DeletePositionFenceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePositionFenceResponse) ToJsonString added in v1.0.266

func (r *DeletePositionFenceResponse) ToJsonString() string

type DeletePositionFenceResponseParams added in v1.0.426

type DeletePositionFenceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeletePositionSpaceRequest added in v1.0.266

type DeletePositionSpaceRequest struct {
	*tchttp.BaseRequest

	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`
}

func NewDeletePositionSpaceRequest added in v1.0.266

func NewDeletePositionSpaceRequest() (request *DeletePositionSpaceRequest)

func (*DeletePositionSpaceRequest) FromJsonString added in v1.0.266

func (r *DeletePositionSpaceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePositionSpaceRequest) ToJsonString added in v1.0.266

func (r *DeletePositionSpaceRequest) ToJsonString() string

type DeletePositionSpaceRequestParams added in v1.0.426

type DeletePositionSpaceRequestParams struct {
	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`
}

Predefined struct for user

type DeletePositionSpaceResponse added in v1.0.266

type DeletePositionSpaceResponse struct {
	*tchttp.BaseResponse
	Response *DeletePositionSpaceResponseParams `json:"Response"`
}

func NewDeletePositionSpaceResponse added in v1.0.266

func NewDeletePositionSpaceResponse() (response *DeletePositionSpaceResponse)

func (*DeletePositionSpaceResponse) FromJsonString added in v1.0.266

func (r *DeletePositionSpaceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeletePositionSpaceResponse) ToJsonString added in v1.0.266

func (r *DeletePositionSpaceResponse) ToJsonString() string

type DeletePositionSpaceResponseParams added in v1.0.426

type DeletePositionSpaceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteProjectRequest

type DeleteProjectRequest struct {
	*tchttp.BaseRequest

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func NewDeleteProjectRequest

func NewDeleteProjectRequest() (request *DeleteProjectRequest)

func (*DeleteProjectRequest) FromJsonString

func (r *DeleteProjectRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteProjectRequest) ToJsonString

func (r *DeleteProjectRequest) ToJsonString() string

type DeleteProjectRequestParams added in v1.0.426

type DeleteProjectRequestParams struct {
	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

Predefined struct for user

type DeleteProjectResponse

type DeleteProjectResponse struct {
	*tchttp.BaseResponse
	Response *DeleteProjectResponseParams `json:"Response"`
}

func NewDeleteProjectResponse

func NewDeleteProjectResponse() (response *DeleteProjectResponse)

func (*DeleteProjectResponse) FromJsonString

func (r *DeleteProjectResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteProjectResponse) ToJsonString

func (r *DeleteProjectResponse) ToJsonString() string

type DeleteProjectResponseParams added in v1.0.426

type DeleteProjectResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteStudioProductRequest

type DeleteStudioProductRequest struct {
	*tchttp.BaseRequest

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

func NewDeleteStudioProductRequest

func NewDeleteStudioProductRequest() (request *DeleteStudioProductRequest)

func (*DeleteStudioProductRequest) FromJsonString

func (r *DeleteStudioProductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStudioProductRequest) ToJsonString

func (r *DeleteStudioProductRequest) ToJsonString() string

type DeleteStudioProductRequestParams added in v1.0.426

type DeleteStudioProductRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DeleteStudioProductResponse

type DeleteStudioProductResponse struct {
	*tchttp.BaseResponse
	Response *DeleteStudioProductResponseParams `json:"Response"`
}

func NewDeleteStudioProductResponse

func NewDeleteStudioProductResponse() (response *DeleteStudioProductResponse)

func (*DeleteStudioProductResponse) FromJsonString

func (r *DeleteStudioProductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteStudioProductResponse) ToJsonString

func (r *DeleteStudioProductResponse) ToJsonString() string

type DeleteStudioProductResponseParams added in v1.0.426

type DeleteStudioProductResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteTopicPolicyRequest added in v1.0.269

type DeleteTopicPolicyRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// Topic名称
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}

func NewDeleteTopicPolicyRequest added in v1.0.269

func NewDeleteTopicPolicyRequest() (request *DeleteTopicPolicyRequest)

func (*DeleteTopicPolicyRequest) FromJsonString added in v1.0.269

func (r *DeleteTopicPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTopicPolicyRequest) ToJsonString added in v1.0.269

func (r *DeleteTopicPolicyRequest) ToJsonString() string

type DeleteTopicPolicyRequestParams added in v1.0.426

type DeleteTopicPolicyRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// Topic名称
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}

Predefined struct for user

type DeleteTopicPolicyResponse added in v1.0.269

type DeleteTopicPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTopicPolicyResponseParams `json:"Response"`
}

func NewDeleteTopicPolicyResponse added in v1.0.269

func NewDeleteTopicPolicyResponse() (response *DeleteTopicPolicyResponse)

func (*DeleteTopicPolicyResponse) FromJsonString added in v1.0.269

func (r *DeleteTopicPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTopicPolicyResponse) ToJsonString added in v1.0.269

func (r *DeleteTopicPolicyResponse) ToJsonString() string

type DeleteTopicPolicyResponseParams added in v1.0.426

type DeleteTopicPolicyResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteTopicRuleRequest

type DeleteTopicRuleRequest struct {
	*tchttp.BaseRequest

	// 规则名
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
}

func NewDeleteTopicRuleRequest

func NewDeleteTopicRuleRequest() (request *DeleteTopicRuleRequest)

func (*DeleteTopicRuleRequest) FromJsonString

func (r *DeleteTopicRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTopicRuleRequest) ToJsonString

func (r *DeleteTopicRuleRequest) ToJsonString() string

type DeleteTopicRuleRequestParams added in v1.0.426

type DeleteTopicRuleRequestParams struct {
	// 规则名
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
}

Predefined struct for user

type DeleteTopicRuleResponse

type DeleteTopicRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTopicRuleResponseParams `json:"Response"`
}

func NewDeleteTopicRuleResponse

func NewDeleteTopicRuleResponse() (response *DeleteTopicRuleResponse)

func (*DeleteTopicRuleResponse) FromJsonString

func (r *DeleteTopicRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteTopicRuleResponse) ToJsonString

func (r *DeleteTopicRuleResponse) ToJsonString() string

type DeleteTopicRuleResponseParams added in v1.0.426

type DeleteTopicRuleResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBatchProductionRequest added in v1.0.288

type DescribeBatchProductionRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 量产ID
	BatchProductionId *string `json:"BatchProductionId,omitnil,omitempty" name:"BatchProductionId"`
}

func NewDescribeBatchProductionRequest added in v1.0.288

func NewDescribeBatchProductionRequest() (request *DescribeBatchProductionRequest)

func (*DescribeBatchProductionRequest) FromJsonString added in v1.0.288

func (r *DescribeBatchProductionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBatchProductionRequest) ToJsonString added in v1.0.288

func (r *DescribeBatchProductionRequest) ToJsonString() string

type DescribeBatchProductionRequestParams added in v1.0.426

type DescribeBatchProductionRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 量产ID
	BatchProductionId *string `json:"BatchProductionId,omitnil,omitempty" name:"BatchProductionId"`
}

Predefined struct for user

type DescribeBatchProductionResponse added in v1.0.288

type DescribeBatchProductionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBatchProductionResponseParams `json:"Response"`
}

func NewDescribeBatchProductionResponse added in v1.0.288

func NewDescribeBatchProductionResponse() (response *DescribeBatchProductionResponse)

func (*DescribeBatchProductionResponse) FromJsonString added in v1.0.288

func (r *DescribeBatchProductionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBatchProductionResponse) ToJsonString added in v1.0.288

func (r *DescribeBatchProductionResponse) ToJsonString() string

type DescribeBatchProductionResponseParams added in v1.0.426

type DescribeBatchProductionResponseParams struct {
	// 量产数量。
	BatchCnt *int64 `json:"BatchCnt,omitnil,omitempty" name:"BatchCnt"`

	// 烧录方式。
	BurnMethod *int64 `json:"BurnMethod,omitnil,omitempty" name:"BurnMethod"`

	// 创建时间。
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 下载URL。
	DownloadUrl *string `json:"DownloadUrl,omitnil,omitempty" name:"DownloadUrl"`

	// 生成方式。
	GenerationMethod *int64 `json:"GenerationMethod,omitnil,omitempty" name:"GenerationMethod"`

	// 上传URL。
	UploadUrl *string `json:"UploadUrl,omitnil,omitempty" name:"UploadUrl"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeBindedProductsRequest added in v1.0.328

type DescribeBindedProductsRequest struct {
	*tchttp.BaseRequest

	// 网关产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 分页偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页大小
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 是否跨账号绑定产品
	ProductSource *int64 `json:"ProductSource,omitnil,omitempty" name:"ProductSource"`
}

func NewDescribeBindedProductsRequest added in v1.0.328

func NewDescribeBindedProductsRequest() (request *DescribeBindedProductsRequest)

func (*DescribeBindedProductsRequest) FromJsonString added in v1.0.328

func (r *DescribeBindedProductsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBindedProductsRequest) ToJsonString added in v1.0.328

func (r *DescribeBindedProductsRequest) ToJsonString() string

type DescribeBindedProductsRequestParams added in v1.0.426

type DescribeBindedProductsRequestParams struct {
	// 网关产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 分页偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页大小
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 是否跨账号绑定产品
	ProductSource *int64 `json:"ProductSource,omitnil,omitempty" name:"ProductSource"`
}

Predefined struct for user

type DescribeBindedProductsResponse added in v1.0.328

type DescribeBindedProductsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeBindedProductsResponseParams `json:"Response"`
}

func NewDescribeBindedProductsResponse added in v1.0.328

func NewDescribeBindedProductsResponse() (response *DescribeBindedProductsResponse)

func (*DescribeBindedProductsResponse) FromJsonString added in v1.0.328

func (r *DescribeBindedProductsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeBindedProductsResponse) ToJsonString added in v1.0.328

func (r *DescribeBindedProductsResponse) ToJsonString() string

type DescribeBindedProductsResponseParams added in v1.0.426

type DescribeBindedProductsResponseParams struct {
	// 当前分页的子产品数组
	Products []*BindProductInfo `json:"Products,omitnil,omitempty" name:"Products"`

	// 绑定的子产品总数量
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageAIServiceCallbackRequest added in v1.0.902

type DescribeCloudStorageAIServiceCallbackRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeCloudStorageAIServiceCallbackRequest added in v1.0.902

func NewDescribeCloudStorageAIServiceCallbackRequest() (request *DescribeCloudStorageAIServiceCallbackRequest)

func (*DescribeCloudStorageAIServiceCallbackRequest) FromJsonString added in v1.0.902

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageAIServiceCallbackRequest) ToJsonString added in v1.0.902

type DescribeCloudStorageAIServiceCallbackRequestParams added in v1.0.902

type DescribeCloudStorageAIServiceCallbackRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DescribeCloudStorageAIServiceCallbackResponse added in v1.0.902

type DescribeCloudStorageAIServiceCallbackResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageAIServiceCallbackResponseParams `json:"Response"`
}

func NewDescribeCloudStorageAIServiceCallbackResponse added in v1.0.902

func NewDescribeCloudStorageAIServiceCallbackResponse() (response *DescribeCloudStorageAIServiceCallbackResponse)

func (*DescribeCloudStorageAIServiceCallbackResponse) FromJsonString added in v1.0.902

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageAIServiceCallbackResponse) ToJsonString added in v1.0.902

type DescribeCloudStorageAIServiceCallbackResponseParams added in v1.0.902

type DescribeCloudStorageAIServiceCallbackResponseParams struct {
	// 推送类型。http:HTTP 回调
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// HTTP 回调 URL
	// 注意:此字段可能返回 null,表示取不到有效值。
	CallbackUrl *string `json:"CallbackUrl,omitnil,omitempty" name:"CallbackUrl"`

	// HTTP 回调鉴权 Token
	// 注意:此字段可能返回 null,表示取不到有效值。
	CallbackToken *string `json:"CallbackToken,omitnil,omitempty" name:"CallbackToken"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageAIServiceRequest added in v1.0.902

type DescribeCloudStorageAIServiceRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存 AI 服务类型。可选值:
	//
	// - `PackageDetect`:包裹检测
	// - `Highlight`:视频浓缩
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`
}

func NewDescribeCloudStorageAIServiceRequest added in v1.0.902

func NewDescribeCloudStorageAIServiceRequest() (request *DescribeCloudStorageAIServiceRequest)

func (*DescribeCloudStorageAIServiceRequest) FromJsonString added in v1.0.902

func (r *DescribeCloudStorageAIServiceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageAIServiceRequest) ToJsonString added in v1.0.902

func (r *DescribeCloudStorageAIServiceRequest) ToJsonString() string

type DescribeCloudStorageAIServiceRequestParams added in v1.0.902

type DescribeCloudStorageAIServiceRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存 AI 服务类型。可选值:
	//
	// - `PackageDetect`:包裹检测
	// - `Highlight`:视频浓缩
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`
}

Predefined struct for user

type DescribeCloudStorageAIServiceResponse added in v1.0.902

type DescribeCloudStorageAIServiceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageAIServiceResponseParams `json:"Response"`
}

func NewDescribeCloudStorageAIServiceResponse added in v1.0.902

func NewDescribeCloudStorageAIServiceResponse() (response *DescribeCloudStorageAIServiceResponse)

func (*DescribeCloudStorageAIServiceResponse) FromJsonString added in v1.0.902

func (r *DescribeCloudStorageAIServiceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageAIServiceResponse) ToJsonString added in v1.0.902

type DescribeCloudStorageAIServiceResponseParams added in v1.0.902

type DescribeCloudStorageAIServiceResponseParams struct {
	// 启用状态
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 视频分析区域
	ROI *string `json:"ROI,omitnil,omitempty" name:"ROI"`

	// 云存 AI 服务的配置参数
	Config *string `json:"Config,omitnil,omitempty" name:"Config"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageAIServiceTaskRequest added in v1.0.916

type DescribeCloudStorageAIServiceTaskRequest struct {
	*tchttp.BaseRequest

	// 任务 ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func NewDescribeCloudStorageAIServiceTaskRequest added in v1.0.916

func NewDescribeCloudStorageAIServiceTaskRequest() (request *DescribeCloudStorageAIServiceTaskRequest)

func (*DescribeCloudStorageAIServiceTaskRequest) FromJsonString added in v1.0.916

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageAIServiceTaskRequest) ToJsonString added in v1.0.916

type DescribeCloudStorageAIServiceTaskRequestParams added in v1.0.916

type DescribeCloudStorageAIServiceTaskRequestParams struct {
	// 任务 ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

Predefined struct for user

type DescribeCloudStorageAIServiceTaskResponse added in v1.0.916

type DescribeCloudStorageAIServiceTaskResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageAIServiceTaskResponseParams `json:"Response"`
}

func NewDescribeCloudStorageAIServiceTaskResponse added in v1.0.916

func NewDescribeCloudStorageAIServiceTaskResponse() (response *DescribeCloudStorageAIServiceTaskResponse)

func (*DescribeCloudStorageAIServiceTaskResponse) FromJsonString added in v1.0.916

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageAIServiceTaskResponse) ToJsonString added in v1.0.916

type DescribeCloudStorageAIServiceTaskResponseParams added in v1.0.916

type DescribeCloudStorageAIServiceTaskResponseParams struct {
	// 任务信息
	TaskInfo *CloudStorageAIServiceTask `json:"TaskInfo,omitnil,omitempty" name:"TaskInfo"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageAIServiceTasksRequest added in v1.0.902

type DescribeCloudStorageAIServiceTasksRequest struct {
	*tchttp.BaseRequest

	// 产品 ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存 AI 服务类型。可选值:
	// - `PackageDetect`:包裹检测
	// - `Highlight`:视频浓缩
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// 分页拉取数量
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页拉取偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 任务状态。可选值:
	// - (不传):查询全部状态的任务
	// - `1`:失败
	// - `2`:成功但结果为空
	// - `3`:成功且结果非空
	// - `4`:执行中
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewDescribeCloudStorageAIServiceTasksRequest added in v1.0.902

func NewDescribeCloudStorageAIServiceTasksRequest() (request *DescribeCloudStorageAIServiceTasksRequest)

func (*DescribeCloudStorageAIServiceTasksRequest) FromJsonString added in v1.0.902

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageAIServiceTasksRequest) ToJsonString added in v1.0.902

type DescribeCloudStorageAIServiceTasksRequestParams added in v1.0.902

type DescribeCloudStorageAIServiceTasksRequestParams struct {
	// 产品 ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存 AI 服务类型。可选值:
	// - `PackageDetect`:包裹检测
	// - `Highlight`:视频浓缩
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// 分页拉取数量
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页拉取偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 任务状态。可选值:
	// - (不传):查询全部状态的任务
	// - `1`:失败
	// - `2`:成功但结果为空
	// - `3`:成功且结果非空
	// - `4`:执行中
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type DescribeCloudStorageAIServiceTasksResponse added in v1.0.902

type DescribeCloudStorageAIServiceTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageAIServiceTasksResponseParams `json:"Response"`
}

func NewDescribeCloudStorageAIServiceTasksResponse added in v1.0.902

func NewDescribeCloudStorageAIServiceTasksResponse() (response *DescribeCloudStorageAIServiceTasksResponse)

func (*DescribeCloudStorageAIServiceTasksResponse) FromJsonString added in v1.0.902

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageAIServiceTasksResponse) ToJsonString added in v1.0.902

type DescribeCloudStorageAIServiceTasksResponseParams added in v1.0.902

type DescribeCloudStorageAIServiceTasksResponseParams struct {
	// 任务列表
	Tasks []*CloudStorageAIServiceTask `json:"Tasks,omitnil,omitempty" name:"Tasks"`

	// 任务数量
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageDateRequest added in v1.0.888

type DescribeCloudStorageDateRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewDescribeCloudStorageDateRequest added in v1.0.888

func NewDescribeCloudStorageDateRequest() (request *DescribeCloudStorageDateRequest)

func (*DescribeCloudStorageDateRequest) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageDateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageDateRequest) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageDateRequest) ToJsonString() string

type DescribeCloudStorageDateRequestParams added in v1.0.888

type DescribeCloudStorageDateRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type DescribeCloudStorageDateResponse added in v1.0.888

type DescribeCloudStorageDateResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageDateResponseParams `json:"Response"`
}

func NewDescribeCloudStorageDateResponse added in v1.0.888

func NewDescribeCloudStorageDateResponse() (response *DescribeCloudStorageDateResponse)

func (*DescribeCloudStorageDateResponse) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageDateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageDateResponse) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageDateResponse) ToJsonString() string

type DescribeCloudStorageDateResponseParams added in v1.0.888

type DescribeCloudStorageDateResponseParams struct {
	// 云存日期数组,["2021-01-05","2021-01-06"]
	Data []*string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageEventsRequest added in v1.0.888

type DescribeCloudStorageEventsRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 请求上下文, 用作查询游标
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`

	// 查询数据项目的最大数量, 默认为10。假设传Size=10,返回的实际事件数量为N,则 5 <= N <= 10。
	Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"`

	// 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewDescribeCloudStorageEventsRequest added in v1.0.888

func NewDescribeCloudStorageEventsRequest() (request *DescribeCloudStorageEventsRequest)

func (*DescribeCloudStorageEventsRequest) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageEventsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageEventsRequest) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageEventsRequest) ToJsonString() string

type DescribeCloudStorageEventsRequestParams added in v1.0.888

type DescribeCloudStorageEventsRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 请求上下文, 用作查询游标
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`

	// 查询数据项目的最大数量, 默认为10。假设传Size=10,返回的实际事件数量为N,则 5 <= N <= 10。
	Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"`

	// 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type DescribeCloudStorageEventsResponse added in v1.0.888

type DescribeCloudStorageEventsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageEventsResponseParams `json:"Response"`
}

func NewDescribeCloudStorageEventsResponse added in v1.0.888

func NewDescribeCloudStorageEventsResponse() (response *DescribeCloudStorageEventsResponse)

func (*DescribeCloudStorageEventsResponse) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageEventsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageEventsResponse) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageEventsResponse) ToJsonString() string

type DescribeCloudStorageEventsResponseParams added in v1.0.888

type DescribeCloudStorageEventsResponseParams struct {
	// 云存事件列表
	Events []*CloudStorageEvent `json:"Events,omitnil,omitempty" name:"Events"`

	// 请求上下文, 用作查询游标
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`

	// 拉取结果是否已经结束
	Listover *bool `json:"Listover,omitnil,omitempty" name:"Listover"`

	// 内部结果数量,并不等同于事件总数。
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 视频播放URL
	VideoURL *string `json:"VideoURL,omitnil,omitempty" name:"VideoURL"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageMultiThumbnailRequest added in v1.0.888

type DescribeCloudStorageMultiThumbnailRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 多个缩略图文件名根据 | 分割
	MultiThumbnail *string `json:"MultiThumbnail,omitnil,omitempty" name:"MultiThumbnail"`
}

func NewDescribeCloudStorageMultiThumbnailRequest added in v1.0.888

func NewDescribeCloudStorageMultiThumbnailRequest() (request *DescribeCloudStorageMultiThumbnailRequest)

func (*DescribeCloudStorageMultiThumbnailRequest) FromJsonString added in v1.0.888

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageMultiThumbnailRequest) ToJsonString added in v1.0.888

type DescribeCloudStorageMultiThumbnailRequestParams added in v1.0.888

type DescribeCloudStorageMultiThumbnailRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 多个缩略图文件名根据 | 分割
	MultiThumbnail *string `json:"MultiThumbnail,omitnil,omitempty" name:"MultiThumbnail"`
}

Predefined struct for user

type DescribeCloudStorageMultiThumbnailResponse added in v1.0.888

type DescribeCloudStorageMultiThumbnailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageMultiThumbnailResponseParams `json:"Response"`
}

func NewDescribeCloudStorageMultiThumbnailResponse added in v1.0.888

func NewDescribeCloudStorageMultiThumbnailResponse() (response *DescribeCloudStorageMultiThumbnailResponse)

func (*DescribeCloudStorageMultiThumbnailResponse) FromJsonString added in v1.0.888

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageMultiThumbnailResponse) ToJsonString added in v1.0.888

type DescribeCloudStorageMultiThumbnailResponseParams added in v1.0.888

type DescribeCloudStorageMultiThumbnailResponseParams struct {
	// 缩略图访问地址
	ThumbnailURLInfoList []*ThumbnailURLInfoList `json:"ThumbnailURLInfoList,omitnil,omitempty" name:"ThumbnailURLInfoList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageOrderRequest added in v1.0.888

type DescribeCloudStorageOrderRequest struct {
	*tchttp.BaseRequest

	// 订单id
	OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"`
}

func NewDescribeCloudStorageOrderRequest added in v1.0.888

func NewDescribeCloudStorageOrderRequest() (request *DescribeCloudStorageOrderRequest)

func (*DescribeCloudStorageOrderRequest) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageOrderRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageOrderRequest) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageOrderRequest) ToJsonString() string

type DescribeCloudStorageOrderRequestParams added in v1.0.888

type DescribeCloudStorageOrderRequestParams struct {
	// 订单id
	OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"`
}

Predefined struct for user

type DescribeCloudStorageOrderResponse added in v1.0.888

type DescribeCloudStorageOrderResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageOrderResponseParams `json:"Response"`
}

func NewDescribeCloudStorageOrderResponse added in v1.0.888

func NewDescribeCloudStorageOrderResponse() (response *DescribeCloudStorageOrderResponse)

func (*DescribeCloudStorageOrderResponse) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageOrderResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageOrderResponse) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageOrderResponse) ToJsonString() string

type DescribeCloudStorageOrderResponseParams added in v1.0.888

type DescribeCloudStorageOrderResponseParams struct {
	// 云存套餐开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 云存套餐过期时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 套餐id
	// 注意:此字段可能返回 null,表示取不到有效值。
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// 套餐状态
	// 0:等待生效
	// 1: 已过期
	// 2:生效
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 通道id
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStoragePackageConsumeDetailsRequest added in v1.0.888

type DescribeCloudStoragePackageConsumeDetailsRequest struct {
	*tchttp.BaseRequest

	// 开始日期
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// 结束日期
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`
}

func NewDescribeCloudStoragePackageConsumeDetailsRequest added in v1.0.888

func NewDescribeCloudStoragePackageConsumeDetailsRequest() (request *DescribeCloudStoragePackageConsumeDetailsRequest)

func (*DescribeCloudStoragePackageConsumeDetailsRequest) FromJsonString added in v1.0.888

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStoragePackageConsumeDetailsRequest) ToJsonString added in v1.0.888

type DescribeCloudStoragePackageConsumeDetailsRequestParams added in v1.0.888

type DescribeCloudStoragePackageConsumeDetailsRequestParams struct {
	// 开始日期
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// 结束日期
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`
}

Predefined struct for user

type DescribeCloudStoragePackageConsumeDetailsResponse added in v1.0.888

type DescribeCloudStoragePackageConsumeDetailsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStoragePackageConsumeDetailsResponseParams `json:"Response"`
}

func NewDescribeCloudStoragePackageConsumeDetailsResponse added in v1.0.888

func NewDescribeCloudStoragePackageConsumeDetailsResponse() (response *DescribeCloudStoragePackageConsumeDetailsResponse)

func (*DescribeCloudStoragePackageConsumeDetailsResponse) FromJsonString added in v1.0.888

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStoragePackageConsumeDetailsResponse) ToJsonString added in v1.0.888

type DescribeCloudStoragePackageConsumeDetailsResponseParams added in v1.0.888

type DescribeCloudStoragePackageConsumeDetailsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStoragePackageConsumeStatsRequest added in v1.0.888

type DescribeCloudStoragePackageConsumeStatsRequest struct {
	*tchttp.BaseRequest

	// 开始日期
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// 结束日期,开始与结束日期间隔不可超过一年
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`
}

func NewDescribeCloudStoragePackageConsumeStatsRequest added in v1.0.888

func NewDescribeCloudStoragePackageConsumeStatsRequest() (request *DescribeCloudStoragePackageConsumeStatsRequest)

func (*DescribeCloudStoragePackageConsumeStatsRequest) FromJsonString added in v1.0.888

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStoragePackageConsumeStatsRequest) ToJsonString added in v1.0.888

type DescribeCloudStoragePackageConsumeStatsRequestParams added in v1.0.888

type DescribeCloudStoragePackageConsumeStatsRequestParams struct {
	// 开始日期
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// 结束日期,开始与结束日期间隔不可超过一年
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`
}

Predefined struct for user

type DescribeCloudStoragePackageConsumeStatsResponse added in v1.0.888

type DescribeCloudStoragePackageConsumeStatsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStoragePackageConsumeStatsResponseParams `json:"Response"`
}

func NewDescribeCloudStoragePackageConsumeStatsResponse added in v1.0.888

func NewDescribeCloudStoragePackageConsumeStatsResponse() (response *DescribeCloudStoragePackageConsumeStatsResponse)

func (*DescribeCloudStoragePackageConsumeStatsResponse) FromJsonString added in v1.0.888

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStoragePackageConsumeStatsResponse) ToJsonString added in v1.0.888

type DescribeCloudStoragePackageConsumeStatsResponseParams added in v1.0.888

type DescribeCloudStoragePackageConsumeStatsResponseParams struct {
	// 统计列表详情
	Stats []*PackageConsumeStat `json:"Stats,omitnil,omitempty" name:"Stats"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageRequest added in v1.0.888

type DescribeCloudStorageRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID 非NVR设备不填 NVR设备必填 默认为无
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewDescribeCloudStorageRequest added in v1.0.888

func NewDescribeCloudStorageRequest() (request *DescribeCloudStorageRequest)

func (*DescribeCloudStorageRequest) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageRequest) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageRequest) ToJsonString() string

type DescribeCloudStorageRequestParams added in v1.0.888

type DescribeCloudStorageRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID 非NVR设备不填 NVR设备必填 默认为无
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type DescribeCloudStorageResponse added in v1.0.888

type DescribeCloudStorageResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageResponseParams `json:"Response"`
}

func NewDescribeCloudStorageResponse added in v1.0.888

func NewDescribeCloudStorageResponse() (response *DescribeCloudStorageResponse)

func (*DescribeCloudStorageResponse) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageResponse) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageResponse) ToJsonString() string

type DescribeCloudStorageResponseParams added in v1.0.888

type DescribeCloudStorageResponseParams struct {
	// 云存开启状态,1为开启,0为未开启或已过期
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 云存类型,1为全时云存,2为事件云存
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// 云存套餐过期时间
	ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 云存回看时长
	ShiftDuration *uint64 `json:"ShiftDuration,omitnil,omitempty" name:"ShiftDuration"`

	// 云存用户ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageStreamDataRequest added in v1.0.888

type DescribeCloudStorageStreamDataRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 图片流事件开始时间
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
}

func NewDescribeCloudStorageStreamDataRequest added in v1.0.888

func NewDescribeCloudStorageStreamDataRequest() (request *DescribeCloudStorageStreamDataRequest)

func (*DescribeCloudStorageStreamDataRequest) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageStreamDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageStreamDataRequest) ToJsonString added in v1.0.888

type DescribeCloudStorageStreamDataRequestParams added in v1.0.888

type DescribeCloudStorageStreamDataRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 图片流事件开始时间
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
}

Predefined struct for user

type DescribeCloudStorageStreamDataResponse added in v1.0.888

type DescribeCloudStorageStreamDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageStreamDataResponseParams `json:"Response"`
}

func NewDescribeCloudStorageStreamDataResponse added in v1.0.888

func NewDescribeCloudStorageStreamDataResponse() (response *DescribeCloudStorageStreamDataResponse)

func (*DescribeCloudStorageStreamDataResponse) FromJsonString added in v1.0.888

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageStreamDataResponse) ToJsonString added in v1.0.888

type DescribeCloudStorageStreamDataResponseParams added in v1.0.888

type DescribeCloudStorageStreamDataResponseParams struct {
	// 图片流视频地址
	VideoStream *string `json:"VideoStream,omitnil,omitempty" name:"VideoStream"`

	// 图片流音频地址
	AudioStream *string `json:"AudioStream,omitnil,omitempty" name:"AudioStream"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageThumbnailListRequest added in v1.0.888

type DescribeCloudStorageThumbnailListRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 缩略图文件名列表
	ThumbnailList []*string `json:"ThumbnailList,omitnil,omitempty" name:"ThumbnailList"`
}

func NewDescribeCloudStorageThumbnailListRequest added in v1.0.888

func NewDescribeCloudStorageThumbnailListRequest() (request *DescribeCloudStorageThumbnailListRequest)

func (*DescribeCloudStorageThumbnailListRequest) FromJsonString added in v1.0.888

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageThumbnailListRequest) ToJsonString added in v1.0.888

type DescribeCloudStorageThumbnailListRequestParams added in v1.0.888

type DescribeCloudStorageThumbnailListRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 缩略图文件名列表
	ThumbnailList []*string `json:"ThumbnailList,omitnil,omitempty" name:"ThumbnailList"`
}

Predefined struct for user

type DescribeCloudStorageThumbnailListResponse added in v1.0.888

type DescribeCloudStorageThumbnailListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageThumbnailListResponseParams `json:"Response"`
}

func NewDescribeCloudStorageThumbnailListResponse added in v1.0.888

func NewDescribeCloudStorageThumbnailListResponse() (response *DescribeCloudStorageThumbnailListResponse)

func (*DescribeCloudStorageThumbnailListResponse) FromJsonString added in v1.0.888

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageThumbnailListResponse) ToJsonString added in v1.0.888

type DescribeCloudStorageThumbnailListResponseParams added in v1.0.888

type DescribeCloudStorageThumbnailListResponseParams struct {
	// 缩略图访问地址
	ThumbnailURLInfoList []*ThumbnailURLInfoList `json:"ThumbnailURLInfoList,omitnil,omitempty" name:"ThumbnailURLInfoList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageThumbnailRequest added in v1.0.888

type DescribeCloudStorageThumbnailRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 缩略图文件名
	Thumbnail *string `json:"Thumbnail,omitnil,omitempty" name:"Thumbnail"`
}

func NewDescribeCloudStorageThumbnailRequest added in v1.0.888

func NewDescribeCloudStorageThumbnailRequest() (request *DescribeCloudStorageThumbnailRequest)

func (*DescribeCloudStorageThumbnailRequest) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageThumbnailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageThumbnailRequest) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageThumbnailRequest) ToJsonString() string

type DescribeCloudStorageThumbnailRequestParams added in v1.0.888

type DescribeCloudStorageThumbnailRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 缩略图文件名
	Thumbnail *string `json:"Thumbnail,omitnil,omitempty" name:"Thumbnail"`
}

Predefined struct for user

type DescribeCloudStorageThumbnailResponse added in v1.0.888

type DescribeCloudStorageThumbnailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageThumbnailResponseParams `json:"Response"`
}

func NewDescribeCloudStorageThumbnailResponse added in v1.0.888

func NewDescribeCloudStorageThumbnailResponse() (response *DescribeCloudStorageThumbnailResponse)

func (*DescribeCloudStorageThumbnailResponse) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageThumbnailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageThumbnailResponse) ToJsonString added in v1.0.888

type DescribeCloudStorageThumbnailResponseParams added in v1.0.888

type DescribeCloudStorageThumbnailResponseParams struct {
	// 缩略图访问地址
	ThumbnailURL *string `json:"ThumbnailURL,omitnil,omitempty" name:"ThumbnailURL"`

	// 缩略图访问地址的过期时间
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageTimeRequest added in v1.0.888

type DescribeCloudStorageTimeRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存日期,例如"2020-01-05"
	Date *string `json:"Date,omitnil,omitempty" name:"Date"`

	// 开始时间,unix时间
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间,unix时间
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewDescribeCloudStorageTimeRequest added in v1.0.888

func NewDescribeCloudStorageTimeRequest() (request *DescribeCloudStorageTimeRequest)

func (*DescribeCloudStorageTimeRequest) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageTimeRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageTimeRequest) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageTimeRequest) ToJsonString() string

type DescribeCloudStorageTimeRequestParams added in v1.0.888

type DescribeCloudStorageTimeRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存日期,例如"2020-01-05"
	Date *string `json:"Date,omitnil,omitempty" name:"Date"`

	// 开始时间,unix时间
	StartTime *uint64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间,unix时间
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type DescribeCloudStorageTimeResponse added in v1.0.888

type DescribeCloudStorageTimeResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageTimeResponseParams `json:"Response"`
}

func NewDescribeCloudStorageTimeResponse added in v1.0.888

func NewDescribeCloudStorageTimeResponse() (response *DescribeCloudStorageTimeResponse)

func (*DescribeCloudStorageTimeResponse) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageTimeResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageTimeResponse) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageTimeResponse) ToJsonString() string

type DescribeCloudStorageTimeResponseParams added in v1.0.888

type DescribeCloudStorageTimeResponseParams struct {
	// 接口返回数据
	Data *CloudStorageTimeData `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCloudStorageUsersRequest added in v1.0.888

type DescribeCloudStorageUsersRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 分页拉取数量
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页拉取偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeCloudStorageUsersRequest added in v1.0.888

func NewDescribeCloudStorageUsersRequest() (request *DescribeCloudStorageUsersRequest)

func (*DescribeCloudStorageUsersRequest) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageUsersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageUsersRequest) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageUsersRequest) ToJsonString() string

type DescribeCloudStorageUsersRequestParams added in v1.0.888

type DescribeCloudStorageUsersRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 分页拉取数量
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页拉取偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeCloudStorageUsersResponse added in v1.0.888

type DescribeCloudStorageUsersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCloudStorageUsersResponseParams `json:"Response"`
}

func NewDescribeCloudStorageUsersResponse added in v1.0.888

func NewDescribeCloudStorageUsersResponse() (response *DescribeCloudStorageUsersResponse)

func (*DescribeCloudStorageUsersResponse) FromJsonString added in v1.0.888

func (r *DescribeCloudStorageUsersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCloudStorageUsersResponse) ToJsonString added in v1.0.888

func (r *DescribeCloudStorageUsersResponse) ToJsonString() string

type DescribeCloudStorageUsersResponseParams added in v1.0.888

type DescribeCloudStorageUsersResponseParams struct {
	// 用户总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 用户信息
	Users []*CloudStorageUserInfo `json:"Users,omitnil,omitempty" name:"Users"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceBindGatewayRequest added in v1.0.328

type DescribeDeviceBindGatewayRequest struct {
	*tchttp.BaseRequest

	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

func NewDescribeDeviceBindGatewayRequest added in v1.0.328

func NewDescribeDeviceBindGatewayRequest() (request *DescribeDeviceBindGatewayRequest)

func (*DescribeDeviceBindGatewayRequest) FromJsonString added in v1.0.328

func (r *DescribeDeviceBindGatewayRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceBindGatewayRequest) ToJsonString added in v1.0.328

func (r *DescribeDeviceBindGatewayRequest) ToJsonString() string

type DescribeDeviceBindGatewayRequestParams added in v1.0.426

type DescribeDeviceBindGatewayRequestParams struct {
	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

Predefined struct for user

type DescribeDeviceBindGatewayResponse added in v1.0.328

type DescribeDeviceBindGatewayResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceBindGatewayResponseParams `json:"Response"`
}

func NewDescribeDeviceBindGatewayResponse added in v1.0.328

func NewDescribeDeviceBindGatewayResponse() (response *DescribeDeviceBindGatewayResponse)

func (*DescribeDeviceBindGatewayResponse) FromJsonString added in v1.0.328

func (r *DescribeDeviceBindGatewayResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceBindGatewayResponse) ToJsonString added in v1.0.328

func (r *DescribeDeviceBindGatewayResponse) ToJsonString() string

type DescribeDeviceBindGatewayResponseParams added in v1.0.426

type DescribeDeviceBindGatewayResponseParams struct {
	// 网关产品ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备名
	// 注意:此字段可能返回 null,表示取不到有效值。
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 网关产品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	GatewayName *string `json:"GatewayName,omitnil,omitempty" name:"GatewayName"`

	// 设备对应产品所属的主账号名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	GatewayProductOwnerName *string `json:"GatewayProductOwnerName,omitnil,omitempty" name:"GatewayProductOwnerName"`

	// 设备对应产品所属的主账号 UIN
	// 注意:此字段可能返回 null,表示取不到有效值。
	GatewayProductOwnerUin *string `json:"GatewayProductOwnerUin,omitnil,omitempty" name:"GatewayProductOwnerUin"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceDataHistoryRequest

type DescribeDeviceDataHistoryRequest struct {
	*tchttp.BaseRequest

	// 区间开始时间(Unix 时间戳,毫秒级)
	MinTime *uint64 `json:"MinTime,omitnil,omitempty" name:"MinTime"`

	// 区间结束时间(Unix 时间戳,毫秒级)
	MaxTime *uint64 `json:"MaxTime,omitnil,omitempty" name:"MaxTime"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 属性字段名称,对应数据模板中功能属性的标识符
	FieldName *string `json:"FieldName,omitnil,omitempty" name:"FieldName"`

	// 返回条数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 检索上下文
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`
}

func NewDescribeDeviceDataHistoryRequest

func NewDescribeDeviceDataHistoryRequest() (request *DescribeDeviceDataHistoryRequest)

func (*DescribeDeviceDataHistoryRequest) FromJsonString

func (r *DescribeDeviceDataHistoryRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceDataHistoryRequest) ToJsonString

func (r *DescribeDeviceDataHistoryRequest) ToJsonString() string

type DescribeDeviceDataHistoryRequestParams added in v1.0.426

type DescribeDeviceDataHistoryRequestParams struct {
	// 区间开始时间(Unix 时间戳,毫秒级)
	MinTime *uint64 `json:"MinTime,omitnil,omitempty" name:"MinTime"`

	// 区间结束时间(Unix 时间戳,毫秒级)
	MaxTime *uint64 `json:"MaxTime,omitnil,omitempty" name:"MaxTime"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 属性字段名称,对应数据模板中功能属性的标识符
	FieldName *string `json:"FieldName,omitnil,omitempty" name:"FieldName"`

	// 返回条数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 检索上下文
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`
}

Predefined struct for user

type DescribeDeviceDataHistoryResponse

type DescribeDeviceDataHistoryResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceDataHistoryResponseParams `json:"Response"`
}

func NewDescribeDeviceDataHistoryResponse

func NewDescribeDeviceDataHistoryResponse() (response *DescribeDeviceDataHistoryResponse)

func (*DescribeDeviceDataHistoryResponse) FromJsonString

func (r *DescribeDeviceDataHistoryResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceDataHistoryResponse) ToJsonString

func (r *DescribeDeviceDataHistoryResponse) ToJsonString() string

type DescribeDeviceDataHistoryResponseParams added in v1.0.426

type DescribeDeviceDataHistoryResponseParams struct {
	// 属性字段名称,对应数据模板中功能属性的标识符
	// 注意:此字段可能返回 null,表示取不到有效值。
	FieldName *string `json:"FieldName,omitnil,omitempty" name:"FieldName"`

	// 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Listover *bool `json:"Listover,omitnil,omitempty" name:"Listover"`

	// 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`

	// 历史数据结果数组,返回对应时间点及取值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Results []*DeviceDataHistoryItem `json:"Results,omitnil,omitempty" name:"Results"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceDataRequest

type DescribeDeviceDataRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 设备ID,该字段有值将代替 ProductId/DeviceName
	DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}

func NewDescribeDeviceDataRequest

func NewDescribeDeviceDataRequest() (request *DescribeDeviceDataRequest)

func (*DescribeDeviceDataRequest) FromJsonString

func (r *DescribeDeviceDataRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceDataRequest) ToJsonString

func (r *DescribeDeviceDataRequest) ToJsonString() string

type DescribeDeviceDataRequestParams added in v1.0.426

type DescribeDeviceDataRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 设备ID,该字段有值将代替 ProductId/DeviceName
	DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}

Predefined struct for user

type DescribeDeviceDataResponse

type DescribeDeviceDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceDataResponseParams `json:"Response"`
}

func NewDescribeDeviceDataResponse

func NewDescribeDeviceDataResponse() (response *DescribeDeviceDataResponse)

func (*DescribeDeviceDataResponse) FromJsonString

func (r *DescribeDeviceDataResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceDataResponse) ToJsonString

func (r *DescribeDeviceDataResponse) ToJsonString() string

type DescribeDeviceDataResponseParams added in v1.0.426

type DescribeDeviceDataResponseParams struct {
	// 设备数据
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceFirmWareRequest added in v1.0.862

type DescribeDeviceFirmWareRequest struct {
	*tchttp.BaseRequest

	// 产品ID。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名称。
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

func NewDescribeDeviceFirmWareRequest added in v1.0.862

func NewDescribeDeviceFirmWareRequest() (request *DescribeDeviceFirmWareRequest)

func (*DescribeDeviceFirmWareRequest) FromJsonString added in v1.0.862

func (r *DescribeDeviceFirmWareRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceFirmWareRequest) ToJsonString added in v1.0.862

func (r *DescribeDeviceFirmWareRequest) ToJsonString() string

type DescribeDeviceFirmWareRequestParams added in v1.0.862

type DescribeDeviceFirmWareRequestParams struct {
	// 产品ID。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名称。
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

Predefined struct for user

type DescribeDeviceFirmWareResponse added in v1.0.862

type DescribeDeviceFirmWareResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceFirmWareResponseParams `json:"Response"`
}

func NewDescribeDeviceFirmWareResponse added in v1.0.862

func NewDescribeDeviceFirmWareResponse() (response *DescribeDeviceFirmWareResponse)

func (*DescribeDeviceFirmWareResponse) FromJsonString added in v1.0.862

func (r *DescribeDeviceFirmWareResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceFirmWareResponse) ToJsonString added in v1.0.862

func (r *DescribeDeviceFirmWareResponse) ToJsonString() string

type DescribeDeviceFirmWareResponseParams added in v1.0.862

type DescribeDeviceFirmWareResponseParams struct {
	// 固件信息
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceFirmwaresRequest added in v1.0.909

type DescribeDeviceFirmwaresRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

func NewDescribeDeviceFirmwaresRequest added in v1.0.909

func NewDescribeDeviceFirmwaresRequest() (request *DescribeDeviceFirmwaresRequest)

func (*DescribeDeviceFirmwaresRequest) FromJsonString added in v1.0.909

func (r *DescribeDeviceFirmwaresRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceFirmwaresRequest) ToJsonString added in v1.0.909

func (r *DescribeDeviceFirmwaresRequest) ToJsonString() string

type DescribeDeviceFirmwaresRequestParams added in v1.0.909

type DescribeDeviceFirmwaresRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

Predefined struct for user

type DescribeDeviceFirmwaresResponse added in v1.0.909

type DescribeDeviceFirmwaresResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceFirmwaresResponseParams `json:"Response"`
}

func NewDescribeDeviceFirmwaresResponse added in v1.0.909

func NewDescribeDeviceFirmwaresResponse() (response *DescribeDeviceFirmwaresResponse)

func (*DescribeDeviceFirmwaresResponse) FromJsonString added in v1.0.909

func (r *DescribeDeviceFirmwaresResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceFirmwaresResponse) ToJsonString added in v1.0.909

func (r *DescribeDeviceFirmwaresResponse) ToJsonString() string

type DescribeDeviceFirmwaresResponseParams added in v1.0.909

type DescribeDeviceFirmwaresResponseParams struct {
	// 固件信息列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Firmwares []*DeviceFirmwareInfo `json:"Firmwares,omitnil,omitempty" name:"Firmwares"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceLocationSolveRequest added in v1.0.541

type DescribeDeviceLocationSolveRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 定位解析类型,wifi或GNSSNavigation
	LocationType *string `json:"LocationType,omitnil,omitempty" name:"LocationType"`

	// LoRaEdge卫星导航电文
	GNSSNavigation *string `json:"GNSSNavigation,omitnil,omitempty" name:"GNSSNavigation"`

	// wifi信息
	WiFiInfo []*WifiInfo `json:"WiFiInfo,omitnil,omitempty" name:"WiFiInfo"`
}

func NewDescribeDeviceLocationSolveRequest added in v1.0.541

func NewDescribeDeviceLocationSolveRequest() (request *DescribeDeviceLocationSolveRequest)

func (*DescribeDeviceLocationSolveRequest) FromJsonString added in v1.0.541

func (r *DescribeDeviceLocationSolveRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceLocationSolveRequest) ToJsonString added in v1.0.541

func (r *DescribeDeviceLocationSolveRequest) ToJsonString() string

type DescribeDeviceLocationSolveRequestParams added in v1.0.541

type DescribeDeviceLocationSolveRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 定位解析类型,wifi或GNSSNavigation
	LocationType *string `json:"LocationType,omitnil,omitempty" name:"LocationType"`

	// LoRaEdge卫星导航电文
	GNSSNavigation *string `json:"GNSSNavigation,omitnil,omitempty" name:"GNSSNavigation"`

	// wifi信息
	WiFiInfo []*WifiInfo `json:"WiFiInfo,omitnil,omitempty" name:"WiFiInfo"`
}

Predefined struct for user

type DescribeDeviceLocationSolveResponse added in v1.0.541

type DescribeDeviceLocationSolveResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceLocationSolveResponseParams `json:"Response"`
}

func NewDescribeDeviceLocationSolveResponse added in v1.0.541

func NewDescribeDeviceLocationSolveResponse() (response *DescribeDeviceLocationSolveResponse)

func (*DescribeDeviceLocationSolveResponse) FromJsonString added in v1.0.541

func (r *DescribeDeviceLocationSolveResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceLocationSolveResponse) ToJsonString added in v1.0.541

func (r *DescribeDeviceLocationSolveResponse) ToJsonString() string

type DescribeDeviceLocationSolveResponseParams added in v1.0.541

type DescribeDeviceLocationSolveResponseParams struct {
	// 经度
	Longitude *float64 `json:"Longitude,omitnil,omitempty" name:"Longitude"`

	// 纬度
	Latitude *float64 `json:"Latitude,omitnil,omitempty" name:"Latitude"`

	// 类型
	LocationType *string `json:"LocationType,omitnil,omitempty" name:"LocationType"`

	// 误差精度预估,单位为米
	// 注意:此字段可能返回 null,表示取不到有效值。
	Accuracy *float64 `json:"Accuracy,omitnil,omitempty" name:"Accuracy"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDevicePackagesRequest added in v1.0.888

type DescribeDevicePackagesRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 分页拉取数量
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页拉取偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 用户id
	CSUserId *string `json:"CSUserId,omitnil,omitempty" name:"CSUserId"`

	// 通道id
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewDescribeDevicePackagesRequest added in v1.0.888

func NewDescribeDevicePackagesRequest() (request *DescribeDevicePackagesRequest)

func (*DescribeDevicePackagesRequest) FromJsonString added in v1.0.888

func (r *DescribeDevicePackagesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDevicePackagesRequest) ToJsonString added in v1.0.888

func (r *DescribeDevicePackagesRequest) ToJsonString() string

type DescribeDevicePackagesRequestParams added in v1.0.888

type DescribeDevicePackagesRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 分页拉取数量
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页拉取偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 用户id
	CSUserId *string `json:"CSUserId,omitnil,omitempty" name:"CSUserId"`

	// 通道id
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type DescribeDevicePackagesResponse added in v1.0.888

type DescribeDevicePackagesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDevicePackagesResponseParams `json:"Response"`
}

func NewDescribeDevicePackagesResponse added in v1.0.888

func NewDescribeDevicePackagesResponse() (response *DescribeDevicePackagesResponse)

func (*DescribeDevicePackagesResponse) FromJsonString added in v1.0.888

func (r *DescribeDevicePackagesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDevicePackagesResponse) ToJsonString added in v1.0.888

func (r *DescribeDevicePackagesResponse) ToJsonString() string

type DescribeDevicePackagesResponseParams added in v1.0.888

type DescribeDevicePackagesResponseParams struct {
	// 有效云存套餐数量
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 有效云存套餐列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Packages []*PackageInfo `json:"Packages,omitnil,omitempty" name:"Packages"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDevicePositionListRequest added in v1.0.266

type DescribeDevicePositionListRequest struct {
	*tchttp.BaseRequest

	// 产品标识列表
	ProductIdList []*string `json:"ProductIdList,omitnil,omitempty" name:"ProductIdList"`

	// 坐标类型
	CoordinateType *int64 `json:"CoordinateType,omitnil,omitempty" name:"CoordinateType"`

	// 分页偏移
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的大小
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeDevicePositionListRequest added in v1.0.266

func NewDescribeDevicePositionListRequest() (request *DescribeDevicePositionListRequest)

func (*DescribeDevicePositionListRequest) FromJsonString added in v1.0.266

func (r *DescribeDevicePositionListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDevicePositionListRequest) ToJsonString added in v1.0.266

func (r *DescribeDevicePositionListRequest) ToJsonString() string

type DescribeDevicePositionListRequestParams added in v1.0.426

type DescribeDevicePositionListRequestParams struct {
	// 产品标识列表
	ProductIdList []*string `json:"ProductIdList,omitnil,omitempty" name:"ProductIdList"`

	// 坐标类型
	CoordinateType *int64 `json:"CoordinateType,omitnil,omitempty" name:"CoordinateType"`

	// 分页偏移
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的大小
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeDevicePositionListResponse added in v1.0.266

type DescribeDevicePositionListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDevicePositionListResponseParams `json:"Response"`
}

func NewDescribeDevicePositionListResponse added in v1.0.266

func NewDescribeDevicePositionListResponse() (response *DescribeDevicePositionListResponse)

func (*DescribeDevicePositionListResponse) FromJsonString added in v1.0.266

func (r *DescribeDevicePositionListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDevicePositionListResponse) ToJsonString added in v1.0.266

func (r *DescribeDevicePositionListResponse) ToJsonString() string

type DescribeDevicePositionListResponseParams added in v1.0.426

type DescribeDevicePositionListResponseParams struct {
	// 产品设备位置信息列表
	Positions []*ProductDevicesPositionItem `json:"Positions,omitnil,omitempty" name:"Positions"`

	// 产品设备位置信息的数目
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceRequest

type DescribeDeviceRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 设备ID,该字段有值将代替 ProductId/DeviceName
	DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}

func NewDescribeDeviceRequest

func NewDescribeDeviceRequest() (request *DescribeDeviceRequest)

func (*DescribeDeviceRequest) FromJsonString

func (r *DescribeDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceRequest) ToJsonString

func (r *DescribeDeviceRequest) ToJsonString() string

type DescribeDeviceRequestParams added in v1.0.426

type DescribeDeviceRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 设备ID,该字段有值将代替 ProductId/DeviceName
	DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}

Predefined struct for user

type DescribeDeviceResponse

type DescribeDeviceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceResponseParams `json:"Response"`
}

func NewDescribeDeviceResponse

func NewDescribeDeviceResponse() (response *DescribeDeviceResponse)

func (*DescribeDeviceResponse) FromJsonString

func (r *DescribeDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceResponse) ToJsonString

func (r *DescribeDeviceResponse) ToJsonString() string

type DescribeDeviceResponseParams added in v1.0.426

type DescribeDeviceResponseParams struct {
	// 设备信息
	Device *DeviceInfo `json:"Device,omitnil,omitempty" name:"Device"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeFenceBindListRequest added in v1.0.266

type DescribeFenceBindListRequest struct {
	*tchttp.BaseRequest

	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 翻页偏移量,0起始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大返回结果数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeFenceBindListRequest added in v1.0.266

func NewDescribeFenceBindListRequest() (request *DescribeFenceBindListRequest)

func (*DescribeFenceBindListRequest) FromJsonString added in v1.0.266

func (r *DescribeFenceBindListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFenceBindListRequest) ToJsonString added in v1.0.266

func (r *DescribeFenceBindListRequest) ToJsonString() string

type DescribeFenceBindListRequestParams added in v1.0.426

type DescribeFenceBindListRequestParams struct {
	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 翻页偏移量,0起始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大返回结果数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeFenceBindListResponse added in v1.0.266

type DescribeFenceBindListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeFenceBindListResponseParams `json:"Response"`
}

func NewDescribeFenceBindListResponse added in v1.0.266

func NewDescribeFenceBindListResponse() (response *DescribeFenceBindListResponse)

func (*DescribeFenceBindListResponse) FromJsonString added in v1.0.266

func (r *DescribeFenceBindListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFenceBindListResponse) ToJsonString added in v1.0.266

func (r *DescribeFenceBindListResponse) ToJsonString() string

type DescribeFenceBindListResponseParams added in v1.0.426

type DescribeFenceBindListResponseParams struct {
	// 围栏绑定的产品设备列表
	List []*FenceBindProductItem `json:"List,omitnil,omitempty" name:"List"`

	// 围栏绑定的设备总数
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeFenceEventListRequest added in v1.0.266

type DescribeFenceEventListRequest struct {
	*tchttp.BaseRequest

	// 围栏告警信息的查询起始时间,Unix时间,单位为毫秒
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 围栏告警信息的查询结束时间,Unix时间,单位为毫秒
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 翻页偏移量,0起始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大返回结果数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 告警对应的产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 告警对应的设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

func NewDescribeFenceEventListRequest added in v1.0.266

func NewDescribeFenceEventListRequest() (request *DescribeFenceEventListRequest)

func (*DescribeFenceEventListRequest) FromJsonString added in v1.0.266

func (r *DescribeFenceEventListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFenceEventListRequest) ToJsonString added in v1.0.266

func (r *DescribeFenceEventListRequest) ToJsonString() string

type DescribeFenceEventListRequestParams added in v1.0.426

type DescribeFenceEventListRequestParams struct {
	// 围栏告警信息的查询起始时间,Unix时间,单位为毫秒
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 围栏告警信息的查询结束时间,Unix时间,单位为毫秒
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 翻页偏移量,0起始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大返回结果数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 告警对应的产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 告警对应的设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

Predefined struct for user

type DescribeFenceEventListResponse added in v1.0.266

type DescribeFenceEventListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeFenceEventListResponseParams `json:"Response"`
}

func NewDescribeFenceEventListResponse added in v1.0.266

func NewDescribeFenceEventListResponse() (response *DescribeFenceEventListResponse)

func (*DescribeFenceEventListResponse) FromJsonString added in v1.0.266

func (r *DescribeFenceEventListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFenceEventListResponse) ToJsonString added in v1.0.266

func (r *DescribeFenceEventListResponse) ToJsonString() string

type DescribeFenceEventListResponseParams added in v1.0.426

type DescribeFenceEventListResponseParams struct {
	// 围栏告警事件列表
	List []*FenceEventItem `json:"List,omitnil,omitempty" name:"List"`

	// 围栏告警事件总数
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeFirmwareTaskRequest

type DescribeFirmwareTaskRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"`

	// 固件版本号
	FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"`

	// 固件任务ID
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func NewDescribeFirmwareTaskRequest

func NewDescribeFirmwareTaskRequest() (request *DescribeFirmwareTaskRequest)

func (*DescribeFirmwareTaskRequest) FromJsonString

func (r *DescribeFirmwareTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFirmwareTaskRequest) ToJsonString

func (r *DescribeFirmwareTaskRequest) ToJsonString() string

type DescribeFirmwareTaskRequestParams added in v1.0.426

type DescribeFirmwareTaskRequestParams struct {
	// 产品ID
	ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"`

	// 固件版本号
	FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"`

	// 固件任务ID
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

Predefined struct for user

type DescribeFirmwareTaskResponse

type DescribeFirmwareTaskResponse struct {
	*tchttp.BaseResponse
	Response *DescribeFirmwareTaskResponseParams `json:"Response"`
}

func NewDescribeFirmwareTaskResponse

func NewDescribeFirmwareTaskResponse() (response *DescribeFirmwareTaskResponse)

func (*DescribeFirmwareTaskResponse) FromJsonString

func (r *DescribeFirmwareTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeFirmwareTaskResponse) ToJsonString

func (r *DescribeFirmwareTaskResponse) ToJsonString() string

type DescribeFirmwareTaskResponseParams added in v1.0.426

type DescribeFirmwareTaskResponseParams struct {
	// 固件任务ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	TaskId *uint64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// 固件任务状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 固件任务创建时间,单位:秒
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 固件任务升级类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`

	// 产品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 固件任务升级模式。originalVersion(按版本号升级)、filename(提交文件升级)、devicenames(按设备名称升级)
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpgradeMode *string `json:"UpgradeMode,omitnil,omitempty" name:"UpgradeMode"`

	// 产品ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 原始固件版本号,在UpgradeMode是originalVersion升级模式下会返回
	// 注意:此字段可能返回 null,表示取不到有效值。
	OriginalVersion *string `json:"OriginalVersion,omitnil,omitempty" name:"OriginalVersion"`

	// 创建账号ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateUserId *uint64 `json:"CreateUserId,omitnil,omitempty" name:"CreateUserId"`

	// 创建账号ID昵称
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatorNickName *string `json:"CreatorNickName,omitnil,omitempty" name:"CreatorNickName"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeGatewayBindDevicesRequest added in v1.0.328

type DescribeGatewayBindDevicesRequest struct {
	*tchttp.BaseRequest

	// 网关设备的产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备的设备名
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 子产品的ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 分页的偏移
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的页大小
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeGatewayBindDevicesRequest added in v1.0.328

func NewDescribeGatewayBindDevicesRequest() (request *DescribeGatewayBindDevicesRequest)

func (*DescribeGatewayBindDevicesRequest) FromJsonString added in v1.0.328

func (r *DescribeGatewayBindDevicesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGatewayBindDevicesRequest) ToJsonString added in v1.0.328

func (r *DescribeGatewayBindDevicesRequest) ToJsonString() string

type DescribeGatewayBindDevicesRequestParams added in v1.0.426

type DescribeGatewayBindDevicesRequestParams struct {
	// 网关设备的产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备的设备名
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 子产品的ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 分页的偏移
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的页大小
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeGatewayBindDevicesResponse added in v1.0.328

type DescribeGatewayBindDevicesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGatewayBindDevicesResponseParams `json:"Response"`
}

func NewDescribeGatewayBindDevicesResponse added in v1.0.328

func NewDescribeGatewayBindDevicesResponse() (response *DescribeGatewayBindDevicesResponse)

func (*DescribeGatewayBindDevicesResponse) FromJsonString added in v1.0.328

func (r *DescribeGatewayBindDevicesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGatewayBindDevicesResponse) ToJsonString added in v1.0.328

func (r *DescribeGatewayBindDevicesResponse) ToJsonString() string

type DescribeGatewayBindDevicesResponseParams added in v1.0.426

type DescribeGatewayBindDevicesResponseParams struct {
	// 子设备信息。
	Devices []*BindDeviceInfo `json:"Devices,omitnil,omitempty" name:"Devices"`

	// 子设备总数。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 子设备所属的产品名。
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeGatewaySubDeviceListRequest added in v1.0.344

type DescribeGatewaySubDeviceListRequest struct {
	*tchttp.BaseRequest

	// 网关产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备名称
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 分页偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的大小
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeGatewaySubDeviceListRequest added in v1.0.344

func NewDescribeGatewaySubDeviceListRequest() (request *DescribeGatewaySubDeviceListRequest)

func (*DescribeGatewaySubDeviceListRequest) FromJsonString added in v1.0.344

func (r *DescribeGatewaySubDeviceListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGatewaySubDeviceListRequest) ToJsonString added in v1.0.344

func (r *DescribeGatewaySubDeviceListRequest) ToJsonString() string

type DescribeGatewaySubDeviceListRequestParams added in v1.0.426

type DescribeGatewaySubDeviceListRequestParams struct {
	// 网关产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备名称
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 分页偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的大小
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeGatewaySubDeviceListResponse added in v1.0.344

type DescribeGatewaySubDeviceListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGatewaySubDeviceListResponseParams `json:"Response"`
}

func NewDescribeGatewaySubDeviceListResponse added in v1.0.344

func NewDescribeGatewaySubDeviceListResponse() (response *DescribeGatewaySubDeviceListResponse)

func (*DescribeGatewaySubDeviceListResponse) FromJsonString added in v1.0.344

func (r *DescribeGatewaySubDeviceListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGatewaySubDeviceListResponse) ToJsonString added in v1.0.344

func (r *DescribeGatewaySubDeviceListResponse) ToJsonString() string

type DescribeGatewaySubDeviceListResponseParams added in v1.0.426

type DescribeGatewaySubDeviceListResponseParams struct {
	// 设备的总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 设备列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceList []*FamilySubDevice `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeGatewaySubProductsRequest added in v1.0.328

type DescribeGatewaySubProductsRequest struct {
	*tchttp.BaseRequest

	// 网关产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 分页的偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的大小
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 项目Id
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 是否跨账号产品
	ProductSource *int64 `json:"ProductSource,omitnil,omitempty" name:"ProductSource"`
}

func NewDescribeGatewaySubProductsRequest added in v1.0.328

func NewDescribeGatewaySubProductsRequest() (request *DescribeGatewaySubProductsRequest)

func (*DescribeGatewaySubProductsRequest) FromJsonString added in v1.0.328

func (r *DescribeGatewaySubProductsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGatewaySubProductsRequest) ToJsonString added in v1.0.328

func (r *DescribeGatewaySubProductsRequest) ToJsonString() string

type DescribeGatewaySubProductsRequestParams added in v1.0.426

type DescribeGatewaySubProductsRequestParams struct {
	// 网关产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 分页的偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的大小
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 项目Id
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 是否跨账号产品
	ProductSource *int64 `json:"ProductSource,omitnil,omitempty" name:"ProductSource"`
}

Predefined struct for user

type DescribeGatewaySubProductsResponse added in v1.0.328

type DescribeGatewaySubProductsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeGatewaySubProductsResponseParams `json:"Response"`
}

func NewDescribeGatewaySubProductsResponse added in v1.0.328

func NewDescribeGatewaySubProductsResponse() (response *DescribeGatewaySubProductsResponse)

func (*DescribeGatewaySubProductsResponse) FromJsonString added in v1.0.328

func (r *DescribeGatewaySubProductsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeGatewaySubProductsResponse) ToJsonString added in v1.0.328

func (r *DescribeGatewaySubProductsResponse) ToJsonString() string

type DescribeGatewaySubProductsResponseParams added in v1.0.426

type DescribeGatewaySubProductsResponseParams struct {
	// 当前分页的可绑定或解绑的产品信息。
	Products []*BindProductInfo `json:"Products,omitnil,omitempty" name:"Products"`

	// 可绑定或解绑的产品总数
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceRequest added in v1.0.728

type DescribeInstanceRequest struct {
	*tchttp.BaseRequest

	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 附加查询返回包含字段值,不传返回0,有效值 ProductNum、ProjectNum、UsedDeviceNum、TotalDevice、ActivateDevice
	Include []*string `json:"Include,omitnil,omitempty" name:"Include"`

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 产品ID,-1 代表全部产品
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

func NewDescribeInstanceRequest added in v1.0.728

func NewDescribeInstanceRequest() (request *DescribeInstanceRequest)

func (*DescribeInstanceRequest) FromJsonString added in v1.0.728

func (r *DescribeInstanceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceRequest) ToJsonString added in v1.0.728

func (r *DescribeInstanceRequest) ToJsonString() string

type DescribeInstanceRequestParams added in v1.0.728

type DescribeInstanceRequestParams struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 附加查询返回包含字段值,不传返回0,有效值 ProductNum、ProjectNum、UsedDeviceNum、TotalDevice、ActivateDevice
	Include []*string `json:"Include,omitnil,omitempty" name:"Include"`

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 产品ID,-1 代表全部产品
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DescribeInstanceResponse added in v1.0.728

type DescribeInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceResponseParams `json:"Response"`
}

func NewDescribeInstanceResponse added in v1.0.728

func NewDescribeInstanceResponse() (response *DescribeInstanceResponse)

func (*DescribeInstanceResponse) FromJsonString added in v1.0.728

func (r *DescribeInstanceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstanceResponse) ToJsonString added in v1.0.728

func (r *DescribeInstanceResponse) ToJsonString() string

type DescribeInstanceResponseParams added in v1.0.728

type DescribeInstanceResponseParams struct {
	// 实例信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *InstanceDetail `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeLoRaFrequencyRequest

type DescribeLoRaFrequencyRequest struct {
	*tchttp.BaseRequest

	// 频点唯一ID
	FreqId *string `json:"FreqId,omitnil,omitempty" name:"FreqId"`
}

func NewDescribeLoRaFrequencyRequest

func NewDescribeLoRaFrequencyRequest() (request *DescribeLoRaFrequencyRequest)

func (*DescribeLoRaFrequencyRequest) FromJsonString

func (r *DescribeLoRaFrequencyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLoRaFrequencyRequest) ToJsonString

func (r *DescribeLoRaFrequencyRequest) ToJsonString() string

type DescribeLoRaFrequencyRequestParams added in v1.0.426

type DescribeLoRaFrequencyRequestParams struct {
	// 频点唯一ID
	FreqId *string `json:"FreqId,omitnil,omitempty" name:"FreqId"`
}

Predefined struct for user

type DescribeLoRaFrequencyResponse

type DescribeLoRaFrequencyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoRaFrequencyResponseParams `json:"Response"`
}

func NewDescribeLoRaFrequencyResponse

func NewDescribeLoRaFrequencyResponse() (response *DescribeLoRaFrequencyResponse)

func (*DescribeLoRaFrequencyResponse) FromJsonString

func (r *DescribeLoRaFrequencyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLoRaFrequencyResponse) ToJsonString

func (r *DescribeLoRaFrequencyResponse) ToJsonString() string

type DescribeLoRaFrequencyResponseParams added in v1.0.426

type DescribeLoRaFrequencyResponseParams struct {
	// 返回详情项
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *LoRaFrequencyEntry `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeModelDefinitionRequest

type DescribeModelDefinitionRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeModelDefinitionRequest

func NewDescribeModelDefinitionRequest() (request *DescribeModelDefinitionRequest)

func (*DescribeModelDefinitionRequest) FromJsonString

func (r *DescribeModelDefinitionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeModelDefinitionRequest) ToJsonString

func (r *DescribeModelDefinitionRequest) ToJsonString() string

type DescribeModelDefinitionRequestParams added in v1.0.426

type DescribeModelDefinitionRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DescribeModelDefinitionResponse

type DescribeModelDefinitionResponse struct {
	*tchttp.BaseResponse
	Response *DescribeModelDefinitionResponseParams `json:"Response"`
}

func NewDescribeModelDefinitionResponse

func NewDescribeModelDefinitionResponse() (response *DescribeModelDefinitionResponse)

func (*DescribeModelDefinitionResponse) FromJsonString

func (r *DescribeModelDefinitionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeModelDefinitionResponse) ToJsonString

func (r *DescribeModelDefinitionResponse) ToJsonString() string

type DescribeModelDefinitionResponseParams added in v1.0.426

type DescribeModelDefinitionResponseParams struct {
	// 产品数据模板
	Model *ProductModelDefinition `json:"Model,omitnil,omitempty" name:"Model"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePackageConsumeTaskRequest added in v1.0.888

type DescribePackageConsumeTaskRequest struct {
	*tchttp.BaseRequest

	// 任务id
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

func NewDescribePackageConsumeTaskRequest added in v1.0.888

func NewDescribePackageConsumeTaskRequest() (request *DescribePackageConsumeTaskRequest)

func (*DescribePackageConsumeTaskRequest) FromJsonString added in v1.0.888

func (r *DescribePackageConsumeTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePackageConsumeTaskRequest) ToJsonString added in v1.0.888

func (r *DescribePackageConsumeTaskRequest) ToJsonString() string

type DescribePackageConsumeTaskRequestParams added in v1.0.888

type DescribePackageConsumeTaskRequestParams struct {
	// 任务id
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`
}

Predefined struct for user

type DescribePackageConsumeTaskResponse added in v1.0.888

type DescribePackageConsumeTaskResponse struct {
	*tchttp.BaseResponse
	Response *DescribePackageConsumeTaskResponseParams `json:"Response"`
}

func NewDescribePackageConsumeTaskResponse added in v1.0.888

func NewDescribePackageConsumeTaskResponse() (response *DescribePackageConsumeTaskResponse)

func (*DescribePackageConsumeTaskResponse) FromJsonString added in v1.0.888

func (r *DescribePackageConsumeTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePackageConsumeTaskResponse) ToJsonString added in v1.0.888

func (r *DescribePackageConsumeTaskResponse) ToJsonString() string

type DescribePackageConsumeTaskResponseParams added in v1.0.888

type DescribePackageConsumeTaskResponseParams struct {
	// 文件下载的url,文件详情是�套餐包消耗详情
	URL *string `json:"URL,omitnil,omitempty" name:"URL"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePackageConsumeTasksRequest added in v1.0.888

type DescribePackageConsumeTasksRequest struct {
	*tchttp.BaseRequest

	// 分页单页量
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页的偏移量,第一页为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribePackageConsumeTasksRequest added in v1.0.888

func NewDescribePackageConsumeTasksRequest() (request *DescribePackageConsumeTasksRequest)

func (*DescribePackageConsumeTasksRequest) FromJsonString added in v1.0.888

func (r *DescribePackageConsumeTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePackageConsumeTasksRequest) ToJsonString added in v1.0.888

func (r *DescribePackageConsumeTasksRequest) ToJsonString() string

type DescribePackageConsumeTasksRequestParams added in v1.0.888

type DescribePackageConsumeTasksRequestParams struct {
	// 分页单页量
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页的偏移量,第一页为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribePackageConsumeTasksResponse added in v1.0.888

type DescribePackageConsumeTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribePackageConsumeTasksResponseParams `json:"Response"`
}

func NewDescribePackageConsumeTasksResponse added in v1.0.888

func NewDescribePackageConsumeTasksResponse() (response *DescribePackageConsumeTasksResponse)

func (*DescribePackageConsumeTasksResponse) FromJsonString added in v1.0.888

func (r *DescribePackageConsumeTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePackageConsumeTasksResponse) ToJsonString added in v1.0.888

func (r *DescribePackageConsumeTasksResponse) ToJsonString() string

type DescribePackageConsumeTasksResponseParams added in v1.0.888

type DescribePackageConsumeTasksResponseParams struct {
	// 总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 任务列表
	List []*PackageConsumeTask `json:"List,omitnil,omitempty" name:"List"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePositionFenceListRequest added in v1.0.266

type DescribePositionFenceListRequest struct {
	*tchttp.BaseRequest

	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 翻页偏移量,0起始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大返回结果数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribePositionFenceListRequest added in v1.0.266

func NewDescribePositionFenceListRequest() (request *DescribePositionFenceListRequest)

func (*DescribePositionFenceListRequest) FromJsonString added in v1.0.266

func (r *DescribePositionFenceListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePositionFenceListRequest) ToJsonString added in v1.0.266

func (r *DescribePositionFenceListRequest) ToJsonString() string

type DescribePositionFenceListRequestParams added in v1.0.426

type DescribePositionFenceListRequestParams struct {
	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 翻页偏移量,0起始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大返回结果数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribePositionFenceListResponse added in v1.0.266

type DescribePositionFenceListResponse struct {
	*tchttp.BaseResponse
	Response *DescribePositionFenceListResponseParams `json:"Response"`
}

func NewDescribePositionFenceListResponse added in v1.0.266

func NewDescribePositionFenceListResponse() (response *DescribePositionFenceListResponse)

func (*DescribePositionFenceListResponse) FromJsonString added in v1.0.266

func (r *DescribePositionFenceListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePositionFenceListResponse) ToJsonString added in v1.0.266

func (r *DescribePositionFenceListResponse) ToJsonString() string

type DescribePositionFenceListResponseParams added in v1.0.426

type DescribePositionFenceListResponseParams struct {
	// 围栏列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	List []*PositionFenceInfo `json:"List,omitnil,omitempty" name:"List"`

	// 围栏数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProductCloudStorageAIServiceRequest added in v1.0.902

type DescribeProductCloudStorageAIServiceRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeProductCloudStorageAIServiceRequest added in v1.0.902

func NewDescribeProductCloudStorageAIServiceRequest() (request *DescribeProductCloudStorageAIServiceRequest)

func (*DescribeProductCloudStorageAIServiceRequest) FromJsonString added in v1.0.902

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductCloudStorageAIServiceRequest) ToJsonString added in v1.0.902

type DescribeProductCloudStorageAIServiceRequestParams added in v1.0.902

type DescribeProductCloudStorageAIServiceRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DescribeProductCloudStorageAIServiceResponse added in v1.0.902

type DescribeProductCloudStorageAIServiceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProductCloudStorageAIServiceResponseParams `json:"Response"`
}

func NewDescribeProductCloudStorageAIServiceResponse added in v1.0.902

func NewDescribeProductCloudStorageAIServiceResponse() (response *DescribeProductCloudStorageAIServiceResponse)

func (*DescribeProductCloudStorageAIServiceResponse) FromJsonString added in v1.0.902

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProductCloudStorageAIServiceResponse) ToJsonString added in v1.0.902

type DescribeProductCloudStorageAIServiceResponseParams added in v1.0.902

type DescribeProductCloudStorageAIServiceResponseParams struct {
	// 开通状态
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 当前账号是否可开通
	Available *bool `json:"Available,omitnil,omitempty" name:"Available"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeProjectRequest

type DescribeProjectRequest struct {
	*tchttp.BaseRequest

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func NewDescribeProjectRequest

func NewDescribeProjectRequest() (request *DescribeProjectRequest)

func (*DescribeProjectRequest) FromJsonString

func (r *DescribeProjectRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProjectRequest) ToJsonString

func (r *DescribeProjectRequest) ToJsonString() string

type DescribeProjectRequestParams added in v1.0.426

type DescribeProjectRequestParams struct {
	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

Predefined struct for user

type DescribeProjectResponse

type DescribeProjectResponse struct {
	*tchttp.BaseResponse
	Response *DescribeProjectResponseParams `json:"Response"`
}

func NewDescribeProjectResponse

func NewDescribeProjectResponse() (response *DescribeProjectResponse)

func (*DescribeProjectResponse) FromJsonString

func (r *DescribeProjectResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeProjectResponse) ToJsonString

func (r *DescribeProjectResponse) ToJsonString() string

type DescribeProjectResponseParams added in v1.0.426

type DescribeProjectResponseParams struct {
	// 返回信息
	Project *ProjectEntryEx `json:"Project,omitnil,omitempty" name:"Project"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSpaceFenceEventListRequest added in v1.0.266

type DescribeSpaceFenceEventListRequest struct {
	*tchttp.BaseRequest

	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 围栏告警信息的查询起始时间,Unix时间,单位为毫秒
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 围栏告警信息的查询结束时间,Unix时间,单位为毫秒
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 翻页偏移量,0起始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大返回结果数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeSpaceFenceEventListRequest added in v1.0.266

func NewDescribeSpaceFenceEventListRequest() (request *DescribeSpaceFenceEventListRequest)

func (*DescribeSpaceFenceEventListRequest) FromJsonString added in v1.0.266

func (r *DescribeSpaceFenceEventListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSpaceFenceEventListRequest) ToJsonString added in v1.0.266

func (r *DescribeSpaceFenceEventListRequest) ToJsonString() string

type DescribeSpaceFenceEventListRequestParams added in v1.0.426

type DescribeSpaceFenceEventListRequestParams struct {
	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 围栏告警信息的查询起始时间,Unix时间,单位为毫秒
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 围栏告警信息的查询结束时间,Unix时间,单位为毫秒
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 翻页偏移量,0起始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大返回结果数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeSpaceFenceEventListResponse added in v1.0.266

type DescribeSpaceFenceEventListResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSpaceFenceEventListResponseParams `json:"Response"`
}

func NewDescribeSpaceFenceEventListResponse added in v1.0.266

func NewDescribeSpaceFenceEventListResponse() (response *DescribeSpaceFenceEventListResponse)

func (*DescribeSpaceFenceEventListResponse) FromJsonString added in v1.0.266

func (r *DescribeSpaceFenceEventListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSpaceFenceEventListResponse) ToJsonString added in v1.0.266

func (r *DescribeSpaceFenceEventListResponse) ToJsonString() string

type DescribeSpaceFenceEventListResponseParams added in v1.0.426

type DescribeSpaceFenceEventListResponseParams struct {
	// 围栏告警事件列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	List []*FenceEventItem `json:"List,omitnil,omitempty" name:"List"`

	// 围栏告警事件总数
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeStudioProductRequest

type DescribeStudioProductRequest struct {
	*tchttp.BaseRequest

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

func NewDescribeStudioProductRequest

func NewDescribeStudioProductRequest() (request *DescribeStudioProductRequest)

func (*DescribeStudioProductRequest) FromJsonString

func (r *DescribeStudioProductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStudioProductRequest) ToJsonString

func (r *DescribeStudioProductRequest) ToJsonString() string

type DescribeStudioProductRequestParams added in v1.0.426

type DescribeStudioProductRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type DescribeStudioProductResponse

type DescribeStudioProductResponse struct {
	*tchttp.BaseResponse
	Response *DescribeStudioProductResponseParams `json:"Response"`
}

func NewDescribeStudioProductResponse

func NewDescribeStudioProductResponse() (response *DescribeStudioProductResponse)

func (*DescribeStudioProductResponse) FromJsonString

func (r *DescribeStudioProductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeStudioProductResponse) ToJsonString

func (r *DescribeStudioProductResponse) ToJsonString() string

type DescribeStudioProductResponseParams added in v1.0.426

type DescribeStudioProductResponseParams struct {
	// 产品详情
	Product *ProductEntry `json:"Product,omitnil,omitempty" name:"Product"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTopicPolicyRequest added in v1.0.269

type DescribeTopicPolicyRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// Topic名字
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}

func NewDescribeTopicPolicyRequest added in v1.0.269

func NewDescribeTopicPolicyRequest() (request *DescribeTopicPolicyRequest)

func (*DescribeTopicPolicyRequest) FromJsonString added in v1.0.269

func (r *DescribeTopicPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTopicPolicyRequest) ToJsonString added in v1.0.269

func (r *DescribeTopicPolicyRequest) ToJsonString() string

type DescribeTopicPolicyRequestParams added in v1.0.426

type DescribeTopicPolicyRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// Topic名字
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`
}

Predefined struct for user

type DescribeTopicPolicyResponse added in v1.0.269

type DescribeTopicPolicyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTopicPolicyResponseParams `json:"Response"`
}

func NewDescribeTopicPolicyResponse added in v1.0.269

func NewDescribeTopicPolicyResponse() (response *DescribeTopicPolicyResponse)

func (*DescribeTopicPolicyResponse) FromJsonString added in v1.0.269

func (r *DescribeTopicPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTopicPolicyResponse) ToJsonString added in v1.0.269

func (r *DescribeTopicPolicyResponse) ToJsonString() string

type DescribeTopicPolicyResponseParams added in v1.0.426

type DescribeTopicPolicyResponseParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// Topic名称
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Topic权限
	Privilege *uint64 `json:"Privilege,omitnil,omitempty" name:"Privilege"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTopicRuleRequest

type DescribeTopicRuleRequest struct {
	*tchttp.BaseRequest

	// 规则名称。
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
}

func NewDescribeTopicRuleRequest

func NewDescribeTopicRuleRequest() (request *DescribeTopicRuleRequest)

func (*DescribeTopicRuleRequest) FromJsonString

func (r *DescribeTopicRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTopicRuleRequest) ToJsonString

func (r *DescribeTopicRuleRequest) ToJsonString() string

type DescribeTopicRuleRequestParams added in v1.0.426

type DescribeTopicRuleRequestParams struct {
	// 规则名称。
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
}

Predefined struct for user

type DescribeTopicRuleResponse

type DescribeTopicRuleResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTopicRuleResponseParams `json:"Response"`
}

func NewDescribeTopicRuleResponse

func NewDescribeTopicRuleResponse() (response *DescribeTopicRuleResponse)

func (*DescribeTopicRuleResponse) FromJsonString

func (r *DescribeTopicRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeTopicRuleResponse) ToJsonString

func (r *DescribeTopicRuleResponse) ToJsonString() string

type DescribeTopicRuleResponseParams added in v1.0.426

type DescribeTopicRuleResponseParams struct {
	// 规则描述。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Rule *TopicRule `json:"Rule,omitnil,omitempty" name:"Rule"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeviceData

type DeviceData struct {
	// 设备证书,用于 TLS 建立链接时校验客户端身份。采用非对称加密时返回该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceCert *string `json:"DeviceCert,omitnil,omitempty" name:"DeviceCert"`

	// 设备名称。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 设备私钥,用于 TLS 建立链接时校验客户端身份,腾讯云后台不保存,请妥善保管。采用非对称加密时返回该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DevicePrivateKey *string `json:"DevicePrivateKey,omitnil,omitempty" name:"DevicePrivateKey"`

	// 对称加密密钥,base64编码。采用对称加密时返回该参数。
	// 注意:此字段可能返回 null,表示取不到有效值。
	DevicePsk *string `json:"DevicePsk,omitnil,omitempty" name:"DevicePsk"`
}

type DeviceDataHistoryItem

type DeviceDataHistoryItem struct {
	// 时间点,毫秒时间戳
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// 字段取值
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type DeviceFirmwareInfo added in v1.0.909

type DeviceFirmwareInfo struct {
	// 固件类型
	FwType *string `json:"FwType,omitnil,omitempty" name:"FwType"`

	// 固件版本
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// 最后更新时间
	UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type DeviceInfo

type DeviceInfo struct {
	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 0: 离线, 1: 在线, 2: 获取失败, 3 未激活
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 设备密钥,密钥加密的设备返回
	DevicePsk *string `json:"DevicePsk,omitnil,omitempty" name:"DevicePsk"`

	// 首次上线时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	// 注意:此字段可能返回 null,表示取不到有效值。
	FirstOnlineTime *int64 `json:"FirstOnlineTime,omitnil,omitempty" name:"FirstOnlineTime"`

	// 最后一次上线时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	LoginTime *int64 `json:"LoginTime,omitnil,omitempty" name:"LoginTime"`

	// 设备创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 设备固件版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// 设备证书
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceCert *string `json:"DeviceCert,omitnil,omitempty" name:"DeviceCert"`

	// 日志级别
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogLevel *int64 `json:"LogLevel,omitnil,omitempty" name:"LogLevel"`

	// LoRaWAN 设备地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	DevAddr *string `json:"DevAddr,omitnil,omitempty" name:"DevAddr"`

	// LoRaWAN 应用密钥
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppKey *string `json:"AppKey,omitnil,omitempty" name:"AppKey"`

	// LoRaWAN 设备唯一标识
	// 注意:此字段可能返回 null,表示取不到有效值。
	DevEUI *string `json:"DevEUI,omitnil,omitempty" name:"DevEUI"`

	// LoRaWAN 应用会话密钥
	// 注意:此字段可能返回 null,表示取不到有效值。
	AppSKey *string `json:"AppSKey,omitnil,omitempty" name:"AppSKey"`

	// LoRaWAN 网络会话密钥
	// 注意:此字段可能返回 null,表示取不到有效值。
	NwkSKey *string `json:"NwkSKey,omitnil,omitempty" name:"NwkSKey"`

	// 创建人Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateUserId *int64 `json:"CreateUserId,omitnil,omitempty" name:"CreateUserId"`

	// 创建人昵称
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatorNickName *string `json:"CreatorNickName,omitnil,omitempty" name:"CreatorNickName"`

	// 启用/禁用状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	EnableState *int64 `json:"EnableState,omitnil,omitempty" name:"EnableState"`

	// 产品ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 产品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 设备类型(设备、子设备、网关)
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceType *string `json:"DeviceType,omitnil,omitempty" name:"DeviceType"`

	// 是否是 lora 设备
	// 注意:此字段可能返回 null,表示取不到有效值。
	IsLora *bool `json:"IsLora,omitnil,omitempty" name:"IsLora"`
}

type DevicePositionItem added in v1.0.271

type DevicePositionItem struct {
	// 设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 位置信息时间
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 设备经度信息
	Longitude *float64 `json:"Longitude,omitnil,omitempty" name:"Longitude"`

	// 设备纬度信息
	Latitude *float64 `json:"Latitude,omitnil,omitempty" name:"Latitude"`
}

type DeviceSignatureInfo added in v1.0.306

type DeviceSignatureInfo struct {
	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 设备签名
	DeviceSignature *string `json:"DeviceSignature,omitnil,omitempty" name:"DeviceSignature"`
}

type DeviceUser added in v1.0.310

type DeviceUser struct {
	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 用户角色 1所有者,0:其他分享者
	Role *int64 `json:"Role,omitnil,omitempty" name:"Role"`

	// 家庭ID,所有者带该参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	FamilyId *string `json:"FamilyId,omitnil,omitempty" name:"FamilyId"`

	// 家庭名称,所有者带该参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	FamilyName *string `json:"FamilyName,omitnil,omitempty" name:"FamilyName"`
}

type DevicesItem added in v1.0.238

type DevicesItem struct {
	// 产品id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

type DirectBindDeviceInFamilyRequest added in v1.0.242

type DirectBindDeviceInFamilyRequest struct {
	*tchttp.BaseRequest

	// 小程序appid
	IotAppID *string `json:"IotAppID,omitnil,omitempty" name:"IotAppID"`

	// 用户ID
	UserID *string `json:"UserID,omitnil,omitempty" name:"UserID"`

	// 家庭ID
	FamilyId *string `json:"FamilyId,omitnil,omitempty" name:"FamilyId"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 房间ID
	RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"`
}

func NewDirectBindDeviceInFamilyRequest added in v1.0.242

func NewDirectBindDeviceInFamilyRequest() (request *DirectBindDeviceInFamilyRequest)

func (*DirectBindDeviceInFamilyRequest) FromJsonString added in v1.0.242

func (r *DirectBindDeviceInFamilyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DirectBindDeviceInFamilyRequest) ToJsonString added in v1.0.242

func (r *DirectBindDeviceInFamilyRequest) ToJsonString() string

type DirectBindDeviceInFamilyRequestParams added in v1.0.426

type DirectBindDeviceInFamilyRequestParams struct {
	// 小程序appid
	IotAppID *string `json:"IotAppID,omitnil,omitempty" name:"IotAppID"`

	// 用户ID
	UserID *string `json:"UserID,omitnil,omitempty" name:"UserID"`

	// 家庭ID
	FamilyId *string `json:"FamilyId,omitnil,omitempty" name:"FamilyId"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 房间ID
	RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"`
}

Predefined struct for user

type DirectBindDeviceInFamilyResponse added in v1.0.242

type DirectBindDeviceInFamilyResponse struct {
	*tchttp.BaseResponse
	Response *DirectBindDeviceInFamilyResponseParams `json:"Response"`
}

func NewDirectBindDeviceInFamilyResponse added in v1.0.242

func NewDirectBindDeviceInFamilyResponse() (response *DirectBindDeviceInFamilyResponse)

func (*DirectBindDeviceInFamilyResponse) FromJsonString added in v1.0.242

func (r *DirectBindDeviceInFamilyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DirectBindDeviceInFamilyResponse) ToJsonString added in v1.0.242

func (r *DirectBindDeviceInFamilyResponse) ToJsonString() string

type DirectBindDeviceInFamilyResponseParams added in v1.0.426

type DirectBindDeviceInFamilyResponseParams struct {
	// 返回设备信息
	AppDeviceInfo *AppDeviceInfo `json:"AppDeviceInfo,omitnil,omitempty" name:"AppDeviceInfo"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableTopicRuleRequest

type DisableTopicRuleRequest struct {
	*tchttp.BaseRequest

	// 规则名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
}

func NewDisableTopicRuleRequest

func NewDisableTopicRuleRequest() (request *DisableTopicRuleRequest)

func (*DisableTopicRuleRequest) FromJsonString

func (r *DisableTopicRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableTopicRuleRequest) ToJsonString

func (r *DisableTopicRuleRequest) ToJsonString() string

type DisableTopicRuleRequestParams added in v1.0.426

type DisableTopicRuleRequestParams struct {
	// 规则名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
}

Predefined struct for user

type DisableTopicRuleResponse

type DisableTopicRuleResponse struct {
	*tchttp.BaseResponse
	Response *DisableTopicRuleResponseParams `json:"Response"`
}

func NewDisableTopicRuleResponse

func NewDisableTopicRuleResponse() (response *DisableTopicRuleResponse)

func (*DisableTopicRuleResponse) FromJsonString

func (r *DisableTopicRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableTopicRuleResponse) ToJsonString

func (r *DisableTopicRuleResponse) ToJsonString() string

type DisableTopicRuleResponseParams added in v1.0.426

type DisableTopicRuleResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DismissRoomByStrRoomIdFromTRTCRequest added in v1.0.916

type DismissRoomByStrRoomIdFromTRTCRequest struct {
	*tchttp.BaseRequest

	// 房间id
	RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"`
}

func NewDismissRoomByStrRoomIdFromTRTCRequest added in v1.0.916

func NewDismissRoomByStrRoomIdFromTRTCRequest() (request *DismissRoomByStrRoomIdFromTRTCRequest)

func (*DismissRoomByStrRoomIdFromTRTCRequest) FromJsonString added in v1.0.916

func (r *DismissRoomByStrRoomIdFromTRTCRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DismissRoomByStrRoomIdFromTRTCRequest) ToJsonString added in v1.0.916

type DismissRoomByStrRoomIdFromTRTCRequestParams added in v1.0.916

type DismissRoomByStrRoomIdFromTRTCRequestParams struct {
	// 房间id
	RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"`
}

Predefined struct for user

type DismissRoomByStrRoomIdFromTRTCResponse added in v1.0.916

type DismissRoomByStrRoomIdFromTRTCResponse struct {
	*tchttp.BaseResponse
	Response *DismissRoomByStrRoomIdFromTRTCResponseParams `json:"Response"`
}

func NewDismissRoomByStrRoomIdFromTRTCResponse added in v1.0.916

func NewDismissRoomByStrRoomIdFromTRTCResponse() (response *DismissRoomByStrRoomIdFromTRTCResponse)

func (*DismissRoomByStrRoomIdFromTRTCResponse) FromJsonString added in v1.0.916

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DismissRoomByStrRoomIdFromTRTCResponse) ToJsonString added in v1.0.916

type DismissRoomByStrRoomIdFromTRTCResponseParams added in v1.0.916

type DismissRoomByStrRoomIdFromTRTCResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableTopicRuleRequest

type EnableTopicRuleRequest struct {
	*tchttp.BaseRequest

	// 规则名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
}

func NewEnableTopicRuleRequest

func NewEnableTopicRuleRequest() (request *EnableTopicRuleRequest)

func (*EnableTopicRuleRequest) FromJsonString

func (r *EnableTopicRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableTopicRuleRequest) ToJsonString

func (r *EnableTopicRuleRequest) ToJsonString() string

type EnableTopicRuleRequestParams added in v1.0.426

type EnableTopicRuleRequestParams struct {
	// 规则名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
}

Predefined struct for user

type EnableTopicRuleResponse

type EnableTopicRuleResponse struct {
	*tchttp.BaseResponse
	Response *EnableTopicRuleResponseParams `json:"Response"`
}

func NewEnableTopicRuleResponse

func NewEnableTopicRuleResponse() (response *EnableTopicRuleResponse)

func (*EnableTopicRuleResponse) FromJsonString

func (r *EnableTopicRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableTopicRuleResponse) ToJsonString

func (r *EnableTopicRuleResponse) ToJsonString() string

type EnableTopicRuleResponseParams added in v1.0.426

type EnableTopicRuleResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EventHistoryItem

type EventHistoryItem struct {
	// 事件的时间戳
	// 注意:此字段可能返回 null,表示取不到有效值。
	TimeStamp *int64 `json:"TimeStamp,omitnil,omitempty" name:"TimeStamp"`

	// 事件的产品ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 事件的设备名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 事件的标识符ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`

	// 事件的类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 事件的数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`
}

type FamilySubDevice added in v1.0.328

type FamilySubDevice struct {
	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

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

	// 设备别名
	// 注意:此字段可能返回 null,表示取不到有效值。
	AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"`

	// 设备绑定的家庭ID
	FamilyId *string `json:"FamilyId,omitnil,omitempty" name:"FamilyId"`

	// 设备所在的房间ID,默认"0"
	// 注意:此字段可能返回 null,表示取不到有效值。
	RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"`

	// 图标
	// 注意:此字段可能返回 null,表示取不到有效值。
	IconUrl *string `json:"IconUrl,omitnil,omitempty" name:"IconUrl"`

	// grid图标
	// 注意:此字段可能返回 null,表示取不到有效值。
	IconUrlGrid *string `json:"IconUrlGrid,omitnil,omitempty" name:"IconUrlGrid"`

	// 设备绑定时间戳
	CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 设备更新时间戳
	UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type FenceAlarmPoint added in v1.0.266

type FenceAlarmPoint struct {
	// 围栏告警时间
	AlarmTime *int64 `json:"AlarmTime,omitnil,omitempty" name:"AlarmTime"`

	// 围栏告警位置的经度
	Longitude *float64 `json:"Longitude,omitnil,omitempty" name:"Longitude"`

	// 围栏告警位置的纬度
	Latitude *float64 `json:"Latitude,omitnil,omitempty" name:"Latitude"`
}

type FenceBindDeviceItem added in v1.0.266

type FenceBindDeviceItem struct {
	// 设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 告警条件(In,进围栏报警;Out,出围栏报警;InOrOut,进围栏或者出围栏均报警)
	AlertCondition *string `json:"AlertCondition,omitnil,omitempty" name:"AlertCondition"`

	// 是否使能围栏(true,使能;false,禁用)
	FenceEnable *bool `json:"FenceEnable,omitnil,omitempty" name:"FenceEnable"`

	// 告警处理方法
	Method *string `json:"Method,omitnil,omitempty" name:"Method"`
}

type FenceBindProductItem added in v1.0.266

type FenceBindProductItem struct {
	// 围栏绑定的设备信息
	Devices []*FenceBindDeviceItem `json:"Devices,omitnil,omitempty" name:"Devices"`

	// 围栏绑定的产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

type FenceEventItem added in v1.0.266

type FenceEventItem struct {
	// 围栏事件的产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 围栏事件的设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 围栏事件的告警类型(In,进围栏报警;Out,出围栏报警;InOrOut,进围栏或者出围栏均报警)
	AlertType *string `json:"AlertType,omitnil,omitempty" name:"AlertType"`

	// 围栏事件的设备位置信息
	Data *FenceAlarmPoint `json:"Data,omitnil,omitempty" name:"Data"`
}

type FirmwareInfo

type FirmwareInfo struct {
	// 固件版本
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// 固件MD5值
	Md5sum *string `json:"Md5sum,omitnil,omitempty" name:"Md5sum"`

	// 固件创建时间
	CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 产品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 固件名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 固件描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 产品ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 固件升级模块
	// 注意:此字段可能返回 null,表示取不到有效值。
	FwType *string `json:"FwType,omitnil,omitempty" name:"FwType"`

	// 创建者子 uin
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateUserId *int64 `json:"CreateUserId,omitnil,omitempty" name:"CreateUserId"`

	// 创建者昵称
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatorNickName *string `json:"CreatorNickName,omitnil,omitempty" name:"CreatorNickName"`
}

type GenSingleDeviceSignatureOfPublicRequest added in v1.0.306

type GenSingleDeviceSignatureOfPublicRequest struct {
	*tchttp.BaseRequest

	// 设备所属的产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 需要绑定的设备
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 设备绑定签名的有效时间,以秒为单位。取值范围:0 < Expire <= 86400,Expire == -1(十年)
	Expire *int64 `json:"Expire,omitnil,omitempty" name:"Expire"`
}

func NewGenSingleDeviceSignatureOfPublicRequest added in v1.0.306

func NewGenSingleDeviceSignatureOfPublicRequest() (request *GenSingleDeviceSignatureOfPublicRequest)

func (*GenSingleDeviceSignatureOfPublicRequest) FromJsonString added in v1.0.306

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GenSingleDeviceSignatureOfPublicRequest) ToJsonString added in v1.0.306

type GenSingleDeviceSignatureOfPublicRequestParams added in v1.0.426

type GenSingleDeviceSignatureOfPublicRequestParams struct {
	// 设备所属的产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 需要绑定的设备
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 设备绑定签名的有效时间,以秒为单位。取值范围:0 < Expire <= 86400,Expire == -1(十年)
	Expire *int64 `json:"Expire,omitnil,omitempty" name:"Expire"`
}

Predefined struct for user

type GenSingleDeviceSignatureOfPublicResponse added in v1.0.306

type GenSingleDeviceSignatureOfPublicResponse struct {
	*tchttp.BaseResponse
	Response *GenSingleDeviceSignatureOfPublicResponseParams `json:"Response"`
}

func NewGenSingleDeviceSignatureOfPublicResponse added in v1.0.306

func NewGenSingleDeviceSignatureOfPublicResponse() (response *GenSingleDeviceSignatureOfPublicResponse)

func (*GenSingleDeviceSignatureOfPublicResponse) FromJsonString added in v1.0.306

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GenSingleDeviceSignatureOfPublicResponse) ToJsonString added in v1.0.306

type GenSingleDeviceSignatureOfPublicResponseParams added in v1.0.426

type GenSingleDeviceSignatureOfPublicResponseParams struct {
	// 设备签名
	DeviceSignature *DeviceSignatureInfo `json:"DeviceSignature,omitnil,omitempty" name:"DeviceSignature"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GenerateCloudStorageAIServiceTaskFileURLRequest added in v1.0.916

type GenerateCloudStorageAIServiceTaskFileURLRequest struct {
	*tchttp.BaseRequest

	// 产品 ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// 文件名
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 过期时间 UNIX 时间戳(默认值为当前时间 1 小时后)
	ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
}

func NewGenerateCloudStorageAIServiceTaskFileURLRequest added in v1.0.916

func NewGenerateCloudStorageAIServiceTaskFileURLRequest() (request *GenerateCloudStorageAIServiceTaskFileURLRequest)

func (*GenerateCloudStorageAIServiceTaskFileURLRequest) FromJsonString added in v1.0.916

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GenerateCloudStorageAIServiceTaskFileURLRequest) ToJsonString added in v1.0.916

type GenerateCloudStorageAIServiceTaskFileURLRequestParams added in v1.0.916

type GenerateCloudStorageAIServiceTaskFileURLRequestParams struct {
	// 产品 ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// 文件名
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 过期时间 UNIX 时间戳(默认值为当前时间 1 小时后)
	ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
}

Predefined struct for user

type GenerateCloudStorageAIServiceTaskFileURLResponse added in v1.0.916

type GenerateCloudStorageAIServiceTaskFileURLResponse struct {
	*tchttp.BaseResponse
	Response *GenerateCloudStorageAIServiceTaskFileURLResponseParams `json:"Response"`
}

func NewGenerateCloudStorageAIServiceTaskFileURLResponse added in v1.0.916

func NewGenerateCloudStorageAIServiceTaskFileURLResponse() (response *GenerateCloudStorageAIServiceTaskFileURLResponse)

func (*GenerateCloudStorageAIServiceTaskFileURLResponse) FromJsonString added in v1.0.916

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GenerateCloudStorageAIServiceTaskFileURLResponse) ToJsonString added in v1.0.916

type GenerateCloudStorageAIServiceTaskFileURLResponseParams added in v1.0.916

type GenerateCloudStorageAIServiceTaskFileURLResponseParams struct {
	// 文件下载 URL
	FileURL *string `json:"FileURL,omitnil,omitempty" name:"FileURL"`

	// 过期时间 UNIX 时间戳
	ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GenerateSignedVideoURLRequest added in v1.0.888

type GenerateSignedVideoURLRequest struct {
	*tchttp.BaseRequest

	// 视频播放原始URL地址
	VideoURL *string `json:"VideoURL,omitnil,omitempty" name:"VideoURL"`

	// 播放链接过期时间
	ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 通道ID 非NVR设备不填 NVR设备必填 默认为无
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewGenerateSignedVideoURLRequest added in v1.0.888

func NewGenerateSignedVideoURLRequest() (request *GenerateSignedVideoURLRequest)

func (*GenerateSignedVideoURLRequest) FromJsonString added in v1.0.888

func (r *GenerateSignedVideoURLRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GenerateSignedVideoURLRequest) ToJsonString added in v1.0.888

func (r *GenerateSignedVideoURLRequest) ToJsonString() string

type GenerateSignedVideoURLRequestParams added in v1.0.888

type GenerateSignedVideoURLRequestParams struct {
	// 视频播放原始URL地址
	VideoURL *string `json:"VideoURL,omitnil,omitempty" name:"VideoURL"`

	// 播放链接过期时间
	ExpireTime *uint64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 通道ID 非NVR设备不填 NVR设备必填 默认为无
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type GenerateSignedVideoURLResponse added in v1.0.888

type GenerateSignedVideoURLResponse struct {
	*tchttp.BaseResponse
	Response *GenerateSignedVideoURLResponseParams `json:"Response"`
}

func NewGenerateSignedVideoURLResponse added in v1.0.888

func NewGenerateSignedVideoURLResponse() (response *GenerateSignedVideoURLResponse)

func (*GenerateSignedVideoURLResponse) FromJsonString added in v1.0.888

func (r *GenerateSignedVideoURLResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GenerateSignedVideoURLResponse) ToJsonString added in v1.0.888

func (r *GenerateSignedVideoURLResponse) ToJsonString() string

type GenerateSignedVideoURLResponseParams added in v1.0.888

type GenerateSignedVideoURLResponseParams struct {
	// 视频防盗链播放URL
	SignedVideoURL *string `json:"SignedVideoURL,omitnil,omitempty" name:"SignedVideoURL"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetAuthMiniProgramAppListRequest added in v1.0.929

type GetAuthMiniProgramAppListRequest struct {
	*tchttp.BaseRequest

	// appId
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// 页码
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页大小
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewGetAuthMiniProgramAppListRequest added in v1.0.929

func NewGetAuthMiniProgramAppListRequest() (request *GetAuthMiniProgramAppListRequest)

func (*GetAuthMiniProgramAppListRequest) FromJsonString added in v1.0.929

func (r *GetAuthMiniProgramAppListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAuthMiniProgramAppListRequest) ToJsonString added in v1.0.929

func (r *GetAuthMiniProgramAppListRequest) ToJsonString() string

type GetAuthMiniProgramAppListRequestParams added in v1.0.929

type GetAuthMiniProgramAppListRequestParams struct {
	// appId
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// 页码
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页大小
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type GetAuthMiniProgramAppListResponse added in v1.0.929

type GetAuthMiniProgramAppListResponse struct {
	*tchttp.BaseResponse
	Response *GetAuthMiniProgramAppListResponseParams `json:"Response"`
}

func NewGetAuthMiniProgramAppListResponse added in v1.0.929

func NewGetAuthMiniProgramAppListResponse() (response *GetAuthMiniProgramAppListResponse)

func (*GetAuthMiniProgramAppListResponse) FromJsonString added in v1.0.929

func (r *GetAuthMiniProgramAppListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetAuthMiniProgramAppListResponse) ToJsonString added in v1.0.929

func (r *GetAuthMiniProgramAppListResponse) ToJsonString() string

type GetAuthMiniProgramAppListResponseParams added in v1.0.929

type GetAuthMiniProgramAppListResponseParams struct {
	// 小程序列表
	MiniProgramList []*AuthMiniProgramAppInfo `json:"MiniProgramList,omitnil,omitempty" name:"MiniProgramList"`

	// 总数
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetBatchProductionsListRequest added in v1.0.288

type GetBatchProductionsListRequest struct {
	*tchttp.BaseRequest

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量限制
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewGetBatchProductionsListRequest added in v1.0.288

func NewGetBatchProductionsListRequest() (request *GetBatchProductionsListRequest)

func (*GetBatchProductionsListRequest) FromJsonString added in v1.0.288

func (r *GetBatchProductionsListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetBatchProductionsListRequest) ToJsonString added in v1.0.288

func (r *GetBatchProductionsListRequest) ToJsonString() string

type GetBatchProductionsListRequestParams added in v1.0.426

type GetBatchProductionsListRequestParams struct {
	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量限制
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type GetBatchProductionsListResponse added in v1.0.288

type GetBatchProductionsListResponse struct {
	*tchttp.BaseResponse
	Response *GetBatchProductionsListResponseParams `json:"Response"`
}

func NewGetBatchProductionsListResponse added in v1.0.288

func NewGetBatchProductionsListResponse() (response *GetBatchProductionsListResponse)

func (*GetBatchProductionsListResponse) FromJsonString added in v1.0.288

func (r *GetBatchProductionsListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetBatchProductionsListResponse) ToJsonString added in v1.0.288

func (r *GetBatchProductionsListResponse) ToJsonString() string

type GetBatchProductionsListResponseParams added in v1.0.426

type GetBatchProductionsListResponseParams struct {
	// 返回详情信息。
	// 注意:此字段可能返回 null,表示取不到有效值。
	BatchProductions []*BatchProductionInfo `json:"BatchProductions,omitnil,omitempty" name:"BatchProductions"`

	// 返回数量。
	TotalCnt *int64 `json:"TotalCnt,omitnil,omitempty" name:"TotalCnt"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetCOSURLRequest

type GetCOSURLRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"`

	// 固件版本
	FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"`

	// 文件大小
	FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`
}

func NewGetCOSURLRequest

func NewGetCOSURLRequest() (request *GetCOSURLRequest)

func (*GetCOSURLRequest) FromJsonString

func (r *GetCOSURLRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetCOSURLRequest) ToJsonString

func (r *GetCOSURLRequest) ToJsonString() string

type GetCOSURLRequestParams added in v1.0.426

type GetCOSURLRequestParams struct {
	// 产品ID
	ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"`

	// 固件版本
	FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"`

	// 文件大小
	FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`
}

Predefined struct for user

type GetCOSURLResponse

type GetCOSURLResponse struct {
	*tchttp.BaseResponse
	Response *GetCOSURLResponseParams `json:"Response"`
}

func NewGetCOSURLResponse

func NewGetCOSURLResponse() (response *GetCOSURLResponse)

func (*GetCOSURLResponse) FromJsonString

func (r *GetCOSURLResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetCOSURLResponse) ToJsonString

func (r *GetCOSURLResponse) ToJsonString() string

type GetCOSURLResponseParams added in v1.0.426

type GetCOSURLResponseParams struct {
	// 固件URL
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetDeviceListRequest

type GetDeviceListRequest struct {
	*tchttp.BaseRequest

	// 需要查看设备列表的产品ID, -1代表ProjectId来筛选
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 分页偏移
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的大小,数值范围 10-100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 设备固件版本号,若不带此参数会返回所有固件版本的设备。传"None-FirmwareVersion"查询无版本号的设备
	FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"`

	// 需要过滤的设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 项目ID。产品 ID 为 -1 时,该参数必填
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

func NewGetDeviceListRequest

func NewGetDeviceListRequest() (request *GetDeviceListRequest)

func (*GetDeviceListRequest) FromJsonString

func (r *GetDeviceListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDeviceListRequest) ToJsonString

func (r *GetDeviceListRequest) ToJsonString() string

type GetDeviceListRequestParams added in v1.0.426

type GetDeviceListRequestParams struct {
	// 需要查看设备列表的产品ID, -1代表ProjectId来筛选
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 分页偏移
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的大小,数值范围 10-100
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 设备固件版本号,若不带此参数会返回所有固件版本的设备。传"None-FirmwareVersion"查询无版本号的设备
	FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"`

	// 需要过滤的设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 项目ID。产品 ID 为 -1 时,该参数必填
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`
}

Predefined struct for user

type GetDeviceListResponse

type GetDeviceListResponse struct {
	*tchttp.BaseResponse
	Response *GetDeviceListResponseParams `json:"Response"`
}

func NewGetDeviceListResponse

func NewGetDeviceListResponse() (response *GetDeviceListResponse)

func (*GetDeviceListResponse) FromJsonString

func (r *GetDeviceListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDeviceListResponse) ToJsonString

func (r *GetDeviceListResponse) ToJsonString() string

type GetDeviceListResponseParams added in v1.0.426

type GetDeviceListResponseParams struct {
	// 返回的设备列表, 注意列表设备的 DevicePsk 为空, 要获取设备的 DevicePsk 请使用 DescribeDevice
	// 注意:此字段可能返回 null,表示取不到有效值。
	Devices []*DeviceInfo `json:"Devices,omitnil,omitempty" name:"Devices"`

	// 产品下的设备总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetDeviceLocationHistoryRequest added in v1.0.266

type GetDeviceLocationHistoryRequest struct {
	*tchttp.BaseRequest

	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 查询起始时间,Unix时间,单位为毫秒
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询结束时间,Unix时间,单位为毫秒
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 坐标类型
	CoordinateType *int64 `json:"CoordinateType,omitnil,omitempty" name:"CoordinateType"`
}

func NewGetDeviceLocationHistoryRequest added in v1.0.266

func NewGetDeviceLocationHistoryRequest() (request *GetDeviceLocationHistoryRequest)

func (*GetDeviceLocationHistoryRequest) FromJsonString added in v1.0.266

func (r *GetDeviceLocationHistoryRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDeviceLocationHistoryRequest) ToJsonString added in v1.0.266

func (r *GetDeviceLocationHistoryRequest) ToJsonString() string

type GetDeviceLocationHistoryRequestParams added in v1.0.426

type GetDeviceLocationHistoryRequestParams struct {
	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 查询起始时间,Unix时间,单位为毫秒
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询结束时间,Unix时间,单位为毫秒
	EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 坐标类型
	CoordinateType *int64 `json:"CoordinateType,omitnil,omitempty" name:"CoordinateType"`
}

Predefined struct for user

type GetDeviceLocationHistoryResponse added in v1.0.266

type GetDeviceLocationHistoryResponse struct {
	*tchttp.BaseResponse
	Response *GetDeviceLocationHistoryResponseParams `json:"Response"`
}

func NewGetDeviceLocationHistoryResponse added in v1.0.266

func NewGetDeviceLocationHistoryResponse() (response *GetDeviceLocationHistoryResponse)

func (*GetDeviceLocationHistoryResponse) FromJsonString added in v1.0.266

func (r *GetDeviceLocationHistoryResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDeviceLocationHistoryResponse) ToJsonString added in v1.0.266

func (r *GetDeviceLocationHistoryResponse) ToJsonString() string

type GetDeviceLocationHistoryResponseParams added in v1.0.426

type GetDeviceLocationHistoryResponseParams struct {
	// 历史位置列表
	Positions []*PositionItem `json:"Positions,omitnil,omitempty" name:"Positions"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetDeviceSumStatisticsRequest added in v1.0.766

type GetDeviceSumStatisticsRequest struct {
	*tchttp.BaseRequest

	// 项目id
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 产品id列表,长度为0则拉取项目内全部产品
	ProductIds []*string `json:"ProductIds,omitnil,omitempty" name:"ProductIds"`
}

func NewGetDeviceSumStatisticsRequest added in v1.0.766

func NewGetDeviceSumStatisticsRequest() (request *GetDeviceSumStatisticsRequest)

func (*GetDeviceSumStatisticsRequest) FromJsonString added in v1.0.766

func (r *GetDeviceSumStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDeviceSumStatisticsRequest) ToJsonString added in v1.0.766

func (r *GetDeviceSumStatisticsRequest) ToJsonString() string

type GetDeviceSumStatisticsRequestParams added in v1.0.766

type GetDeviceSumStatisticsRequestParams struct {
	// 项目id
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 产品id列表,长度为0则拉取项目内全部产品
	ProductIds []*string `json:"ProductIds,omitnil,omitempty" name:"ProductIds"`
}

Predefined struct for user

type GetDeviceSumStatisticsResponse added in v1.0.766

type GetDeviceSumStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *GetDeviceSumStatisticsResponseParams `json:"Response"`
}

func NewGetDeviceSumStatisticsResponse added in v1.0.766

func NewGetDeviceSumStatisticsResponse() (response *GetDeviceSumStatisticsResponse)

func (*GetDeviceSumStatisticsResponse) FromJsonString added in v1.0.766

func (r *GetDeviceSumStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDeviceSumStatisticsResponse) ToJsonString added in v1.0.766

func (r *GetDeviceSumStatisticsResponse) ToJsonString() string

type GetDeviceSumStatisticsResponseParams added in v1.0.766

type GetDeviceSumStatisticsResponseParams struct {
	// 激活设备总数
	ActivationCount *int64 `json:"ActivationCount,omitnil,omitempty" name:"ActivationCount"`

	// 在线设备总数
	OnlineCount *int64 `json:"OnlineCount,omitnil,omitempty" name:"OnlineCount"`

	// 前一天激活设备数
	ActivationBeforeDay *int64 `json:"ActivationBeforeDay,omitnil,omitempty" name:"ActivationBeforeDay"`

	// 前一天活跃设备数
	ActiveBeforeDay *int64 `json:"ActiveBeforeDay,omitnil,omitempty" name:"ActiveBeforeDay"`

	// 前一周激活设备数
	ActivationWeekDayCount *int64 `json:"ActivationWeekDayCount,omitnil,omitempty" name:"ActivationWeekDayCount"`

	// 前一周活跃设备数
	ActiveWeekDayCount *int64 `json:"ActiveWeekDayCount,omitnil,omitempty" name:"ActiveWeekDayCount"`

	// 上一周激活设备数
	ActivationBeforeWeekDayCount *int64 `json:"ActivationBeforeWeekDayCount,omitnil,omitempty" name:"ActivationBeforeWeekDayCount"`

	// 上一周活跃设备数
	ActiveBeforeWeekDayCount *int64 `json:"ActiveBeforeWeekDayCount,omitnil,omitempty" name:"ActiveBeforeWeekDayCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetFamilyDeviceUserListRequest added in v1.0.310

type GetFamilyDeviceUserListRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

func NewGetFamilyDeviceUserListRequest added in v1.0.310

func NewGetFamilyDeviceUserListRequest() (request *GetFamilyDeviceUserListRequest)

func (*GetFamilyDeviceUserListRequest) FromJsonString added in v1.0.310

func (r *GetFamilyDeviceUserListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetFamilyDeviceUserListRequest) ToJsonString added in v1.0.310

func (r *GetFamilyDeviceUserListRequest) ToJsonString() string

type GetFamilyDeviceUserListRequestParams added in v1.0.426

type GetFamilyDeviceUserListRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
}

Predefined struct for user

type GetFamilyDeviceUserListResponse added in v1.0.310

type GetFamilyDeviceUserListResponse struct {
	*tchttp.BaseResponse
	Response *GetFamilyDeviceUserListResponseParams `json:"Response"`
}

func NewGetFamilyDeviceUserListResponse added in v1.0.310

func NewGetFamilyDeviceUserListResponse() (response *GetFamilyDeviceUserListResponse)

func (*GetFamilyDeviceUserListResponse) FromJsonString added in v1.0.310

func (r *GetFamilyDeviceUserListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetFamilyDeviceUserListResponse) ToJsonString added in v1.0.310

func (r *GetFamilyDeviceUserListResponse) ToJsonString() string

type GetFamilyDeviceUserListResponseParams added in v1.0.426

type GetFamilyDeviceUserListResponseParams struct {
	// 设备的用户列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserList []*DeviceUser `json:"UserList,omitnil,omitempty" name:"UserList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetGatewaySubDeviceListRequest added in v1.0.328

type GetGatewaySubDeviceListRequest struct {
	*tchttp.BaseRequest

	// 网关产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备名称
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 分页偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的大小
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewGetGatewaySubDeviceListRequest added in v1.0.328

func NewGetGatewaySubDeviceListRequest() (request *GetGatewaySubDeviceListRequest)

func (*GetGatewaySubDeviceListRequest) FromJsonString added in v1.0.328

func (r *GetGatewaySubDeviceListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetGatewaySubDeviceListRequest) ToJsonString added in v1.0.328

func (r *GetGatewaySubDeviceListRequest) ToJsonString() string

type GetGatewaySubDeviceListRequestParams added in v1.0.426

type GetGatewaySubDeviceListRequestParams struct {
	// 网关产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备名称
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 分页偏移
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的大小
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type GetGatewaySubDeviceListResponse added in v1.0.328

type GetGatewaySubDeviceListResponse struct {
	*tchttp.BaseResponse
	Response *GetGatewaySubDeviceListResponseParams `json:"Response"`
}

func NewGetGatewaySubDeviceListResponse added in v1.0.328

func NewGetGatewaySubDeviceListResponse() (response *GetGatewaySubDeviceListResponse)

func (*GetGatewaySubDeviceListResponse) FromJsonString added in v1.0.328

func (r *GetGatewaySubDeviceListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetGatewaySubDeviceListResponse) ToJsonString added in v1.0.328

func (r *GetGatewaySubDeviceListResponse) ToJsonString() string

type GetGatewaySubDeviceListResponseParams added in v1.0.426

type GetGatewaySubDeviceListResponseParams struct {
	// 设备的总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 设备列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceList *FamilySubDevice `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetLoRaGatewayListRequest

type GetLoRaGatewayListRequest struct {
	*tchttp.BaseRequest

	// 是否是社区网关
	IsCommunity *bool `json:"IsCommunity,omitnil,omitempty" name:"IsCommunity"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 限制个数
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewGetLoRaGatewayListRequest

func NewGetLoRaGatewayListRequest() (request *GetLoRaGatewayListRequest)

func (*GetLoRaGatewayListRequest) FromJsonString

func (r *GetLoRaGatewayListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetLoRaGatewayListRequest) ToJsonString

func (r *GetLoRaGatewayListRequest) ToJsonString() string

type GetLoRaGatewayListRequestParams added in v1.0.426

type GetLoRaGatewayListRequestParams struct {
	// 是否是社区网关
	IsCommunity *bool `json:"IsCommunity,omitnil,omitempty" name:"IsCommunity"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 限制个数
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type GetLoRaGatewayListResponse

type GetLoRaGatewayListResponse struct {
	*tchttp.BaseResponse
	Response *GetLoRaGatewayListResponseParams `json:"Response"`
}

func NewGetLoRaGatewayListResponse

func NewGetLoRaGatewayListResponse() (response *GetLoRaGatewayListResponse)

func (*GetLoRaGatewayListResponse) FromJsonString

func (r *GetLoRaGatewayListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetLoRaGatewayListResponse) ToJsonString

func (r *GetLoRaGatewayListResponse) ToJsonString() string

type GetLoRaGatewayListResponseParams added in v1.0.426

type GetLoRaGatewayListResponseParams struct {
	// 返回总数
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 返回详情项
	// 注意:此字段可能返回 null,表示取不到有效值。
	Gateways []*LoRaGatewayItem `json:"Gateways,omitnil,omitempty" name:"Gateways"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetPositionSpaceListRequest added in v1.0.266

type GetPositionSpaceListRequest struct {
	*tchttp.BaseRequest

	// 项目Id
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 翻页偏移量,0起始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大返回结果数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewGetPositionSpaceListRequest added in v1.0.266

func NewGetPositionSpaceListRequest() (request *GetPositionSpaceListRequest)

func (*GetPositionSpaceListRequest) FromJsonString added in v1.0.266

func (r *GetPositionSpaceListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetPositionSpaceListRequest) ToJsonString added in v1.0.266

func (r *GetPositionSpaceListRequest) ToJsonString() string

type GetPositionSpaceListRequestParams added in v1.0.426

type GetPositionSpaceListRequestParams struct {
	// 项目Id
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 翻页偏移量,0起始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大返回结果数
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type GetPositionSpaceListResponse added in v1.0.266

type GetPositionSpaceListResponse struct {
	*tchttp.BaseResponse
	Response *GetPositionSpaceListResponseParams `json:"Response"`
}

func NewGetPositionSpaceListResponse added in v1.0.266

func NewGetPositionSpaceListResponse() (response *GetPositionSpaceListResponse)

func (*GetPositionSpaceListResponse) FromJsonString added in v1.0.266

func (r *GetPositionSpaceListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetPositionSpaceListResponse) ToJsonString added in v1.0.266

func (r *GetPositionSpaceListResponse) ToJsonString() string

type GetPositionSpaceListResponseParams added in v1.0.426

type GetPositionSpaceListResponseParams struct {
	// 位置空间列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	List []*PositionSpaceInfo `json:"List,omitnil,omitempty" name:"List"`

	// 位置空间数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetProjectListRequest

type GetProjectListRequest struct {
	*tchttp.BaseRequest

	// 偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 个数限制
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 按项目ID搜索
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 按产品ID搜索
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 加载 ProductCount、DeviceCount、ApplicationCount,可选值:ProductCount、DeviceCount、ApplicationCount,可多选
	Includes []*string `json:"Includes,omitnil,omitempty" name:"Includes"`

	// 按项目名称搜索
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`
}

func NewGetProjectListRequest

func NewGetProjectListRequest() (request *GetProjectListRequest)

func (*GetProjectListRequest) FromJsonString

func (r *GetProjectListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetProjectListRequest) ToJsonString

func (r *GetProjectListRequest) ToJsonString() string

type GetProjectListRequestParams added in v1.0.426

type GetProjectListRequestParams struct {
	// 偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 个数限制
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 按项目ID搜索
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 按产品ID搜索
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 加载 ProductCount、DeviceCount、ApplicationCount,可选值:ProductCount、DeviceCount、ApplicationCount,可多选
	Includes []*string `json:"Includes,omitnil,omitempty" name:"Includes"`

	// 按项目名称搜索
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`
}

Predefined struct for user

type GetProjectListResponse

type GetProjectListResponse struct {
	*tchttp.BaseResponse
	Response *GetProjectListResponseParams `json:"Response"`
}

func NewGetProjectListResponse

func NewGetProjectListResponse() (response *GetProjectListResponse)

func (*GetProjectListResponse) FromJsonString

func (r *GetProjectListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetProjectListResponse) ToJsonString

func (r *GetProjectListResponse) ToJsonString() string

type GetProjectListResponseParams added in v1.0.426

type GetProjectListResponseParams struct {
	// 项目列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Projects []*ProjectEntryEx `json:"Projects,omitnil,omitempty" name:"Projects"`

	// 列表项个数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetStudioProductListRequest

type GetStudioProductListRequest struct {
	*tchttp.BaseRequest

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 产品DevStatus
	DevStatus *string `json:"DevStatus,omitnil,omitempty" name:"DevStatus"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 数量限制
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewGetStudioProductListRequest

func NewGetStudioProductListRequest() (request *GetStudioProductListRequest)

func (*GetStudioProductListRequest) FromJsonString

func (r *GetStudioProductListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetStudioProductListRequest) ToJsonString

func (r *GetStudioProductListRequest) ToJsonString() string

type GetStudioProductListRequestParams added in v1.0.426

type GetStudioProductListRequestParams struct {
	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 产品DevStatus
	DevStatus *string `json:"DevStatus,omitnil,omitempty" name:"DevStatus"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 数量限制
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type GetStudioProductListResponse

type GetStudioProductListResponse struct {
	*tchttp.BaseResponse
	Response *GetStudioProductListResponseParams `json:"Response"`
}

func NewGetStudioProductListResponse

func NewGetStudioProductListResponse() (response *GetStudioProductListResponse)

func (*GetStudioProductListResponse) FromJsonString

func (r *GetStudioProductListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetStudioProductListResponse) ToJsonString

func (r *GetStudioProductListResponse) ToJsonString() string

type GetStudioProductListResponseParams added in v1.0.426

type GetStudioProductListResponseParams struct {
	// 产品列表
	Products []*ProductEntry `json:"Products,omitnil,omitempty" name:"Products"`

	// 产品数量
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetTWeCallActiveStatusRequest added in v1.0.929

type GetTWeCallActiveStatusRequest struct {
	*tchttp.BaseRequest

	// appId
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// 设备列表
	DeviceList []*TWeCallInfo `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
}

func NewGetTWeCallActiveStatusRequest added in v1.0.929

func NewGetTWeCallActiveStatusRequest() (request *GetTWeCallActiveStatusRequest)

func (*GetTWeCallActiveStatusRequest) FromJsonString added in v1.0.929

func (r *GetTWeCallActiveStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetTWeCallActiveStatusRequest) ToJsonString added in v1.0.929

func (r *GetTWeCallActiveStatusRequest) ToJsonString() string

type GetTWeCallActiveStatusRequestParams added in v1.0.929

type GetTWeCallActiveStatusRequestParams struct {
	// appId
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// 设备列表
	DeviceList []*TWeCallInfo `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
}

Predefined struct for user

type GetTWeCallActiveStatusResponse added in v1.0.929

type GetTWeCallActiveStatusResponse struct {
	*tchttp.BaseResponse
	Response *GetTWeCallActiveStatusResponseParams `json:"Response"`
}

func NewGetTWeCallActiveStatusResponse added in v1.0.929

func NewGetTWeCallActiveStatusResponse() (response *GetTWeCallActiveStatusResponse)

func (*GetTWeCallActiveStatusResponse) FromJsonString added in v1.0.929

func (r *GetTWeCallActiveStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetTWeCallActiveStatusResponse) ToJsonString added in v1.0.929

func (r *GetTWeCallActiveStatusResponse) ToJsonString() string

type GetTWeCallActiveStatusResponseParams added in v1.0.929

type GetTWeCallActiveStatusResponseParams struct {
	// 激活状态
	TWeCallActiveInfos []*TWeCallActiveInfo `json:"TWeCallActiveInfos,omitnil,omitempty" name:"TWeCallActiveInfos"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetTWeCallPkgListRequest added in v1.0.929

type GetTWeCallPkgListRequest struct {
	*tchttp.BaseRequest

	// appId
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// 类型
	PkgType []*int64 `json:"PkgType,omitnil,omitempty" name:"PkgType"`

	// 状态
	Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页数据大小
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewGetTWeCallPkgListRequest added in v1.0.929

func NewGetTWeCallPkgListRequest() (request *GetTWeCallPkgListRequest)

func (*GetTWeCallPkgListRequest) FromJsonString added in v1.0.929

func (r *GetTWeCallPkgListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetTWeCallPkgListRequest) ToJsonString added in v1.0.929

func (r *GetTWeCallPkgListRequest) ToJsonString() string

type GetTWeCallPkgListRequestParams added in v1.0.929

type GetTWeCallPkgListRequestParams struct {
	// appId
	MiniProgramAppId *string `json:"MiniProgramAppId,omitnil,omitempty" name:"MiniProgramAppId"`

	// 类型
	PkgType []*int64 `json:"PkgType,omitnil,omitempty" name:"PkgType"`

	// 状态
	Status []*int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页数据大小
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type GetTWeCallPkgListResponse added in v1.0.929

type GetTWeCallPkgListResponse struct {
	*tchttp.BaseResponse
	Response *GetTWeCallPkgListResponseParams `json:"Response"`
}

func NewGetTWeCallPkgListResponse added in v1.0.929

func NewGetTWeCallPkgListResponse() (response *GetTWeCallPkgListResponse)

func (*GetTWeCallPkgListResponse) FromJsonString added in v1.0.929

func (r *GetTWeCallPkgListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetTWeCallPkgListResponse) ToJsonString added in v1.0.929

func (r *GetTWeCallPkgListResponse) ToJsonString() string

type GetTWeCallPkgListResponseParams added in v1.0.929

type GetTWeCallPkgListResponseParams struct {
	// 激活状态
	TWeCallPkgList []*TWeCallPkgInfo `json:"TWeCallPkgList,omitnil,omitempty" name:"TWeCallPkgList"`

	// 总数
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetTopicRuleListRequest

type GetTopicRuleListRequest struct {
	*tchttp.BaseRequest

	// 请求的页数
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// 分页的大小
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

func NewGetTopicRuleListRequest

func NewGetTopicRuleListRequest() (request *GetTopicRuleListRequest)

func (*GetTopicRuleListRequest) FromJsonString

func (r *GetTopicRuleListRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetTopicRuleListRequest) ToJsonString

func (r *GetTopicRuleListRequest) ToJsonString() string

type GetTopicRuleListRequestParams added in v1.0.426

type GetTopicRuleListRequestParams struct {
	// 请求的页数
	PageNum *int64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// 分页的大小
	PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
}

Predefined struct for user

type GetTopicRuleListResponse

type GetTopicRuleListResponse struct {
	*tchttp.BaseResponse
	Response *GetTopicRuleListResponseParams `json:"Response"`
}

func NewGetTopicRuleListResponse

func NewGetTopicRuleListResponse() (response *GetTopicRuleListResponse)

func (*GetTopicRuleListResponse) FromJsonString

func (r *GetTopicRuleListResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetTopicRuleListResponse) ToJsonString

func (r *GetTopicRuleListResponse) ToJsonString() string

type GetTopicRuleListResponseParams added in v1.0.426

type GetTopicRuleListResponseParams struct {
	// 规则总数量
	TotalCnt *int64 `json:"TotalCnt,omitnil,omitempty" name:"TotalCnt"`

	// 规则列表
	Rules []*TopicRuleInfo `json:"Rules,omitnil,omitempty" name:"Rules"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InheritCloudStorageUserRequest added in v1.0.888

type InheritCloudStorageUserRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 原始用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 目标用户ID
	ToUserId *string `json:"ToUserId,omitnil,omitempty" name:"ToUserId"`
}

func NewInheritCloudStorageUserRequest added in v1.0.888

func NewInheritCloudStorageUserRequest() (request *InheritCloudStorageUserRequest)

func (*InheritCloudStorageUserRequest) FromJsonString added in v1.0.888

func (r *InheritCloudStorageUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InheritCloudStorageUserRequest) ToJsonString added in v1.0.888

func (r *InheritCloudStorageUserRequest) ToJsonString() string

type InheritCloudStorageUserRequestParams added in v1.0.888

type InheritCloudStorageUserRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 原始用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 目标用户ID
	ToUserId *string `json:"ToUserId,omitnil,omitempty" name:"ToUserId"`
}

Predefined struct for user

type InheritCloudStorageUserResponse added in v1.0.888

type InheritCloudStorageUserResponse struct {
	*tchttp.BaseResponse
	Response *InheritCloudStorageUserResponseParams `json:"Response"`
}

func NewInheritCloudStorageUserResponse added in v1.0.888

func NewInheritCloudStorageUserResponse() (response *InheritCloudStorageUserResponse)

func (*InheritCloudStorageUserResponse) FromJsonString added in v1.0.888

func (r *InheritCloudStorageUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*InheritCloudStorageUserResponse) ToJsonString added in v1.0.888

func (r *InheritCloudStorageUserResponse) ToJsonString() string

type InheritCloudStorageUserResponseParams added in v1.0.888

type InheritCloudStorageUserResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type InstanceDetail added in v1.0.728

type InstanceDetail struct {
	// 实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 实例类型(0 公共实例 1 标准企业实例 2新企业实例3新公共实例)
	InstanceType *int64 `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 地域字母缩写
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// 区域全拼
	ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// 支持设备总数
	TotalDeviceNum *int64 `json:"TotalDeviceNum,omitnil,omitempty" name:"TotalDeviceNum"`

	// 已注册设备数
	UsedDeviceNum *int64 `json:"UsedDeviceNum,omitnil,omitempty" name:"UsedDeviceNum"`

	// 项目数
	ProjectNum *int64 `json:"ProjectNum,omitnil,omitempty" name:"ProjectNum"`

	// 产品数
	ProductNum *int64 `json:"ProductNum,omitnil,omitempty" name:"ProductNum"`

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

	// 更新时间
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 过期时间,公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 总设备数
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalDevice *int64 `json:"TotalDevice,omitnil,omitempty" name:"TotalDevice"`

	// 激活设备数
	// 注意:此字段可能返回 null,表示取不到有效值。
	ActivateDevice *int64 `json:"ActivateDevice,omitnil,omitempty" name:"ActivateDevice"`

	// 备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 实例状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 消息上下行配置TPS
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpDownTPS *int64 `json:"UpDownTPS,omitnil,omitempty" name:"UpDownTPS"`

	// 当前消息上下行TPS
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpDownCurrentTPS *int64 `json:"UpDownCurrentTPS,omitnil,omitempty" name:"UpDownCurrentTPS"`

	// 消息转发配置TPS
	// 注意:此字段可能返回 null,表示取不到有效值。
	ForwardTPS *int64 `json:"ForwardTPS,omitnil,omitempty" name:"ForwardTPS"`

	// 消息转发当前TPS
	// 注意:此字段可能返回 null,表示取不到有效值。
	ForwardCurrentTPS *int64 `json:"ForwardCurrentTPS,omitnil,omitempty" name:"ForwardCurrentTPS"`

	// 实例单元数
	// 注意:此字段可能返回 null,表示取不到有效值。
	CellNum *int64 `json:"CellNum,omitnil,omitempty" name:"CellNum"`

	// 实例Tag
	// 注意:此字段可能返回 null,表示取不到有效值。
	BillingTag *string `json:"BillingTag,omitnil,omitempty" name:"BillingTag"`

	// 每日消息数
	// 注意:此字段可能返回 null,表示取不到有效值。
	EverydayFreeMessageCount *int64 `json:"EverydayFreeMessageCount,omitnil,omitempty" name:"EverydayFreeMessageCount"`

	// 最大在线设备数
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxDeviceOnlineCount *int64 `json:"MaxDeviceOnlineCount,omitnil,omitempty" name:"MaxDeviceOnlineCount"`
}

type ListEventHistoryRequest

type ListEventHistoryRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 搜索上下文, 用作查询游标
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`

	// 单次获取的历史数据项目的最大数量, 缺省10
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`

	// 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`
}

func NewListEventHistoryRequest

func NewListEventHistoryRequest() (request *ListEventHistoryRequest)

func (*ListEventHistoryRequest) FromJsonString

func (r *ListEventHistoryRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEventHistoryRequest) ToJsonString

func (r *ListEventHistoryRequest) ToJsonString() string

type ListEventHistoryRequestParams added in v1.0.426

type ListEventHistoryRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
	StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
	EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 搜索上下文, 用作查询游标
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`

	// 单次获取的历史数据项目的最大数量, 缺省10
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`

	// 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
	EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"`
}

Predefined struct for user

type ListEventHistoryResponse

type ListEventHistoryResponse struct {
	*tchttp.BaseResponse
	Response *ListEventHistoryResponseParams `json:"Response"`
}

func NewListEventHistoryResponse

func NewListEventHistoryResponse() (response *ListEventHistoryResponse)

func (*ListEventHistoryResponse) FromJsonString

func (r *ListEventHistoryResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListEventHistoryResponse) ToJsonString

func (r *ListEventHistoryResponse) ToJsonString() string

type ListEventHistoryResponseParams added in v1.0.426

type ListEventHistoryResponseParams struct {
	// 搜索上下文, 用作查询游标
	// 注意:此字段可能返回 null,表示取不到有效值。
	Context *string `json:"Context,omitnil,omitempty" name:"Context"`

	// 搜索结果数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 搜索结果是否已经结束
	// 注意:此字段可能返回 null,表示取不到有效值。
	Listover *bool `json:"Listover,omitnil,omitempty" name:"Listover"`

	// 搜集结果集
	// 注意:此字段可能返回 null,表示取不到有效值。
	EventHistory []*EventHistoryItem `json:"EventHistory,omitnil,omitempty" name:"EventHistory"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListFirmwaresRequest

type ListFirmwaresRequest struct {
	*tchttp.BaseRequest

	// 获取的页数
	PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// 分页的大小
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// 产品ID
	ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"`

	// 搜索过滤条件
	Filters []*SearchKeyword `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewListFirmwaresRequest

func NewListFirmwaresRequest() (request *ListFirmwaresRequest)

func (*ListFirmwaresRequest) FromJsonString

func (r *ListFirmwaresRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListFirmwaresRequest) ToJsonString

func (r *ListFirmwaresRequest) ToJsonString() string

type ListFirmwaresRequestParams added in v1.0.426

type ListFirmwaresRequestParams struct {
	// 获取的页数
	PageNum *uint64 `json:"PageNum,omitnil,omitempty" name:"PageNum"`

	// 分页的大小
	PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`

	// 产品ID
	ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"`

	// 搜索过滤条件
	Filters []*SearchKeyword `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type ListFirmwaresResponse

type ListFirmwaresResponse struct {
	*tchttp.BaseResponse
	Response *ListFirmwaresResponseParams `json:"Response"`
}

func NewListFirmwaresResponse

func NewListFirmwaresResponse() (response *ListFirmwaresResponse)

func (*ListFirmwaresResponse) FromJsonString

func (r *ListFirmwaresResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListFirmwaresResponse) ToJsonString

func (r *ListFirmwaresResponse) ToJsonString() string

type ListFirmwaresResponseParams added in v1.0.426

type ListFirmwaresResponseParams struct {
	// 固件总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 固件列表
	Firmwares []*FirmwareInfo `json:"Firmwares,omitnil,omitempty" name:"Firmwares"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ListTopicPolicyRequest added in v1.0.269

type ListTopicPolicyRequest struct {
	*tchttp.BaseRequest

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

func NewListTopicPolicyRequest added in v1.0.269

func NewListTopicPolicyRequest() (request *ListTopicPolicyRequest)

func (*ListTopicPolicyRequest) FromJsonString added in v1.0.269

func (r *ListTopicPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListTopicPolicyRequest) ToJsonString added in v1.0.269

func (r *ListTopicPolicyRequest) ToJsonString() string

type ListTopicPolicyRequestParams added in v1.0.426

type ListTopicPolicyRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`
}

Predefined struct for user

type ListTopicPolicyResponse added in v1.0.269

type ListTopicPolicyResponse struct {
	*tchttp.BaseResponse
	Response *ListTopicPolicyResponseParams `json:"Response"`
}

func NewListTopicPolicyResponse added in v1.0.269

func NewListTopicPolicyResponse() (response *ListTopicPolicyResponse)

func (*ListTopicPolicyResponse) FromJsonString added in v1.0.269

func (r *ListTopicPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ListTopicPolicyResponse) ToJsonString added in v1.0.269

func (r *ListTopicPolicyResponse) ToJsonString() string

type ListTopicPolicyResponseParams added in v1.0.426

type ListTopicPolicyResponseParams struct {
	// Topic列表
	Topics []*TopicItem `json:"Topics,omitnil,omitempty" name:"Topics"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type LoRaFrequencyEntry

type LoRaFrequencyEntry struct {
	// 频点唯一ID
	FreqId *string `json:"FreqId,omitnil,omitempty" name:"FreqId"`

	// 频点名称
	FreqName *string `json:"FreqName,omitnil,omitempty" name:"FreqName"`

	// 频点描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 数据上行信道
	ChannelsDataUp []*uint64 `json:"ChannelsDataUp,omitnil,omitempty" name:"ChannelsDataUp"`

	// 数据下行信道RX1
	ChannelsDataRX1 []*uint64 `json:"ChannelsDataRX1,omitnil,omitempty" name:"ChannelsDataRX1"`

	// 数据下行信道RX2
	ChannelsDataRX2 []*uint64 `json:"ChannelsDataRX2,omitnil,omitempty" name:"ChannelsDataRX2"`

	// 入网上行信道
	ChannelsJoinUp []*uint64 `json:"ChannelsJoinUp,omitnil,omitempty" name:"ChannelsJoinUp"`

	// 入网下行RX1信道
	ChannelsJoinRX1 []*uint64 `json:"ChannelsJoinRX1,omitnil,omitempty" name:"ChannelsJoinRX1"`

	// 入网下行RX2信道
	ChannelsJoinRX2 []*uint64 `json:"ChannelsJoinRX2,omitnil,omitempty" name:"ChannelsJoinRX2"`

	// 创建时间
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type LoRaGatewayItem

type LoRaGatewayItem struct {
	// LoRa 网关Id
	GatewayId *string `json:"GatewayId,omitnil,omitempty" name:"GatewayId"`

	// 是否是公开网关
	IsPublic *bool `json:"IsPublic,omitnil,omitempty" name:"IsPublic"`

	// 网关描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 网关名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 网关位置信息
	Position *string `json:"Position,omitnil,omitempty" name:"Position"`

	// 网关位置详情
	PositionDetails *string `json:"PositionDetails,omitnil,omitempty" name:"PositionDetails"`

	// LoRa 网关位置坐标
	Location *LoRaGatewayLocation `json:"Location,omitnil,omitempty" name:"Location"`

	// 最后更新时间
	UpdatedAt *string `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"`

	// 创建时间
	CreatedAt *string `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"`

	// 最后上报时间
	LastSeenAt *string `json:"LastSeenAt,omitnil,omitempty" name:"LastSeenAt"`

	// 频点ID
	FrequencyId *string `json:"FrequencyId,omitnil,omitempty" name:"FrequencyId"`
}

type LoRaGatewayLocation

type LoRaGatewayLocation struct {
	// 纬度
	Latitude *float64 `json:"Latitude,omitnil,omitempty" name:"Latitude"`

	// 精度
	Longitude *float64 `json:"Longitude,omitnil,omitempty" name:"Longitude"`

	// 准确度
	Accuracy *float64 `json:"Accuracy,omitnil,omitempty" name:"Accuracy"`

	// 海拔
	Altitude *float64 `json:"Altitude,omitnil,omitempty" name:"Altitude"`
}

type ModifyCloudStorageAIServiceCallbackRequest added in v1.0.902

type ModifyCloudStorageAIServiceCallbackRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 推送类型。可选值:
	// - `http`:HTTP 回调
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// HTTP 回调 URL
	CallbackUrl *string `json:"CallbackUrl,omitnil,omitempty" name:"CallbackUrl"`

	// HTTP 回调鉴权 Token
	CallbackToken *string `json:"CallbackToken,omitnil,omitempty" name:"CallbackToken"`
}

func NewModifyCloudStorageAIServiceCallbackRequest added in v1.0.902

func NewModifyCloudStorageAIServiceCallbackRequest() (request *ModifyCloudStorageAIServiceCallbackRequest)

func (*ModifyCloudStorageAIServiceCallbackRequest) FromJsonString added in v1.0.902

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCloudStorageAIServiceCallbackRequest) ToJsonString added in v1.0.902

type ModifyCloudStorageAIServiceCallbackRequestParams added in v1.0.902

type ModifyCloudStorageAIServiceCallbackRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 推送类型。可选值:
	// - `http`:HTTP 回调
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// HTTP 回调 URL
	CallbackUrl *string `json:"CallbackUrl,omitnil,omitempty" name:"CallbackUrl"`

	// HTTP 回调鉴权 Token
	CallbackToken *string `json:"CallbackToken,omitnil,omitempty" name:"CallbackToken"`
}

Predefined struct for user

type ModifyCloudStorageAIServiceCallbackResponse added in v1.0.902

type ModifyCloudStorageAIServiceCallbackResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCloudStorageAIServiceCallbackResponseParams `json:"Response"`
}

func NewModifyCloudStorageAIServiceCallbackResponse added in v1.0.902

func NewModifyCloudStorageAIServiceCallbackResponse() (response *ModifyCloudStorageAIServiceCallbackResponse)

func (*ModifyCloudStorageAIServiceCallbackResponse) FromJsonString added in v1.0.902

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCloudStorageAIServiceCallbackResponse) ToJsonString added in v1.0.902

type ModifyCloudStorageAIServiceCallbackResponseParams added in v1.0.902

type ModifyCloudStorageAIServiceCallbackResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyCloudStorageAIServiceRequest added in v1.0.902

type ModifyCloudStorageAIServiceRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存 AI 服务类型。可选值:
	// - `PackageDetect`:包裹检测
	// - `Highlight`:视频浓缩
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// 启用状态
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 视频分析区域
	ROI *string `json:"ROI,omitnil,omitempty" name:"ROI"`

	// 云存 AI 服务的配置参数
	Config *string `json:"Config,omitnil,omitempty" name:"Config"`
}

func NewModifyCloudStorageAIServiceRequest added in v1.0.902

func NewModifyCloudStorageAIServiceRequest() (request *ModifyCloudStorageAIServiceRequest)

func (*ModifyCloudStorageAIServiceRequest) FromJsonString added in v1.0.902

func (r *ModifyCloudStorageAIServiceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCloudStorageAIServiceRequest) ToJsonString added in v1.0.902

func (r *ModifyCloudStorageAIServiceRequest) ToJsonString() string

type ModifyCloudStorageAIServiceRequestParams added in v1.0.902

type ModifyCloudStorageAIServiceRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 云存 AI 服务类型。可选值:
	// - `PackageDetect`:包裹检测
	// - `Highlight`:视频浓缩
	ServiceType *string `json:"ServiceType,omitnil,omitempty" name:"ServiceType"`

	// 启用状态
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`

	// 视频分析区域
	ROI *string `json:"ROI,omitnil,omitempty" name:"ROI"`

	// 云存 AI 服务的配置参数
	Config *string `json:"Config,omitnil,omitempty" name:"Config"`
}

Predefined struct for user

type ModifyCloudStorageAIServiceResponse added in v1.0.902

type ModifyCloudStorageAIServiceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCloudStorageAIServiceResponseParams `json:"Response"`
}

func NewModifyCloudStorageAIServiceResponse added in v1.0.902

func NewModifyCloudStorageAIServiceResponse() (response *ModifyCloudStorageAIServiceResponse)

func (*ModifyCloudStorageAIServiceResponse) FromJsonString added in v1.0.902

func (r *ModifyCloudStorageAIServiceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCloudStorageAIServiceResponse) ToJsonString added in v1.0.902

func (r *ModifyCloudStorageAIServiceResponse) ToJsonString() string

type ModifyCloudStorageAIServiceResponseParams added in v1.0.902

type ModifyCloudStorageAIServiceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyFenceBindRequest added in v1.0.266

type ModifyFenceBindRequest struct {
	*tchttp.BaseRequest

	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 围栏绑定的产品列表
	Items []*FenceBindProductItem `json:"Items,omitnil,omitempty" name:"Items"`
}

func NewModifyFenceBindRequest added in v1.0.266

func NewModifyFenceBindRequest() (request *ModifyFenceBindRequest)

func (*ModifyFenceBindRequest) FromJsonString added in v1.0.266

func (r *ModifyFenceBindRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyFenceBindRequest) ToJsonString added in v1.0.266

func (r *ModifyFenceBindRequest) ToJsonString() string

type ModifyFenceBindRequestParams added in v1.0.426

type ModifyFenceBindRequestParams struct {
	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 围栏绑定的产品列表
	Items []*FenceBindProductItem `json:"Items,omitnil,omitempty" name:"Items"`
}

Predefined struct for user

type ModifyFenceBindResponse added in v1.0.266

type ModifyFenceBindResponse struct {
	*tchttp.BaseResponse
	Response *ModifyFenceBindResponseParams `json:"Response"`
}

func NewModifyFenceBindResponse added in v1.0.266

func NewModifyFenceBindResponse() (response *ModifyFenceBindResponse)

func (*ModifyFenceBindResponse) FromJsonString added in v1.0.266

func (r *ModifyFenceBindResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyFenceBindResponse) ToJsonString added in v1.0.266

func (r *ModifyFenceBindResponse) ToJsonString() string

type ModifyFenceBindResponseParams added in v1.0.426

type ModifyFenceBindResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyLoRaFrequencyRequest

type ModifyLoRaFrequencyRequest struct {
	*tchttp.BaseRequest

	// 频点唯一ID
	FreqId *string `json:"FreqId,omitnil,omitempty" name:"FreqId"`

	// 频点名称
	FreqName *string `json:"FreqName,omitnil,omitempty" name:"FreqName"`

	// 频点描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 数据上行信道
	ChannelsDataUp []*uint64 `json:"ChannelsDataUp,omitnil,omitempty" name:"ChannelsDataUp"`

	// 数据下行信道RX1
	ChannelsDataRX1 []*uint64 `json:"ChannelsDataRX1,omitnil,omitempty" name:"ChannelsDataRX1"`

	// 数据下行信道RX2
	ChannelsDataRX2 []*uint64 `json:"ChannelsDataRX2,omitnil,omitempty" name:"ChannelsDataRX2"`

	// 入网上行信道
	ChannelsJoinUp []*uint64 `json:"ChannelsJoinUp,omitnil,omitempty" name:"ChannelsJoinUp"`

	// 入网下行信道RX1
	ChannelsJoinRX1 []*uint64 `json:"ChannelsJoinRX1,omitnil,omitempty" name:"ChannelsJoinRX1"`

	// 入网下行信道RX2
	ChannelsJoinRX2 []*uint64 `json:"ChannelsJoinRX2,omitnil,omitempty" name:"ChannelsJoinRX2"`
}

func NewModifyLoRaFrequencyRequest

func NewModifyLoRaFrequencyRequest() (request *ModifyLoRaFrequencyRequest)

func (*ModifyLoRaFrequencyRequest) FromJsonString

func (r *ModifyLoRaFrequencyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLoRaFrequencyRequest) ToJsonString

func (r *ModifyLoRaFrequencyRequest) ToJsonString() string

type ModifyLoRaFrequencyRequestParams added in v1.0.426

type ModifyLoRaFrequencyRequestParams struct {
	// 频点唯一ID
	FreqId *string `json:"FreqId,omitnil,omitempty" name:"FreqId"`

	// 频点名称
	FreqName *string `json:"FreqName,omitnil,omitempty" name:"FreqName"`

	// 频点描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 数据上行信道
	ChannelsDataUp []*uint64 `json:"ChannelsDataUp,omitnil,omitempty" name:"ChannelsDataUp"`

	// 数据下行信道RX1
	ChannelsDataRX1 []*uint64 `json:"ChannelsDataRX1,omitnil,omitempty" name:"ChannelsDataRX1"`

	// 数据下行信道RX2
	ChannelsDataRX2 []*uint64 `json:"ChannelsDataRX2,omitnil,omitempty" name:"ChannelsDataRX2"`

	// 入网上行信道
	ChannelsJoinUp []*uint64 `json:"ChannelsJoinUp,omitnil,omitempty" name:"ChannelsJoinUp"`

	// 入网下行信道RX1
	ChannelsJoinRX1 []*uint64 `json:"ChannelsJoinRX1,omitnil,omitempty" name:"ChannelsJoinRX1"`

	// 入网下行信道RX2
	ChannelsJoinRX2 []*uint64 `json:"ChannelsJoinRX2,omitnil,omitempty" name:"ChannelsJoinRX2"`
}

Predefined struct for user

type ModifyLoRaFrequencyResponse

type ModifyLoRaFrequencyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLoRaFrequencyResponseParams `json:"Response"`
}

func NewModifyLoRaFrequencyResponse

func NewModifyLoRaFrequencyResponse() (response *ModifyLoRaFrequencyResponse)

func (*ModifyLoRaFrequencyResponse) FromJsonString

func (r *ModifyLoRaFrequencyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLoRaFrequencyResponse) ToJsonString

func (r *ModifyLoRaFrequencyResponse) ToJsonString() string

type ModifyLoRaFrequencyResponseParams added in v1.0.426

type ModifyLoRaFrequencyResponseParams struct {
	// 频点信息
	Data *LoRaFrequencyEntry `json:"Data,omitnil,omitempty" name:"Data"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyLoRaGatewayRequest

type ModifyLoRaGatewayRequest struct {
	*tchttp.BaseRequest

	// 描述信息
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// LoRa网关Id
	GatewayId *string `json:"GatewayId,omitnil,omitempty" name:"GatewayId"`

	// LoRa网关位置坐标
	Location *LoRaGatewayLocation `json:"Location,omitnil,omitempty" name:"Location"`

	// LoRa网关名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 是否公开可见
	IsPublic *bool `json:"IsPublic,omitnil,omitempty" name:"IsPublic"`

	// 位置信息
	Position *string `json:"Position,omitnil,omitempty" name:"Position"`

	// 位置详情
	PositionDetails *string `json:"PositionDetails,omitnil,omitempty" name:"PositionDetails"`

	// 频点ID
	FrequencyId *string `json:"FrequencyId,omitnil,omitempty" name:"FrequencyId"`
}

func NewModifyLoRaGatewayRequest

func NewModifyLoRaGatewayRequest() (request *ModifyLoRaGatewayRequest)

func (*ModifyLoRaGatewayRequest) FromJsonString

func (r *ModifyLoRaGatewayRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLoRaGatewayRequest) ToJsonString

func (r *ModifyLoRaGatewayRequest) ToJsonString() string

type ModifyLoRaGatewayRequestParams added in v1.0.426

type ModifyLoRaGatewayRequestParams struct {
	// 描述信息
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// LoRa网关Id
	GatewayId *string `json:"GatewayId,omitnil,omitempty" name:"GatewayId"`

	// LoRa网关位置坐标
	Location *LoRaGatewayLocation `json:"Location,omitnil,omitempty" name:"Location"`

	// LoRa网关名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 是否公开可见
	IsPublic *bool `json:"IsPublic,omitnil,omitempty" name:"IsPublic"`

	// 位置信息
	Position *string `json:"Position,omitnil,omitempty" name:"Position"`

	// 位置详情
	PositionDetails *string `json:"PositionDetails,omitnil,omitempty" name:"PositionDetails"`

	// 频点ID
	FrequencyId *string `json:"FrequencyId,omitnil,omitempty" name:"FrequencyId"`
}

Predefined struct for user

type ModifyLoRaGatewayResponse

type ModifyLoRaGatewayResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLoRaGatewayResponseParams `json:"Response"`
}

func NewModifyLoRaGatewayResponse

func NewModifyLoRaGatewayResponse() (response *ModifyLoRaGatewayResponse)

func (*ModifyLoRaGatewayResponse) FromJsonString

func (r *ModifyLoRaGatewayResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyLoRaGatewayResponse) ToJsonString

func (r *ModifyLoRaGatewayResponse) ToJsonString() string

type ModifyLoRaGatewayResponseParams added in v1.0.426

type ModifyLoRaGatewayResponseParams struct {
	// 返回网关数据
	Gateway *LoRaGatewayItem `json:"Gateway,omitnil,omitempty" name:"Gateway"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyModelDefinitionRequest

type ModifyModelDefinitionRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 数据模板定义
	ModelSchema *string `json:"ModelSchema,omitnil,omitempty" name:"ModelSchema"`
}

func NewModifyModelDefinitionRequest

func NewModifyModelDefinitionRequest() (request *ModifyModelDefinitionRequest)

func (*ModifyModelDefinitionRequest) FromJsonString

func (r *ModifyModelDefinitionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyModelDefinitionRequest) ToJsonString

func (r *ModifyModelDefinitionRequest) ToJsonString() string

type ModifyModelDefinitionRequestParams added in v1.0.426

type ModifyModelDefinitionRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 数据模板定义
	ModelSchema *string `json:"ModelSchema,omitnil,omitempty" name:"ModelSchema"`
}

Predefined struct for user

type ModifyModelDefinitionResponse

type ModifyModelDefinitionResponse struct {
	*tchttp.BaseResponse
	Response *ModifyModelDefinitionResponseParams `json:"Response"`
}

func NewModifyModelDefinitionResponse

func NewModifyModelDefinitionResponse() (response *ModifyModelDefinitionResponse)

func (*ModifyModelDefinitionResponse) FromJsonString

func (r *ModifyModelDefinitionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyModelDefinitionResponse) ToJsonString

func (r *ModifyModelDefinitionResponse) ToJsonString() string

type ModifyModelDefinitionResponseParams added in v1.0.426

type ModifyModelDefinitionResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPositionFenceRequest added in v1.0.266

type ModifyPositionFenceRequest struct {
	*tchttp.BaseRequest
}

func NewModifyPositionFenceRequest added in v1.0.266

func NewModifyPositionFenceRequest() (request *ModifyPositionFenceRequest)

func (*ModifyPositionFenceRequest) FromJsonString added in v1.0.266

func (r *ModifyPositionFenceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPositionFenceRequest) ToJsonString added in v1.0.266

func (r *ModifyPositionFenceRequest) ToJsonString() string

type ModifyPositionFenceRequestParams added in v1.0.426

type ModifyPositionFenceRequestParams struct {
}

Predefined struct for user

type ModifyPositionFenceResponse added in v1.0.266

type ModifyPositionFenceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPositionFenceResponseParams `json:"Response"`
}

func NewModifyPositionFenceResponse added in v1.0.266

func NewModifyPositionFenceResponse() (response *ModifyPositionFenceResponse)

func (*ModifyPositionFenceResponse) FromJsonString added in v1.0.266

func (r *ModifyPositionFenceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPositionFenceResponse) ToJsonString added in v1.0.266

func (r *ModifyPositionFenceResponse) ToJsonString() string

type ModifyPositionFenceResponseParams added in v1.0.426

type ModifyPositionFenceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyPositionSpaceRequest added in v1.0.266

type ModifyPositionSpaceRequest struct {
	*tchttp.BaseRequest

	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 位置空间名称
	SpaceName *string `json:"SpaceName,omitnil,omitempty" name:"SpaceName"`

	// 授权类型
	AuthorizeType *int64 `json:"AuthorizeType,omitnil,omitempty" name:"AuthorizeType"`

	// 产品列表
	ProductIdList []*string `json:"ProductIdList,omitnil,omitempty" name:"ProductIdList"`

	// 位置空间描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 缩略图
	Icon *string `json:"Icon,omitnil,omitempty" name:"Icon"`
}

func NewModifyPositionSpaceRequest added in v1.0.266

func NewModifyPositionSpaceRequest() (request *ModifyPositionSpaceRequest)

func (*ModifyPositionSpaceRequest) FromJsonString added in v1.0.266

func (r *ModifyPositionSpaceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPositionSpaceRequest) ToJsonString added in v1.0.266

func (r *ModifyPositionSpaceRequest) ToJsonString() string

type ModifyPositionSpaceRequestParams added in v1.0.426

type ModifyPositionSpaceRequestParams struct {
	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 位置空间名称
	SpaceName *string `json:"SpaceName,omitnil,omitempty" name:"SpaceName"`

	// 授权类型
	AuthorizeType *int64 `json:"AuthorizeType,omitnil,omitempty" name:"AuthorizeType"`

	// 产品列表
	ProductIdList []*string `json:"ProductIdList,omitnil,omitempty" name:"ProductIdList"`

	// 位置空间描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 缩略图
	Icon *string `json:"Icon,omitnil,omitempty" name:"Icon"`
}

Predefined struct for user

type ModifyPositionSpaceResponse added in v1.0.266

type ModifyPositionSpaceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyPositionSpaceResponseParams `json:"Response"`
}

func NewModifyPositionSpaceResponse added in v1.0.266

func NewModifyPositionSpaceResponse() (response *ModifyPositionSpaceResponse)

func (*ModifyPositionSpaceResponse) FromJsonString added in v1.0.266

func (r *ModifyPositionSpaceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyPositionSpaceResponse) ToJsonString added in v1.0.266

func (r *ModifyPositionSpaceResponse) ToJsonString() string

type ModifyPositionSpaceResponseParams added in v1.0.426

type ModifyPositionSpaceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyProductCloudStorageAIServiceRequest added in v1.0.902

type ModifyProductCloudStorageAIServiceRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 开通状态
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`
}

func NewModifyProductCloudStorageAIServiceRequest added in v1.0.902

func NewModifyProductCloudStorageAIServiceRequest() (request *ModifyProductCloudStorageAIServiceRequest)

func (*ModifyProductCloudStorageAIServiceRequest) FromJsonString added in v1.0.902

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProductCloudStorageAIServiceRequest) ToJsonString added in v1.0.902

type ModifyProductCloudStorageAIServiceRequestParams added in v1.0.902

type ModifyProductCloudStorageAIServiceRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 开通状态
	Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"`
}

Predefined struct for user

type ModifyProductCloudStorageAIServiceResponse added in v1.0.902

type ModifyProductCloudStorageAIServiceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyProductCloudStorageAIServiceResponseParams `json:"Response"`
}

func NewModifyProductCloudStorageAIServiceResponse added in v1.0.902

func NewModifyProductCloudStorageAIServiceResponse() (response *ModifyProductCloudStorageAIServiceResponse)

func (*ModifyProductCloudStorageAIServiceResponse) FromJsonString added in v1.0.902

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProductCloudStorageAIServiceResponse) ToJsonString added in v1.0.902

type ModifyProductCloudStorageAIServiceResponseParams added in v1.0.902

type ModifyProductCloudStorageAIServiceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyProjectRequest

type ModifyProjectRequest struct {
	*tchttp.BaseRequest

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 项目名称
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// 项目描述
	ProjectDesc *string `json:"ProjectDesc,omitnil,omitempty" name:"ProjectDesc"`
}

func NewModifyProjectRequest

func NewModifyProjectRequest() (request *ModifyProjectRequest)

func (*ModifyProjectRequest) FromJsonString

func (r *ModifyProjectRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProjectRequest) ToJsonString

func (r *ModifyProjectRequest) ToJsonString() string

type ModifyProjectRequestParams added in v1.0.426

type ModifyProjectRequestParams struct {
	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 项目名称
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// 项目描述
	ProjectDesc *string `json:"ProjectDesc,omitnil,omitempty" name:"ProjectDesc"`
}

Predefined struct for user

type ModifyProjectResponse

type ModifyProjectResponse struct {
	*tchttp.BaseResponse
	Response *ModifyProjectResponseParams `json:"Response"`
}

func NewModifyProjectResponse

func NewModifyProjectResponse() (response *ModifyProjectResponse)

func (*ModifyProjectResponse) FromJsonString

func (r *ModifyProjectResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyProjectResponse) ToJsonString

func (r *ModifyProjectResponse) ToJsonString() string

type ModifyProjectResponseParams added in v1.0.426

type ModifyProjectResponseParams struct {
	// 项目详情
	Project *ProjectEntry `json:"Project,omitnil,omitempty" name:"Project"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifySpacePropertyRequest added in v1.0.266

type ModifySpacePropertyRequest struct {
	*tchttp.BaseRequest

	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 产品属性
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`
}

func NewModifySpacePropertyRequest added in v1.0.266

func NewModifySpacePropertyRequest() (request *ModifySpacePropertyRequest)

func (*ModifySpacePropertyRequest) FromJsonString added in v1.0.266

func (r *ModifySpacePropertyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySpacePropertyRequest) ToJsonString added in v1.0.266

func (r *ModifySpacePropertyRequest) ToJsonString() string

type ModifySpacePropertyRequestParams added in v1.0.426

type ModifySpacePropertyRequestParams struct {
	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 产品Id
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 产品属性
	Data *string `json:"Data,omitnil,omitempty" name:"Data"`
}

Predefined struct for user

type ModifySpacePropertyResponse added in v1.0.266

type ModifySpacePropertyResponse struct {
	*tchttp.BaseResponse
	Response *ModifySpacePropertyResponseParams `json:"Response"`
}

func NewModifySpacePropertyResponse added in v1.0.266

func NewModifySpacePropertyResponse() (response *ModifySpacePropertyResponse)

func (*ModifySpacePropertyResponse) FromJsonString added in v1.0.266

func (r *ModifySpacePropertyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifySpacePropertyResponse) ToJsonString added in v1.0.266

func (r *ModifySpacePropertyResponse) ToJsonString() string

type ModifySpacePropertyResponseParams added in v1.0.426

type ModifySpacePropertyResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyStudioProductRequest

type ModifyStudioProductRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 产品描述
	ProductDesc *string `json:"ProductDesc,omitnil,omitempty" name:"ProductDesc"`

	// 模型ID
	ModuleId *int64 `json:"ModuleId,omitnil,omitempty" name:"ModuleId"`

	// 是否打开二进制转Json功能, 取值为字符串 true/false
	EnableProductScript *string `json:"EnableProductScript,omitnil,omitempty" name:"EnableProductScript"`

	// 传1或者2;1代表强踢,2代表非强踢。传其它值不做任何处理
	BindStrategy *uint64 `json:"BindStrategy,omitnil,omitempty" name:"BindStrategy"`
}

func NewModifyStudioProductRequest

func NewModifyStudioProductRequest() (request *ModifyStudioProductRequest)

func (*ModifyStudioProductRequest) FromJsonString

func (r *ModifyStudioProductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStudioProductRequest) ToJsonString

func (r *ModifyStudioProductRequest) ToJsonString() string

type ModifyStudioProductRequestParams added in v1.0.426

type ModifyStudioProductRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 产品描述
	ProductDesc *string `json:"ProductDesc,omitnil,omitempty" name:"ProductDesc"`

	// 模型ID
	ModuleId *int64 `json:"ModuleId,omitnil,omitempty" name:"ModuleId"`

	// 是否打开二进制转Json功能, 取值为字符串 true/false
	EnableProductScript *string `json:"EnableProductScript,omitnil,omitempty" name:"EnableProductScript"`

	// 传1或者2;1代表强踢,2代表非强踢。传其它值不做任何处理
	BindStrategy *uint64 `json:"BindStrategy,omitnil,omitempty" name:"BindStrategy"`
}

Predefined struct for user

type ModifyStudioProductResponse

type ModifyStudioProductResponse struct {
	*tchttp.BaseResponse
	Response *ModifyStudioProductResponseParams `json:"Response"`
}

func NewModifyStudioProductResponse

func NewModifyStudioProductResponse() (response *ModifyStudioProductResponse)

func (*ModifyStudioProductResponse) FromJsonString

func (r *ModifyStudioProductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyStudioProductResponse) ToJsonString

func (r *ModifyStudioProductResponse) ToJsonString() string

type ModifyStudioProductResponseParams added in v1.0.426

type ModifyStudioProductResponseParams struct {
	// 产品描述
	Product *ProductEntry `json:"Product,omitnil,omitempty" name:"Product"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyTopicPolicyRequest added in v1.0.269

type ModifyTopicPolicyRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 更新前Topic名
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// 更新后Topic名
	NewTopicName *string `json:"NewTopicName,omitnil,omitempty" name:"NewTopicName"`

	// Topic权限
	Privilege *uint64 `json:"Privilege,omitnil,omitempty" name:"Privilege"`
}

func NewModifyTopicPolicyRequest added in v1.0.269

func NewModifyTopicPolicyRequest() (request *ModifyTopicPolicyRequest)

func (*ModifyTopicPolicyRequest) FromJsonString added in v1.0.269

func (r *ModifyTopicPolicyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTopicPolicyRequest) ToJsonString added in v1.0.269

func (r *ModifyTopicPolicyRequest) ToJsonString() string

type ModifyTopicPolicyRequestParams added in v1.0.426

type ModifyTopicPolicyRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 更新前Topic名
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// 更新后Topic名
	NewTopicName *string `json:"NewTopicName,omitnil,omitempty" name:"NewTopicName"`

	// Topic权限
	Privilege *uint64 `json:"Privilege,omitnil,omitempty" name:"Privilege"`
}

Predefined struct for user

type ModifyTopicPolicyResponse added in v1.0.269

type ModifyTopicPolicyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTopicPolicyResponseParams `json:"Response"`
}

func NewModifyTopicPolicyResponse added in v1.0.269

func NewModifyTopicPolicyResponse() (response *ModifyTopicPolicyResponse)

func (*ModifyTopicPolicyResponse) FromJsonString added in v1.0.269

func (r *ModifyTopicPolicyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTopicPolicyResponse) ToJsonString added in v1.0.269

func (r *ModifyTopicPolicyResponse) ToJsonString() string

type ModifyTopicPolicyResponseParams added in v1.0.426

type ModifyTopicPolicyResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyTopicRuleRequest

type ModifyTopicRuleRequest struct {
	*tchttp.BaseRequest

	// 规则名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// 替换的规则包体
	TopicRulePayload *TopicRulePayload `json:"TopicRulePayload,omitnil,omitempty" name:"TopicRulePayload"`
}

func NewModifyTopicRuleRequest

func NewModifyTopicRuleRequest() (request *ModifyTopicRuleRequest)

func (*ModifyTopicRuleRequest) FromJsonString

func (r *ModifyTopicRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTopicRuleRequest) ToJsonString

func (r *ModifyTopicRuleRequest) ToJsonString() string

type ModifyTopicRuleRequestParams added in v1.0.426

type ModifyTopicRuleRequestParams struct {
	// 规则名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// 替换的规则包体
	TopicRulePayload *TopicRulePayload `json:"TopicRulePayload,omitnil,omitempty" name:"TopicRulePayload"`
}

Predefined struct for user

type ModifyTopicRuleResponse

type ModifyTopicRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTopicRuleResponseParams `json:"Response"`
}

func NewModifyTopicRuleResponse

func NewModifyTopicRuleResponse() (response *ModifyTopicRuleResponse)

func (*ModifyTopicRuleResponse) FromJsonString

func (r *ModifyTopicRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyTopicRuleResponse) ToJsonString

func (r *ModifyTopicRuleResponse) ToJsonString() string

type ModifyTopicRuleResponseParams added in v1.0.426

type ModifyTopicRuleResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type PackageConsumeStat added in v1.0.888

type PackageConsumeStat struct {
	// 云存套餐包id
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// 云存套餐包名称
	PackageName *string `json:"PackageName,omitnil,omitempty" name:"PackageName"`

	// 消耗个数
	Cnt *uint64 `json:"Cnt,omitnil,omitempty" name:"Cnt"`

	// 套餐包单价,单位分
	Price *int64 `json:"Price,omitnil,omitempty" name:"Price"`

	// 消耗来源,1预付费
	Source *int64 `json:"Source,omitnil,omitempty" name:"Source"`
}

type PackageConsumeTask added in v1.0.888

type PackageConsumeTask struct {
	// 任务id
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// 任务创始时间
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 任务状态,1待处理,2处理中,3已完成
	State *int64 `json:"State,omitnil,omitempty" name:"State"`
}

type PackageInfo added in v1.0.888

type PackageInfo struct {
	// 云存开启状态,0为未开启,2为正在生效,1为已过期
	// 注:这里只返回状态为0的数据
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 云存类型,1为全时云存,2为事件云存
	CSType *uint64 `json:"CSType,omitnil,omitempty" name:"CSType"`

	// 云存回看时长
	CSShiftDuration *uint64 `json:"CSShiftDuration,omitnil,omitempty" name:"CSShiftDuration"`

	// 云存套餐过期时间
	CSExpiredTime *int64 `json:"CSExpiredTime,omitnil,omitempty" name:"CSExpiredTime"`

	// 云存套餐创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatedAt *int64 `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"`

	// 云存套餐更新时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	UpdatedAt *int64 `json:"UpdatedAt,omitnil,omitempty" name:"UpdatedAt"`

	// 套餐id
	// 注意:此字段可能返回 null,表示取不到有效值。
	PackageId *string `json:"PackageId,omitnil,omitempty" name:"PackageId"`

	// 订单id
	// 注意:此字段可能返回 null,表示取不到有效值。
	OrderId *string `json:"OrderId,omitnil,omitempty" name:"OrderId"`

	// 通道id
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// 用户id
	// 注意:此字段可能返回 null,表示取不到有效值。
	CSUserId *string `json:"CSUserId,omitnil,omitempty" name:"CSUserId"`
}

type PositionFenceInfo added in v1.0.266

type PositionFenceInfo struct {
	// 围栏信息
	GeoFence *PositionFenceItem `json:"GeoFence,omitnil,omitempty" name:"GeoFence"`

	// 围栏创建时间
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 围栏更新时间
	UpdateTime *int64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type PositionFenceItem added in v1.0.266

type PositionFenceItem struct {
	// 围栏Id
	FenceId *int64 `json:"FenceId,omitnil,omitempty" name:"FenceId"`

	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 围栏名称
	FenceName *string `json:"FenceName,omitnil,omitempty" name:"FenceName"`

	// 围栏描述
	FenceDesc *string `json:"FenceDesc,omitnil,omitempty" name:"FenceDesc"`

	// 围栏区域信息,采用 GeoJSON 格式
	FenceArea *string `json:"FenceArea,omitnil,omitempty" name:"FenceArea"`
}

type PositionItem added in v1.0.266

type PositionItem struct {
	// 位置点的时间
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 位置点的经度
	Longitude *float64 `json:"Longitude,omitnil,omitempty" name:"Longitude"`

	// 位置点的纬度
	Latitude *float64 `json:"Latitude,omitnil,omitempty" name:"Latitude"`

	// 位置点的定位类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	LocationType *string `json:"LocationType,omitnil,omitempty" name:"LocationType"`

	// 位置点的精度预估,单位为米
	// 注意:此字段可能返回 null,表示取不到有效值。
	Accuracy *float64 `json:"Accuracy,omitnil,omitempty" name:"Accuracy"`
}

type PositionSpaceInfo added in v1.0.266

type PositionSpaceInfo struct {
	// 项目Id
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 位置空间Id
	SpaceId *string `json:"SpaceId,omitnil,omitempty" name:"SpaceId"`

	// 位置空间名称
	SpaceName *string `json:"SpaceName,omitnil,omitempty" name:"SpaceName"`

	// 授权类型
	AuthorizeType *int64 `json:"AuthorizeType,omitnil,omitempty" name:"AuthorizeType"`

	// 描述备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 产品列表
	ProductIdList []*string `json:"ProductIdList,omitnil,omitempty" name:"ProductIdList"`

	// 缩略图
	Icon *string `json:"Icon,omitnil,omitempty" name:"Icon"`

	// 创建时间
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 更新时间
	UpdateTime *int64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 用户自定义地图缩放
	Zoom *uint64 `json:"Zoom,omitnil,omitempty" name:"Zoom"`
}

type ProductDevicesPositionItem added in v1.0.271

type ProductDevicesPositionItem struct {
	// 设备位置列表
	Items []*DevicePositionItem `json:"Items,omitnil,omitempty" name:"Items"`

	// 产品标识
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备位置数量
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`
}

type ProductEntry

type ProductEntry struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 产品分组模板ID
	CategoryId *int64 `json:"CategoryId,omitnil,omitempty" name:"CategoryId"`

	// 加密类型。1表示证书认证,2表示秘钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式
	EncryptionType *string `json:"EncryptionType,omitnil,omitempty" name:"EncryptionType"`

	// 连接类型。如:
	// wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh
	NetType *string `json:"NetType,omitnil,omitempty" name:"NetType"`

	// 数据协议 (1 使用物模型 2 为自定义类型)
	DataProtocol *int64 `json:"DataProtocol,omitnil,omitempty" name:"DataProtocol"`

	// 产品描述
	ProductDesc *string `json:"ProductDesc,omitnil,omitempty" name:"ProductDesc"`

	// 状态 如:all 全部, dev 开发中, audit 审核中 released 已发布
	DevStatus *string `json:"DevStatus,omitnil,omitempty" name:"DevStatus"`

	// 创建时间
	CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 更新时间
	UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 区域
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// 产品类型。如: 0 普通产品 , 5 网关产品
	ProductType *int64 `json:"ProductType,omitnil,omitempty" name:"ProductType"`

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 产品ModuleId
	ModuleId *int64 `json:"ModuleId,omitnil,omitempty" name:"ModuleId"`

	// 是否使用脚本进行二进制转json功能 可以取值 true / false
	// 注意:此字段可能返回 null,表示取不到有效值。
	EnableProductScript *string `json:"EnableProductScript,omitnil,omitempty" name:"EnableProductScript"`

	// 创建人 UinId
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateUserId *int64 `json:"CreateUserId,omitnil,omitempty" name:"CreateUserId"`

	// 创建者昵称
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreatorNickName *string `json:"CreatorNickName,omitnil,omitempty" name:"CreatorNickName"`

	// 绑定策略(1:强踢;2:非强踢;0:表示无意义)
	// 注意:此字段可能返回 null,表示取不到有效值。
	BindStrategy *uint64 `json:"BindStrategy,omitnil,omitempty" name:"BindStrategy"`

	// 设备数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceCount *int64 `json:"DeviceCount,omitnil,omitempty" name:"DeviceCount"`

	// 平均传输速率
	// 注意:此字段可能返回 null,表示取不到有效值。
	Rate *string `json:"Rate,omitnil,omitempty" name:"Rate"`

	// 有效期
	// 注意:此字段可能返回 null,表示取不到有效值。
	Period *string `json:"Period,omitnil,omitempty" name:"Period"`
}

type ProductModelDefinition

type ProductModelDefinition struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 模型定义
	ModelDefine *string `json:"ModelDefine,omitnil,omitempty" name:"ModelDefine"`

	// 更新时间,秒级时间戳
	UpdateTime *int64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 创建时间,秒级时间戳
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 产品所属分类的模型快照(产品创建时刻的)
	// 注意:此字段可能返回 null,表示取不到有效值。
	CategoryModel *string `json:"CategoryModel,omitnil,omitempty" name:"CategoryModel"`

	// 产品的连接类型的模型
	// 注意:此字段可能返回 null,表示取不到有效值。
	NetTypeModel *string `json:"NetTypeModel,omitnil,omitempty" name:"NetTypeModel"`
}

type ProjectEntry

type ProjectEntry struct {
	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 项目名称
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// 项目描述
	ProjectDesc *string `json:"ProjectDesc,omitnil,omitempty" name:"ProjectDesc"`

	// 创建时间,unix时间戳
	CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 更新时间,unix时间戳
	UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
}

type ProjectEntryEx

type ProjectEntryEx struct {
	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 项目名称
	ProjectName *string `json:"ProjectName,omitnil,omitempty" name:"ProjectName"`

	// 项目描述
	ProjectDesc *string `json:"ProjectDesc,omitnil,omitempty" name:"ProjectDesc"`

	// 项目创建时间,unix时间戳
	CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 项目更新时间,unix时间戳
	UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 产品数量
	ProductCount *uint64 `json:"ProductCount,omitnil,omitempty" name:"ProductCount"`

	// NativeApp数量
	NativeAppCount *uint64 `json:"NativeAppCount,omitnil,omitempty" name:"NativeAppCount"`

	// WebApp数量
	WebAppCount *uint64 `json:"WebAppCount,omitnil,omitempty" name:"WebAppCount"`

	// 实例ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 应用数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	ApplicationCount *uint64 `json:"ApplicationCount,omitnil,omitempty" name:"ApplicationCount"`

	// 设备注册总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceCount *uint64 `json:"DeviceCount,omitnil,omitempty" name:"DeviceCount"`

	// 是否开通物联使能
	// 注意:此字段可能返回 null,表示取不到有效值。
	EnableOpenState *uint64 `json:"EnableOpenState,omitnil,omitempty" name:"EnableOpenState"`
}

type PublishBroadcastMessageRequest added in v1.0.386

type PublishBroadcastMessageRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 消息内容
	Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"`

	// 消息质量等级
	Qos *int64 `json:"Qos,omitnil,omitempty" name:"Qos"`

	// ayload内容的编码格式,取值为base64或空。base64表示云端将收到的请求数据进行base64解码后下发到设备,空则直接将原始内容下发到设备
	PayloadEncoding *string `json:"PayloadEncoding,omitnil,omitempty" name:"PayloadEncoding"`
}

func NewPublishBroadcastMessageRequest added in v1.0.386

func NewPublishBroadcastMessageRequest() (request *PublishBroadcastMessageRequest)

func (*PublishBroadcastMessageRequest) FromJsonString added in v1.0.386

func (r *PublishBroadcastMessageRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PublishBroadcastMessageRequest) ToJsonString added in v1.0.386

func (r *PublishBroadcastMessageRequest) ToJsonString() string

type PublishBroadcastMessageRequestParams added in v1.0.426

type PublishBroadcastMessageRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 消息内容
	Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"`

	// 消息质量等级
	Qos *int64 `json:"Qos,omitnil,omitempty" name:"Qos"`

	// ayload内容的编码格式,取值为base64或空。base64表示云端将收到的请求数据进行base64解码后下发到设备,空则直接将原始内容下发到设备
	PayloadEncoding *string `json:"PayloadEncoding,omitnil,omitempty" name:"PayloadEncoding"`
}

Predefined struct for user

type PublishBroadcastMessageResponse added in v1.0.386

type PublishBroadcastMessageResponse struct {
	*tchttp.BaseResponse
	Response *PublishBroadcastMessageResponseParams `json:"Response"`
}

func NewPublishBroadcastMessageResponse added in v1.0.386

func NewPublishBroadcastMessageResponse() (response *PublishBroadcastMessageResponse)

func (*PublishBroadcastMessageResponse) FromJsonString added in v1.0.386

func (r *PublishBroadcastMessageResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PublishBroadcastMessageResponse) ToJsonString added in v1.0.386

func (r *PublishBroadcastMessageResponse) ToJsonString() string

type PublishBroadcastMessageResponseParams added in v1.0.426

type PublishBroadcastMessageResponseParams struct {
	// 广播消息任务Id
	TaskId *int64 `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type PublishMessageRequest

type PublishMessageRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 消息发往的主题
	Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`

	// 云端下发到设备的控制报文
	Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"`

	// 消息服务质量等级,取值为0或1
	Qos *uint64 `json:"Qos,omitnil,omitempty" name:"Qos"`

	// Payload的内容编码格式,取值为base64或空。base64表示云端将接收到的base64编码后的报文再转换成二进制报文下发至设备,为空表示不作转换,透传下发至设备
	PayloadEncoding *string `json:"PayloadEncoding,omitnil,omitempty" name:"PayloadEncoding"`
}

func NewPublishMessageRequest

func NewPublishMessageRequest() (request *PublishMessageRequest)

func (*PublishMessageRequest) FromJsonString

func (r *PublishMessageRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PublishMessageRequest) ToJsonString

func (r *PublishMessageRequest) ToJsonString() string

type PublishMessageRequestParams added in v1.0.426

type PublishMessageRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 消息发往的主题
	Topic *string `json:"Topic,omitnil,omitempty" name:"Topic"`

	// 云端下发到设备的控制报文
	Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"`

	// 消息服务质量等级,取值为0或1
	Qos *uint64 `json:"Qos,omitnil,omitempty" name:"Qos"`

	// Payload的内容编码格式,取值为base64或空。base64表示云端将接收到的base64编码后的报文再转换成二进制报文下发至设备,为空表示不作转换,透传下发至设备
	PayloadEncoding *string `json:"PayloadEncoding,omitnil,omitempty" name:"PayloadEncoding"`
}

Predefined struct for user

type PublishMessageResponse

type PublishMessageResponse struct {
	*tchttp.BaseResponse
	Response *PublishMessageResponseParams `json:"Response"`
}

func NewPublishMessageResponse

func NewPublishMessageResponse() (response *PublishMessageResponse)

func (*PublishMessageResponse) FromJsonString

func (r *PublishMessageResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PublishMessageResponse) ToJsonString

func (r *PublishMessageResponse) ToJsonString() string

type PublishMessageResponseParams added in v1.0.426

type PublishMessageResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type PublishRRPCMessageRequest added in v1.0.309

type PublishRRPCMessageRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 消息内容,utf8编码
	Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"`
}

func NewPublishRRPCMessageRequest added in v1.0.309

func NewPublishRRPCMessageRequest() (request *PublishRRPCMessageRequest)

func (*PublishRRPCMessageRequest) FromJsonString added in v1.0.309

func (r *PublishRRPCMessageRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PublishRRPCMessageRequest) ToJsonString added in v1.0.309

func (r *PublishRRPCMessageRequest) ToJsonString() string

type PublishRRPCMessageRequestParams added in v1.0.426

type PublishRRPCMessageRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 消息内容,utf8编码
	Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"`
}

Predefined struct for user

type PublishRRPCMessageResponse added in v1.0.309

type PublishRRPCMessageResponse struct {
	*tchttp.BaseResponse
	Response *PublishRRPCMessageResponseParams `json:"Response"`
}

func NewPublishRRPCMessageResponse added in v1.0.309

func NewPublishRRPCMessageResponse() (response *PublishRRPCMessageResponse)

func (*PublishRRPCMessageResponse) FromJsonString added in v1.0.309

func (r *PublishRRPCMessageResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PublishRRPCMessageResponse) ToJsonString added in v1.0.309

func (r *PublishRRPCMessageResponse) ToJsonString() string

type PublishRRPCMessageResponseParams added in v1.0.426

type PublishRRPCMessageResponseParams struct {
	// RRPC消息ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	MessageId *int64 `json:"MessageId,omitnil,omitempty" name:"MessageId"`

	// 设备回复的消息内容,采用base64编码
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayloadBase64 *string `json:"PayloadBase64,omitnil,omitempty" name:"PayloadBase64"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ReleaseStudioProductRequest

type ReleaseStudioProductRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 产品DevStatus
	DevStatus *string `json:"DevStatus,omitnil,omitempty" name:"DevStatus"`
}

func NewReleaseStudioProductRequest

func NewReleaseStudioProductRequest() (request *ReleaseStudioProductRequest)

func (*ReleaseStudioProductRequest) FromJsonString

func (r *ReleaseStudioProductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ReleaseStudioProductRequest) ToJsonString

func (r *ReleaseStudioProductRequest) ToJsonString() string

type ReleaseStudioProductRequestParams added in v1.0.426

type ReleaseStudioProductRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 产品DevStatus
	DevStatus *string `json:"DevStatus,omitnil,omitempty" name:"DevStatus"`
}

Predefined struct for user

type ReleaseStudioProductResponse

type ReleaseStudioProductResponse struct {
	*tchttp.BaseResponse
	Response *ReleaseStudioProductResponseParams `json:"Response"`
}

func NewReleaseStudioProductResponse

func NewReleaseStudioProductResponse() (response *ReleaseStudioProductResponse)

func (*ReleaseStudioProductResponse) FromJsonString

func (r *ReleaseStudioProductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ReleaseStudioProductResponse) ToJsonString

func (r *ReleaseStudioProductResponse) ToJsonString() string

type ReleaseStudioProductResponseParams added in v1.0.426

type ReleaseStudioProductResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type RemoveUserByRoomIdFromTRTCRequest added in v1.0.916

type RemoveUserByRoomIdFromTRTCRequest struct {
	*tchttp.BaseRequest

	// 房间id
	RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"`

	// 用户名称数组,数组元素不可重复,最长不超过 10 个。
	TRTCUserIds []*string `json:"TRTCUserIds,omitnil,omitempty" name:"TRTCUserIds"`
}

func NewRemoveUserByRoomIdFromTRTCRequest added in v1.0.916

func NewRemoveUserByRoomIdFromTRTCRequest() (request *RemoveUserByRoomIdFromTRTCRequest)

func (*RemoveUserByRoomIdFromTRTCRequest) FromJsonString added in v1.0.916

func (r *RemoveUserByRoomIdFromTRTCRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveUserByRoomIdFromTRTCRequest) ToJsonString added in v1.0.916

func (r *RemoveUserByRoomIdFromTRTCRequest) ToJsonString() string

type RemoveUserByRoomIdFromTRTCRequestParams added in v1.0.916

type RemoveUserByRoomIdFromTRTCRequestParams struct {
	// 房间id
	RoomId *string `json:"RoomId,omitnil,omitempty" name:"RoomId"`

	// 用户名称数组,数组元素不可重复,最长不超过 10 个。
	TRTCUserIds []*string `json:"TRTCUserIds,omitnil,omitempty" name:"TRTCUserIds"`
}

Predefined struct for user

type RemoveUserByRoomIdFromTRTCResponse added in v1.0.916

type RemoveUserByRoomIdFromTRTCResponse struct {
	*tchttp.BaseResponse
	Response *RemoveUserByRoomIdFromTRTCResponseParams `json:"Response"`
}

func NewRemoveUserByRoomIdFromTRTCResponse added in v1.0.916

func NewRemoveUserByRoomIdFromTRTCResponse() (response *RemoveUserByRoomIdFromTRTCResponse)

func (*RemoveUserByRoomIdFromTRTCResponse) FromJsonString added in v1.0.916

func (r *RemoveUserByRoomIdFromTRTCResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RemoveUserByRoomIdFromTRTCResponse) ToJsonString added in v1.0.916

func (r *RemoveUserByRoomIdFromTRTCResponse) ToJsonString() string

type RemoveUserByRoomIdFromTRTCResponseParams added in v1.0.916

type RemoveUserByRoomIdFromTRTCResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResetCloudStorageEventRequest added in v1.0.888

type ResetCloudStorageEventRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

func NewResetCloudStorageEventRequest added in v1.0.888

func NewResetCloudStorageEventRequest() (request *ResetCloudStorageEventRequest)

func (*ResetCloudStorageEventRequest) FromJsonString added in v1.0.888

func (r *ResetCloudStorageEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetCloudStorageEventRequest) ToJsonString added in v1.0.888

func (r *ResetCloudStorageEventRequest) ToJsonString() string

type ResetCloudStorageEventRequestParams added in v1.0.888

type ResetCloudStorageEventRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 用户ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// 通道ID
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`
}

Predefined struct for user

type ResetCloudStorageEventResponse added in v1.0.888

type ResetCloudStorageEventResponse struct {
	*tchttp.BaseResponse
	Response *ResetCloudStorageEventResponseParams `json:"Response"`
}

func NewResetCloudStorageEventResponse added in v1.0.888

func NewResetCloudStorageEventResponse() (response *ResetCloudStorageEventResponse)

func (*ResetCloudStorageEventResponse) FromJsonString added in v1.0.888

func (r *ResetCloudStorageEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetCloudStorageEventResponse) ToJsonString added in v1.0.888

func (r *ResetCloudStorageEventResponse) ToJsonString() string

type ResetCloudStorageEventResponseParams added in v1.0.888

type ResetCloudStorageEventResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResetCloudStorageRequest added in v1.0.888

type ResetCloudStorageRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// 云存用户Id,为空则为默认云存空间。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

func NewResetCloudStorageRequest added in v1.0.888

func NewResetCloudStorageRequest() (request *ResetCloudStorageRequest)

func (*ResetCloudStorageRequest) FromJsonString added in v1.0.888

func (r *ResetCloudStorageRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetCloudStorageRequest) ToJsonString added in v1.0.888

func (r *ResetCloudStorageRequest) ToJsonString() string

type ResetCloudStorageRequestParams added in v1.0.888

type ResetCloudStorageRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

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

	// 通道ID 非NVR设备则不填 NVR设备则必填 默认为无
	ChannelId *uint64 `json:"ChannelId,omitnil,omitempty" name:"ChannelId"`

	// 云存用户Id,为空则为默认云存空间。
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`
}

Predefined struct for user

type ResetCloudStorageResponse added in v1.0.888

type ResetCloudStorageResponse struct {
	*tchttp.BaseResponse
	Response *ResetCloudStorageResponseParams `json:"Response"`
}

func NewResetCloudStorageResponse added in v1.0.888

func NewResetCloudStorageResponse() (response *ResetCloudStorageResponse)

func (*ResetCloudStorageResponse) FromJsonString added in v1.0.888

func (r *ResetCloudStorageResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetCloudStorageResponse) ToJsonString added in v1.0.888

func (r *ResetCloudStorageResponse) ToJsonString() string

type ResetCloudStorageResponseParams added in v1.0.888

type ResetCloudStorageResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchKeyword

type SearchKeyword struct {
	// 搜索条件的Key
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// 搜索条件的值
	Value *string `json:"Value,omitnil,omitempty" name:"Value"`
}

type SearchPositionSpaceRequest added in v1.0.266

type SearchPositionSpaceRequest struct {
	*tchttp.BaseRequest

	// 项目Id
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 位置空间名字
	SpaceName *string `json:"SpaceName,omitnil,omitempty" name:"SpaceName"`

	// 偏移量,从0开始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大获取数量
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewSearchPositionSpaceRequest added in v1.0.266

func NewSearchPositionSpaceRequest() (request *SearchPositionSpaceRequest)

func (*SearchPositionSpaceRequest) FromJsonString added in v1.0.266

func (r *SearchPositionSpaceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchPositionSpaceRequest) ToJsonString added in v1.0.266

func (r *SearchPositionSpaceRequest) ToJsonString() string

type SearchPositionSpaceRequestParams added in v1.0.426

type SearchPositionSpaceRequestParams struct {
	// 项目Id
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// 位置空间名字
	SpaceName *string `json:"SpaceName,omitnil,omitempty" name:"SpaceName"`

	// 偏移量,从0开始
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 最大获取数量
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type SearchPositionSpaceResponse added in v1.0.266

type SearchPositionSpaceResponse struct {
	*tchttp.BaseResponse
	Response *SearchPositionSpaceResponseParams `json:"Response"`
}

func NewSearchPositionSpaceResponse added in v1.0.266

func NewSearchPositionSpaceResponse() (response *SearchPositionSpaceResponse)

func (*SearchPositionSpaceResponse) FromJsonString added in v1.0.266

func (r *SearchPositionSpaceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchPositionSpaceResponse) ToJsonString added in v1.0.266

func (r *SearchPositionSpaceResponse) ToJsonString() string

type SearchPositionSpaceResponseParams added in v1.0.426

type SearchPositionSpaceResponseParams struct {
	// 位置空间列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	List []*PositionSpaceInfo `json:"List,omitnil,omitempty" name:"List"`

	// 符合条件的位置空间个数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchStudioProductRequest

type SearchStudioProductRequest struct {
	*tchttp.BaseRequest

	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

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

	// 列表Limit
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 列表Offset
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 产品Status
	DevStatus *string `json:"DevStatus,omitnil,omitempty" name:"DevStatus"`

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

func NewSearchStudioProductRequest

func NewSearchStudioProductRequest() (request *SearchStudioProductRequest)

func (*SearchStudioProductRequest) FromJsonString

func (r *SearchStudioProductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchStudioProductRequest) ToJsonString

func (r *SearchStudioProductRequest) ToJsonString() string

type SearchStudioProductRequestParams added in v1.0.426

type SearchStudioProductRequestParams struct {
	// 项目ID
	ProjectId *string `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

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

	// 列表Limit
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 列表Offset
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 产品Status
	DevStatus *string `json:"DevStatus,omitnil,omitempty" name:"DevStatus"`

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

Predefined struct for user

type SearchStudioProductResponse

type SearchStudioProductResponse struct {
	*tchttp.BaseResponse
	Response *SearchStudioProductResponseParams `json:"Response"`
}

func NewSearchStudioProductResponse

func NewSearchStudioProductResponse() (response *SearchStudioProductResponse)

func (*SearchStudioProductResponse) FromJsonString

func (r *SearchStudioProductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchStudioProductResponse) ToJsonString

func (r *SearchStudioProductResponse) ToJsonString() string

type SearchStudioProductResponseParams added in v1.0.426

type SearchStudioProductResponseParams struct {
	// 产品列表
	Products []*ProductEntry `json:"Products,omitnil,omitempty" name:"Products"`

	// 产品数量
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchTopicRuleRequest

type SearchTopicRuleRequest struct {
	*tchttp.BaseRequest

	// 规则名
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
}

func NewSearchTopicRuleRequest

func NewSearchTopicRuleRequest() (request *SearchTopicRuleRequest)

func (*SearchTopicRuleRequest) FromJsonString

func (r *SearchTopicRuleRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchTopicRuleRequest) ToJsonString

func (r *SearchTopicRuleRequest) ToJsonString() string

type SearchTopicRuleRequestParams added in v1.0.426

type SearchTopicRuleRequestParams struct {
	// 规则名
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`
}

Predefined struct for user

type SearchTopicRuleResponse

type SearchTopicRuleResponse struct {
	*tchttp.BaseResponse
	Response *SearchTopicRuleResponseParams `json:"Response"`
}

func NewSearchTopicRuleResponse

func NewSearchTopicRuleResponse() (response *SearchTopicRuleResponse)

func (*SearchTopicRuleResponse) FromJsonString

func (r *SearchTopicRuleResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchTopicRuleResponse) ToJsonString

func (r *SearchTopicRuleResponse) ToJsonString() string

type SearchTopicRuleResponseParams added in v1.0.426

type SearchTopicRuleResponseParams struct {
	// 搜索到的规则总数
	TotalCnt *int64 `json:"TotalCnt,omitnil,omitempty" name:"TotalCnt"`

	// 规则信息列表
	Rules []*TopicRuleInfo `json:"Rules,omitnil,omitempty" name:"Rules"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type TRTCParams added in v1.0.916

type TRTCParams struct {
	// TRTC入参: TRTC的实例ID
	SdkAppId *int64 `json:"SdkAppId,omitnil,omitempty" name:"SdkAppId"`

	// TRTC入参: 用户加入房间的ID
	UserId *string `json:"UserId,omitnil,omitempty" name:"UserId"`

	// TRTC入参: 用户的签名用来鉴权
	UserSig *string `json:"UserSig,omitnil,omitempty" name:"UserSig"`

	// TRTC入参: 加入的TRTC房间名称
	StrRoomId *string `json:"StrRoomId,omitnil,omitempty" name:"StrRoomId"`

	// TRTC入参: 校验TRTC的KEY
	PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"`
}

type TWeCallActiveInfo added in v1.0.929

type TWeCallActiveInfo struct {
	// 小程序ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"`

	// Sn信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Sn *string `json:"Sn,omitnil,omitempty" name:"Sn"`

	// 过期时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
}

type TWeCallInfo added in v1.0.929

type TWeCallInfo struct {
	// 小程序ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"`

	// Sn信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Sn *string `json:"Sn,omitnil,omitempty" name:"Sn"`

	// 激活数
	// 注意:此字段可能返回 null,表示取不到有效值。
	ActiveNum *int64 `json:"ActiveNum,omitnil,omitempty" name:"ActiveNum"`
}

type TWeCallPkgInfo added in v1.0.929

type TWeCallPkgInfo struct {
	// 包ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	PkgId *string `json:"PkgId,omitnil,omitempty" name:"PkgId"`

	// 包类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	PkgType *int64 `json:"PkgType,omitnil,omitempty" name:"PkgType"`

	// 生效时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 过期时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 已使用
	// 注意:此字段可能返回 null,表示取不到有效值。
	LicenseUsedNum *int64 `json:"LicenseUsedNum,omitnil,omitempty" name:"LicenseUsedNum"`

	// 总量
	// 注意:此字段可能返回 null,表示取不到有效值。
	LicenseTotalNum *int64 `json:"LicenseTotalNum,omitnil,omitempty" name:"LicenseTotalNum"`
}

type ThumbnailURLInfoList added in v1.0.888

type ThumbnailURLInfoList struct {
	// 缩略图访问地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	ThumbnailURL *string `json:"ThumbnailURL,omitnil,omitempty" name:"ThumbnailURL"`

	// 缩略图访问地址的过期时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
}

type TopicItem added in v1.0.269

type TopicItem struct {
	// Topic名称
	TopicName *string `json:"TopicName,omitnil,omitempty" name:"TopicName"`

	// Topic权限 , 1上报  2下发
	Privilege *uint64 `json:"Privilege,omitnil,omitempty" name:"Privilege"`
}

type TopicRule

type TopicRule struct {
	// 规则名称。
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// 规则的SQL语句,如: SELECT * FROM 'pid/dname/event',然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==
	Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"`

	// 规则描述。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 行为的JSON字符串。
	// 注意:此字段可能返回 null,表示取不到有效值。
	Actions *string `json:"Actions,omitnil,omitempty" name:"Actions"`

	// 是否禁用规则
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuleDisabled *bool `json:"RuleDisabled,omitnil,omitempty" name:"RuleDisabled"`
}

type TopicRuleInfo

type TopicRuleInfo struct {
	// 规则名称
	RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"`

	// 规则描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 创建时间
	CreatedAt *int64 `json:"CreatedAt,omitnil,omitempty" name:"CreatedAt"`

	// 规则是否禁用
	RuleDisabled *bool `json:"RuleDisabled,omitnil,omitempty" name:"RuleDisabled"`
}

type TopicRulePayload

type TopicRulePayload struct {
	// 规则的SQL语句,如: SELECT * FROM 'pid/dname/event',然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==
	Sql *string `json:"Sql,omitnil,omitempty" name:"Sql"`

	// 行为的JSON字符串,大部分种类举例如下:
	// [
	// {
	// "republish": {
	// "topic": "TEST/test"
	// }
	// },
	// {
	// "forward": {
	// "api": "http://test.com:8080"
	// }
	// },
	// {
	// "ckafka": {
	// "instance": {
	// "id": "ckafka-test",
	// "name": ""
	// },
	// "topic": {
	// "id": "topic-test",
	// "name": "test"
	// },
	// "region": "gz"
	// }
	// },
	// {
	// "cmqqueue": {
	// "queuename": "queue-test-TEST",
	// "region": "gz"
	// }
	// },
	// {
	// "mysql": {
	// "instanceid": "cdb-test",
	// "region": "gz",
	// "username": "test",
	// "userpwd": "*****",
	// "dbname": "d_mqtt",
	// "tablename": "t_test",
	// "fieldpairs": [
	// {
	// "field": "test",
	// "value": "test"
	// }
	// ],
	// "devicetype": "CUSTOM"
	// }
	// }
	// ]
	Actions *string `json:"Actions,omitnil,omitempty" name:"Actions"`

	// 规则描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 是否禁用规则
	RuleDisabled *bool `json:"RuleDisabled,omitnil,omitempty" name:"RuleDisabled"`
}

type TransferCloudStorageRequest added in v1.0.888

type TransferCloudStorageRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 已开通云存的设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 未开通云存的设备名称
	ToDeviceName *string `json:"ToDeviceName,omitnil,omitempty" name:"ToDeviceName"`

	// 未开通云存的设备产品ID
	ToProductId *string `json:"ToProductId,omitnil,omitempty" name:"ToProductId"`
}

func NewTransferCloudStorageRequest added in v1.0.888

func NewTransferCloudStorageRequest() (request *TransferCloudStorageRequest)

func (*TransferCloudStorageRequest) FromJsonString added in v1.0.888

func (r *TransferCloudStorageRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TransferCloudStorageRequest) ToJsonString added in v1.0.888

func (r *TransferCloudStorageRequest) ToJsonString() string

type TransferCloudStorageRequestParams added in v1.0.888

type TransferCloudStorageRequestParams struct {
	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 已开通云存的设备名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 未开通云存的设备名称
	ToDeviceName *string `json:"ToDeviceName,omitnil,omitempty" name:"ToDeviceName"`

	// 未开通云存的设备产品ID
	ToProductId *string `json:"ToProductId,omitnil,omitempty" name:"ToProductId"`
}

Predefined struct for user

type TransferCloudStorageResponse added in v1.0.888

type TransferCloudStorageResponse struct {
	*tchttp.BaseResponse
	Response *TransferCloudStorageResponseParams `json:"Response"`
}

func NewTransferCloudStorageResponse added in v1.0.888

func NewTransferCloudStorageResponse() (response *TransferCloudStorageResponse)

func (*TransferCloudStorageResponse) FromJsonString added in v1.0.888

func (r *TransferCloudStorageResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*TransferCloudStorageResponse) ToJsonString added in v1.0.888

func (r *TransferCloudStorageResponse) ToJsonString() string

type TransferCloudStorageResponseParams added in v1.0.888

type TransferCloudStorageResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UnbindDevicesRequest added in v1.0.328

type UnbindDevicesRequest struct {
	*tchttp.BaseRequest

	// 网关设备的产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备的设备名
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名列表
	DeviceNames []*string `json:"DeviceNames,omitnil,omitempty" name:"DeviceNames"`
}

func NewUnbindDevicesRequest added in v1.0.328

func NewUnbindDevicesRequest() (request *UnbindDevicesRequest)

func (*UnbindDevicesRequest) FromJsonString added in v1.0.328

func (r *UnbindDevicesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UnbindDevicesRequest) ToJsonString added in v1.0.328

func (r *UnbindDevicesRequest) ToJsonString() string

type UnbindDevicesRequestParams added in v1.0.426

type UnbindDevicesRequestParams struct {
	// 网关设备的产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 网关设备的设备名
	GatewayDeviceName *string `json:"GatewayDeviceName,omitnil,omitempty" name:"GatewayDeviceName"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名列表
	DeviceNames []*string `json:"DeviceNames,omitnil,omitempty" name:"DeviceNames"`
}

Predefined struct for user

type UnbindDevicesResponse added in v1.0.328

type UnbindDevicesResponse struct {
	*tchttp.BaseResponse
	Response *UnbindDevicesResponseParams `json:"Response"`
}

func NewUnbindDevicesResponse added in v1.0.328

func NewUnbindDevicesResponse() (response *UnbindDevicesResponse)

func (*UnbindDevicesResponse) FromJsonString added in v1.0.328

func (r *UnbindDevicesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UnbindDevicesResponse) ToJsonString added in v1.0.328

func (r *UnbindDevicesResponse) ToJsonString() string

type UnbindDevicesResponseParams added in v1.0.426

type UnbindDevicesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UnbindProductsRequest added in v1.0.328

type UnbindProductsRequest struct {
	*tchttp.BaseRequest

	// 网关产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 待解绑的子产品ID数组
	ProductIds []*string `json:"ProductIds,omitnil,omitempty" name:"ProductIds"`
}

func NewUnbindProductsRequest added in v1.0.328

func NewUnbindProductsRequest() (request *UnbindProductsRequest)

func (*UnbindProductsRequest) FromJsonString added in v1.0.328

func (r *UnbindProductsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UnbindProductsRequest) ToJsonString added in v1.0.328

func (r *UnbindProductsRequest) ToJsonString() string

type UnbindProductsRequestParams added in v1.0.426

type UnbindProductsRequestParams struct {
	// 网关产品ID
	GatewayProductId *string `json:"GatewayProductId,omitnil,omitempty" name:"GatewayProductId"`

	// 待解绑的子产品ID数组
	ProductIds []*string `json:"ProductIds,omitnil,omitempty" name:"ProductIds"`
}

Predefined struct for user

type UnbindProductsResponse added in v1.0.328

type UnbindProductsResponse struct {
	*tchttp.BaseResponse
	Response *UnbindProductsResponseParams `json:"Response"`
}

func NewUnbindProductsResponse added in v1.0.328

func NewUnbindProductsResponse() (response *UnbindProductsResponse)

func (*UnbindProductsResponse) FromJsonString added in v1.0.328

func (r *UnbindProductsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UnbindProductsResponse) ToJsonString added in v1.0.328

func (r *UnbindProductsResponse) ToJsonString() string

type UnbindProductsResponseParams added in v1.0.426

type UnbindProductsResponseParams struct {
	// 绑定了待解绑的LoRa产品下的设备的网关设备列表
	GatewayDeviceNames []*string `json:"GatewayDeviceNames,omitnil,omitempty" name:"GatewayDeviceNames"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateDeviceTWeCallAuthorizeStatusRequest added in v1.0.927

type UpdateDeviceTWeCallAuthorizeStatusRequest struct {
	*tchttp.BaseRequest

	// TweCall授权状态:0未授权,1已授权
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 微信用户的openId
	WechatOpenId *string `json:"WechatOpenId,omitnil,omitempty" name:"WechatOpenId"`
}

func NewUpdateDeviceTWeCallAuthorizeStatusRequest added in v1.0.927

func NewUpdateDeviceTWeCallAuthorizeStatusRequest() (request *UpdateDeviceTWeCallAuthorizeStatusRequest)

func (*UpdateDeviceTWeCallAuthorizeStatusRequest) FromJsonString added in v1.0.927

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateDeviceTWeCallAuthorizeStatusRequest) ToJsonString added in v1.0.927

type UpdateDeviceTWeCallAuthorizeStatusRequestParams added in v1.0.927

type UpdateDeviceTWeCallAuthorizeStatusRequestParams struct {
	// TweCall授权状态:0未授权,1已授权
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 产品ID
	ProductId *string `json:"ProductId,omitnil,omitempty" name:"ProductId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 微信用户的openId
	WechatOpenId *string `json:"WechatOpenId,omitnil,omitempty" name:"WechatOpenId"`
}

Predefined struct for user

type UpdateDeviceTWeCallAuthorizeStatusResponse added in v1.0.927

type UpdateDeviceTWeCallAuthorizeStatusResponse struct {
	*tchttp.BaseResponse
	Response *UpdateDeviceTWeCallAuthorizeStatusResponseParams `json:"Response"`
}

func NewUpdateDeviceTWeCallAuthorizeStatusResponse added in v1.0.927

func NewUpdateDeviceTWeCallAuthorizeStatusResponse() (response *UpdateDeviceTWeCallAuthorizeStatusResponse)

func (*UpdateDeviceTWeCallAuthorizeStatusResponse) FromJsonString added in v1.0.927

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateDeviceTWeCallAuthorizeStatusResponse) ToJsonString added in v1.0.927

type UpdateDeviceTWeCallAuthorizeStatusResponseParams added in v1.0.927

type UpdateDeviceTWeCallAuthorizeStatusResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateDevicesEnableStateRequest added in v1.0.238

type UpdateDevicesEnableStateRequest struct {
	*tchttp.BaseRequest

	// 多个设备标识
	DevicesItems []*DevicesItem `json:"DevicesItems,omitnil,omitempty" name:"DevicesItems"`

	// 1:启用;0:禁用
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

func NewUpdateDevicesEnableStateRequest added in v1.0.238

func NewUpdateDevicesEnableStateRequest() (request *UpdateDevicesEnableStateRequest)

func (*UpdateDevicesEnableStateRequest) FromJsonString added in v1.0.238

func (r *UpdateDevicesEnableStateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateDevicesEnableStateRequest) ToJsonString added in v1.0.238

func (r *UpdateDevicesEnableStateRequest) ToJsonString() string

type UpdateDevicesEnableStateRequestParams added in v1.0.426

type UpdateDevicesEnableStateRequestParams struct {
	// 多个设备标识
	DevicesItems []*DevicesItem `json:"DevicesItems,omitnil,omitempty" name:"DevicesItems"`

	// 1:启用;0:禁用
	Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}

Predefined struct for user

type UpdateDevicesEnableStateResponse added in v1.0.238

type UpdateDevicesEnableStateResponse struct {
	*tchttp.BaseResponse
	Response *UpdateDevicesEnableStateResponseParams `json:"Response"`
}

func NewUpdateDevicesEnableStateResponse added in v1.0.238

func NewUpdateDevicesEnableStateResponse() (response *UpdateDevicesEnableStateResponse)

func (*UpdateDevicesEnableStateResponse) FromJsonString added in v1.0.238

func (r *UpdateDevicesEnableStateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateDevicesEnableStateResponse) ToJsonString added in v1.0.238

func (r *UpdateDevicesEnableStateResponse) ToJsonString() string

type UpdateDevicesEnableStateResponseParams added in v1.0.426

type UpdateDevicesEnableStateResponseParams struct {
	// 删除的结果代码
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResultCode *string `json:"ResultCode,omitnil,omitempty" name:"ResultCode"`

	// 删除的结果信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResultMessage *string `json:"ResultMessage,omitnil,omitempty" name:"ResultMessage"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateFirmwareRequest

type UpdateFirmwareRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 固件新的版本号
	FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"`

	// 固件原版本号
	FirmwareOriVersion *string `json:"FirmwareOriVersion,omitnil,omitempty" name:"FirmwareOriVersion"`

	// 固件升级方式;0 静默升级 1 用户确认升级   不填默认静默升级
	UpgradeMethod *uint64 `json:"UpgradeMethod,omitnil,omitempty" name:"UpgradeMethod"`
}

func NewUpdateFirmwareRequest

func NewUpdateFirmwareRequest() (request *UpdateFirmwareRequest)

func (*UpdateFirmwareRequest) FromJsonString

func (r *UpdateFirmwareRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateFirmwareRequest) ToJsonString

func (r *UpdateFirmwareRequest) ToJsonString() string

type UpdateFirmwareRequestParams added in v1.0.426

type UpdateFirmwareRequestParams struct {
	// 产品ID
	ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 固件新的版本号
	FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"`

	// 固件原版本号
	FirmwareOriVersion *string `json:"FirmwareOriVersion,omitnil,omitempty" name:"FirmwareOriVersion"`

	// 固件升级方式;0 静默升级 1 用户确认升级   不填默认静默升级
	UpgradeMethod *uint64 `json:"UpgradeMethod,omitnil,omitempty" name:"UpgradeMethod"`
}

Predefined struct for user

type UpdateFirmwareResponse

type UpdateFirmwareResponse struct {
	*tchttp.BaseResponse
	Response *UpdateFirmwareResponseParams `json:"Response"`
}

func NewUpdateFirmwareResponse

func NewUpdateFirmwareResponse() (response *UpdateFirmwareResponse)

func (*UpdateFirmwareResponse) FromJsonString

func (r *UpdateFirmwareResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateFirmwareResponse) ToJsonString

func (r *UpdateFirmwareResponse) ToJsonString() string

type UpdateFirmwareResponseParams added in v1.0.426

type UpdateFirmwareResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UploadFirmwareRequest

type UploadFirmwareRequest struct {
	*tchttp.BaseRequest

	// 产品ID
	ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"`

	// 固件版本号
	FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"`

	// 固件的MD5值
	Md5sum *string `json:"Md5sum,omitnil,omitempty" name:"Md5sum"`

	// 固件的大小
	FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`

	// 固件名称
	FirmwareName *string `json:"FirmwareName,omitnil,omitempty" name:"FirmwareName"`

	// 固件描述
	FirmwareDescription *string `json:"FirmwareDescription,omitnil,omitempty" name:"FirmwareDescription"`

	// 固件升级模块;可选值 mcu|moudule
	FwType *string `json:"FwType,omitnil,omitempty" name:"FwType"`

	// 固件用户自定义配置信息
	FirmwareUserDefined *string `json:"FirmwareUserDefined,omitnil,omitempty" name:"FirmwareUserDefined"`
}

func NewUploadFirmwareRequest

func NewUploadFirmwareRequest() (request *UploadFirmwareRequest)

func (*UploadFirmwareRequest) FromJsonString

func (r *UploadFirmwareRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UploadFirmwareRequest) ToJsonString

func (r *UploadFirmwareRequest) ToJsonString() string

type UploadFirmwareRequestParams added in v1.0.426

type UploadFirmwareRequestParams struct {
	// 产品ID
	ProductID *string `json:"ProductID,omitnil,omitempty" name:"ProductID"`

	// 固件版本号
	FirmwareVersion *string `json:"FirmwareVersion,omitnil,omitempty" name:"FirmwareVersion"`

	// 固件的MD5值
	Md5sum *string `json:"Md5sum,omitnil,omitempty" name:"Md5sum"`

	// 固件的大小
	FileSize *uint64 `json:"FileSize,omitnil,omitempty" name:"FileSize"`

	// 固件名称
	FirmwareName *string `json:"FirmwareName,omitnil,omitempty" name:"FirmwareName"`

	// 固件描述
	FirmwareDescription *string `json:"FirmwareDescription,omitnil,omitempty" name:"FirmwareDescription"`

	// 固件升级模块;可选值 mcu|moudule
	FwType *string `json:"FwType,omitnil,omitempty" name:"FwType"`

	// 固件用户自定义配置信息
	FirmwareUserDefined *string `json:"FirmwareUserDefined,omitnil,omitempty" name:"FirmwareUserDefined"`
}

Predefined struct for user

type UploadFirmwareResponse

type UploadFirmwareResponse struct {
	*tchttp.BaseResponse
	Response *UploadFirmwareResponseParams `json:"Response"`
}

func NewUploadFirmwareResponse

func NewUploadFirmwareResponse() (response *UploadFirmwareResponse)

func (*UploadFirmwareResponse) FromJsonString

func (r *UploadFirmwareResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UploadFirmwareResponse) ToJsonString

func (r *UploadFirmwareResponse) ToJsonString() string

type UploadFirmwareResponseParams added in v1.0.426

type UploadFirmwareResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type WifiInfo added in v1.0.541

type WifiInfo struct {
	// mac地址
	MAC *string `json:"MAC,omitnil,omitempty" name:"MAC"`

	// 信号强度
	RSSI *int64 `json:"RSSI,omitnil,omitempty" name:"RSSI"`
}

Jump to

Keyboard shortcuts

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