Documentation ¶
Index ¶
- Constants
- type CallDeviceActionAsyncRequest
- type CallDeviceActionAsyncResponse
- type CallDeviceActionSyncRequest
- type CallDeviceActionSyncResponse
- type Client
- func (c *Client) CallDeviceActionAsync(request *CallDeviceActionAsyncRequest) (response *CallDeviceActionAsyncResponse, err error)
- func (c *Client) CallDeviceActionSync(request *CallDeviceActionSyncRequest) (response *CallDeviceActionSyncResponse, err error)
- func (c *Client) ControlDeviceData(request *ControlDeviceDataRequest) (response *ControlDeviceDataResponse, err error)
- func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
- func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) CreateStudioProduct(request *CreateStudioProductRequest) (response *CreateStudioProductResponse, err error)
- func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
- func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
- func (c *Client) DeleteStudioProduct(request *DeleteStudioProductRequest) (response *DeleteStudioProductResponse, err error)
- func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
- func (c *Client) DescribeDeviceData(request *DescribeDeviceDataRequest) (response *DescribeDeviceDataResponse, err error)
- func (c *Client) DescribeDeviceDataHistory(request *DescribeDeviceDataHistoryRequest) (response *DescribeDeviceDataHistoryResponse, err error)
- func (c *Client) DescribeModelDefinition(request *DescribeModelDefinitionRequest) (response *DescribeModelDefinitionResponse, err error)
- func (c *Client) DescribeProject(request *DescribeProjectRequest) (response *DescribeProjectResponse, err error)
- func (c *Client) DescribeStudioProduct(request *DescribeStudioProductRequest) (response *DescribeStudioProductResponse, err error)
- func (c *Client) GetDeviceList(request *GetDeviceListRequest) (response *GetDeviceListResponse, err error)
- func (c *Client) GetProjectList(request *GetProjectListRequest) (response *GetProjectListResponse, err error)
- func (c *Client) GetStudioProductList(request *GetStudioProductListRequest) (response *GetStudioProductListResponse, err error)
- func (c *Client) ListEventHistory(request *ListEventHistoryRequest) (response *ListEventHistoryResponse, err error)
- func (c *Client) ModifyModelDefinition(request *ModifyModelDefinitionRequest) (response *ModifyModelDefinitionResponse, err error)
- func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
- func (c *Client) ModifyStudioProduct(request *ModifyStudioProductRequest) (response *ModifyStudioProductResponse, err error)
- func (c *Client) ReleaseStudioProduct(request *ReleaseStudioProductRequest) (response *ReleaseStudioProductResponse, err error)
- func (c *Client) SearchStudioProduct(request *SearchStudioProductRequest) (response *SearchStudioProductResponse, err error)
- type ControlDeviceDataRequest
- type ControlDeviceDataResponse
- type CreateDeviceRequest
- type CreateDeviceResponse
- type CreateProjectRequest
- type CreateProjectResponse
- type CreateStudioProductRequest
- type CreateStudioProductResponse
- type DeleteDeviceRequest
- type DeleteDeviceResponse
- type DeleteProjectRequest
- type DeleteProjectResponse
- type DeleteStudioProductRequest
- type DeleteStudioProductResponse
- type DescribeDeviceDataHistoryRequest
- type DescribeDeviceDataHistoryResponse
- type DescribeDeviceDataRequest
- type DescribeDeviceDataResponse
- type DescribeDeviceRequest
- type DescribeDeviceResponse
- type DescribeModelDefinitionRequest
- type DescribeModelDefinitionResponse
- type DescribeProjectRequest
- type DescribeProjectResponse
- type DescribeStudioProductRequest
- type DescribeStudioProductResponse
- type DeviceData
- type DeviceDataHistoryItem
- type DeviceInfo
- type EventHistoryItem
- type GetDeviceListRequest
- type GetDeviceListResponse
- type GetProjectListRequest
- type GetProjectListResponse
- type GetStudioProductListRequest
- type GetStudioProductListResponse
- type ListEventHistoryRequest
- type ListEventHistoryResponse
- type ModifyModelDefinitionRequest
- type ModifyModelDefinitionResponse
- type ModifyProjectRequest
- type ModifyProjectResponse
- type ModifyStudioProductRequest
- type ModifyStudioProductResponse
- type ProductEntry
- type ProductModelDefinition
- type ProjectEntry
- type ProjectEntryEx
- type ReleaseStudioProductRequest
- type ReleaseStudioProductResponse
- type SearchStudioProductRequest
- type SearchStudioProductResponse
Constants ¶
View Source
const APIVersion = "2019-04-23"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallDeviceActionAsyncRequest ¶
type CallDeviceActionAsyncRequest struct { *tchttp.BaseRequest // 产品Id ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 动作Id ActionId *string `json:"ActionId,omitempty" name:"ActionId"` // 输入参数 InputParams *string `json:"InputParams,omitempty" name:"InputParams"` }
func NewCallDeviceActionAsyncRequest ¶
func NewCallDeviceActionAsyncRequest() (request *CallDeviceActionAsyncRequest)
func (*CallDeviceActionAsyncRequest) FromJsonString ¶
func (r *CallDeviceActionAsyncRequest) FromJsonString(s string) error
func (*CallDeviceActionAsyncRequest) ToJsonString ¶
func (r *CallDeviceActionAsyncRequest) ToJsonString() string
type CallDeviceActionAsyncResponse ¶
type CallDeviceActionAsyncResponse struct { *tchttp.BaseResponse Response *struct { // 调用Id ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // 异步调用状态 Status *string `json:"Status,omitempty" name:"Status"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCallDeviceActionAsyncResponse ¶
func NewCallDeviceActionAsyncResponse() (response *CallDeviceActionAsyncResponse)
func (*CallDeviceActionAsyncResponse) FromJsonString ¶
func (r *CallDeviceActionAsyncResponse) FromJsonString(s string) error
func (*CallDeviceActionAsyncResponse) ToJsonString ¶
func (r *CallDeviceActionAsyncResponse) ToJsonString() string
type CallDeviceActionSyncRequest ¶
type CallDeviceActionSyncRequest struct { *tchttp.BaseRequest // 产品Id ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 动作Id ActionId *string `json:"ActionId,omitempty" name:"ActionId"` // 输入参数 InputParams *string `json:"InputParams,omitempty" name:"InputParams"` }
func NewCallDeviceActionSyncRequest ¶
func NewCallDeviceActionSyncRequest() (request *CallDeviceActionSyncRequest)
func (*CallDeviceActionSyncRequest) FromJsonString ¶
func (r *CallDeviceActionSyncRequest) FromJsonString(s string) error
func (*CallDeviceActionSyncRequest) ToJsonString ¶
func (r *CallDeviceActionSyncRequest) ToJsonString() string
type CallDeviceActionSyncResponse ¶
type CallDeviceActionSyncResponse struct { *tchttp.BaseResponse Response *struct { // 调用Id ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"` // 输出参数 // 注意:此字段可能返回 null,表示取不到有效值。 OutputParams *string `json:"OutputParams,omitempty" name:"OutputParams"` // 返回状态 Status *string `json:"Status,omitempty" name:"Status"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCallDeviceActionSyncResponse ¶
func NewCallDeviceActionSyncResponse() (response *CallDeviceActionSyncResponse)
func (*CallDeviceActionSyncResponse) FromJsonString ¶
func (r *CallDeviceActionSyncResponse) FromJsonString(s string) error
func (*CallDeviceActionSyncResponse) ToJsonString ¶
func (r *CallDeviceActionSyncResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CallDeviceActionAsync ¶
func (c *Client) CallDeviceActionAsync(request *CallDeviceActionAsyncRequest) (response *CallDeviceActionAsyncResponse, err error)
提供给用户异步调用设备动作的能力
func (*Client) CallDeviceActionSync ¶
func (c *Client) CallDeviceActionSync(request *CallDeviceActionSyncRequest) (response *CallDeviceActionSyncResponse, err error)
为用户提供同步调用设备动作的能力。
func (*Client) ControlDeviceData ¶
func (c *Client) ControlDeviceData(request *ControlDeviceDataRequest) (response *ControlDeviceDataResponse, err error)
根据设备产品ID、设备名称,设置控制设备的属性数据。
func (*Client) CreateDevice ¶
func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
创建设备
func (*Client) CreateProject ¶
func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
为用户提供新建项目的能力,用于集中管理产品和应用。
func (*Client) CreateStudioProduct ¶
func (c *Client) CreateStudioProduct(request *CreateStudioProductRequest) (response *CreateStudioProductResponse, err error)
为用户提供新建产品的能力,用于管理用户的设备
func (*Client) DeleteDevice ¶
func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
删除设备
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
提供删除某个项目的能力
func (*Client) DeleteStudioProduct ¶
func (c *Client) DeleteStudioProduct(request *DeleteStudioProductRequest) (response *DeleteStudioProductResponse, err error)
提供删除某个项目下产品的能力
func (*Client) DescribeDevice ¶
func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
用于查看某个设备的详细信息
func (*Client) DescribeDeviceData ¶
func (c *Client) DescribeDeviceData(request *DescribeDeviceDataRequest) (response *DescribeDeviceDataResponse, err error)
根据设备产品ID、设备名称,获取设备上报的属性数据。
func (*Client) DescribeDeviceDataHistory ¶
func (c *Client) DescribeDeviceDataHistory(request *DescribeDeviceDataHistoryRequest) (response *DescribeDeviceDataHistoryResponse, err error)
获取设备在指定时间范围内上报的历史数据。
func (*Client) DescribeModelDefinition ¶
func (c *Client) DescribeModelDefinition(request *DescribeModelDefinitionRequest) (response *DescribeModelDefinitionResponse, err error)
查询产品配置的数据模板信息
func (*Client) DescribeProject ¶
func (c *Client) DescribeProject(request *DescribeProjectRequest) (response *DescribeProjectResponse, err error)
查询项目详情
func (*Client) DescribeStudioProduct ¶
func (c *Client) DescribeStudioProduct(request *DescribeStudioProductRequest) (response *DescribeStudioProductResponse, err error)
提供查看茶品详细信息的能力,包括产品的ID、数据协议、认证类型等重要参数
func (*Client) GetDeviceList ¶
func (c *Client) GetDeviceList(request *GetDeviceListRequest) (response *GetDeviceListResponse, err error)
用于查询某个产品下的设备列表
func (*Client) GetProjectList ¶
func (c *Client) GetProjectList(request *GetProjectListRequest) (response *GetProjectListResponse, err error)
提供查询用户所创建的项目列表查询功能。
func (*Client) GetStudioProductList ¶
func (c *Client) GetStudioProductList(request *GetStudioProductListRequest) (response *GetStudioProductListResponse, err error)
提供查询某个项目下所有产品信息的能力。
func (*Client) ListEventHistory ¶
func (c *Client) ListEventHistory(request *ListEventHistoryRequest) (response *ListEventHistoryResponse, err error)
获取设备的历史事件
func (*Client) ModifyModelDefinition ¶
func (c *Client) ModifyModelDefinition(request *ModifyModelDefinitionRequest) (response *ModifyModelDefinitionResponse, err error)
提供修改产品的数据模板的能力
func (*Client) ModifyProject ¶
func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
修改项目
func (*Client) ModifyStudioProduct ¶
func (c *Client) ModifyStudioProduct(request *ModifyStudioProductRequest) (response *ModifyStudioProductResponse, err error)
提供修改产品的名称和描述等信息的能力
func (*Client) ReleaseStudioProduct ¶
func (c *Client) ReleaseStudioProduct(request *ReleaseStudioProductRequest) (response *ReleaseStudioProductResponse, err error)
产品开发完成并测试通过后,通过发布产品将产品设置为发布状态
func (*Client) SearchStudioProduct ¶
func (c *Client) SearchStudioProduct(request *SearchStudioProductRequest) (response *SearchStudioProductResponse, err error)
提供根据产品名称查找产品的能力
type ControlDeviceDataRequest ¶
type ControlDeviceDataRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 属性数据 Data *string `json:"Data,omitempty" name:"Data"` // 请求类型 Method *string `json:"Method,omitempty" name:"Method"` // 设备ID,该字段有值将代替 ProductId/DeviceName DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
func NewControlDeviceDataRequest ¶
func NewControlDeviceDataRequest() (request *ControlDeviceDataRequest)
func (*ControlDeviceDataRequest) FromJsonString ¶
func (r *ControlDeviceDataRequest) FromJsonString(s string) error
func (*ControlDeviceDataRequest) ToJsonString ¶
func (r *ControlDeviceDataRequest) ToJsonString() string
type ControlDeviceDataResponse ¶
type ControlDeviceDataResponse struct { *tchttp.BaseResponse Response *struct { // 返回信息 Data *string `json:"Data,omitempty" name:"Data"` // JSON字符串, 返回下发控制的结果信息, // Sent = 1 表示设备已经在线并且订阅了控制下发的mqtt topic // 注意:此字段可能返回 null,表示取不到有效值。 Result *string `json:"Result,omitempty" name:"Result"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewControlDeviceDataResponse ¶
func NewControlDeviceDataResponse() (response *ControlDeviceDataResponse)
func (*ControlDeviceDataResponse) FromJsonString ¶
func (r *ControlDeviceDataResponse) FromJsonString(s string) error
func (*ControlDeviceDataResponse) ToJsonString ¶
func (r *ControlDeviceDataResponse) ToJsonString() string
type CreateDeviceRequest ¶
type CreateDeviceRequest struct { *tchttp.BaseRequest // 产品ID。 ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // LoRaWAN 设备地址 DevAddr *string `json:"DevAddr,omitempty" name:"DevAddr"` // LoRaWAN 应用密钥 AppKey *string `json:"AppKey,omitempty" name:"AppKey"` // LoRaWAN 设备唯一标识 DevEUI *string `json:"DevEUI,omitempty" name:"DevEUI"` // LoRaWAN 应用会话密钥 AppSKey *string `json:"AppSKey,omitempty" name:"AppSKey"` // LoRaWAN 网络会话密钥 NwkSKey *string `json:"NwkSKey,omitempty" name:"NwkSKey"` }
func NewCreateDeviceRequest ¶
func NewCreateDeviceRequest() (request *CreateDeviceRequest)
func (*CreateDeviceRequest) FromJsonString ¶
func (r *CreateDeviceRequest) FromJsonString(s string) error
func (*CreateDeviceRequest) ToJsonString ¶
func (r *CreateDeviceRequest) ToJsonString() string
type CreateDeviceResponse ¶
type CreateDeviceResponse struct { *tchttp.BaseResponse Response *struct { // 设备参数描述。 Data *DeviceData `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateDeviceResponse ¶
func NewCreateDeviceResponse() (response *CreateDeviceResponse)
func (*CreateDeviceResponse) FromJsonString ¶
func (r *CreateDeviceResponse) FromJsonString(s string) error
func (*CreateDeviceResponse) ToJsonString ¶
func (r *CreateDeviceResponse) ToJsonString() string
type CreateProjectRequest ¶
type CreateProjectRequest struct { *tchttp.BaseRequest // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目描述 ProjectDesc *string `json:"ProjectDesc,omitempty" name:"ProjectDesc"` }
func NewCreateProjectRequest ¶
func NewCreateProjectRequest() (request *CreateProjectRequest)
func (*CreateProjectRequest) FromJsonString ¶
func (r *CreateProjectRequest) FromJsonString(s string) error
func (*CreateProjectRequest) ToJsonString ¶
func (r *CreateProjectRequest) ToJsonString() string
type CreateProjectResponse ¶
type CreateProjectResponse struct { *tchttp.BaseResponse Response *struct { // 返回信息 Project *ProjectEntry `json:"Project,omitempty" name:"Project"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateProjectResponse ¶
func NewCreateProjectResponse() (response *CreateProjectResponse)
func (*CreateProjectResponse) FromJsonString ¶
func (r *CreateProjectResponse) FromJsonString(s string) error
func (*CreateProjectResponse) ToJsonString ¶
func (r *CreateProjectResponse) ToJsonString() string
type CreateStudioProductRequest ¶
type CreateStudioProductRequest struct { *tchttp.BaseRequest // 产品名称,名称不能和已经存在的产品名称重复。命名规则:[a-zA-Z0-9:_-]{1,32} ProductName *string `json:"ProductName,omitempty" name:"ProductName"` // 产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID) CategoryId *int64 `json:"CategoryId,omitempty" name:"CategoryId"` // 产品类型 填写 ( 0 普通产品 ) ProductType *int64 `json:"ProductType,omitempty" name:"ProductType"` // 加密类型 加密类型,1表示证书认证,2表示签名认证。 EncryptionType *string `json:"EncryptionType,omitempty" name:"EncryptionType"` // 连接类型 可以填写 wifi cellular else NetType *string `json:"NetType,omitempty" name:"NetType"` // 数据协议 (1 使用物模型) DataProtocol *int64 `json:"DataProtocol,omitempty" name:"DataProtocol"` // 产品描述 ProductDesc *string `json:"ProductDesc,omitempty" name:"ProductDesc"` // 产品的项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewCreateStudioProductRequest ¶
func NewCreateStudioProductRequest() (request *CreateStudioProductRequest)
func (*CreateStudioProductRequest) FromJsonString ¶
func (r *CreateStudioProductRequest) FromJsonString(s string) error
func (*CreateStudioProductRequest) ToJsonString ¶
func (r *CreateStudioProductRequest) ToJsonString() string
type CreateStudioProductResponse ¶
type CreateStudioProductResponse struct { *tchttp.BaseResponse Response *struct { // 产品描述 Product *ProductEntry `json:"Product,omitempty" name:"Product"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateStudioProductResponse ¶
func NewCreateStudioProductResponse() (response *CreateStudioProductResponse)
func (*CreateStudioProductResponse) FromJsonString ¶
func (r *CreateStudioProductResponse) FromJsonString(s string) error
func (*CreateStudioProductResponse) ToJsonString ¶
func (r *CreateStudioProductResponse) ToJsonString() string
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct { *tchttp.BaseRequest // 产品ID。 ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称。 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` }
func NewDeleteDeviceRequest ¶
func NewDeleteDeviceRequest() (request *DeleteDeviceRequest)
func (*DeleteDeviceRequest) FromJsonString ¶
func (r *DeleteDeviceRequest) FromJsonString(s string) error
func (*DeleteDeviceRequest) ToJsonString ¶
func (r *DeleteDeviceRequest) ToJsonString() string
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteDeviceResponse ¶
func NewDeleteDeviceResponse() (response *DeleteDeviceResponse)
func (*DeleteDeviceResponse) FromJsonString ¶
func (r *DeleteDeviceResponse) FromJsonString(s string) error
func (*DeleteDeviceResponse) ToJsonString ¶
func (r *DeleteDeviceResponse) ToJsonString() string
type DeleteProjectRequest ¶
type DeleteProjectRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewDeleteProjectRequest ¶
func NewDeleteProjectRequest() (request *DeleteProjectRequest)
func (*DeleteProjectRequest) FromJsonString ¶
func (r *DeleteProjectRequest) FromJsonString(s string) error
func (*DeleteProjectRequest) ToJsonString ¶
func (r *DeleteProjectRequest) ToJsonString() string
type DeleteProjectResponse ¶
type DeleteProjectResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteProjectResponse ¶
func NewDeleteProjectResponse() (response *DeleteProjectResponse)
func (*DeleteProjectResponse) FromJsonString ¶
func (r *DeleteProjectResponse) FromJsonString(s string) error
func (*DeleteProjectResponse) ToJsonString ¶
func (r *DeleteProjectResponse) ToJsonString() string
type DeleteStudioProductRequest ¶
type DeleteStudioProductRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` }
func NewDeleteStudioProductRequest ¶
func NewDeleteStudioProductRequest() (request *DeleteStudioProductRequest)
func (*DeleteStudioProductRequest) FromJsonString ¶
func (r *DeleteStudioProductRequest) FromJsonString(s string) error
func (*DeleteStudioProductRequest) ToJsonString ¶
func (r *DeleteStudioProductRequest) ToJsonString() string
type DeleteStudioProductResponse ¶
type DeleteStudioProductResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteStudioProductResponse ¶
func NewDeleteStudioProductResponse() (response *DeleteStudioProductResponse)
func (*DeleteStudioProductResponse) FromJsonString ¶
func (r *DeleteStudioProductResponse) FromJsonString(s string) error
func (*DeleteStudioProductResponse) ToJsonString ¶
func (r *DeleteStudioProductResponse) ToJsonString() string
type DescribeDeviceDataHistoryRequest ¶
type DescribeDeviceDataHistoryRequest struct { *tchttp.BaseRequest // 区间开始时间 MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"` // 区间结束时间 MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"` // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 属性字段名称 FieldName *string `json:"FieldName,omitempty" name:"FieldName"` // 返回条数 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 检索上下文 Context *string `json:"Context,omitempty" name:"Context"` }
func NewDescribeDeviceDataHistoryRequest ¶
func NewDescribeDeviceDataHistoryRequest() (request *DescribeDeviceDataHistoryRequest)
func (*DescribeDeviceDataHistoryRequest) FromJsonString ¶
func (r *DescribeDeviceDataHistoryRequest) FromJsonString(s string) error
func (*DescribeDeviceDataHistoryRequest) ToJsonString ¶
func (r *DescribeDeviceDataHistoryRequest) ToJsonString() string
type DescribeDeviceDataHistoryResponse ¶
type DescribeDeviceDataHistoryResponse struct { *tchttp.BaseResponse Response *struct { // 属性字段名称 // 注意:此字段可能返回 null,表示取不到有效值。 FieldName *string `json:"FieldName,omitempty" name:"FieldName"` // 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。 // 注意:此字段可能返回 null,表示取不到有效值。 Listover *bool `json:"Listover,omitempty" name:"Listover"` // 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据 // 注意:此字段可能返回 null,表示取不到有效值。 Context *string `json:"Context,omitempty" name:"Context"` // 历史数据结果数组,返回对应时间点及取值。 // 注意:此字段可能返回 null,表示取不到有效值。 Results []*DeviceDataHistoryItem `json:"Results,omitempty" name:"Results" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDeviceDataHistoryResponse ¶
func NewDescribeDeviceDataHistoryResponse() (response *DescribeDeviceDataHistoryResponse)
func (*DescribeDeviceDataHistoryResponse) FromJsonString ¶
func (r *DescribeDeviceDataHistoryResponse) FromJsonString(s string) error
func (*DescribeDeviceDataHistoryResponse) ToJsonString ¶
func (r *DescribeDeviceDataHistoryResponse) ToJsonString() string
type DescribeDeviceDataRequest ¶
type DescribeDeviceDataRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 设备ID,该字段有值将代替 ProductId/DeviceName DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
func NewDescribeDeviceDataRequest ¶
func NewDescribeDeviceDataRequest() (request *DescribeDeviceDataRequest)
func (*DescribeDeviceDataRequest) FromJsonString ¶
func (r *DescribeDeviceDataRequest) FromJsonString(s string) error
func (*DescribeDeviceDataRequest) ToJsonString ¶
func (r *DescribeDeviceDataRequest) ToJsonString() string
type DescribeDeviceDataResponse ¶
type DescribeDeviceDataResponse struct { *tchttp.BaseResponse Response *struct { // 设备数据 Data *string `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDeviceDataResponse ¶
func NewDescribeDeviceDataResponse() (response *DescribeDeviceDataResponse)
func (*DescribeDeviceDataResponse) FromJsonString ¶
func (r *DescribeDeviceDataResponse) FromJsonString(s string) error
func (*DescribeDeviceDataResponse) ToJsonString ¶
func (r *DescribeDeviceDataResponse) ToJsonString() string
type DescribeDeviceRequest ¶
type DescribeDeviceRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 设备ID,该字段有值将代替 ProductId/DeviceName DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"` }
func NewDescribeDeviceRequest ¶
func NewDescribeDeviceRequest() (request *DescribeDeviceRequest)
func (*DescribeDeviceRequest) FromJsonString ¶
func (r *DescribeDeviceRequest) FromJsonString(s string) error
func (*DescribeDeviceRequest) ToJsonString ¶
func (r *DescribeDeviceRequest) ToJsonString() string
type DescribeDeviceResponse ¶
type DescribeDeviceResponse struct { *tchttp.BaseResponse Response *struct { // 设备信息 Device *DeviceInfo `json:"Device,omitempty" name:"Device"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeDeviceResponse ¶
func NewDescribeDeviceResponse() (response *DescribeDeviceResponse)
func (*DescribeDeviceResponse) FromJsonString ¶
func (r *DescribeDeviceResponse) FromJsonString(s string) error
func (*DescribeDeviceResponse) ToJsonString ¶
func (r *DescribeDeviceResponse) ToJsonString() string
type DescribeModelDefinitionRequest ¶
type DescribeModelDefinitionRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` }
func NewDescribeModelDefinitionRequest ¶
func NewDescribeModelDefinitionRequest() (request *DescribeModelDefinitionRequest)
func (*DescribeModelDefinitionRequest) FromJsonString ¶
func (r *DescribeModelDefinitionRequest) FromJsonString(s string) error
func (*DescribeModelDefinitionRequest) ToJsonString ¶
func (r *DescribeModelDefinitionRequest) ToJsonString() string
type DescribeModelDefinitionResponse ¶
type DescribeModelDefinitionResponse struct { *tchttp.BaseResponse Response *struct { // 产品数据模板 Model *ProductModelDefinition `json:"Model,omitempty" name:"Model"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeModelDefinitionResponse ¶
func NewDescribeModelDefinitionResponse() (response *DescribeModelDefinitionResponse)
func (*DescribeModelDefinitionResponse) FromJsonString ¶
func (r *DescribeModelDefinitionResponse) FromJsonString(s string) error
func (*DescribeModelDefinitionResponse) ToJsonString ¶
func (r *DescribeModelDefinitionResponse) ToJsonString() string
type DescribeProjectRequest ¶
type DescribeProjectRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` }
func NewDescribeProjectRequest ¶
func NewDescribeProjectRequest() (request *DescribeProjectRequest)
func (*DescribeProjectRequest) FromJsonString ¶
func (r *DescribeProjectRequest) FromJsonString(s string) error
func (*DescribeProjectRequest) ToJsonString ¶
func (r *DescribeProjectRequest) ToJsonString() string
type DescribeProjectResponse ¶
type DescribeProjectResponse struct { *tchttp.BaseResponse Response *struct { // 返回信息 Project *ProjectEntryEx `json:"Project,omitempty" name:"Project"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeProjectResponse ¶
func NewDescribeProjectResponse() (response *DescribeProjectResponse)
func (*DescribeProjectResponse) FromJsonString ¶
func (r *DescribeProjectResponse) FromJsonString(s string) error
func (*DescribeProjectResponse) ToJsonString ¶
func (r *DescribeProjectResponse) ToJsonString() string
type DescribeStudioProductRequest ¶
type DescribeStudioProductRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` }
func NewDescribeStudioProductRequest ¶
func NewDescribeStudioProductRequest() (request *DescribeStudioProductRequest)
func (*DescribeStudioProductRequest) FromJsonString ¶
func (r *DescribeStudioProductRequest) FromJsonString(s string) error
func (*DescribeStudioProductRequest) ToJsonString ¶
func (r *DescribeStudioProductRequest) ToJsonString() string
type DescribeStudioProductResponse ¶
type DescribeStudioProductResponse struct { *tchttp.BaseResponse Response *struct { // 产品详情 Product *ProductEntry `json:"Product,omitempty" name:"Product"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeStudioProductResponse ¶
func NewDescribeStudioProductResponse() (response *DescribeStudioProductResponse)
func (*DescribeStudioProductResponse) FromJsonString ¶
func (r *DescribeStudioProductResponse) FromJsonString(s string) error
func (*DescribeStudioProductResponse) ToJsonString ¶
func (r *DescribeStudioProductResponse) ToJsonString() string
type DeviceData ¶
type DeviceData struct { // 设备证书,用于 TLS 建立链接时校验客户端身份。采用非对称加密时返回该参数。 // 注意:此字段可能返回 null,表示取不到有效值。 DeviceCert *string `json:"DeviceCert,omitempty" name:"DeviceCert"` // 设备名称。 // 注意:此字段可能返回 null,表示取不到有效值。 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 设备私钥,用于 TLS 建立链接时校验客户端身份,腾讯云后台不保存,请妥善保管。采用非对称加密时返回该参数。 // 注意:此字段可能返回 null,表示取不到有效值。 DevicePrivateKey *string `json:"DevicePrivateKey,omitempty" name:"DevicePrivateKey"` // 对称加密密钥,base64编码。采用对称加密时返回该参数。 // 注意:此字段可能返回 null,表示取不到有效值。 DevicePsk *string `json:"DevicePsk,omitempty" name:"DevicePsk"` }
type DeviceDataHistoryItem ¶
type DeviceInfo ¶
type DeviceInfo struct { // 设备名 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 0: 离线, 1: 在线, 2: 获取失败, 3 未激活 Status *int64 `json:"Status,omitempty" name:"Status"` // 设备密钥,密钥加密的设备返回 DevicePsk *string `json:"DevicePsk,omitempty" name:"DevicePsk"` // 首次上线时间 // 注意:此字段可能返回 null,表示取不到有效值。 // 注意:此字段可能返回 null,表示取不到有效值。 FirstOnlineTime *int64 `json:"FirstOnlineTime,omitempty" name:"FirstOnlineTime"` // 最后一次上线时间 // 注意:此字段可能返回 null,表示取不到有效值。 LoginTime *int64 `json:"LoginTime,omitempty" name:"LoginTime"` // 设备创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"` // 设备固件版本 // 注意:此字段可能返回 null,表示取不到有效值。 Version *string `json:"Version,omitempty" name:"Version"` // 设备证书 // 注意:此字段可能返回 null,表示取不到有效值。 DeviceCert *string `json:"DeviceCert,omitempty" name:"DeviceCert"` // 日志级别 // 注意:此字段可能返回 null,表示取不到有效值。 LogLevel *int64 `json:"LogLevel,omitempty" name:"LogLevel"` // LoRaWAN 设备地址 // 注意:此字段可能返回 null,表示取不到有效值。 DevAddr *string `json:"DevAddr,omitempty" name:"DevAddr"` // LoRaWAN 应用密钥 // 注意:此字段可能返回 null,表示取不到有效值。 AppKey *string `json:"AppKey,omitempty" name:"AppKey"` // LoRaWAN 设备唯一标识 // 注意:此字段可能返回 null,表示取不到有效值。 DevEUI *string `json:"DevEUI,omitempty" name:"DevEUI"` // LoRaWAN 应用会话密钥 // 注意:此字段可能返回 null,表示取不到有效值。 AppSKey *string `json:"AppSKey,omitempty" name:"AppSKey"` // LoRaWAN 网络会话密钥 // 注意:此字段可能返回 null,表示取不到有效值。 NwkSKey *string `json:"NwkSKey,omitempty" name:"NwkSKey"` }
type EventHistoryItem ¶
type EventHistoryItem struct { // 事件的时间戳 // 注意:此字段可能返回 null,表示取不到有效值。 TimeStamp *int64 `json:"TimeStamp,omitempty" name:"TimeStamp"` // 事件的产品ID // 注意:此字段可能返回 null,表示取不到有效值。 ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 事件的设备名称 // 注意:此字段可能返回 null,表示取不到有效值。 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 事件的标识符ID // 注意:此字段可能返回 null,表示取不到有效值。 EventId *string `json:"EventId,omitempty" name:"EventId"` // 事件的类型 // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitempty" name:"Type"` // 事件的数据 // 注意:此字段可能返回 null,表示取不到有效值。 Data *string `json:"Data,omitempty" name:"Data"` }
type GetDeviceListRequest ¶
type GetDeviceListRequest struct { *tchttp.BaseRequest // 需要查看设备列表的产品 ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 分页偏移 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 分页的大小,数值范围 10-100 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewGetDeviceListRequest ¶
func NewGetDeviceListRequest() (request *GetDeviceListRequest)
func (*GetDeviceListRequest) FromJsonString ¶
func (r *GetDeviceListRequest) FromJsonString(s string) error
func (*GetDeviceListRequest) ToJsonString ¶
func (r *GetDeviceListRequest) ToJsonString() string
type GetDeviceListResponse ¶
type GetDeviceListResponse struct { *tchttp.BaseResponse Response *struct { // 返回的设备列表, 注意列表设备的 DevicePsk 为空, 要获取设备的 DevicePsk 请使用 DescribeDevice // 注意:此字段可能返回 null,表示取不到有效值。 Devices []*DeviceInfo `json:"Devices,omitempty" name:"Devices" list` // 产品下的设备总数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *int64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetDeviceListResponse ¶
func NewGetDeviceListResponse() (response *GetDeviceListResponse)
func (*GetDeviceListResponse) FromJsonString ¶
func (r *GetDeviceListResponse) FromJsonString(s string) error
func (*GetDeviceListResponse) ToJsonString ¶
func (r *GetDeviceListResponse) ToJsonString() string
type GetProjectListRequest ¶
type GetProjectListRequest struct { *tchttp.BaseRequest // 偏移量 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 个数限制 Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewGetProjectListRequest ¶
func NewGetProjectListRequest() (request *GetProjectListRequest)
func (*GetProjectListRequest) FromJsonString ¶
func (r *GetProjectListRequest) FromJsonString(s string) error
func (*GetProjectListRequest) ToJsonString ¶
func (r *GetProjectListRequest) ToJsonString() string
type GetProjectListResponse ¶
type GetProjectListResponse struct { *tchttp.BaseResponse Response *struct { // 项目列表 // 注意:此字段可能返回 null,表示取不到有效值。 Projects []*ProjectEntryEx `json:"Projects,omitempty" name:"Projects" list` // 列表项个数 // 注意:此字段可能返回 null,表示取不到有效值。 Total *int64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetProjectListResponse ¶
func NewGetProjectListResponse() (response *GetProjectListResponse)
func (*GetProjectListResponse) FromJsonString ¶
func (r *GetProjectListResponse) FromJsonString(s string) error
func (*GetProjectListResponse) ToJsonString ¶
func (r *GetProjectListResponse) ToJsonString() string
type GetStudioProductListRequest ¶
type GetStudioProductListRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 产品DevStatus DevStatus *string `json:"DevStatus,omitempty" name:"DevStatus"` // Offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Limit Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewGetStudioProductListRequest ¶
func NewGetStudioProductListRequest() (request *GetStudioProductListRequest)
func (*GetStudioProductListRequest) FromJsonString ¶
func (r *GetStudioProductListRequest) FromJsonString(s string) error
func (*GetStudioProductListRequest) ToJsonString ¶
func (r *GetStudioProductListRequest) ToJsonString() string
type GetStudioProductListResponse ¶
type GetStudioProductListResponse struct { *tchttp.BaseResponse Response *struct { // 产品列表 Products []*ProductEntry `json:"Products,omitempty" name:"Products" list` // 产品数量 Total *int64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetStudioProductListResponse ¶
func NewGetStudioProductListResponse() (response *GetStudioProductListResponse)
func (*GetStudioProductListResponse) FromJsonString ¶
func (r *GetStudioProductListResponse) FromJsonString(s string) error
func (*GetStudioProductListResponse) ToJsonString ¶
func (r *GetStudioProductListResponse) ToJsonString() string
type ListEventHistoryRequest ¶
type ListEventHistoryRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 设备名称 DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"` // 搜索的事件类型 Type *string `json:"Type,omitempty" name:"Type"` // 起始时间, 为0 表示 当前时间 - 24h StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // 结束时间, 为0 表示当前时间 EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"` // 搜索上下文, 用作查询游标 Context *string `json:"Context,omitempty" name:"Context"` // 单次获取的历史数据项目的最大数量 Size *int64 `json:"Size,omitempty" name:"Size"` }
func NewListEventHistoryRequest ¶
func NewListEventHistoryRequest() (request *ListEventHistoryRequest)
func (*ListEventHistoryRequest) FromJsonString ¶
func (r *ListEventHistoryRequest) FromJsonString(s string) error
func (*ListEventHistoryRequest) ToJsonString ¶
func (r *ListEventHistoryRequest) ToJsonString() string
type ListEventHistoryResponse ¶
type ListEventHistoryResponse struct { *tchttp.BaseResponse Response *struct { // 搜索上下文, 用作查询游标 // 注意:此字段可能返回 null,表示取不到有效值。 Context *string `json:"Context,omitempty" name:"Context"` // 搜索结果数量 // 注意:此字段可能返回 null,表示取不到有效值。 Total *int64 `json:"Total,omitempty" name:"Total"` // 搜索结果是否已经结束 // 注意:此字段可能返回 null,表示取不到有效值。 Listover *bool `json:"Listover,omitempty" name:"Listover"` // 搜集结果集 // 注意:此字段可能返回 null,表示取不到有效值。 EventHistory []*EventHistoryItem `json:"EventHistory,omitempty" name:"EventHistory" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewListEventHistoryResponse ¶
func NewListEventHistoryResponse() (response *ListEventHistoryResponse)
func (*ListEventHistoryResponse) FromJsonString ¶
func (r *ListEventHistoryResponse) FromJsonString(s string) error
func (*ListEventHistoryResponse) ToJsonString ¶
func (r *ListEventHistoryResponse) ToJsonString() string
type ModifyModelDefinitionRequest ¶
type ModifyModelDefinitionRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 数据模板定义 ModelSchema *string `json:"ModelSchema,omitempty" name:"ModelSchema"` }
func NewModifyModelDefinitionRequest ¶
func NewModifyModelDefinitionRequest() (request *ModifyModelDefinitionRequest)
func (*ModifyModelDefinitionRequest) FromJsonString ¶
func (r *ModifyModelDefinitionRequest) FromJsonString(s string) error
func (*ModifyModelDefinitionRequest) ToJsonString ¶
func (r *ModifyModelDefinitionRequest) ToJsonString() string
type ModifyModelDefinitionResponse ¶
type ModifyModelDefinitionResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyModelDefinitionResponse ¶
func NewModifyModelDefinitionResponse() (response *ModifyModelDefinitionResponse)
func (*ModifyModelDefinitionResponse) FromJsonString ¶
func (r *ModifyModelDefinitionResponse) FromJsonString(s string) error
func (*ModifyModelDefinitionResponse) ToJsonString ¶
func (r *ModifyModelDefinitionResponse) ToJsonString() string
type ModifyProjectRequest ¶
type ModifyProjectRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目描述 ProjectDesc *string `json:"ProjectDesc,omitempty" name:"ProjectDesc"` }
func NewModifyProjectRequest ¶
func NewModifyProjectRequest() (request *ModifyProjectRequest)
func (*ModifyProjectRequest) FromJsonString ¶
func (r *ModifyProjectRequest) FromJsonString(s string) error
func (*ModifyProjectRequest) ToJsonString ¶
func (r *ModifyProjectRequest) ToJsonString() string
type ModifyProjectResponse ¶
type ModifyProjectResponse struct { *tchttp.BaseResponse Response *struct { // 项目详情 Project *ProjectEntry `json:"Project,omitempty" name:"Project"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyProjectResponse ¶
func NewModifyProjectResponse() (response *ModifyProjectResponse)
func (*ModifyProjectResponse) FromJsonString ¶
func (r *ModifyProjectResponse) FromJsonString(s string) error
func (*ModifyProjectResponse) ToJsonString ¶
func (r *ModifyProjectResponse) ToJsonString() string
type ModifyStudioProductRequest ¶
type ModifyStudioProductRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 产品名称 ProductName *string `json:"ProductName,omitempty" name:"ProductName"` // 产品描述 ProductDesc *string `json:"ProductDesc,omitempty" name:"ProductDesc"` // 模型ID ModuleId *int64 `json:"ModuleId,omitempty" name:"ModuleId"` }
func NewModifyStudioProductRequest ¶
func NewModifyStudioProductRequest() (request *ModifyStudioProductRequest)
func (*ModifyStudioProductRequest) FromJsonString ¶
func (r *ModifyStudioProductRequest) FromJsonString(s string) error
func (*ModifyStudioProductRequest) ToJsonString ¶
func (r *ModifyStudioProductRequest) ToJsonString() string
type ModifyStudioProductResponse ¶
type ModifyStudioProductResponse struct { *tchttp.BaseResponse Response *struct { // 产品描述 Product *ProductEntry `json:"Product,omitempty" name:"Product"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewModifyStudioProductResponse ¶
func NewModifyStudioProductResponse() (response *ModifyStudioProductResponse)
func (*ModifyStudioProductResponse) FromJsonString ¶
func (r *ModifyStudioProductResponse) FromJsonString(s string) error
func (*ModifyStudioProductResponse) ToJsonString ¶
func (r *ModifyStudioProductResponse) ToJsonString() string
type ProductEntry ¶
type ProductEntry struct { // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 产品名称 ProductName *string `json:"ProductName,omitempty" name:"ProductName"` // 产品分组模板ID CategoryId *int64 `json:"CategoryId,omitempty" name:"CategoryId"` // 加密类型 EncryptionType *string `json:"EncryptionType,omitempty" name:"EncryptionType"` // 连接类型 NetType *string `json:"NetType,omitempty" name:"NetType"` // 数据协议 DataProtocol *int64 `json:"DataProtocol,omitempty" name:"DataProtocol"` // 产品描述 ProductDesc *string `json:"ProductDesc,omitempty" name:"ProductDesc"` // 状态 DevStatus *string `json:"DevStatus,omitempty" name:"DevStatus"` // 创建时间 CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"` // 更新时间 UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // 区域 Region *string `json:"Region,omitempty" name:"Region"` // 产品类型 ProductType *int64 `json:"ProductType,omitempty" name:"ProductType"` // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 产品ModuleId ModuleId *int64 `json:"ModuleId,omitempty" name:"ModuleId"` }
type ProductModelDefinition ¶
type ProductModelDefinition struct { // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 模型定义 ModelDefine *string `json:"ModelDefine,omitempty" name:"ModelDefine"` // 更新时间,秒级时间戳 UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // 创建时间,秒级时间戳 CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"` // 产品所属分类的模型快照(产品创建时刻的) // 注意:此字段可能返回 null,表示取不到有效值。 CategoryModel *string `json:"CategoryModel,omitempty" name:"CategoryModel"` }
type ProjectEntry ¶
type ProjectEntry struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目描述 ProjectDesc *string `json:"ProjectDesc,omitempty" name:"ProjectDesc"` // 创建时间,unix时间戳 CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"` // 更新时间,unix时间戳 UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type ProjectEntryEx ¶
type ProjectEntryEx struct { // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 项目名称 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 项目描述 ProjectDesc *string `json:"ProjectDesc,omitempty" name:"ProjectDesc"` // 项目创建时间,unix时间戳 CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"` // 项目更新时间,unix时间戳 UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // 产品数量 ProductCount *uint64 `json:"ProductCount,omitempty" name:"ProductCount"` // NativeApp数量 NativeAppCount *uint64 `json:"NativeAppCount,omitempty" name:"NativeAppCount"` // WebApp数量 WebAppCount *uint64 `json:"WebAppCount,omitempty" name:"WebAppCount"` }
type ReleaseStudioProductRequest ¶
type ReleaseStudioProductRequest struct { *tchttp.BaseRequest // 产品ID ProductId *string `json:"ProductId,omitempty" name:"ProductId"` // 产品DevStatus DevStatus *string `json:"DevStatus,omitempty" name:"DevStatus"` }
func NewReleaseStudioProductRequest ¶
func NewReleaseStudioProductRequest() (request *ReleaseStudioProductRequest)
func (*ReleaseStudioProductRequest) FromJsonString ¶
func (r *ReleaseStudioProductRequest) FromJsonString(s string) error
func (*ReleaseStudioProductRequest) ToJsonString ¶
func (r *ReleaseStudioProductRequest) ToJsonString() string
type ReleaseStudioProductResponse ¶
type ReleaseStudioProductResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewReleaseStudioProductResponse ¶
func NewReleaseStudioProductResponse() (response *ReleaseStudioProductResponse)
func (*ReleaseStudioProductResponse) FromJsonString ¶
func (r *ReleaseStudioProductResponse) FromJsonString(s string) error
func (*ReleaseStudioProductResponse) ToJsonString ¶
func (r *ReleaseStudioProductResponse) ToJsonString() string
type SearchStudioProductRequest ¶
type SearchStudioProductRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"` // 产品名称 ProductName *string `json:"ProductName,omitempty" name:"ProductName"` // 列表Limit Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 列表Offset Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 产品Status DevStatus *string `json:"DevStatus,omitempty" name:"DevStatus"` }
func NewSearchStudioProductRequest ¶
func NewSearchStudioProductRequest() (request *SearchStudioProductRequest)
func (*SearchStudioProductRequest) FromJsonString ¶
func (r *SearchStudioProductRequest) FromJsonString(s string) error
func (*SearchStudioProductRequest) ToJsonString ¶
func (r *SearchStudioProductRequest) ToJsonString() string
type SearchStudioProductResponse ¶
type SearchStudioProductResponse struct { *tchttp.BaseResponse Response *struct { // 产品列表 Products []*ProductEntry `json:"Products,omitempty" name:"Products" list` // 产品数量 Total *int64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSearchStudioProductResponse ¶
func NewSearchStudioProductResponse() (response *SearchStudioProductResponse)
func (*SearchStudioProductResponse) FromJsonString ¶
func (r *SearchStudioProductResponse) FromJsonString(s string) error
func (*SearchStudioProductResponse) ToJsonString ¶
func (r *SearchStudioProductResponse) ToJsonString() string
Click to show internal directories.
Click to hide internal directories.