Documentation
¶
Index ¶
- Constants
- type BunkZone
- type CameraConfig
- type CameraState
- type CameraZones
- type Client
- func (c *Client) CreateCameraAlerts(request *CreateCameraAlertsRequest) (response *CreateCameraAlertsResponse, err error)
- func (c *Client) CreateCameraState(request *CreateCameraStateRequest) (response *CreateCameraStateResponse, err error)
- func (c *Client) CreateCapture(request *CreateCaptureRequest) (response *CreateCaptureResponse, err error)
- func (c *Client) CreateMultiBizAlert(request *CreateMultiBizAlertRequest) (response *CreateMultiBizAlertResponse, err error)
- func (c *Client) CreateProgramState(request *CreateProgramStateRequest) (response *CreateProgramStateResponse, err error)
- func (c *Client) CreateServerState(request *CreateServerStateRequest) (response *CreateServerStateResponse, err error)
- func (c *Client) DeleteMultiBizAlert(request *DeleteMultiBizAlertRequest) (response *DeleteMultiBizAlertResponse, err error)
- func (c *Client) DeleteTask(request *DeleteTaskRequest) (response *DeleteTaskResponse, err error)
- func (c *Client) DescribeCameras(request *DescribeCamerasRequest) (response *DescribeCamerasResponse, err error)
- func (c *Client) DescribeConfig(request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)
- func (c *Client) DescribeImage(request *DescribeImageRequest) (response *DescribeImageResponse, err error)
- func (c *Client) DescribeMultiBizBaseImage(request *DescribeMultiBizBaseImageRequest) (response *DescribeMultiBizBaseImageResponse, err error)
- func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
- func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) ModifyMultiBizConfig(request *ModifyMultiBizConfigRequest) (response *ModifyMultiBizConfigResponse, err error)
- func (c *Client) ReportServiceRegister(request *ReportServiceRegisterRequest) (response *ReportServiceRegisterResponse, err error)
- func (c *Client) SearchImage(request *SearchImageRequest) (response *SearchImageResponse, err error)
- type Config
- type CreateCameraAlertAlert
- type CreateCameraAlertsCoverAlert
- type CreateCameraAlertsMoveAlert
- type CreateCameraAlertsRequest
- type CreateCameraAlertsResponse
- type CreateCameraStateRequest
- type CreateCameraStateResponse
- type CreateCaptureRequest
- type CreateCaptureResponse
- type CreateMultiBizAlertRequest
- type CreateMultiBizAlertResponse
- type CreateProgramStateRequest
- type CreateProgramStateResponse
- type CreateServerStateRequest
- type CreateServerStateResponse
- type DeleteMultiBizAlertRequest
- type DeleteMultiBizAlertResponse
- type DeleteTaskRequest
- type DeleteTaskResponse
- type DescribeCamerasRequest
- type DescribeCamerasResponse
- type DescribeConfigRequest
- type DescribeConfigResponse
- type DescribeImageRequest
- type DescribeImageResponse
- type DescribeMultiBizBaseImageRequest
- type DescribeMultiBizBaseImageResponse
- type DescribeTasksRequest
- type DescribeTasksResponse
- type DescribeZonesRequest
- type DescribeZonesResponse
- type DiskInfo
- type ModifyMultiBizConfigRequest
- type ModifyMultiBizConfigResponse
- type MultiBizWarning
- type MultiBizWarningInfo
- type Point
- type Polygon
- type ProgramStateItem
- type ReportServiceRegisterRequest
- type ReportServiceRegisterResponse
- type SearchImageRequest
- type SearchImageResponse
- type SearchResult
- type ServerStateItem
- type ServiceRegisterInfo
- type Task
- type TaskContent
- type ZoneArea
- type ZoneConfig
Constants ¶
const APIVersion = "2020-09-18"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CameraConfig ¶
type CameraConfig struct {
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 楼层ID
FloorId *int64 `json:"FloorId,omitempty" name:"FloorId"`
// 摄像头ID
CameraId *uint64 `json:"CameraId,omitempty" name:"CameraId"`
// 摄像头IP
CameraIp *string `json:"CameraIp,omitempty" name:"CameraIp"`
// 摄像头Mac
CameraMac *string `json:"CameraMac,omitempty" name:"CameraMac"`
// 摄像头类型:
// 1: 码流机
// 2: AI相机
CameraType *int64 `json:"CameraType,omitempty" name:"CameraType"`
// 摄像头功能:
// 1: 人脸
// 2: 人体
CameraFeature *int64 `json:"CameraFeature,omitempty" name:"CameraFeature"`
// 摄像头是否启用:
// 0: 下线
// 1: 启用
CameraState *int64 `json:"CameraState,omitempty" name:"CameraState"`
// 点位ID
ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 点位类型:
// 1: 场门
// 3: 层门
// 5: 特殊区域
// 7: 门店
// 8: 补位
// 10: 开放式门店
// 11: 品类区
// 12: 公共区
ZoneType *int64 `json:"ZoneType,omitempty" name:"ZoneType"`
// 配置
Config *Config `json:"Config,omitempty" name:"Config"`
// 宽
Width *int64 `json:"Width,omitempty" name:"Width"`
// 高
Height *int64 `json:"Height,omitempty" name:"Height"`
}
type CameraState ¶
type CameraZones ¶
type CameraZones struct {
// 摄像头ID
CameraId *uint64 `json:"CameraId,omitempty" name:"CameraId"`
// 摄像头名称
CameraName *string `json:"CameraName,omitempty" name:"CameraName"`
// 摄像头功能:
// 1: 人脸
// 2: 人体
CameraFeature *int64 `json:"CameraFeature,omitempty" name:"CameraFeature"`
// 摄像头IP
CameraIp *string `json:"CameraIp,omitempty" name:"CameraIp"`
// 摄像头状态:
// 0: 异常 (不再使用)
// 1: 正常 (不再使用)
// 10: 初始化
// 11: 未知状态 (因服务内部错误产生)
// 12: 网络异常
// 13: 未授权
// 14: 相机App异常
// 15: 相机取流异常
// 16: 正常
CameraState *int64 `json:"CameraState,omitempty" name:"CameraState"`
// 点位列表
Zones []*BunkZone `json:"Zones,omitempty" name:"Zones" list`
// 像素:
// 130W(1280*960)
// 200W(1920*1080)
// 400W(2560*1440)
Pixel *string `json:"Pixel,omitempty" name:"Pixel"`
// 相机Rtsp地址
// 注意:此字段可能返回 null,表示取不到有效值。
RTSP *string `json:"RTSP,omitempty" name:"RTSP"`
}
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateCameraAlerts ¶
func (c *Client) CreateCameraAlerts(request *CreateCameraAlertsRequest) (response *CreateCameraAlertsResponse, err error)
上报相机移动、遮挡等告警信息
func (*Client) CreateCameraState ¶
func (c *Client) CreateCameraState(request *CreateCameraStateRequest) (response *CreateCameraStateResponse, err error)
上报当前场内所有相机的当前状态
func (*Client) CreateCapture ¶
func (c *Client) CreateCapture(request *CreateCaptureRequest) (response *CreateCaptureResponse, err error)
场内抓拍上报接口
func (*Client) CreateMultiBizAlert ¶
func (c *Client) CreateMultiBizAlert(request *CreateMultiBizAlertRequest) (response *CreateMultiBizAlertResponse, err error)
集团广场的多经点位告警
func (*Client) CreateProgramState ¶
func (c *Client) CreateProgramState(request *CreateProgramStateRequest) (response *CreateProgramStateResponse, err error)
上报所有进程监控信息
func (*Client) CreateServerState ¶
func (c *Client) CreateServerState(request *CreateServerStateRequest) (response *CreateServerStateResponse, err error)
上报所有服务器硬件监控信息
func (*Client) DeleteMultiBizAlert ¶
func (c *Client) DeleteMultiBizAlert(request *DeleteMultiBizAlertRequest) (response *DeleteMultiBizAlertResponse, err error)
集团广场的多经点位消警
func (*Client) DeleteTask ¶
func (c *Client) DeleteTask(request *DeleteTaskRequest) (response *DeleteTaskResponse, err error)
删除集团广场对应的任务
func (*Client) DescribeCameras ¶
func (c *Client) DescribeCameras(request *DescribeCamerasRequest) (response *DescribeCamerasResponse, err error)
获取集团广场对应的摄像头列表
func (*Client) DescribeConfig ¶
func (c *Client) DescribeConfig(request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)
获取摄像头配置信息 mac不为空返回指定相机配置 mac为空返回对应GroupCode和MallId全量配置
func (*Client) DescribeImage ¶
func (c *Client) DescribeImage(request *DescribeImageRequest) (response *DescribeImageResponse, err error)
实时获取底图接口
func (*Client) DescribeMultiBizBaseImage ¶
func (c *Client) DescribeMultiBizBaseImage(request *DescribeMultiBizBaseImageRequest) (response *DescribeMultiBizBaseImageResponse, err error)
获取多经点位底图
func (*Client) DescribeTasks ¶
func (c *Client) DescribeTasks(request *DescribeTasksRequest) (response *DescribeTasksResponse, err error)
查询集团广场对应的任务列表
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
获取集团广场的点位列表
func (*Client) ModifyMultiBizConfig ¶
func (c *Client) ModifyMultiBizConfig(request *ModifyMultiBizConfigRequest) (response *ModifyMultiBizConfigResponse, err error)
集团广场的多经点位配置更新
func (*Client) ReportServiceRegister ¶
func (c *Client) ReportServiceRegister(request *ReportServiceRegisterRequest) (response *ReportServiceRegisterResponse, err error)
上报服务注册自身的服务地址作为回调地址, 用于信息回传。
func (*Client) SearchImage ¶
func (c *Client) SearchImage(request *SearchImageRequest) (response *SearchImageResponse, err error)
以图搜图
type Config ¶
type Config struct {
// 摄像头厂商:
// H: 海康
// D: 大华
// Y: 英飞拓
// L: 联纵
CameraProducer *string `json:"CameraProducer,omitempty" name:"CameraProducer"`
// rtsp 地址
RTSP *string `json:"RTSP,omitempty" name:"RTSP"`
// 摄像头帧率
Fps *int64 `json:"Fps,omitempty" name:"Fps"`
// 解码帧率
DecodeFps *int64 `json:"DecodeFps,omitempty" name:"DecodeFps"`
// 是否做客流计算:
// 0: 否
// 1: 是
PassengerFlow *int64 `json:"PassengerFlow,omitempty" name:"PassengerFlow"`
// 是否打开人脸曝光:
// 0: 关闭
// 1: 开启
FaceExpose *int64 `json:"FaceExpose,omitempty" name:"FaceExpose"`
// 门线标注
MallArea []*Point `json:"MallArea,omitempty" name:"MallArea" list`
// 店门标注
ShopArea []*Point `json:"ShopArea,omitempty" name:"ShopArea" list`
// 检测区标注
TrackAreas []*Polygon `json:"TrackAreas,omitempty" name:"TrackAreas" list`
// 点位列表(品类区)
Zones []*ZoneArea `json:"Zones,omitempty" name:"Zones" list`
}
type CreateCameraAlertAlert ¶
type CreateCameraAlertAlert struct {
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 相机ID
CameraId *uint64 `json:"CameraId,omitempty" name:"CameraId"`
// 时间戳,ms,默认为告警请求到达时间
CaptureTime *int64 `json:"CaptureTime,omitempty" name:"CaptureTime"`
// 图片base64编码
Image *string `json:"Image,omitempty" name:"Image"`
// 移动告警
MoveAlert *CreateCameraAlertsMoveAlert `json:"MoveAlert,omitempty" name:"MoveAlert"`
// 遮挡告警
CoverAlert *CreateCameraAlertsCoverAlert `json:"CoverAlert,omitempty" name:"CoverAlert"`
}
type CreateCameraAlertsRequest ¶
type CreateCameraAlertsRequest struct {
*tchttp.BaseRequest
// 告警信息列表
Alerts []*CreateCameraAlertAlert `json:"Alerts,omitempty" name:"Alerts" list`
}
func NewCreateCameraAlertsRequest ¶
func NewCreateCameraAlertsRequest() (request *CreateCameraAlertsRequest)
func (*CreateCameraAlertsRequest) FromJsonString ¶
func (r *CreateCameraAlertsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCameraAlertsRequest) ToJsonString ¶
func (r *CreateCameraAlertsRequest) ToJsonString() string
type CreateCameraAlertsResponse ¶
type CreateCameraAlertsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateCameraAlertsResponse ¶
func NewCreateCameraAlertsResponse() (response *CreateCameraAlertsResponse)
func (*CreateCameraAlertsResponse) FromJsonString ¶
func (r *CreateCameraAlertsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCameraAlertsResponse) ToJsonString ¶
func (r *CreateCameraAlertsResponse) ToJsonString() string
type CreateCameraStateRequest ¶
type CreateCameraStateRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 场内所有相机的状态值
CameraStates []*CameraState `json:"CameraStates,omitempty" name:"CameraStates" list`
}
func NewCreateCameraStateRequest ¶
func NewCreateCameraStateRequest() (request *CreateCameraStateRequest)
func (*CreateCameraStateRequest) FromJsonString ¶
func (r *CreateCameraStateRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCameraStateRequest) ToJsonString ¶
func (r *CreateCameraStateRequest) ToJsonString() string
type CreateCameraStateResponse ¶
type CreateCameraStateResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateCameraStateResponse ¶
func NewCreateCameraStateResponse() (response *CreateCameraStateResponse)
func (*CreateCameraStateResponse) FromJsonString ¶
func (r *CreateCameraStateResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCameraStateResponse) ToJsonString ¶
func (r *CreateCameraStateResponse) ToJsonString() string
type CreateCaptureRequest ¶
type CreateCaptureRequest struct {
*tchttp.BaseRequest
// 原始抓拍报文
Data *string `json:"Data,omitempty" name:"Data"`
}
func NewCreateCaptureRequest ¶
func NewCreateCaptureRequest() (request *CreateCaptureRequest)
func (*CreateCaptureRequest) FromJsonString ¶
func (r *CreateCaptureRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCaptureRequest) ToJsonString ¶
func (r *CreateCaptureRequest) ToJsonString() string
type CreateCaptureResponse ¶
type CreateCaptureResponse struct {
*tchttp.BaseResponse
Response *struct {
// 原始应答报文
// 注意:此字段可能返回 null,表示取不到有效值。
RspData *string `json:"RspData,omitempty" name:"RspData"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateCaptureResponse ¶
func NewCreateCaptureResponse() (response *CreateCaptureResponse)
func (*CreateCaptureResponse) FromJsonString ¶
func (r *CreateCaptureResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCaptureResponse) ToJsonString ¶
func (r *CreateCaptureResponse) ToJsonString() string
type CreateMultiBizAlertRequest ¶
type CreateMultiBizAlertRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 点位ID
ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 摄像头ID
CameraId *uint64 `json:"CameraId,omitempty" name:"CameraId"`
// 时间戳,毫秒
CaptureTime *uint64 `json:"CaptureTime,omitempty" name:"CaptureTime"`
// 状态:
// 1: 侵占
// 2: 消失
// 3: 即侵占又消失
State *int64 `json:"State,omitempty" name:"State"`
// 图片base64字符串
Image *string `json:"Image,omitempty" name:"Image"`
// 告警列表
Warnings []*MultiBizWarning `json:"Warnings,omitempty" name:"Warnings" list`
}
func NewCreateMultiBizAlertRequest ¶
func NewCreateMultiBizAlertRequest() (request *CreateMultiBizAlertRequest)
func (*CreateMultiBizAlertRequest) FromJsonString ¶
func (r *CreateMultiBizAlertRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMultiBizAlertRequest) ToJsonString ¶
func (r *CreateMultiBizAlertRequest) ToJsonString() string
type CreateMultiBizAlertResponse ¶
type CreateMultiBizAlertResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateMultiBizAlertResponse ¶
func NewCreateMultiBizAlertResponse() (response *CreateMultiBizAlertResponse)
func (*CreateMultiBizAlertResponse) FromJsonString ¶
func (r *CreateMultiBizAlertResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMultiBizAlertResponse) ToJsonString ¶
func (r *CreateMultiBizAlertResponse) ToJsonString() string
type CreateProgramStateRequest ¶
type CreateProgramStateRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 进程监控信息列表
ProgramStateItems []*ProgramStateItem `json:"ProgramStateItems,omitempty" name:"ProgramStateItems" list`
// 商场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
}
func NewCreateProgramStateRequest ¶
func NewCreateProgramStateRequest() (request *CreateProgramStateRequest)
func (*CreateProgramStateRequest) FromJsonString ¶
func (r *CreateProgramStateRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProgramStateRequest) ToJsonString ¶
func (r *CreateProgramStateRequest) ToJsonString() string
type CreateProgramStateResponse ¶
type CreateProgramStateResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateProgramStateResponse ¶
func NewCreateProgramStateResponse() (response *CreateProgramStateResponse)
func (*CreateProgramStateResponse) FromJsonString ¶
func (r *CreateProgramStateResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProgramStateResponse) ToJsonString ¶
func (r *CreateProgramStateResponse) ToJsonString() string
type CreateServerStateRequest ¶
type CreateServerStateRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 服务器监控信息列表
ServerStateItems []*ServerStateItem `json:"ServerStateItems,omitempty" name:"ServerStateItems" list`
// 商场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 服务器监控信息上报时间戳,单位毫秒
ReportTime *uint64 `json:"ReportTime,omitempty" name:"ReportTime"`
}
func NewCreateServerStateRequest ¶
func NewCreateServerStateRequest() (request *CreateServerStateRequest)
func (*CreateServerStateRequest) FromJsonString ¶
func (r *CreateServerStateRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServerStateRequest) ToJsonString ¶
func (r *CreateServerStateRequest) ToJsonString() string
type CreateServerStateResponse ¶
type CreateServerStateResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateServerStateResponse ¶
func NewCreateServerStateResponse() (response *CreateServerStateResponse)
func (*CreateServerStateResponse) FromJsonString ¶
func (r *CreateServerStateResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateServerStateResponse) ToJsonString ¶
func (r *CreateServerStateResponse) ToJsonString() string
type DeleteMultiBizAlertRequest ¶
type DeleteMultiBizAlertRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 点位ID
ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 摄像头ID
CameraId *uint64 `json:"CameraId,omitempty" name:"CameraId"`
// 消警动作:
// 1: 误报
// 2: 正报合规
// 3: 正报不合规,整改完成
ActionType *int64 `json:"ActionType,omitempty" name:"ActionType"`
// 图片base64字符串
Image *string `json:"Image,omitempty" name:"Image"`
}
func NewDeleteMultiBizAlertRequest ¶
func NewDeleteMultiBizAlertRequest() (request *DeleteMultiBizAlertRequest)
func (*DeleteMultiBizAlertRequest) FromJsonString ¶
func (r *DeleteMultiBizAlertRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMultiBizAlertRequest) ToJsonString ¶
func (r *DeleteMultiBizAlertRequest) ToJsonString() string
type DeleteMultiBizAlertResponse ¶
type DeleteMultiBizAlertResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteMultiBizAlertResponse ¶
func NewDeleteMultiBizAlertResponse() (response *DeleteMultiBizAlertResponse)
func (*DeleteMultiBizAlertResponse) FromJsonString ¶
func (r *DeleteMultiBizAlertResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMultiBizAlertResponse) ToJsonString ¶
func (r *DeleteMultiBizAlertResponse) ToJsonString() string
type DeleteTaskRequest ¶
type DeleteTaskRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
func NewDeleteTaskRequest ¶
func NewDeleteTaskRequest() (request *DeleteTaskRequest)
func (*DeleteTaskRequest) FromJsonString ¶
func (r *DeleteTaskRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTaskRequest) ToJsonString ¶
func (r *DeleteTaskRequest) ToJsonString() string
type DeleteTaskResponse ¶
type DeleteTaskResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteTaskResponse ¶
func NewDeleteTaskResponse() (response *DeleteTaskResponse)
func (*DeleteTaskResponse) FromJsonString ¶
func (r *DeleteTaskResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTaskResponse) ToJsonString ¶
func (r *DeleteTaskResponse) ToJsonString() string
type DescribeCamerasRequest ¶
type DescribeCamerasRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
}
func NewDescribeCamerasRequest ¶
func NewDescribeCamerasRequest() (request *DescribeCamerasRequest)
func (*DescribeCamerasRequest) FromJsonString ¶
func (r *DescribeCamerasRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCamerasRequest) ToJsonString ¶
func (r *DescribeCamerasRequest) ToJsonString() string
type DescribeCamerasResponse ¶
type DescribeCamerasResponse struct {
*tchttp.BaseResponse
Response *struct {
// 摄像头列表
Cameras []*CameraZones `json:"Cameras,omitempty" name:"Cameras" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCamerasResponse ¶
func NewDescribeCamerasResponse() (response *DescribeCamerasResponse)
func (*DescribeCamerasResponse) FromJsonString ¶
func (r *DescribeCamerasResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCamerasResponse) ToJsonString ¶
func (r *DescribeCamerasResponse) ToJsonString() string
type DescribeConfigRequest ¶
type DescribeConfigRequest struct {
*tchttp.BaseRequest
// 会话ID
SessionId *string `json:"SessionId,omitempty" name:"SessionId"`
// 摄像头签名
CameraSign *string `json:"CameraSign,omitempty" name:"CameraSign"`
// 摄像头app id
CameraAppId *string `json:"CameraAppId,omitempty" name:"CameraAppId"`
// 摄像头时间戳,毫秒
CameraTimestamp *int64 `json:"CameraTimestamp,omitempty" name:"CameraTimestamp"`
// MAC地址,字母大写
ServerMac *string `json:"ServerMac,omitempty" name:"ServerMac"`
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
}
func NewDescribeConfigRequest ¶
func NewDescribeConfigRequest() (request *DescribeConfigRequest)
func (*DescribeConfigRequest) FromJsonString ¶
func (r *DescribeConfigRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigRequest) ToJsonString ¶
func (r *DescribeConfigRequest) ToJsonString() string
type DescribeConfigResponse ¶
type DescribeConfigResponse struct {
*tchttp.BaseResponse
Response *struct {
// 会话ID
SessionId *string `json:"SessionId,omitempty" name:"SessionId"`
// 配置版本号
Version *int64 `json:"Version,omitempty" name:"Version"`
// 摄像头列表
Cameras []*CameraConfig `json:"Cameras,omitempty" name:"Cameras" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeConfigResponse ¶
func NewDescribeConfigResponse() (response *DescribeConfigResponse)
func (*DescribeConfigResponse) FromJsonString ¶
func (r *DescribeConfigResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigResponse) ToJsonString ¶
func (r *DescribeConfigResponse) ToJsonString() string
type DescribeImageRequest ¶
type DescribeImageRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 摄像头ID
CameraId *uint64 `json:"CameraId,omitempty" name:"CameraId"`
}
func NewDescribeImageRequest ¶
func NewDescribeImageRequest() (request *DescribeImageRequest)
func (*DescribeImageRequest) FromJsonString ¶
func (r *DescribeImageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageRequest) ToJsonString ¶
func (r *DescribeImageRequest) ToJsonString() string
type DescribeImageResponse ¶
type DescribeImageResponse struct {
*tchttp.BaseResponse
Response *struct {
// cos 临时 url,异步上传图片,client需要轮询
ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeImageResponse ¶
func NewDescribeImageResponse() (response *DescribeImageResponse)
func (*DescribeImageResponse) FromJsonString ¶
func (r *DescribeImageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeImageResponse) ToJsonString ¶
func (r *DescribeImageResponse) ToJsonString() string
type DescribeMultiBizBaseImageRequest ¶
type DescribeMultiBizBaseImageRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 摄像头ID
CameraId *uint64 `json:"CameraId,omitempty" name:"CameraId"`
// 点位ID
ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeMultiBizBaseImageRequest ¶
func NewDescribeMultiBizBaseImageRequest() (request *DescribeMultiBizBaseImageRequest)
func (*DescribeMultiBizBaseImageRequest) FromJsonString ¶
func (r *DescribeMultiBizBaseImageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMultiBizBaseImageRequest) ToJsonString ¶
func (r *DescribeMultiBizBaseImageRequest) ToJsonString() string
type DescribeMultiBizBaseImageResponse ¶
type DescribeMultiBizBaseImageResponse struct {
*tchttp.BaseResponse
Response *struct {
// cos 临时 url
ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeMultiBizBaseImageResponse ¶
func NewDescribeMultiBizBaseImageResponse() (response *DescribeMultiBizBaseImageResponse)
func (*DescribeMultiBizBaseImageResponse) FromJsonString ¶
func (r *DescribeMultiBizBaseImageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMultiBizBaseImageResponse) ToJsonString ¶
func (r *DescribeMultiBizBaseImageResponse) ToJsonString() string
type DescribeTasksRequest ¶
type DescribeTasksRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 任务类型:
// 1: 底图拉取
TaskType *int64 `json:"TaskType,omitempty" name:"TaskType"`
}
func NewDescribeTasksRequest ¶
func NewDescribeTasksRequest() (request *DescribeTasksRequest)
func (*DescribeTasksRequest) FromJsonString ¶
func (r *DescribeTasksRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTasksRequest) ToJsonString ¶
func (r *DescribeTasksRequest) ToJsonString() string
type DescribeTasksResponse ¶
type DescribeTasksResponse struct {
*tchttp.BaseResponse
Response *struct {
// 任务列表
Tasks []*Task `json:"Tasks,omitempty" name:"Tasks" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeTasksResponse ¶
func NewDescribeTasksResponse() (response *DescribeTasksResponse)
func (*DescribeTasksResponse) FromJsonString ¶
func (r *DescribeTasksResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTasksResponse) ToJsonString ¶
func (r *DescribeTasksResponse) ToJsonString() string
type DescribeZonesRequest ¶
type DescribeZonesRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
}
func NewDescribeZonesRequest ¶
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
func (*DescribeZonesRequest) FromJsonString ¶
func (r *DescribeZonesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesRequest) ToJsonString ¶
func (r *DescribeZonesRequest) ToJsonString() string
type DescribeZonesResponse ¶
type DescribeZonesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 点位列表
Zones []*ZoneConfig `json:"Zones,omitempty" name:"Zones" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeZonesResponse ¶
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
func (*DescribeZonesResponse) FromJsonString ¶
func (r *DescribeZonesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesResponse) ToJsonString ¶
func (r *DescribeZonesResponse) ToJsonString() string
type ModifyMultiBizConfigRequest ¶
type ModifyMultiBizConfigRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 点位ID
ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 摄像头ID
CameraId *uint64 `json:"CameraId,omitempty" name:"CameraId"`
// 监控区域
MonitoringAreas []*Polygon `json:"MonitoringAreas,omitempty" name:"MonitoringAreas" list`
}
func NewModifyMultiBizConfigRequest ¶
func NewModifyMultiBizConfigRequest() (request *ModifyMultiBizConfigRequest)
func (*ModifyMultiBizConfigRequest) FromJsonString ¶
func (r *ModifyMultiBizConfigRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMultiBizConfigRequest) ToJsonString ¶
func (r *ModifyMultiBizConfigRequest) ToJsonString() string
type ModifyMultiBizConfigResponse ¶
type ModifyMultiBizConfigResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyMultiBizConfigResponse ¶
func NewModifyMultiBizConfigResponse() (response *ModifyMultiBizConfigResponse)
func (*ModifyMultiBizConfigResponse) FromJsonString ¶
func (r *ModifyMultiBizConfigResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMultiBizConfigResponse) ToJsonString ¶
func (r *ModifyMultiBizConfigResponse) ToJsonString() string
type MultiBizWarning ¶
type MultiBizWarning struct {
// 编号
Id *int64 `json:"Id,omitempty" name:"Id"`
// 监控区域
MonitoringArea []*Point `json:"MonitoringArea,omitempty" name:"MonitoringArea" list`
// 告警列表
WarningInfos []*MultiBizWarningInfo `json:"WarningInfos,omitempty" name:"WarningInfos" list`
}
type MultiBizWarningInfo ¶
type MultiBizWarningInfo struct {
// 告警类型:
// 0: 无变化
// 1: 侵占
// 2: 消失
WarningType *int64 `json:"WarningType,omitempty" name:"WarningType"`
// 告警侵占或消失面积
WarningAreaSize *float64 `json:"WarningAreaSize,omitempty" name:"WarningAreaSize"`
// 告警侵占或消失坐标
WarningLocation *Point `json:"WarningLocation,omitempty" name:"WarningLocation"`
// 告警侵占或消失轮廓
WarningAreaContour []*Point `json:"WarningAreaContour,omitempty" name:"WarningAreaContour" list`
}
type Polygon ¶
type Polygon struct {
// 标注列表
Points []*Point `json:"Points,omitempty" name:"Points" list`
}
type ProgramStateItem ¶
type ProgramStateItem struct {
// 服务器IP
ServerIp *string `json:"ServerIp,omitempty" name:"ServerIp"`
// 进程名字
ProgramName *string `json:"ProgramName,omitempty" name:"ProgramName"`
// 在线个数
OnlineCount *uint64 `json:"OnlineCount,omitempty" name:"OnlineCount"`
// 离线个数
OfflineCount *uint64 `json:"OfflineCount,omitempty" name:"OfflineCount"`
// 上报状态:
// 1: 正常上报
// 2: 异常上报
// 注:此处异常上报是指本次上报由于场内服务内部原因导致上报数据不可信等。此时离线个数重置为1,在线个数重置为0
State *int64 `json:"State,omitempty" name:"State"`
}
type ReportServiceRegisterRequest ¶
type ReportServiceRegisterRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 服务上报当前的服务能力信息
ServiceRegisterInfos []*ServiceRegisterInfo `json:"ServiceRegisterInfos,omitempty" name:"ServiceRegisterInfos" list`
// 服务内网Ip
ServerIp *string `json:"ServerIp,omitempty" name:"ServerIp"`
// 上报服务所在服务器的唯一ID
ServerNodeId *string `json:"ServerNodeId,omitempty" name:"ServerNodeId"`
// 上报时间戳, 单位毫秒
ReportTime *int64 `json:"ReportTime,omitempty" name:"ReportTime"`
}
func NewReportServiceRegisterRequest ¶
func NewReportServiceRegisterRequest() (request *ReportServiceRegisterRequest)
func (*ReportServiceRegisterRequest) FromJsonString ¶
func (r *ReportServiceRegisterRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReportServiceRegisterRequest) ToJsonString ¶
func (r *ReportServiceRegisterRequest) ToJsonString() string
type ReportServiceRegisterResponse ¶
type ReportServiceRegisterResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewReportServiceRegisterResponse ¶
func NewReportServiceRegisterResponse() (response *ReportServiceRegisterResponse)
func (*ReportServiceRegisterResponse) FromJsonString ¶
func (r *ReportServiceRegisterResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReportServiceRegisterResponse) ToJsonString ¶
func (r *ReportServiceRegisterResponse) ToJsonString() string
type SearchImageRequest ¶
type SearchImageRequest struct {
*tchttp.BaseRequest
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 图片base64字符串
Image *string `json:"Image,omitempty" name:"Image"`
// 时间戳,毫秒
ImageTime *uint64 `json:"ImageTime,omitempty" name:"ImageTime"`
}
func NewSearchImageRequest ¶
func NewSearchImageRequest() (request *SearchImageRequest)
func (*SearchImageRequest) FromJsonString ¶
func (r *SearchImageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchImageRequest) ToJsonString ¶
func (r *SearchImageRequest) ToJsonString() string
type SearchImageResponse ¶
type SearchImageResponse struct {
*tchttp.BaseResponse
Response *struct {
// face id
FaceId *string `json:"FaceId,omitempty" name:"FaceId"`
// 搜索结果列表
Results []*SearchResult `json:"Results,omitempty" name:"Results" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewSearchImageResponse ¶
func NewSearchImageResponse() (response *SearchImageResponse)
func (*SearchImageResponse) FromJsonString ¶
func (r *SearchImageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchImageResponse) ToJsonString ¶
func (r *SearchImageResponse) ToJsonString() string
type SearchResult ¶
type ServerStateItem ¶
type ServiceRegisterInfo ¶
type Task ¶
type Task struct {
// 任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
// 集团编码
GroupCode *string `json:"GroupCode,omitempty" name:"GroupCode"`
// 广场ID
MallId *uint64 `json:"MallId,omitempty" name:"MallId"`
// 任务内容
TaskContent *TaskContent `json:"TaskContent,omitempty" name:"TaskContent"`
// 任务类型:
// 1: 底图拉取
TaskType *int64 `json:"TaskType,omitempty" name:"TaskType"`
}
type TaskContent ¶
type ZoneConfig ¶
type ZoneConfig struct {
// 点位ID
ZoneId *uint64 `json:"ZoneId,omitempty" name:"ZoneId"`
// 点位名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 点位类型:
// 1: 场门
// 3: 层门
// 5: 特殊区域
// 7: 门店
// 8: 补位
// 10: 开放式门店
// 11: 品类区
// 12: 公共区
ZoneType *int64 `json:"ZoneType,omitempty" name:"ZoneType"`
// 铺位编码
BunkCodes *string `json:"BunkCodes,omitempty" name:"BunkCodes"`
// 楼层名称
FloorName *string `json:"FloorName,omitempty" name:"FloorName"`
// 楼层ID
FloorId *int64 `json:"FloorId,omitempty" name:"FloorId"`
// 绑定数
BindNum *int64 `json:"BindNum,omitempty" name:"BindNum"`
// 调试数
DebugNum *int64 `json:"DebugNum,omitempty" name:"DebugNum"`
// 下发状态:
// 1: 不可下发
// 2: 可下发
// 3: 已下发
State *int64 `json:"State,omitempty" name:"State"`
}