Documentation
¶
Index ¶
- Constants
- type AllDeviceInfo
- type BindGroupDevicesRequest
- type BindGroupDevicesResponse
- type Client
- func (c *Client) BindGroupDevices(request *BindGroupDevicesRequest) (response *BindGroupDevicesResponse, err error)
- func (c *Client) ControlDevicePTZ(request *ControlDevicePTZRequest) (response *ControlDevicePTZResponse, err error)
- func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
- func (c *Client) CreateDeviceGroup(request *CreateDeviceGroupRequest) (response *CreateDeviceGroupResponse, err error)
- func (c *Client) CreateRecordPlan(request *CreateRecordPlanRequest) (response *CreateRecordPlanResponse, err error)
- func (c *Client) CreateTimeTemplate(request *CreateTimeTemplateRequest) (response *CreateTimeTemplateResponse, err error)
- func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
- func (c *Client) DeleteDeviceGroup(request *DeleteDeviceGroupRequest) (response *DeleteDeviceGroupResponse, err error)
- func (c *Client) DeleteRecordPlan(request *DeleteRecordPlanRequest) (response *DeleteRecordPlanResponse, err error)
- func (c *Client) DeleteTimeTemplate(request *DeleteTimeTemplateRequest) (response *DeleteTimeTemplateResponse, err error)
- func (c *Client) DescribeAllDeviceList(request *DescribeAllDeviceListRequest) (response *DescribeAllDeviceListResponse, err error)
- func (c *Client) DescribeDeviceGroup(request *DescribeDeviceGroupRequest) (response *DescribeDeviceGroupResponse, err error)
- func (c *Client) DescribeDevicePassWord(request *DescribeDevicePassWordRequest) (response *DescribeDevicePassWordResponse, err error)
- func (c *Client) DescribeDeviceStreams(request *DescribeDeviceStreamsRequest) (response *DescribeDeviceStreamsResponse, err error)
- func (c *Client) DescribeGroupById(request *DescribeGroupByIdRequest) (response *DescribeGroupByIdResponse, err error)
- func (c *Client) DescribeGroupByPath(request *DescribeGroupByPathRequest) (response *DescribeGroupByPathResponse, err error)
- func (c *Client) DescribeGroupDevices(request *DescribeGroupDevicesRequest) (response *DescribeGroupDevicesResponse, err error)
- func (c *Client) DescribeGroups(request *DescribeGroupsRequest) (response *DescribeGroupsResponse, err error)
- func (c *Client) DescribeRecordStream(request *DescribeRecordStreamRequest) (response *DescribeRecordStreamResponse, err error)
- func (c *Client) DescribeSIPServer(request *DescribeSIPServerRequest) (response *DescribeSIPServerResponse, err error)
- func (c *Client) DescribeStatisticDetails(request *DescribeStatisticDetailsRequest) (response *DescribeStatisticDetailsResponse, err error)
- func (c *Client) DescribeStatisticSummary(request *DescribeStatisticSummaryRequest) (response *DescribeStatisticSummaryResponse, err error)
- func (c *Client) DescribeSubGroups(request *DescribeSubGroupsRequest) (response *DescribeSubGroupsResponse, err error)
- func (c *Client) DescribeVideoList(request *DescribeVideoListRequest) (response *DescribeVideoListResponse, err error)
- func (c *Client) GetRecordDatesByDev(request *GetRecordDatesByDevRequest) (response *GetRecordDatesByDevResponse, err error)
- func (c *Client) GetRecordPlanByDev(request *GetRecordPlanByDevRequest) (response *GetRecordPlanByDevResponse, err error)
- func (c *Client) GetRecordPlanById(request *GetRecordPlanByIdRequest) (response *GetRecordPlanByIdResponse, err error)
- func (c *Client) GetRecordPlans(request *GetRecordPlansRequest) (response *GetRecordPlansResponse, err error)
- func (c *Client) GetTimeTemplateById(request *GetTimeTemplateByIdRequest) (response *GetTimeTemplateByIdResponse, err error)
- func (c *Client) GetTimeTemplates(request *GetTimeTemplatesRequest) (response *GetTimeTemplatesResponse, err error)
- func (c *Client) GetVideoListByCon(request *GetVideoListByConRequest) (response *GetVideoListByConResponse, err error)
- func (c *Client) ModifyDeviceData(request *ModifyDeviceDataRequest) (response *ModifyDeviceDataResponse, err error)
- func (c *Client) UpdateDeviceGroup(request *UpdateDeviceGroupRequest) (response *UpdateDeviceGroupResponse, err error)
- func (c *Client) UpdateDevicePassWord(request *UpdateDevicePassWordRequest) (response *UpdateDevicePassWordResponse, err error)
- func (c *Client) UpdateRecordPlan(request *UpdateRecordPlanRequest) (response *UpdateRecordPlanResponse, err error)
- func (c *Client) UpdateTimeTemplate(request *UpdateTimeTemplateRequest) (response *UpdateTimeTemplateResponse, err error)
- type ControlDevicePTZRequest
- type ControlDevicePTZResponse
- type CreateDeviceGroupRequest
- type CreateDeviceGroupResponse
- type CreateDeviceRequest
- type CreateDeviceResponse
- type CreateRecordPlanRequest
- type CreateRecordPlanResponse
- type CreateTimeTemplateRequest
- type CreateTimeTemplateResponse
- type DeleteDeviceGroupRequest
- type DeleteDeviceGroupResponse
- type DeleteDeviceRequest
- type DeleteDeviceResponse
- type DeleteRecordPlanRequest
- type DeleteRecordPlanResponse
- type DeleteTimeTemplateRequest
- type DeleteTimeTemplateResponse
- type DescribeAllDeviceListRequest
- type DescribeAllDeviceListResponse
- type DescribeDeviceGroupRequest
- type DescribeDeviceGroupResponse
- type DescribeDevicePassWordRequest
- type DescribeDevicePassWordResponse
- type DescribeDeviceStreamsData
- type DescribeDeviceStreamsRequest
- type DescribeDeviceStreamsResponse
- type DescribeGroupByIdRequest
- type DescribeGroupByIdResponse
- type DescribeGroupByPathRequest
- type DescribeGroupByPathResponse
- type DescribeGroupDevicesRequest
- type DescribeGroupDevicesResponse
- type DescribeGroupsRequest
- type DescribeGroupsResponse
- type DescribeRecordStreamData
- type DescribeRecordStreamRequest
- type DescribeRecordStreamResponse
- type DescribeSIPServerRequest
- type DescribeSIPServerResponse
- type DescribeStatisticDetailsRequest
- type DescribeStatisticDetailsResponse
- type DescribeStatisticSummaryRequest
- type DescribeStatisticSummaryResponse
- type DescribeSubGroupsRequest
- type DescribeSubGroupsResponse
- type DescribeVideoListRequest
- type DescribeVideoListResponse
- type DevGroupInfo
- type DeviceItem
- type GetRecordDatesByDevRequest
- type GetRecordDatesByDevResponse
- type GetRecordPlanByDevRequest
- type GetRecordPlanByDevResponse
- type GetRecordPlanByIdRequest
- type GetRecordPlanByIdResponse
- type GetRecordPlansRequest
- type GetRecordPlansResponse
- type GetTimeTemplateByIdRequest
- type GetTimeTemplateByIdResponse
- type GetTimeTemplatesRequest
- type GetTimeTemplatesResponse
- type GetVideoListByConRequest
- type GetVideoListByConResponse
- type GroupDeviceItem
- type GroupInfo
- type GroupItem
- type ModifyDeviceDataRequest
- type ModifyDeviceDataResponse
- type RecordPlanItem
- type RecordTaskItem
- type ServerConfiguration
- type StatisticItem
- type TimeTemplateItem
- type TimeTemplateSpec
- type UpdateDeviceGroupRequest
- type UpdateDeviceGroupResponse
- type UpdateDevicePassWordRequest
- type UpdateDevicePassWordResponse
- type UpdateRecordPlanRequest
- type UpdateRecordPlanResponse
- type UpdateTimeTemplateRequest
- type UpdateTimeTemplateResponse
Constants ¶
const APIVersion = "2020-12-01"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllDeviceInfo ¶
type AllDeviceInfo struct {
// 设备唯一标识
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// 设备类型;2:IPC
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceType *int64 `json:"DeviceType,omitempty" name:"DeviceType"`
// 设备状态;0:设备不在线;1:设备在线;2:设备隔离中;3:设备未注册
// 注意:此字段可能返回 null,表示取不到有效值。
Status *int64 `json:"Status,omitempty" name:"Status"`
// 创建时间
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 设备扩展属性
// 注意:此字段可能返回 null,表示取不到有效值。
ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"`
// 设备名称
// 注意:此字段可能返回 null,表示取不到有效值。
NickName *string `json:"NickName,omitempty" name:"NickName"`
// 设备绑定分组路径
// 注意:此字段可能返回 null,表示取不到有效值。
GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"`
// 设备编码
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceCode *string `json:"DeviceCode,omitempty" name:"DeviceCode"`
// 是否存在录像,,0:不存在;1:存在
// 注意:此字段可能返回 null,表示取不到有效值。
IsRecord *int64 `json:"IsRecord,omitempty" name:"IsRecord"`
// 该设备是否可录制
// 注意:此字段可能返回 null,表示取不到有效值。
Recordable *int64 `json:"Recordable,omitempty" name:"Recordable"`
}
type BindGroupDevicesRequest ¶
type BindGroupDevicesRequest struct {
*tchttp.BaseRequest
// 分组ID
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
// 设备唯一标识列表
DeviceList []*string `json:"DeviceList,omitempty" name:"DeviceList" list`
}
func NewBindGroupDevicesRequest ¶
func NewBindGroupDevicesRequest() (request *BindGroupDevicesRequest)
func (*BindGroupDevicesRequest) FromJsonString ¶
func (r *BindGroupDevicesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindGroupDevicesRequest) ToJsonString ¶
func (r *BindGroupDevicesRequest) ToJsonString() string
type BindGroupDevicesResponse ¶
type BindGroupDevicesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewBindGroupDevicesResponse ¶
func NewBindGroupDevicesResponse() (response *BindGroupDevicesResponse)
func (*BindGroupDevicesResponse) FromJsonString ¶
func (r *BindGroupDevicesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindGroupDevicesResponse) ToJsonString ¶
func (r *BindGroupDevicesResponse) 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) BindGroupDevices ¶
func (c *Client) BindGroupDevices(request *BindGroupDevicesRequest) (response *BindGroupDevicesResponse, err error)
本接口(BindGroupDevices) 用于绑定设备到分组。
func (*Client) ControlDevicePTZ ¶
func (c *Client) ControlDevicePTZ(request *ControlDevicePTZRequest) (response *ControlDevicePTZResponse, err error)
本接口(ControlDevicePTZ) 用于对支持GB28181 PTZ信令的设备进行远程控制。
func (*Client) CreateDevice ¶
func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
本接口(CreateDevice) 用于创建设备。
func (*Client) CreateDeviceGroup ¶
func (c *Client) CreateDeviceGroup(request *CreateDeviceGroupRequest) (response *CreateDeviceGroupResponse, err error)
本接口(CreateDeviceGroup) 用于创建设备管理分组。
func (*Client) CreateRecordPlan ¶
func (c *Client) CreateRecordPlan(request *CreateRecordPlanRequest) (response *CreateRecordPlanResponse, err error)
本接口(CreateRecordPlan) 用于创建录制计划,使设备与时间模板绑定,以便及时启动录制
func (*Client) CreateTimeTemplate ¶
func (c *Client) CreateTimeTemplate(request *CreateTimeTemplateRequest) (response *CreateTimeTemplateResponse, err error)
本接口(CreateTimeTemplate) 用于根据模板描述的具体录制时间片段,创建定制化的时间模板。
func (*Client) DeleteDevice ¶
func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
本接口(DeleteDevice)用于删除设备。
func (*Client) DeleteDeviceGroup ¶
func (c *Client) DeleteDeviceGroup(request *DeleteDeviceGroupRequest) (response *DeleteDeviceGroupResponse, err error)
本接口(DeleteDeviceGroup)用于删除分组。
func (*Client) DeleteRecordPlan ¶
func (c *Client) DeleteRecordPlan(request *DeleteRecordPlanRequest) (response *DeleteRecordPlanResponse, err error)
本接口(DeleteRecordPlan)用于删除录制计划 录制计划删除的同时,会停止该录制计划下的全部录制任务。
func (*Client) DeleteTimeTemplate ¶
func (c *Client) DeleteTimeTemplate(request *DeleteTimeTemplateRequest) (response *DeleteTimeTemplateResponse, err error)
本接口(DeleteTimeTemplate) 用于删除时间模板。
func (*Client) DescribeAllDeviceList ¶
func (c *Client) DescribeAllDeviceList(request *DescribeAllDeviceListRequest) (response *DescribeAllDeviceListResponse, err error)
本接口(DescribeAllDeviceList) 用于获取设备列表。
func (*Client) DescribeDeviceGroup ¶
func (c *Client) DescribeDeviceGroup(request *DescribeDeviceGroupRequest) (response *DescribeDeviceGroupResponse, err error)
本接口(DescribeDeviceGroup)用于根据设备ID查询设备所在分组信息,可批量查询。
func (*Client) DescribeDevicePassWord ¶
func (c *Client) DescribeDevicePassWord(request *DescribeDevicePassWordRequest) (response *DescribeDevicePassWordResponse, err error)
本接口(DescribeDevicePassWord)用于查询设备密码。
func (*Client) DescribeDeviceStreams ¶
func (c *Client) DescribeDeviceStreams(request *DescribeDeviceStreamsRequest) (response *DescribeDeviceStreamsResponse, err error)
本接口(DescribeDeviceStreams)用于获取设备实时流地址。
func (*Client) DescribeGroupById ¶
func (c *Client) DescribeGroupById(request *DescribeGroupByIdRequest) (response *DescribeGroupByIdResponse, err error)
本接口(DescribeGroupById)用于根据分组ID查询分组。
func (*Client) DescribeGroupByPath ¶
func (c *Client) DescribeGroupByPath(request *DescribeGroupByPathRequest) (response *DescribeGroupByPathResponse, err error)
根据分组路径查询分组
func (*Client) DescribeGroupDevices ¶
func (c *Client) DescribeGroupDevices(request *DescribeGroupDevicesRequest) (response *DescribeGroupDevicesResponse, err error)
本接口(DescribeGroupDevices)用于查询分组下的设备列表。
func (*Client) DescribeGroups ¶
func (c *Client) DescribeGroups(request *DescribeGroupsRequest) (response *DescribeGroupsResponse, err error)
本接口(DescribeGroups)用于批量查询分组信息。
func (*Client) DescribeRecordStream ¶
func (c *Client) DescribeRecordStream(request *DescribeRecordStreamRequest) (response *DescribeRecordStreamResponse, err error)
获取回放视频流(NVR录制用) RecordId和StartTime/EndTime互斥 当存在RecordId时,StartTime和EndTime无效 当RecordId为空,StartTime和EndTime生效
func (*Client) DescribeSIPServer ¶
func (c *Client) DescribeSIPServer(request *DescribeSIPServerRequest) (response *DescribeSIPServerResponse, err error)
本接口用于获取SIP服务器相关配置,用户可以通过这些配置项,将设备通过GB28181协议注册到本服务。
func (*Client) DescribeStatisticDetails ¶
func (c *Client) DescribeStatisticDetails(request *DescribeStatisticDetailsRequest) (response *DescribeStatisticDetailsResponse, err error)
本接口(DescribeStatisticDetails)用于查询指定统计项详情,返回结果按天为单位聚合,支持的最大时间查询范围为31天。
func (*Client) DescribeStatisticSummary ¶
func (c *Client) DescribeStatisticSummary(request *DescribeStatisticSummaryRequest) (response *DescribeStatisticSummaryResponse, err error)
本接口(DescribeStatisticSummary)用于查询用户昨日的概览数据。
func (*Client) DescribeSubGroups ¶
func (c *Client) DescribeSubGroups(request *DescribeSubGroupsRequest) (response *DescribeSubGroupsResponse, err error)
本接口(DescribeSubGroups)用于查询分组下的子分组列表。
func (*Client) DescribeVideoList ¶
func (c *Client) DescribeVideoList(request *DescribeVideoListRequest) (response *DescribeVideoListResponse, err error)
根据时间获取回放文件列表(云端录制用)
func (*Client) GetRecordDatesByDev ¶
func (c *Client) GetRecordDatesByDev(request *GetRecordDatesByDevRequest) (response *GetRecordDatesByDevResponse, err error)
本接口(GetRecordDatesByDev)用于查询设备含有录像文件的日期列表。
func (*Client) GetRecordPlanByDev ¶
func (c *Client) GetRecordPlanByDev(request *GetRecordPlanByDevRequest) (response *GetRecordPlanByDevResponse, err error)
本接口(GetRecordPlanByDev)用于根据设备ID查询其绑定的录制计划.
func (*Client) GetRecordPlanById ¶
func (c *Client) GetRecordPlanById(request *GetRecordPlanByIdRequest) (response *GetRecordPlanByIdResponse, err error)
本接口(GetRecordPlanById)用于根据录制计划ID获取录制计划。
func (*Client) GetRecordPlans ¶
func (c *Client) GetRecordPlans(request *GetRecordPlansRequest) (response *GetRecordPlansResponse, err error)
本接口(GetRecordPlans)用于获取用户的全部录制计划。
func (*Client) GetTimeTemplateById ¶
func (c *Client) GetTimeTemplateById(request *GetTimeTemplateByIdRequest) (response *GetTimeTemplateByIdResponse, err error)
本接口(GetTimeTemplateById)用于根据模板ID获取时间模板详情。
func (*Client) GetTimeTemplates ¶
func (c *Client) GetTimeTemplates(request *GetTimeTemplatesRequest) (response *GetTimeTemplatesResponse, err error)
本接口(GetTimeTemplates)用于获取时间模板列表。
func (*Client) GetVideoListByCon ¶
func (c *Client) GetVideoListByCon(request *GetVideoListByConRequest) (response *GetVideoListByConResponse, err error)
本接口(GetVideoListByCon)用于查询设备的录制文件列表
func (*Client) ModifyDeviceData ¶
func (c *Client) ModifyDeviceData(request *ModifyDeviceDataRequest) (response *ModifyDeviceDataResponse, err error)
本接口(ModifyDeviceData)用于编辑设备信息。
func (*Client) UpdateDeviceGroup ¶
func (c *Client) UpdateDeviceGroup(request *UpdateDeviceGroupRequest) (response *UpdateDeviceGroupResponse, err error)
本接口(UpdateDeviceGroup)用于修改分组信息。
func (*Client) UpdateDevicePassWord ¶
func (c *Client) UpdateDevicePassWord(request *UpdateDevicePassWordRequest) (response *UpdateDevicePassWordResponse, err error)
本接口(UpdateDevicePassWord)用于修改设备密码。
func (*Client) UpdateRecordPlan ¶
func (c *Client) UpdateRecordPlan(request *UpdateRecordPlanRequest) (response *UpdateRecordPlanResponse, err error)
本接口(UpdateRecordPlan)用于更新录制计划。
func (*Client) UpdateTimeTemplate ¶
func (c *Client) UpdateTimeTemplate(request *UpdateTimeTemplateRequest) (response *UpdateTimeTemplateResponse, err error)
本接口(UpdateTimeTemplate)用于更新时间模板。
type ControlDevicePTZRequest ¶
type ControlDevicePTZRequest struct {
*tchttp.BaseRequest
// 设备唯一标识
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// PTZ控制命令类型:
// stop - 停止当前PTZ信令
// left - 向左移动
// right - 向右移动
// up - 向上移动
// down - 向下移动
// leftUp - 左上移动
// leftDown - 左下移动
// rightUp - 右上移动
// rightDown - 右下移动
// zoomOut - 镜头缩小
// zoomIn - 镜头放大
// irisIn - 光圈缩小
// irisOut - 光圈放大
// focusIn - 焦距变近
// focusOut - 焦距变远
Command *string `json:"Command,omitempty" name:"Command"`
}
func NewControlDevicePTZRequest ¶
func NewControlDevicePTZRequest() (request *ControlDevicePTZRequest)
func (*ControlDevicePTZRequest) FromJsonString ¶
func (r *ControlDevicePTZRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ControlDevicePTZRequest) ToJsonString ¶
func (r *ControlDevicePTZRequest) ToJsonString() string
type ControlDevicePTZResponse ¶
type ControlDevicePTZResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewControlDevicePTZResponse ¶
func NewControlDevicePTZResponse() (response *ControlDevicePTZResponse)
func (*ControlDevicePTZResponse) FromJsonString ¶
func (r *ControlDevicePTZResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ControlDevicePTZResponse) ToJsonString ¶
func (r *ControlDevicePTZResponse) ToJsonString() string
type CreateDeviceGroupRequest ¶
type CreateDeviceGroupRequest struct {
*tchttp.BaseRequest
// 分组名称
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// 父分组ID
ParentId *string `json:"ParentId,omitempty" name:"ParentId"`
// 分组描述
GroupDescribe *string `json:"GroupDescribe,omitempty" name:"GroupDescribe"`
}
func NewCreateDeviceGroupRequest ¶
func NewCreateDeviceGroupRequest() (request *CreateDeviceGroupRequest)
func (*CreateDeviceGroupRequest) FromJsonString ¶
func (r *CreateDeviceGroupRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeviceGroupRequest) ToJsonString ¶
func (r *CreateDeviceGroupRequest) ToJsonString() string
type CreateDeviceGroupResponse ¶
type CreateDeviceGroupResponse struct {
*tchttp.BaseResponse
Response *struct {
// 响应结果,“OK”为成功,其他为失败
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 分组ID
// 注意:此字段可能返回 null,表示取不到有效值。
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateDeviceGroupResponse ¶
func NewCreateDeviceGroupResponse() (response *CreateDeviceGroupResponse)
func (*CreateDeviceGroupResponse) FromJsonString ¶
func (r *CreateDeviceGroupResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeviceGroupResponse) ToJsonString ¶
func (r *CreateDeviceGroupResponse) ToJsonString() string
type CreateDeviceRequest ¶
type CreateDeviceRequest struct {
*tchttp.BaseRequest
// 设备名称
NickName *string `json:"NickName,omitempty" name:"NickName"`
// 设备密码
PassWord *string `json:"PassWord,omitempty" name:"PassWord"`
// 设备需要绑定的分组ID,参数为空则默认绑定到根分组
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}
func NewCreateDeviceRequest ¶
func NewCreateDeviceRequest() (request *CreateDeviceRequest)
func (*CreateDeviceRequest) FromJsonString ¶
func (r *CreateDeviceRequest) FromJsonString(s string) error
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 CreateDeviceResponse ¶
type CreateDeviceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备编码
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceCode *string `json:"DeviceCode,omitempty" name:"DeviceCode"`
// 设备唯一标识
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// 设备虚拟组信息,仅在创建NVR/VMS时返回该值
// 注意:此字段可能返回 null,表示取不到有效值。
VirtualGroupId *string `json:"VirtualGroupId,omitempty" name:"VirtualGroupId"`
// 唯一请求 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
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 CreateRecordPlanRequest ¶
type CreateRecordPlanRequest struct {
*tchttp.BaseRequest
// 计划名称
Name *string `json:"Name,omitempty" name:"Name"`
// 时间模板ID
TimeTemplateId *string `json:"TimeTemplateId,omitempty" name:"TimeTemplateId"`
// 触发录制的事件类别 1:全部
EventId *int64 `json:"EventId,omitempty" name:"EventId"`
// 该录制计划绑定的设备列表
Devices []*DeviceItem `json:"Devices,omitempty" name:"Devices" list`
}
func NewCreateRecordPlanRequest ¶
func NewCreateRecordPlanRequest() (request *CreateRecordPlanRequest)
func (*CreateRecordPlanRequest) FromJsonString ¶
func (r *CreateRecordPlanRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordPlanRequest) ToJsonString ¶
func (r *CreateRecordPlanRequest) ToJsonString() string
type CreateRecordPlanResponse ¶
type CreateRecordPlanResponse struct {
*tchttp.BaseResponse
Response *struct {
// 录制计划ID
PlanId *string `json:"PlanId,omitempty" name:"PlanId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateRecordPlanResponse ¶
func NewCreateRecordPlanResponse() (response *CreateRecordPlanResponse)
func (*CreateRecordPlanResponse) FromJsonString ¶
func (r *CreateRecordPlanResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRecordPlanResponse) ToJsonString ¶
func (r *CreateRecordPlanResponse) ToJsonString() string
type CreateTimeTemplateRequest ¶
type CreateTimeTemplateRequest struct {
*tchttp.BaseRequest
// 时间模板名称
Name *string `json:"Name,omitempty" name:"Name"`
// 是否为每周全时录制(即7*24h录制),0:非全时录制,1;全时录制,默认0
IsAllWeek *int64 `json:"IsAllWeek,omitempty" name:"IsAllWeek"`
// 当IsAllWeek为0时必选,用于描述模板的各个时间片段
TimeTemplateSpecs []*TimeTemplateSpec `json:"TimeTemplateSpecs,omitempty" name:"TimeTemplateSpecs" list`
}
func NewCreateTimeTemplateRequest ¶
func NewCreateTimeTemplateRequest() (request *CreateTimeTemplateRequest)
func (*CreateTimeTemplateRequest) FromJsonString ¶
func (r *CreateTimeTemplateRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTimeTemplateRequest) ToJsonString ¶
func (r *CreateTimeTemplateRequest) ToJsonString() string
type CreateTimeTemplateResponse ¶
type CreateTimeTemplateResponse struct {
*tchttp.BaseResponse
Response *struct {
// 时间模板ID
TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateTimeTemplateResponse ¶
func NewCreateTimeTemplateResponse() (response *CreateTimeTemplateResponse)
func (*CreateTimeTemplateResponse) FromJsonString ¶
func (r *CreateTimeTemplateResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTimeTemplateResponse) ToJsonString ¶
func (r *CreateTimeTemplateResponse) ToJsonString() string
type DeleteDeviceGroupRequest ¶
type DeleteDeviceGroupRequest struct {
*tchttp.BaseRequest
// 分组ID
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}
func NewDeleteDeviceGroupRequest ¶
func NewDeleteDeviceGroupRequest() (request *DeleteDeviceGroupRequest)
func (*DeleteDeviceGroupRequest) FromJsonString ¶
func (r *DeleteDeviceGroupRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDeviceGroupRequest) ToJsonString ¶
func (r *DeleteDeviceGroupRequest) ToJsonString() string
type DeleteDeviceGroupResponse ¶
type DeleteDeviceGroupResponse struct {
*tchttp.BaseResponse
Response *struct {
// 响应结果
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteDeviceGroupResponse ¶
func NewDeleteDeviceGroupResponse() (response *DeleteDeviceGroupResponse)
func (*DeleteDeviceGroupResponse) FromJsonString ¶
func (r *DeleteDeviceGroupResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDeviceGroupResponse) ToJsonString ¶
func (r *DeleteDeviceGroupResponse) ToJsonString() string
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct {
*tchttp.BaseRequest
// 设备唯一标识
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
}
func NewDeleteDeviceRequest ¶
func NewDeleteDeviceRequest() (request *DeleteDeviceRequest)
func (*DeleteDeviceRequest) FromJsonString ¶
func (r *DeleteDeviceRequest) FromJsonString(s string) error
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 DeleteDeviceResponse ¶
type DeleteDeviceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 操作结果
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 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
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 DeleteRecordPlanRequest ¶
type DeleteRecordPlanRequest struct {
*tchttp.BaseRequest
// 录制计划ID
PlanId *string `json:"PlanId,omitempty" name:"PlanId"`
}
func NewDeleteRecordPlanRequest ¶
func NewDeleteRecordPlanRequest() (request *DeleteRecordPlanRequest)
func (*DeleteRecordPlanRequest) FromJsonString ¶
func (r *DeleteRecordPlanRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordPlanRequest) ToJsonString ¶
func (r *DeleteRecordPlanRequest) ToJsonString() string
type DeleteRecordPlanResponse ¶
type DeleteRecordPlanResponse struct {
*tchttp.BaseResponse
Response *struct {
// 操作结果,OK:成功,其他:失败
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteRecordPlanResponse ¶
func NewDeleteRecordPlanResponse() (response *DeleteRecordPlanResponse)
func (*DeleteRecordPlanResponse) FromJsonString ¶
func (r *DeleteRecordPlanResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRecordPlanResponse) ToJsonString ¶
func (r *DeleteRecordPlanResponse) ToJsonString() string
type DeleteTimeTemplateRequest ¶
type DeleteTimeTemplateRequest struct {
*tchttp.BaseRequest
// 时间模板ID
TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}
func NewDeleteTimeTemplateRequest ¶
func NewDeleteTimeTemplateRequest() (request *DeleteTimeTemplateRequest)
func (*DeleteTimeTemplateRequest) FromJsonString ¶
func (r *DeleteTimeTemplateRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTimeTemplateRequest) ToJsonString ¶
func (r *DeleteTimeTemplateRequest) ToJsonString() string
type DeleteTimeTemplateResponse ¶
type DeleteTimeTemplateResponse struct {
*tchttp.BaseResponse
Response *struct {
// 操作结果,OK:成功,其他:失败
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteTimeTemplateResponse ¶
func NewDeleteTimeTemplateResponse() (response *DeleteTimeTemplateResponse)
func (*DeleteTimeTemplateResponse) FromJsonString ¶
func (r *DeleteTimeTemplateResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTimeTemplateResponse) ToJsonString ¶
func (r *DeleteTimeTemplateResponse) ToJsonString() string
type DescribeAllDeviceListRequest ¶
type DescribeAllDeviceListRequest struct {
*tchttp.BaseRequest
// 偏移量,默认0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 限制,默认200
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 设备名称,需要模糊匹配设备名称时为必填
NickName *string `json:"NickName,omitempty" name:"NickName"`
// DeviceId列表,需要精确查找设备时为必填
DeviceIds []*string `json:"DeviceIds,omitempty" name:"DeviceIds" list`
}
func NewDescribeAllDeviceListRequest ¶
func NewDescribeAllDeviceListRequest() (request *DescribeAllDeviceListRequest)
func (*DescribeAllDeviceListRequest) FromJsonString ¶
func (r *DescribeAllDeviceListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllDeviceListRequest) ToJsonString ¶
func (r *DescribeAllDeviceListRequest) ToJsonString() string
type DescribeAllDeviceListResponse ¶
type DescribeAllDeviceListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 设备详细信息列表
// 注意:此字段可能返回 null,表示取不到有效值。
Devices []*AllDeviceInfo `json:"Devices,omitempty" name:"Devices" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeAllDeviceListResponse ¶
func NewDescribeAllDeviceListResponse() (response *DescribeAllDeviceListResponse)
func (*DescribeAllDeviceListResponse) FromJsonString ¶
func (r *DescribeAllDeviceListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAllDeviceListResponse) ToJsonString ¶
func (r *DescribeAllDeviceListResponse) ToJsonString() string
type DescribeDeviceGroupRequest ¶
type DescribeDeviceGroupRequest struct {
*tchttp.BaseRequest
// 设备唯一标识列表
DeviceIds []*string `json:"DeviceIds,omitempty" name:"DeviceIds" list`
}
func NewDescribeDeviceGroupRequest ¶
func NewDescribeDeviceGroupRequest() (request *DescribeDeviceGroupRequest)
func (*DescribeDeviceGroupRequest) FromJsonString ¶
func (r *DescribeDeviceGroupRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceGroupRequest) ToJsonString ¶
func (r *DescribeDeviceGroupRequest) ToJsonString() string
type DescribeDeviceGroupResponse ¶
type DescribeDeviceGroupResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备所在分组信息
// 注意:此字段可能返回 null,表示取不到有效值。
DevGroups []*DevGroupInfo `json:"DevGroups,omitempty" name:"DevGroups" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeDeviceGroupResponse ¶
func NewDescribeDeviceGroupResponse() (response *DescribeDeviceGroupResponse)
func (*DescribeDeviceGroupResponse) FromJsonString ¶
func (r *DescribeDeviceGroupResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceGroupResponse) ToJsonString ¶
func (r *DescribeDeviceGroupResponse) ToJsonString() string
type DescribeDevicePassWordRequest ¶
type DescribeDevicePassWordRequest struct {
*tchttp.BaseRequest
// 设备唯一标识
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
}
func NewDescribeDevicePassWordRequest ¶
func NewDescribeDevicePassWordRequest() (request *DescribeDevicePassWordRequest)
func (*DescribeDevicePassWordRequest) FromJsonString ¶
func (r *DescribeDevicePassWordRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDevicePassWordRequest) ToJsonString ¶
func (r *DescribeDevicePassWordRequest) ToJsonString() string
type DescribeDevicePassWordResponse ¶
type DescribeDevicePassWordResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备密码
PassWord *string `json:"PassWord,omitempty" name:"PassWord"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeDevicePassWordResponse ¶
func NewDescribeDevicePassWordResponse() (response *DescribeDevicePassWordResponse)
func (*DescribeDevicePassWordResponse) FromJsonString ¶
func (r *DescribeDevicePassWordResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDevicePassWordResponse) ToJsonString ¶
func (r *DescribeDevicePassWordResponse) ToJsonString() string
type DescribeDeviceStreamsData ¶
type DescribeDeviceStreamsData struct {
// rtsp地址
RtspAddr *string `json:"RtspAddr,omitempty" name:"RtspAddr"`
// rtmp地址
RtmpAddr *string `json:"RtmpAddr,omitempty" name:"RtmpAddr"`
// hls地址
HlsAddr *string `json:"HlsAddr,omitempty" name:"HlsAddr"`
// flv地址
FlvAddr *string `json:"FlvAddr,omitempty" name:"FlvAddr"`
}
type DescribeDeviceStreamsRequest ¶
type DescribeDeviceStreamsRequest struct {
*tchttp.BaseRequest
// 设备唯一标识
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// 流地址失效时间
ExpireTime *uint64 `json:"ExpireTime,omitempty" name:"ExpireTime"`
}
func NewDescribeDeviceStreamsRequest ¶
func NewDescribeDeviceStreamsRequest() (request *DescribeDeviceStreamsRequest)
func (*DescribeDeviceStreamsRequest) FromJsonString ¶
func (r *DescribeDeviceStreamsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceStreamsRequest) ToJsonString ¶
func (r *DescribeDeviceStreamsRequest) ToJsonString() string
type DescribeDeviceStreamsResponse ¶
type DescribeDeviceStreamsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备实时流地址列表
Data *DescribeDeviceStreamsData `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeDeviceStreamsResponse ¶
func NewDescribeDeviceStreamsResponse() (response *DescribeDeviceStreamsResponse)
func (*DescribeDeviceStreamsResponse) FromJsonString ¶
func (r *DescribeDeviceStreamsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceStreamsResponse) ToJsonString ¶
func (r *DescribeDeviceStreamsResponse) ToJsonString() string
type DescribeGroupByIdRequest ¶
type DescribeGroupByIdRequest struct {
*tchttp.BaseRequest
// 分组ID
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
}
func NewDescribeGroupByIdRequest ¶
func NewDescribeGroupByIdRequest() (request *DescribeGroupByIdRequest)
func (*DescribeGroupByIdRequest) FromJsonString ¶
func (r *DescribeGroupByIdRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupByIdRequest) ToJsonString ¶
func (r *DescribeGroupByIdRequest) ToJsonString() string
type DescribeGroupByIdResponse ¶
type DescribeGroupByIdResponse struct {
*tchttp.BaseResponse
Response *struct {
// 分组信息详情
// 注意:此字段可能返回 null,表示取不到有效值。
Group *GroupItem `json:"Group,omitempty" name:"Group"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeGroupByIdResponse ¶
func NewDescribeGroupByIdResponse() (response *DescribeGroupByIdResponse)
func (*DescribeGroupByIdResponse) FromJsonString ¶
func (r *DescribeGroupByIdResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupByIdResponse) ToJsonString ¶
func (r *DescribeGroupByIdResponse) ToJsonString() string
type DescribeGroupByPathRequest ¶
type DescribeGroupByPathRequest struct {
*tchttp.BaseRequest
// 分组路径,格式为/aaa(/bbb/ccc)
GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"`
}
func NewDescribeGroupByPathRequest ¶
func NewDescribeGroupByPathRequest() (request *DescribeGroupByPathRequest)
func (*DescribeGroupByPathRequest) FromJsonString ¶
func (r *DescribeGroupByPathRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupByPathRequest) ToJsonString ¶
func (r *DescribeGroupByPathRequest) ToJsonString() string
type DescribeGroupByPathResponse ¶
type DescribeGroupByPathResponse struct {
*tchttp.BaseResponse
Response *struct {
// 分组信息详情
// 注意:此字段可能返回 null,表示取不到有效值。
Group *GroupItem `json:"Group,omitempty" name:"Group"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeGroupByPathResponse ¶
func NewDescribeGroupByPathResponse() (response *DescribeGroupByPathResponse)
func (*DescribeGroupByPathResponse) FromJsonString ¶
func (r *DescribeGroupByPathResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupByPathResponse) ToJsonString ¶
func (r *DescribeGroupByPathResponse) ToJsonString() string
type DescribeGroupDevicesRequest ¶
type DescribeGroupDevicesRequest struct {
*tchttp.BaseRequest
// 分组ID
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
// 偏移量,默认0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 限制值,默认200
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 设备名称,根据设备名称模糊匹配时必填
NickName *string `json:"NickName,omitempty" name:"NickName"`
// 过滤不可录制设备
Recordable *int64 `json:"Recordable,omitempty" name:"Recordable"`
}
func NewDescribeGroupDevicesRequest ¶
func NewDescribeGroupDevicesRequest() (request *DescribeGroupDevicesRequest)
func (*DescribeGroupDevicesRequest) FromJsonString ¶
func (r *DescribeGroupDevicesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupDevicesRequest) ToJsonString ¶
func (r *DescribeGroupDevicesRequest) ToJsonString() string
type DescribeGroupDevicesResponse ¶
type DescribeGroupDevicesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 分组绑定的设备数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 设备详情列表
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceList []*GroupDeviceItem `json:"DeviceList,omitempty" name:"DeviceList" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeGroupDevicesResponse ¶
func NewDescribeGroupDevicesResponse() (response *DescribeGroupDevicesResponse)
func (*DescribeGroupDevicesResponse) FromJsonString ¶
func (r *DescribeGroupDevicesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupDevicesResponse) ToJsonString ¶
func (r *DescribeGroupDevicesResponse) ToJsonString() string
type DescribeGroupsRequest ¶
type DescribeGroupsRequest struct {
*tchttp.BaseRequest
// 分组ID列表
GroupIds []*string `json:"GroupIds,omitempty" name:"GroupIds" list`
}
func NewDescribeGroupsRequest ¶
func NewDescribeGroupsRequest() (request *DescribeGroupsRequest)
func (*DescribeGroupsRequest) FromJsonString ¶
func (r *DescribeGroupsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupsRequest) ToJsonString ¶
func (r *DescribeGroupsRequest) ToJsonString() string
type DescribeGroupsResponse ¶
type DescribeGroupsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 分组详细信息列表
// 注意:此字段可能返回 null,表示取不到有效值。
Groups []*GroupInfo `json:"Groups,omitempty" name:"Groups" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeGroupsResponse ¶
func NewDescribeGroupsResponse() (response *DescribeGroupsResponse)
func (*DescribeGroupsResponse) FromJsonString ¶
func (r *DescribeGroupsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupsResponse) ToJsonString ¶
func (r *DescribeGroupsResponse) ToJsonString() string
type DescribeRecordStreamData ¶
type DescribeRecordStreamData struct {
// Rtsp地址
RtspAddr *string `json:"RtspAddr,omitempty" name:"RtspAddr"`
// Rtmp地址
RtmpAddr *string `json:"RtmpAddr,omitempty" name:"RtmpAddr"`
// Hls地址
HlsAddr *string `json:"HlsAddr,omitempty" name:"HlsAddr"`
// Flv地址
FlvAddr *string `json:"FlvAddr,omitempty" name:"FlvAddr"`
// 流Id
StreamId *string `json:"StreamId,omitempty" name:"StreamId"`
}
type DescribeRecordStreamRequest ¶
type DescribeRecordStreamRequest struct {
*tchttp.BaseRequest
// 设备Id
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// 流失效时间
ExpireTime *int64 `json:"ExpireTime,omitempty" name:"ExpireTime"`
// 录像文件Id
RecordId *string `json:"RecordId,omitempty" name:"RecordId"`
// 录像流开始时间,当录像文件Id为空时有效
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 录像流结束时间,当录像文件Id为空时有效
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
}
func NewDescribeRecordStreamRequest ¶
func NewDescribeRecordStreamRequest() (request *DescribeRecordStreamRequest)
func (*DescribeRecordStreamRequest) FromJsonString ¶
func (r *DescribeRecordStreamRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordStreamRequest) ToJsonString ¶
func (r *DescribeRecordStreamRequest) ToJsonString() string
type DescribeRecordStreamResponse ¶
type DescribeRecordStreamResponse struct {
*tchttp.BaseResponse
Response *struct {
// 结果
Data *DescribeRecordStreamData `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeRecordStreamResponse ¶
func NewDescribeRecordStreamResponse() (response *DescribeRecordStreamResponse)
func (*DescribeRecordStreamResponse) FromJsonString ¶
func (r *DescribeRecordStreamResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRecordStreamResponse) ToJsonString ¶
func (r *DescribeRecordStreamResponse) ToJsonString() string
type DescribeSIPServerRequest ¶
type DescribeSIPServerRequest struct {
*tchttp.BaseRequest
}
func NewDescribeSIPServerRequest ¶
func NewDescribeSIPServerRequest() (request *DescribeSIPServerRequest)
func (*DescribeSIPServerRequest) FromJsonString ¶
func (r *DescribeSIPServerRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSIPServerRequest) ToJsonString ¶
func (r *DescribeSIPServerRequest) ToJsonString() string
type DescribeSIPServerResponse ¶
type DescribeSIPServerResponse struct {
*tchttp.BaseResponse
Response *struct {
// SIP服务器相关配置项
Data *ServerConfiguration `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeSIPServerResponse ¶
func NewDescribeSIPServerResponse() (response *DescribeSIPServerResponse)
func (*DescribeSIPServerResponse) FromJsonString ¶
func (r *DescribeSIPServerResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSIPServerResponse) ToJsonString ¶
func (r *DescribeSIPServerResponse) ToJsonString() string
type DescribeStatisticDetailsRequest ¶
type DescribeStatisticDetailsRequest struct {
*tchttp.BaseRequest
// 开始日期,格式【YYYY-MM-DD】
StartDate *string `json:"StartDate,omitempty" name:"StartDate"`
// 结束日期,格式【YYYY-MM-DD】
EndDate *string `json:"EndDate,omitempty" name:"EndDate"`
// 统计项。取值范围:
// 1.录制设备数:RecordingDevice
// 2.非录制设备数:NonRecordingDevice
// 3.观看流量总数:WatchFlux
// 4.已用存储容量总数:StorageUsage
StatisticField *string `json:"StatisticField,omitempty" name:"StatisticField"`
}
func NewDescribeStatisticDetailsRequest ¶
func NewDescribeStatisticDetailsRequest() (request *DescribeStatisticDetailsRequest)
func (*DescribeStatisticDetailsRequest) FromJsonString ¶
func (r *DescribeStatisticDetailsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStatisticDetailsRequest) ToJsonString ¶
func (r *DescribeStatisticDetailsRequest) ToJsonString() string
type DescribeStatisticDetailsResponse ¶
type DescribeStatisticDetailsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 统计详情列表
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*StatisticItem `json:"Data,omitempty" name:"Data" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeStatisticDetailsResponse ¶
func NewDescribeStatisticDetailsResponse() (response *DescribeStatisticDetailsResponse)
func (*DescribeStatisticDetailsResponse) FromJsonString ¶
func (r *DescribeStatisticDetailsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStatisticDetailsResponse) ToJsonString ¶
func (r *DescribeStatisticDetailsResponse) ToJsonString() string
type DescribeStatisticSummaryRequest ¶
type DescribeStatisticSummaryRequest struct {
*tchttp.BaseRequest
// 指定日期。格式【YYYY-MM-DD】
Date *string `json:"Date,omitempty" name:"Date"`
}
func NewDescribeStatisticSummaryRequest ¶
func NewDescribeStatisticSummaryRequest() (request *DescribeStatisticSummaryRequest)
func (*DescribeStatisticSummaryRequest) FromJsonString ¶
func (r *DescribeStatisticSummaryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStatisticSummaryRequest) ToJsonString ¶
func (r *DescribeStatisticSummaryRequest) ToJsonString() string
type DescribeStatisticSummaryResponse ¶
type DescribeStatisticSummaryResponse struct {
*tchttp.BaseResponse
Response *struct {
// 录制设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
RecordingDevice *uint64 `json:"RecordingDevice,omitempty" name:"RecordingDevice"`
// 非录制设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
NonRecordingDevice *uint64 `json:"NonRecordingDevice,omitempty" name:"NonRecordingDevice"`
// 观看流量总数。为直播观看流量与点播观看流量之和。单位:GB
// 注意:此字段可能返回 null,表示取不到有效值。
WatchFlux *float64 `json:"WatchFlux,omitempty" name:"WatchFlux"`
// 累计有效存储容量总数。单位:GB
// 注意:此字段可能返回 null,表示取不到有效值。
StorageUsage *float64 `json:"StorageUsage,omitempty" name:"StorageUsage"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeStatisticSummaryResponse ¶
func NewDescribeStatisticSummaryResponse() (response *DescribeStatisticSummaryResponse)
func (*DescribeStatisticSummaryResponse) FromJsonString ¶
func (r *DescribeStatisticSummaryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStatisticSummaryResponse) ToJsonString ¶
func (r *DescribeStatisticSummaryResponse) ToJsonString() string
type DescribeSubGroupsRequest ¶
type DescribeSubGroupsRequest struct {
*tchttp.BaseRequest
// 分组ID
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
// 分组名称,根据名称模糊匹配子分组时为必填
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// 偏移量,默认0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 限制数,默认200
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 是否统计子分组下的设备数,0:统计,1:不统计
OnlyGroup *int64 `json:"OnlyGroup,omitempty" name:"OnlyGroup"`
}
func NewDescribeSubGroupsRequest ¶
func NewDescribeSubGroupsRequest() (request *DescribeSubGroupsRequest)
func (*DescribeSubGroupsRequest) FromJsonString ¶
func (r *DescribeSubGroupsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubGroupsRequest) ToJsonString ¶
func (r *DescribeSubGroupsRequest) ToJsonString() string
type DescribeSubGroupsResponse ¶
type DescribeSubGroupsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 子分组详情列表
// 注意:此字段可能返回 null,表示取不到有效值。
GroupList []*GroupItem `json:"GroupList,omitempty" name:"GroupList" list`
// 子分组总数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeSubGroupsResponse ¶
func NewDescribeSubGroupsResponse() (response *DescribeSubGroupsResponse)
func (*DescribeSubGroupsResponse) FromJsonString ¶
func (r *DescribeSubGroupsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubGroupsResponse) ToJsonString ¶
func (r *DescribeSubGroupsResponse) ToJsonString() string
type DescribeVideoListRequest ¶
type DescribeVideoListRequest struct {
*tchttp.BaseRequest
// 开始时间戳,秒级
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间戳,秒级
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
// 偏移
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 限制
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 设备Id
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
}
func NewDescribeVideoListRequest ¶
func NewDescribeVideoListRequest() (request *DescribeVideoListRequest)
func (*DescribeVideoListRequest) FromJsonString ¶
func (r *DescribeVideoListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVideoListRequest) ToJsonString ¶
func (r *DescribeVideoListRequest) ToJsonString() string
type DescribeVideoListResponse ¶
type DescribeVideoListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 总数
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 已废弃
VideoList *RecordTaskItem `json:"VideoList,omitempty" name:"VideoList"`
// 录像详情列表
RecordList []*RecordTaskItem `json:"RecordList,omitempty" name:"RecordList" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeVideoListResponse ¶
func NewDescribeVideoListResponse() (response *DescribeVideoListResponse)
func (*DescribeVideoListResponse) FromJsonString ¶
func (r *DescribeVideoListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVideoListResponse) ToJsonString ¶
func (r *DescribeVideoListResponse) ToJsonString() string
type DevGroupInfo ¶
type DevGroupInfo struct {
// 设备唯一标识
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// 分组ID
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
// 分组路径
GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"`
// 父分组ID
ParentId *string `json:"ParentId,omitempty" name:"ParentId"`
// 设备错误,仅在用户没权限或者设备已删除时返回具体结果
Error *string `json:"Error,omitempty" name:"Error"`
}
type DeviceItem ¶
type DeviceItem struct {
// 设备唯一标识
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
}
type GetRecordDatesByDevRequest ¶
type GetRecordDatesByDevRequest struct {
*tchttp.BaseRequest
// 设备唯一标识
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// 偏移量,默认0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 限制量,默认200
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
func NewGetRecordDatesByDevRequest ¶
func NewGetRecordDatesByDevRequest() (request *GetRecordDatesByDevRequest)
func (*GetRecordDatesByDevRequest) FromJsonString ¶
func (r *GetRecordDatesByDevRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetRecordDatesByDevRequest) ToJsonString ¶
func (r *GetRecordDatesByDevRequest) ToJsonString() string
type GetRecordDatesByDevResponse ¶
type GetRecordDatesByDevResponse struct {
*tchttp.BaseResponse
Response *struct {
// 含有录像文件的日期列表
// 注意:此字段可能返回 null,表示取不到有效值。
Dates []*string `json:"Dates,omitempty" name:"Dates" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetRecordDatesByDevResponse ¶
func NewGetRecordDatesByDevResponse() (response *GetRecordDatesByDevResponse)
func (*GetRecordDatesByDevResponse) FromJsonString ¶
func (r *GetRecordDatesByDevResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetRecordDatesByDevResponse) ToJsonString ¶
func (r *GetRecordDatesByDevResponse) ToJsonString() string
type GetRecordPlanByDevRequest ¶
type GetRecordPlanByDevRequest struct {
*tchttp.BaseRequest
// 设备唯一标识
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
}
func NewGetRecordPlanByDevRequest ¶
func NewGetRecordPlanByDevRequest() (request *GetRecordPlanByDevRequest)
func (*GetRecordPlanByDevRequest) FromJsonString ¶
func (r *GetRecordPlanByDevRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetRecordPlanByDevRequest) ToJsonString ¶
func (r *GetRecordPlanByDevRequest) ToJsonString() string
type GetRecordPlanByDevResponse ¶
type GetRecordPlanByDevResponse struct {
*tchttp.BaseResponse
Response *struct {
// 录制计划详情
// 注意:此字段可能返回 null,表示取不到有效值。
Plan *RecordPlanItem `json:"Plan,omitempty" name:"Plan"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetRecordPlanByDevResponse ¶
func NewGetRecordPlanByDevResponse() (response *GetRecordPlanByDevResponse)
func (*GetRecordPlanByDevResponse) FromJsonString ¶
func (r *GetRecordPlanByDevResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetRecordPlanByDevResponse) ToJsonString ¶
func (r *GetRecordPlanByDevResponse) ToJsonString() string
type GetRecordPlanByIdRequest ¶
type GetRecordPlanByIdRequest struct {
*tchttp.BaseRequest
// 录制计划ID
PlanId *string `json:"PlanId,omitempty" name:"PlanId"`
}
func NewGetRecordPlanByIdRequest ¶
func NewGetRecordPlanByIdRequest() (request *GetRecordPlanByIdRequest)
func (*GetRecordPlanByIdRequest) FromJsonString ¶
func (r *GetRecordPlanByIdRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetRecordPlanByIdRequest) ToJsonString ¶
func (r *GetRecordPlanByIdRequest) ToJsonString() string
type GetRecordPlanByIdResponse ¶
type GetRecordPlanByIdResponse struct {
*tchttp.BaseResponse
Response *struct {
// 录制计划详情
// 注意:此字段可能返回 null,表示取不到有效值。
Plan *RecordPlanItem `json:"Plan,omitempty" name:"Plan"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetRecordPlanByIdResponse ¶
func NewGetRecordPlanByIdResponse() (response *GetRecordPlanByIdResponse)
func (*GetRecordPlanByIdResponse) FromJsonString ¶
func (r *GetRecordPlanByIdResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetRecordPlanByIdResponse) ToJsonString ¶
func (r *GetRecordPlanByIdResponse) ToJsonString() string
type GetRecordPlansRequest ¶
type GetRecordPlansRequest struct {
*tchttp.BaseRequest
}
func NewGetRecordPlansRequest ¶
func NewGetRecordPlansRequest() (request *GetRecordPlansRequest)
func (*GetRecordPlansRequest) FromJsonString ¶
func (r *GetRecordPlansRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetRecordPlansRequest) ToJsonString ¶
func (r *GetRecordPlansRequest) ToJsonString() string
type GetRecordPlansResponse ¶
type GetRecordPlansResponse struct {
*tchttp.BaseResponse
Response *struct {
// 录制计划详情·列表
// 注意:此字段可能返回 null,表示取不到有效值。
Plans []*RecordPlanItem `json:"Plans,omitempty" name:"Plans" list`
// 录制计划总数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetRecordPlansResponse ¶
func NewGetRecordPlansResponse() (response *GetRecordPlansResponse)
func (*GetRecordPlansResponse) FromJsonString ¶
func (r *GetRecordPlansResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetRecordPlansResponse) ToJsonString ¶
func (r *GetRecordPlansResponse) ToJsonString() string
type GetTimeTemplateByIdRequest ¶
type GetTimeTemplateByIdRequest struct {
*tchttp.BaseRequest
// 时间模板ID
TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}
func NewGetTimeTemplateByIdRequest ¶
func NewGetTimeTemplateByIdRequest() (request *GetTimeTemplateByIdRequest)
func (*GetTimeTemplateByIdRequest) FromJsonString ¶
func (r *GetTimeTemplateByIdRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTimeTemplateByIdRequest) ToJsonString ¶
func (r *GetTimeTemplateByIdRequest) ToJsonString() string
type GetTimeTemplateByIdResponse ¶
type GetTimeTemplateByIdResponse struct {
*tchttp.BaseResponse
Response *struct {
// 时间模板详情
// 注意:此字段可能返回 null,表示取不到有效值。
Template *TimeTemplateItem `json:"Template,omitempty" name:"Template"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetTimeTemplateByIdResponse ¶
func NewGetTimeTemplateByIdResponse() (response *GetTimeTemplateByIdResponse)
func (*GetTimeTemplateByIdResponse) FromJsonString ¶
func (r *GetTimeTemplateByIdResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTimeTemplateByIdResponse) ToJsonString ¶
func (r *GetTimeTemplateByIdResponse) ToJsonString() string
type GetTimeTemplatesRequest ¶
type GetTimeTemplatesRequest struct {
*tchttp.BaseRequest
}
func NewGetTimeTemplatesRequest ¶
func NewGetTimeTemplatesRequest() (request *GetTimeTemplatesRequest)
func (*GetTimeTemplatesRequest) FromJsonString ¶
func (r *GetTimeTemplatesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTimeTemplatesRequest) ToJsonString ¶
func (r *GetTimeTemplatesRequest) ToJsonString() string
type GetTimeTemplatesResponse ¶
type GetTimeTemplatesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 时间模板列表
// 注意:此字段可能返回 null,表示取不到有效值。
Templates []*TimeTemplateItem `json:"Templates,omitempty" name:"Templates" list`
// 时间模板总数
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetTimeTemplatesResponse ¶
func NewGetTimeTemplatesResponse() (response *GetTimeTemplatesResponse)
func (*GetTimeTemplatesResponse) FromJsonString ¶
func (r *GetTimeTemplatesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTimeTemplatesResponse) ToJsonString ¶
func (r *GetTimeTemplatesResponse) ToJsonString() string
type GetVideoListByConRequest ¶
type GetVideoListByConRequest struct {
*tchttp.BaseRequest
// 设备唯一标识
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// 偏移量,默认0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 限制量,默认200
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 0:查询指定日期的录像;1:查询最近一天的录像;默认0
LatestDay *int64 `json:"LatestDay,omitempty" name:"LatestDay"`
// 指定某天。取值【YYYY-MM-DD】
// 当LatestDay为空或为0时,本参数不允许为空。
Date *string `json:"Date,omitempty" name:"Date"`
}
func NewGetVideoListByConRequest ¶
func NewGetVideoListByConRequest() (request *GetVideoListByConRequest)
func (*GetVideoListByConRequest) FromJsonString ¶
func (r *GetVideoListByConRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetVideoListByConRequest) ToJsonString ¶
func (r *GetVideoListByConRequest) ToJsonString() string
type GetVideoListByConResponse ¶
type GetVideoListByConResponse struct {
*tchttp.BaseResponse
Response *struct {
// 录像详情列表
// 注意:此字段可能返回 null,表示取不到有效值。
VideoList []*RecordTaskItem `json:"VideoList,omitempty" name:"VideoList" list`
// 录像总数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetVideoListByConResponse ¶
func NewGetVideoListByConResponse() (response *GetVideoListByConResponse)
func (*GetVideoListByConResponse) FromJsonString ¶
func (r *GetVideoListByConResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetVideoListByConResponse) ToJsonString ¶
func (r *GetVideoListByConResponse) ToJsonString() string
type GroupDeviceItem ¶
type GroupDeviceItem struct {
// 设备唯一标识
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// 设备名称
// 注意:此字段可能返回 null,表示取不到有效值。
NickName *string `json:"NickName,omitempty" name:"NickName"`
// 设备状态
// 注意:此字段可能返回 null,表示取不到有效值。
Status *int64 `json:"Status,omitempty" name:"Status"`
// 扩展信息
// 注意:此字段可能返回 null,表示取不到有效值。
ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"`
// 设备类型
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceType *int64 `json:"DeviceType,omitempty" name:"DeviceType"`
// rtsp地址
// 注意:此字段可能返回 null,表示取不到有效值。
RTSPUrl *string `json:"RTSPUrl,omitempty" name:"RTSPUrl"`
// 设备编码
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceCode *string `json:"DeviceCode,omitempty" name:"DeviceCode"`
// 是否存在录像
// 注意:此字段可能返回 null,表示取不到有效值。
IsRecord *int64 `json:"IsRecord,omitempty" name:"IsRecord"`
// 该设备是否可录制
// 注意:此字段可能返回 null,表示取不到有效值。
Recordable *int64 `json:"Recordable,omitempty" name:"Recordable"`
}
type GroupInfo ¶
type GroupInfo struct {
// 分组ID
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
// 分组名称
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// 分组类型
GroupType *string `json:"GroupType,omitempty" name:"GroupType"`
// 分组路径
GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"`
// 父分组ID
ParentId *string `json:"ParentId,omitempty" name:"ParentId"`
// 分组描述
GroupDescribe *string `json:"GroupDescribe,omitempty" name:"GroupDescribe"`
// 扩展信息
ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"`
// 创建时间
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 分组状态
// 注意:此字段可能返回 null,表示取不到有效值。
GroupStatus *int64 `json:"GroupStatus,omitempty" name:"GroupStatus"`
// 设备不存在时产生的错误
// 注意:此字段可能返回 null,表示取不到有效值。
Error *string `json:"Error,omitempty" name:"Error"`
}
type GroupItem ¶
type GroupItem struct {
// 分组名称
// 注意:此字段可能返回 null,表示取不到有效值。
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// 父分组ID
// 注意:此字段可能返回 null,表示取不到有效值。
ParentId *string `json:"ParentId,omitempty" name:"ParentId"`
// 分组ID
// 注意:此字段可能返回 null,表示取不到有效值。
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
// 分组路径
// 注意:此字段可能返回 null,表示取不到有效值。
GroupPath *string `json:"GroupPath,omitempty" name:"GroupPath"`
// 分组描述
// 注意:此字段可能返回 null,表示取不到有效值。
GroupDescribe *string `json:"GroupDescribe,omitempty" name:"GroupDescribe"`
// 分组绑定设备数
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceNum *int64 `json:"DeviceNum,omitempty" name:"DeviceNum"`
// 子分组数量
// 注意:此字段可能返回 null,表示取不到有效值。
SubGroupNum *int64 `json:"SubGroupNum,omitempty" name:"SubGroupNum"`
// 分组附加信息
// 注意:此字段可能返回 null,表示取不到有效值。
ExtraInformation *string `json:"ExtraInformation,omitempty" name:"ExtraInformation"`
// 分组类型
// 注意:此字段可能返回 null,表示取不到有效值。
GroupType *string `json:"GroupType,omitempty" name:"GroupType"`
// 创建时间
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 分组状态
// 注意:此字段可能返回 null,表示取不到有效值。
GroupStatus *int64 `json:"GroupStatus,omitempty" name:"GroupStatus"`
}
type ModifyDeviceDataRequest ¶
type ModifyDeviceDataRequest struct {
*tchttp.BaseRequest
// 设备唯一标识
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// 设备名称
NickName *string `json:"NickName,omitempty" name:"NickName"`
}
func NewModifyDeviceDataRequest ¶
func NewModifyDeviceDataRequest() (request *ModifyDeviceDataRequest)
func (*ModifyDeviceDataRequest) FromJsonString ¶
func (r *ModifyDeviceDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDeviceDataRequest) ToJsonString ¶
func (r *ModifyDeviceDataRequest) ToJsonString() string
type ModifyDeviceDataResponse ¶
type ModifyDeviceDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 操作结果,“OK”表示成功,其他表示失败。
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyDeviceDataResponse ¶
func NewModifyDeviceDataResponse() (response *ModifyDeviceDataResponse)
func (*ModifyDeviceDataResponse) FromJsonString ¶
func (r *ModifyDeviceDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDeviceDataResponse) ToJsonString ¶
func (r *ModifyDeviceDataResponse) ToJsonString() string
type RecordPlanItem ¶
type RecordPlanItem struct {
// 计划ID
// 注意:此字段可能返回 null,表示取不到有效值。
PlanId *string `json:"PlanId,omitempty" name:"PlanId"`
// 计划名称
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
// 时间模板ID
// 注意:此字段可能返回 null,表示取不到有效值。
TimeTemplateId *string `json:"TimeTemplateId,omitempty" name:"TimeTemplateId"`
// 时间模板名称
// 注意:此字段可能返回 null,表示取不到有效值。
TimeTemplateName *string `json:"TimeTemplateName,omitempty" name:"TimeTemplateName"`
// 录制类型
// 注意:此字段可能返回 null,表示取不到有效值。
EventId *int64 `json:"EventId,omitempty" name:"EventId"`
// 绑定的设备列表
// 注意:此字段可能返回 null,表示取不到有效值。
Devices []*DeviceItem `json:"Devices,omitempty" name:"Devices" list`
}
type RecordTaskItem ¶
type RecordTaskItem struct {
// 录像任务ID
// 注意:此字段可能返回 null,表示取不到有效值。
RecordTaskId *string `json:"RecordTaskId,omitempty" name:"RecordTaskId"`
// 录制计划ID
// 注意:此字段可能返回 null,表示取不到有效值。
RecordPlanId *string `json:"RecordPlanId,omitempty" name:"RecordPlanId"`
// 本录制片段开始时间
// 注意:此字段可能返回 null,表示取不到有效值。
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 本录制片段结束时间
// 注意:此字段可能返回 null,表示取不到有效值。
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
// 录制模式
// 注意:此字段可能返回 null,表示取不到有效值。
EventId *int64 `json:"EventId,omitempty" name:"EventId"`
// 本录制片段对应的录制文件URL
// 注意:此字段可能返回 null,表示取不到有效值。
VideoUrl *string `json:"VideoUrl,omitempty" name:"VideoUrl"`
// 本录制片段当前的录制状态
// 注意:此字段可能返回 null,表示取不到有效值。
RecordStatus *int64 `json:"RecordStatus,omitempty" name:"RecordStatus"`
}
type ServerConfiguration ¶
type StatisticItem ¶
type TimeTemplateItem ¶
type TimeTemplateItem struct {
// 时间模板ID
// 注意:此字段可能返回 null,表示取不到有效值。
TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
// 模板名称
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
// 是否全时录制,即7*24小时录制
// 注意:此字段可能返回 null,表示取不到有效值。
IsAllWeek *int64 `json:"IsAllWeek,omitempty" name:"IsAllWeek"`
// 是否为自定义模板
// 注意:此字段可能返回 null,表示取不到有效值。
Type *int64 `json:"Type,omitempty" name:"Type"`
// 时间片段详情
// 注意:此字段可能返回 null,表示取不到有效值。
TimeTemplateSpecs []*TimeTemplateSpec `json:"TimeTemplateSpecs,omitempty" name:"TimeTemplateSpecs" list`
}
type TimeTemplateSpec ¶
type TimeTemplateSpec struct {
// 一周中的周几
// 注意:此字段可能返回 null,表示取不到有效值。
DayofWeek *int64 `json:"DayofWeek,omitempty" name:"DayofWeek"`
// 时间片段的开始时分。格式【HH:MM】
// 注意:此字段可能返回 null,表示取不到有效值。
BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"`
// 时间片段的结束时分。格式【HH:MM】
// 注意:此字段可能返回 null,表示取不到有效值。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}
type UpdateDeviceGroupRequest ¶
type UpdateDeviceGroupRequest struct {
*tchttp.BaseRequest
// 分组名称
GroupName *string `json:"GroupName,omitempty" name:"GroupName"`
// 分组ID
GroupId *string `json:"GroupId,omitempty" name:"GroupId"`
// 分组描述
GroupDescribe *string `json:"GroupDescribe,omitempty" name:"GroupDescribe"`
// 新父分组ID,用于修改分组路径
NewParentId *string `json:"NewParentId,omitempty" name:"NewParentId"`
}
func NewUpdateDeviceGroupRequest ¶
func NewUpdateDeviceGroupRequest() (request *UpdateDeviceGroupRequest)
func (*UpdateDeviceGroupRequest) FromJsonString ¶
func (r *UpdateDeviceGroupRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDeviceGroupRequest) ToJsonString ¶
func (r *UpdateDeviceGroupRequest) ToJsonString() string
type UpdateDeviceGroupResponse ¶
type UpdateDeviceGroupResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUpdateDeviceGroupResponse ¶
func NewUpdateDeviceGroupResponse() (response *UpdateDeviceGroupResponse)
func (*UpdateDeviceGroupResponse) FromJsonString ¶
func (r *UpdateDeviceGroupResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDeviceGroupResponse) ToJsonString ¶
func (r *UpdateDeviceGroupResponse) ToJsonString() string
type UpdateDevicePassWordRequest ¶
type UpdateDevicePassWordRequest struct {
*tchttp.BaseRequest
// 设备密码
PassWord *string `json:"PassWord,omitempty" name:"PassWord"`
// 设备唯一标识
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
}
func NewUpdateDevicePassWordRequest ¶
func NewUpdateDevicePassWordRequest() (request *UpdateDevicePassWordRequest)
func (*UpdateDevicePassWordRequest) FromJsonString ¶
func (r *UpdateDevicePassWordRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDevicePassWordRequest) ToJsonString ¶
func (r *UpdateDevicePassWordRequest) ToJsonString() string
type UpdateDevicePassWordResponse ¶
type UpdateDevicePassWordResponse struct {
*tchttp.BaseResponse
Response *struct {
// 操作结果,“OK”表示成功,其他表示失败。
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUpdateDevicePassWordResponse ¶
func NewUpdateDevicePassWordResponse() (response *UpdateDevicePassWordResponse)
func (*UpdateDevicePassWordResponse) FromJsonString ¶
func (r *UpdateDevicePassWordResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateDevicePassWordResponse) ToJsonString ¶
func (r *UpdateDevicePassWordResponse) ToJsonString() string
type UpdateRecordPlanRequest ¶
type UpdateRecordPlanRequest struct {
*tchttp.BaseRequest
// 录制计划ID
PlanId *string `json:"PlanId,omitempty" name:"PlanId"`
// 计划名称
Name *string `json:"Name,omitempty" name:"Name"`
// 时间模板ID
TimeTemplateId *string `json:"TimeTemplateId,omitempty" name:"TimeTemplateId"`
// 触发录制的事件 1:全部
EventId *int64 `json:"EventId,omitempty" name:"EventId"`
// 录制设备列表
Devices []*DeviceItem `json:"Devices,omitempty" name:"Devices" list`
// 是否更新绑定此录制计划的设备列表
// 0 - 不更新
// 1 - 更新,如果Devices参数为空则清空设备列表,Devices不为空则全量更新设备列表
IsModifyDevices *int64 `json:"IsModifyDevices,omitempty" name:"IsModifyDevices"`
}
func NewUpdateRecordPlanRequest ¶
func NewUpdateRecordPlanRequest() (request *UpdateRecordPlanRequest)
func (*UpdateRecordPlanRequest) FromJsonString ¶
func (r *UpdateRecordPlanRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateRecordPlanRequest) ToJsonString ¶
func (r *UpdateRecordPlanRequest) ToJsonString() string
type UpdateRecordPlanResponse ¶
type UpdateRecordPlanResponse struct {
*tchttp.BaseResponse
Response *struct {
// 操作结果
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUpdateRecordPlanResponse ¶
func NewUpdateRecordPlanResponse() (response *UpdateRecordPlanResponse)
func (*UpdateRecordPlanResponse) FromJsonString ¶
func (r *UpdateRecordPlanResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateRecordPlanResponse) ToJsonString ¶
func (r *UpdateRecordPlanResponse) ToJsonString() string
type UpdateTimeTemplateRequest ¶
type UpdateTimeTemplateRequest struct {
*tchttp.BaseRequest
// 时间模板ID
TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
// 时间模板名称
Name *string `json:"Name,omitempty" name:"Name"`
// 是否全时录制,即7*24小时录制。
// 0:非全时录制;1:全时录制。默认1
IsAllWeek *int64 `json:"IsAllWeek,omitempty" name:"IsAllWeek"`
// 录制时间片段
TimeTemplateSpecs []*TimeTemplateSpec `json:"TimeTemplateSpecs,omitempty" name:"TimeTemplateSpecs" list`
}
func NewUpdateTimeTemplateRequest ¶
func NewUpdateTimeTemplateRequest() (request *UpdateTimeTemplateRequest)
func (*UpdateTimeTemplateRequest) FromJsonString ¶
func (r *UpdateTimeTemplateRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateTimeTemplateRequest) ToJsonString ¶
func (r *UpdateTimeTemplateRequest) ToJsonString() string
type UpdateTimeTemplateResponse ¶
type UpdateTimeTemplateResponse struct {
*tchttp.BaseResponse
Response *struct {
// 操作结果,“OK”表示成功,其他表示失败。
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUpdateTimeTemplateResponse ¶
func NewUpdateTimeTemplateResponse() (response *UpdateTimeTemplateResponse)
func (*UpdateTimeTemplateResponse) FromJsonString ¶
func (r *UpdateTimeTemplateResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateTimeTemplateResponse) ToJsonString ¶
func (r *UpdateTimeTemplateResponse) ToJsonString() string