aiot

package
v1.0.190 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultRegion          = "cn-north-1"
	ServiceVersion20210101 = "2021-01-01"
	ServiceVersion20231001 = "2023-10-01"
	ServiceName            = "aiotvideo"
)
View Source
const (
	CascadeStatusCreated        = "created"         // 初始状态
	CascadeStatusStopped        = "stopped"         // 已停用
	CascadeStatusTryingRegister = "trying_register" // 尝试注册中
	CascadeStatusRegistered     = "registered"      // 注册成功
	CascadeStatusRegisterFail   = "register_fail"   // 注册失败
)
View Source
const (
	DeviceStatusOnline          = "online"
	DeviceStatusOffline         = "offline"
	DeviceStatusUnregistered    = "unregistered"
	DeviceStatusInvalidPassword = "invalid_password"
	DeviceStatusChannelUpdate   = "channel_update"
)
View Source
const (
	PTZControl    = "PTZControl"
	FiControl     = "FiControl"
	PresetControl = "PresetControl"
)

CloudControl - Action type

View Source
const (
	PtzCmdStop      = "stop"
	PtzCmdRight     = "right"
	PtzCmdLeft      = "left"
	PtzCmdDown      = "down"
	PtzCmdUp        = "up"
	PtzCmdRightUp   = "rightup"
	PtzCmdRightDown = "rightdown"
	PtzCmdLeftUp    = "leftup"
	PtzCmdLeftDown  = "leftdown"
	PtzCmdZoomIn    = "zoomin"
	PtzCmdZoomOut   = "zoomout"
)

CloudControl - PTZ控制 cmd type

View Source
const (
	FiCmdStop      = "stop"
	FiCmdFocusFar  = "focusfar"
	FiCmdFocusNear = "focusnear"
	FiCmdIrisIn    = "irisin"
	FiCmdIrisOut   = "irisout"
)

CloudControl - 光圈控制 cmd type

View Source
const (
	PresetCmdSet    = "set"
	PresetCmdGoto   = "goto"
	PresetCmdRemove = "remove"
)

CloudControl - 预置位控制 cmd type

View Source
const (
	CruiseCmdAdd         = "add"
	CruiseCmdRemove      = "remove"
	CruiseCmdSetSpeed    = "setspeed"
	CruiseCmdSetStayTime = "setstay"
	CruiseCmdStart       = "start"
	CruiseCmdStop        = "stop"
)

CloudControl - 巡航控制 cmd type

Variables

View Source
var (
	ServiceInfo = &base.ServiceInfo{
		Timeout: 30 * time.Second,
		Host:    "open.volcengineapi.com",
		Header: http.Header{
			"Accept": []string{"application/json"},
		},
	}
	ApiInfoListV3 = map[string]*base.ApiInfo{
		"DeleteSpaceV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"DeleteSpace"}, "Version": []string{ServiceVersion20231001}},
		},
		"GetRecordListV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"GetRecordList"}, "Version": []string{ServiceVersion20231001}},
		},
		"LocalMediaDownloadV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"LocalMediaDownload"}, "Version": []string{ServiceVersion20231001}},
		},
		"CloudControlV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"CloudControl"}, "Version": []string{ServiceVersion20231001}},
		},
		"QueryPresetInfoV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"QueryPresetInfo"}, "Version": []string{ServiceVersion20231001}},
		},
		"CruiseControlV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"CruiseControl"}, "Version": []string{ServiceVersion20231001}},
		},

		"SetCruiseTrackV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"SetCruiseTrack"}, "Version": []string{ServiceVersion20231001}},
		},
		"GetCruiseTrackV3": {
			Method: http.MethodGet,
			Path:   "/",
			Query:  url.Values{"Action": []string{"GetCruiseTrack"}, "Version": []string{ServiceVersion20231001}},
		},
		"ListCruiseTracksV3": {
			Method: http.MethodGet,
			Path:   "/",
			Query:  url.Values{"Action": []string{"ListCruiseTracks"}, "Version": []string{ServiceVersion20231001}},
		},
		"DeleteCruiseTrackV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"DeleteCruiseTrack"}, "Version": []string{ServiceVersion20231001}},
		},
		"StartCruiseTrackV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"StartCruiseTrack"}, "Version": []string{ServiceVersion20231001}},
		},
		"StopCruiseTrackV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"StopCruiseTrack"}, "Version": []string{ServiceVersion20231001}},
		},
		"StartPlaybackV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"StartPlayback"}, "Version": []string{ServiceVersion20231001}},
		},
		"StopPlaybackV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"StopPlayback"}, "Version": []string{ServiceVersion20231001}},
		},
		"ControlPlaybackV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"ControlPlayback"}, "Version": []string{ServiceVersion20231001}},
		},
		"GetPlaybackStatusV3": {
			Method: http.MethodGet,
			Path:   "/",
			Query:  url.Values{"Action": []string{"GetPlaybackStatus"}, "Version": []string{ServiceVersion20231001}},
		},

		"CloudRecordPlayV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"CloudRecordPlay"}, "Version": []string{ServiceVersion20231001}},
		},
		"ListStreamScreenshotsV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"ListStreamScreenshots"}, "Version": []string{ServiceVersion20231001}},
		},
		"ListStreamRecordsV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"ListStreamRecords"}, "Version": []string{ServiceVersion20231001}},
		},
		"SetDeviceAlarmV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"SetDeviceAlarm"}, "Version": []string{ServiceVersion20231001}},
		},
		"ResetDeviceAlarmV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"ResetDeviceAlarm"}, "Version": []string{ServiceVersion20231001}},
		},
		"ListDeviceAlarmsV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"ListDeviceAlarms"}, "Version": []string{ServiceVersion20231001}},
		},
		"DeleteDeviceAlarmV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"DeleteDeviceAlarm"}, "Version": []string{ServiceVersion20231001}},
		},
		"ClearDeviceAlarmV3": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"ClearDeviceAlarm"}, "Version": []string{ServiceVersion20231001}},
		},
		"DeleteStreamRecord": {
			Method: http.MethodPost,
			Path:   "/",
			Query:  url.Values{"Action": []string{"DeleteStreamRecord"}, "Version": []string{ServiceVersion20231001}},
		},
	}

	ApiInfoList = map[string]*base.ApiInfo{}/* 230 elements not displayed */

)
View Source
var DefaultInstance = NewInstance()

DefaultInstance 默认的实例

Functions

func MergeApiConfig added in v1.0.123

func MergeApiConfig(args ...map[string]*base.ApiInfo) (map[string]*base.ApiInfo, error)

Types

type AIAnalysisResponse

type AIAnalysisResponse struct {
	SegInformation []*SegInfo `json:"SegInformation"`
	OriUrl         string     `json:"Url"`
	Time           int64      `json:"Time"`
}

type AITemplate

type AITemplate struct {
	CapabilitySet []string                  `json:"CapabilitySet"`
	TemplateItems map[string]AITemplateItem `json:"TemplateItems"`
	ImageTTL      int                       `json:"ImageTTL"`
	Path          string                    `json:"-"`
	Bucket        TemplateBucketConfig      `json:"-"`
}

type AITemplateItem

type AITemplateItem struct {
	CapabilityType      string                 `json:"CapabilityType"`
	ConfidenceThreshold float64                `json:"ConfidenceThreshold"`
	FrameInterval       int                    `json:"FrameInterval"`
	Extra               map[string]interface{} `json:"Extra"`
	Status              bool                   `json:"Status"`
	GrabStrategy        string                 `json:"GrabStrategy"`
	EnableTimes         EnableTimes            `json:"EnableTimes"`
}

type AIoT

type AIoT struct {
	Client *base.Client

	CostCallback func(api string, cost int64, query url.Values, payload string) //todo 用于api调用耗时测试,正式使用需要删除
	// contains filtered or unexported fields
}

IAM .

func NewInstance

func NewInstance() *AIoT

NewInstance 创建一个实例

func (*AIoT) AddGroupTreeNode

func (p *AIoT) AddGroupTreeNode(request *AddGroupTreeNodeRequest) (*AddGroupTreeNodeResponse, int, error)

func (*AIoT) AddRequestInterceptor

func (p *AIoT) AddRequestInterceptor(interceptor QueryInterceptorFunc)

func (*AIoT) AddSpaceDomain

func (p *AIoT) AddSpaceDomain(request *AddSpaceDomainRequest) (*SpaceResponse, int, error)

func (*AIoT) AiotPlayBackControl added in v1.0.106

func (p *AIoT) AiotPlayBackControl(request *AiotPlayBackControlRequest) (*RawResponse, int, error)

func (*AIoT) AiotPlayBackStart added in v1.0.106

func (p *AIoT) AiotPlayBackStart(request *PlayBackStartRequest) (*PlayBackStartResponse, int, error)

func (*AIoT) AiotPlayBackStop added in v1.0.106

func (p *AIoT) AiotPlayBackStop(request *StreamRequest) (*RawResponse, int, error)

func (*AIoT) BatchDeleteCascadePlatform

func (p *AIoT) BatchDeleteCascadePlatform(request *BatchDeleteCascadePlatformRequest) (*RawResponse, int, error)

func (*AIoT) BatchDeleteCascadeTask

func (p *AIoT) BatchDeleteCascadeTask(request *BatchDeleteCascadeTaskRequest) (*RawResponse, int, error)

func (*AIoT) BatchDeleteSlowLive

func (p *AIoT) BatchDeleteSlowLive(request *BatchDeleteSlowLiveRequest) (*RawResponse, int, error)

func (*AIoT) BindCert

func (p *AIoT) BindCert(request *BindCertRequest) (*RawResponse, int, error)

func (*AIoT) BindDeviceToGroupTreeNode

func (p *AIoT) BindDeviceToGroupTreeNode(request *UpdateGroupTreeNodeRequest) (*RawResponse, int, error)

func (*AIoT) CancelBindTemplate

func (p *AIoT) CancelBindTemplate(request *CancelBindTemplateRequest) (*RawResponse, int, error)

func (*AIoT) CertDetail

func (p *AIoT) CertDetail(chainID string) (*CertDetailResponse, int, error)

func (*AIoT) CheckBindTemplate

func (p *AIoT) CheckBindTemplate(request *CheckBindTemplateRequest) (*ListSpacesResponse, int, error)

func (*AIoT) ClearDeviceAlarmV3 added in v1.0.126

func (p *AIoT) ClearDeviceAlarmV3(spaceID, deviceID string) (*RawResponse, int, error)

func (*AIoT) CloudControl

func (p *AIoT) CloudControl(request *CloudControlRequest) (*RawResponse, int, error)

func (*AIoT) CloudControlV3 added in v1.0.123

func (p *AIoT) CloudControlV3(request *CloudControlRequestV3) (*RawResponse, int, error)

func (*AIoT) CloudRecordPlay

func (p *AIoT) CloudRecordPlay(request *CloudRecordPlayRequest) (*CloudRecordPlayResponse, int, error)

func (*AIoT) CloudRecordPlayV3 added in v1.0.123

func (p *AIoT) CloudRecordPlayV3(request *CloudRecordPlayRequestV3) (*CloudRecordPlayResponse, int, error)

func (*AIoT) ControlPlaybackV3 added in v1.0.126

func (p *AIoT) ControlPlaybackV3(request *ControlPlaybackRequestV3) (*RawResponse, int, error)

func (*AIoT) CreateAITemplate

func (p *AIoT) CreateAITemplate(request *CreateTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) CreateCascadePlatform

func (p *AIoT) CreateCascadePlatform(request *CreateCascadePlatformRequest) (*CreateCascadePlatformResponse, int, error)

国标级联接口

func (*AIoT) CreateCascadeTask

func (p *AIoT) CreateCascadeTask(request *CreateCascadeTaskRequest) (*CreateCascadeTaskResponse, int, error)

func (*AIoT) CreateDevice

func (p *AIoT) CreateDevice(request *CreateDeviceRequest) (*CreateDeviceResponse, int, error)

device相关

func (*AIoT) CreateRecordPlan added in v1.0.106

func (p *AIoT) CreateRecordPlan(req *CreateRecordPlanRequest) (*RecordPlanResultResponse, int, error)

func (*AIoT) CreateRecordTemplate

func (p *AIoT) CreateRecordTemplate(request *CreateTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) CreateScreenshotTemplate

func (p *AIoT) CreateScreenshotTemplate(request *CreateTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) CreateSlowLive

func (p *AIoT) CreateSlowLive(request *CreateSlowLiveRequest) (*SlowLiveResponse, int, error)

慢直播相关

func (*AIoT) CreateSpace

func (p *AIoT) CreateSpace(request *CreateSpaceRequest) (*SpaceResponse, int, error)

space相关接口

func (*AIoT) CreateStream

func (p *AIoT) CreateStream(request *CreateStreamRequest) (*StreamResponse, int, error)

func (*AIoT) CreateStructuredView

func (p *AIoT) CreateStructuredView(request *CreateStructuredViewRequest) (*StructuredViewResponse, int, error)

func (*AIoT) CreateStructuredViewCascadeJob

func (p *AIoT) CreateStructuredViewCascadeJob(request *CreateStructuredViewCascadeJobRequest) (*StructuredViewResponse, int, error)

func (*AIoT) CreateStructuredViewCascadePlatform

func (p *AIoT) CreateStructuredViewCascadePlatform(request *CreateStructuredViewCascadePlatformRequest) (*StructuredViewResponse, int, error)

func (*AIoT) CreateStructuredViewCode

func (p *AIoT) CreateStructuredViewCode(viewType string) (*StructuredViewResponse, int, error)

func (*AIoT) CreateStructuredViewSpace

func (p *AIoT) CreateStructuredViewSpace(request *CreateStructuredViewSpaceRequest) (*StructuredViewResponse, int, error)

视图

func (*AIoT) CreateTransTemplate added in v1.0.106

func (p *AIoT) CreateTransTemplate(request *CreateTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) CruiseControl

func (p *AIoT) CruiseControl(request *CruiseControlRequest) (*RawResponse, int, error)

func (*AIoT) CruiseControlV3 added in v1.0.123

func (p *AIoT) CruiseControlV3(request *CruiseControlRequestV3) (*RawResponse, int, error)

func (*AIoT) DeleteAITemplate

func (p *AIoT) DeleteAITemplate(request *DeleteTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) DeleteAlarmNotify

func (p *AIoT) DeleteAlarmNotify(alarmNotifyID string) (*RawResponse, int, error)

func (*AIoT) DeleteAlarmNotifyAll

func (p *AIoT) DeleteAlarmNotifyAll(spaceID, deviceID string) (*RawResponse, int, error)

func (*AIoT) DeleteCascadePlatform

func (p *AIoT) DeleteCascadePlatform(platformID string) (*RawResponse, int, error)

func (*AIoT) DeleteCascadeTask

func (p *AIoT) DeleteCascadeTask(taskID string) (*RawResponse, int, error)

func (*AIoT) DeleteCert

func (p *AIoT) DeleteCert(request *DeleteCertRequest) (*RawResponse, int, error)

func (*AIoT) DeleteCruiseTrack added in v1.0.110

func (p *AIoT) DeleteCruiseTrack(args *DeleteCruiseTrackRequest) (*RawResponse, int, error)

DeleteCruiseTrack 删除巡航轨迹

func (*AIoT) DeleteCruiseTrackV3 added in v1.0.123

func (p *AIoT) DeleteCruiseTrackV3(args *DeleteCruiseTrackRequestV3) (*RawResponse, int, error)

DeleteCruiseTrack 删除巡航轨迹

func (*AIoT) DeleteDevice

func (p *AIoT) DeleteDevice(request *DeviceRequest) (*DeviceResponse, int, error)

func (*AIoT) DeleteDeviceAlarmV3 added in v1.0.126

func (p *AIoT) DeleteDeviceAlarmV3(alarmNotifyID string) (*RawResponse, int, error)

func (*AIoT) DeleteGroupTreeNodes

func (p *AIoT) DeleteGroupTreeNodes(request *DeleteGroupTreeNodesRequest) (*RawResponse, int, error)

func (*AIoT) DeleteLocalDownload

func (p *AIoT) DeleteLocalDownload(spaceID, id string) (*RawResponse, int, error)

func (*AIoT) DeleteRecordPlan added in v1.0.106

func (p *AIoT) DeleteRecordPlan(planID string) (*RecordPlanResultResponse, int, error)

func (*AIoT) DeleteRecordTemplate

func (p *AIoT) DeleteRecordTemplate(request *DeleteTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) DeleteScreenshotTemplate

func (p *AIoT) DeleteScreenshotTemplate(request *DeleteTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) DeleteSlowLive

func (p *AIoT) DeleteSlowLive(slowLiveID string) (*SlowLiveResponse, int, error)

func (*AIoT) DeleteSpace

func (p *AIoT) DeleteSpace(request *SpaceRequest) (*SpaceResponse, int, error)

func (*AIoT) DeleteSpaceDomain

func (p *AIoT) DeleteSpaceDomain(spaceID, domain string) (*DeleteSpaceDomainResponse, int, error)

func (*AIoT) DeleteSpaceV3 added in v1.0.123

func (p *AIoT) DeleteSpaceV3(request *SpaceRequest) (*SpaceResponseV3, int, error)

func (*AIoT) DeleteStream

func (p *AIoT) DeleteStream(request *StreamRequest) (*StreamResponse, int, error)

func (*AIoT) DeleteStructuredView

func (p *AIoT) DeleteStructuredView(viewID string) (*StructuredViewResponse, int, error)

func (*AIoT) DeleteStructuredViewCascadeJob

func (p *AIoT) DeleteStructuredViewCascadeJob(jobID string) (*StructuredViewResponse, int, error)

func (*AIoT) DeleteStructuredViewCascadePlatform

func (p *AIoT) DeleteStructuredViewCascadePlatform(platformID string) (*StructuredViewResponse, int, error)

func (*AIoT) DeleteStructuredViewSpace

func (p *AIoT) DeleteStructuredViewSpace(spaceID string) (*StructuredViewResponse, int, error)

func (*AIoT) DeleteTransTemplate added in v1.0.106

func (p *AIoT) DeleteTransTemplate(request *DeleteTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) DisableAuthInSpace

func (p *AIoT) DisableAuthInSpace(spaceID, domain string) (*RawResponse, int, error)

func (*AIoT) DisableStructuredView

func (p *AIoT) DisableStructuredView(viewID string) (*StructuredViewResponse, int, error)

func (*AIoT) DisableStructuredViewCascadeJob

func (p *AIoT) DisableStructuredViewCascadeJob(jobID string) (*StructuredViewResponse, int, error)

func (*AIoT) DisableStructuredViewCascadePlatform

func (p *AIoT) DisableStructuredViewCascadePlatform(platformID string) (*StructuredViewResponse, int, error)

func (*AIoT) DisableStructuredViewSpace

func (p *AIoT) DisableStructuredViewSpace(spaceID string) (*StructuredViewResponse, int, error)

func (*AIoT) EdgeBye

func (p *AIoT) EdgeBye(streamID string) (*EdgeResponse, int, error)

func (*AIoT) EdgeInvite

func (p *AIoT) EdgeInvite(streamID string, req *EdgeInviteRequest) (*EdgeResponse, int, error)

func (*AIoT) EdgeStatus

func (p *AIoT) EdgeStatus(streamID string, req *EdgeStatusRequest) (*EdgeResponse, int, error)

func (*AIoT) EnableStructuredView

func (p *AIoT) EnableStructuredView(viewID string) (*StructuredViewResponse, int, error)

func (*AIoT) EnableStructuredViewCascadeJob

func (p *AIoT) EnableStructuredViewCascadeJob(jobID string) (*StructuredViewResponse, int, error)

func (*AIoT) EnableStructuredViewCascadePlatform

func (p *AIoT) EnableStructuredViewCascadePlatform(platformID string) (*StructuredViewResponse, int, error)

func (*AIoT) EnableStructuredViewSpace

func (p *AIoT) EnableStructuredViewSpace(spaceID string) (*StructuredViewResponse, int, error)

func (*AIoT) ForbidStream

func (p *AIoT) ForbidStream(request *StreamRequest) (*StreamResponse, int, error)

func (*AIoT) FreshDevice

func (p *AIoT) FreshDevice(request *FreshDeviceRequest) (*DeviceResponse, int, error)

func (*AIoT) GenSipID

func (p *AIoT) GenSipID(request *GenSipIDRequest) (*DeviceResponse, int, error)

func (*AIoT) GetAIAnalysisResult

func (p *AIoT) GetAIAnalysisResult(req *GetAIAnalysisResultRequest) (*GetAIAnalysisResultResponse, int, error)

func (*AIoT) GetAITemplate

func (p *AIoT) GetAITemplate(request *TemplateRequest) (*GetTemplateResponse, int, error)

func (*AIoT) GetAPIInfo

func (p *AIoT) GetAPIInfo(api string) *base.ApiInfo

GetAPIInfo interface

func (*AIoT) GetCascadePlatform

func (p *AIoT) GetCascadePlatform(platformID string) (*GetCascadePlatformResponse, int, error)

func (*AIoT) GetCascadeTask

func (p *AIoT) GetCascadeTask(taskID string) (*GetCascadeTaskResponse, int, error)

func (*AIoT) GetCruiseTrack added in v1.0.111

func (p *AIoT) GetCruiseTrack(deviceNSID, channelID string, trackID uint8) (*GetCruiseTrackResponse, int, error)

GetCruiseTrack 查询通道巡航轨迹

func (*AIoT) GetCruiseTrackV3 added in v1.0.123

func (p *AIoT) GetCruiseTrackV3(streamID string, trackID uint8) (*GetCruiseTrackResponse, int, error)

GetCruiseTrack 查询通道巡航轨迹

func (*AIoT) GetDevice

func (p *AIoT) GetDevice(request *GetDeviceRequest) (*GetDeviceResponse, int, error)

func (*AIoT) GetDeviceChannels

func (p *AIoT) GetDeviceChannels(request *DeviceRequest, options ...GetDeviceChannelsOption) (*GetDeviceChannelsResponse, int, error)

func (*AIoT) GetDevicesByGroupTreeNode

func (p *AIoT) GetDevicesByGroupTreeNode(request *GetDevicesByGroupTreeNodeRequest) (*GetDevicesByGroupTreeNodeResponse, int, error)

func (*AIoT) GetGroupNodesByCascadeTask

func (p *AIoT) GetGroupNodesByCascadeTask(taskID string) (*GetGroupTreeNodeResponse, int, error)

func (*AIoT) GetGroupTreeNode

func (p *AIoT) GetGroupTreeNode(groupNodeID string) (*GetGroupTreeNodeResponse, int, error)

虚拟组织树接口

func (*AIoT) GetMediaDownload

func (p *AIoT) GetMediaDownload(request *GetLocalMediaDownloadRequest) (*ListGBMediaResponse, int, error)

func (*AIoT) GetNssInfoList added in v1.0.110

func (p *AIoT) GetNssInfoList() (*NssInfoListResp, int, error)

func (*AIoT) GetPlaybackStatusV3 added in v1.0.126

func (p *AIoT) GetPlaybackStatusV3(request *PlaybackRequest) (*GetPlaybackStatusResponseV3, int, error)

func (*AIoT) GetPushStreamCnt

func (p *AIoT) GetPushStreamCnt(request *GetPushStreamCntRequest) (*GetPushStreamCntResponse, int, error)

func (*AIoT) GetRecordList

func (p *AIoT) GetRecordList(request *GetRecordListRequest) (*GetRecordListResponse, int, error)

func (*AIoT) GetRecordListV3 added in v1.0.123

func (p *AIoT) GetRecordListV3(request *GetRecordListRequestV3) (*GetRecordListResponseV3, int, error)

func (*AIoT) GetRecordPlan added in v1.0.106

func (p *AIoT) GetRecordPlan(planID string) (*RecordPlanResponse, int, error)

func (*AIoT) GetRecordTemplate

func (p *AIoT) GetRecordTemplate(request *TemplateRequest) (*GetTemplateResponse, int, error)

func (*AIoT) GetScreenshotTemplate

func (p *AIoT) GetScreenshotTemplate(request *TemplateRequest) (*GetTemplateResponse, int, error)

func (*AIoT) GetServiceInfo

func (p *AIoT) GetServiceInfo() *base.ServiceInfo

GetServiceInfo interface

func (*AIoT) GetSlowLive

func (p *AIoT) GetSlowLive(slowLiveID string) (*GetSlowLiveResponse, int, error)

func (*AIoT) GetSpace

func (p *AIoT) GetSpace(request *SpaceRequest) (*GetSpaceResponse, int, error)

func (*AIoT) GetSpaceDomain

func (p *AIoT) GetSpaceDomain(spaceID, domain string) (*GetSpaceDomainResponse, int, error)

func (*AIoT) GetSpaceGroupTreeRoot

func (p *AIoT) GetSpaceGroupTreeRoot(spaceID string) (*GroupTreeNode, error)

func (*AIoT) GetSpaceTemplate

func (p *AIoT) GetSpaceTemplate(request *SpaceRequest) (*GetSpaceTemplateResponse, int, error)

func (*AIoT) GetStream

func (p *AIoT) GetStream(request *StreamRequest) (*GetStreamResponse, int, error)

func (*AIoT) GetStreamData

func (p *AIoT) GetStreamData(request *GetStreamDataRequest) (*GetStreamDataResponse, int, error)

func (*AIoT) GetStructuredView

func (p *AIoT) GetStructuredView(viewID string) (*GetStructuredViewResponse, int, error)

func (*AIoT) GetStructuredViewCascadeJob

func (p *AIoT) GetStructuredViewCascadeJob(jobID string) (*GetStructuredViewCascadeJobResponse, int, error)

func (*AIoT) GetStructuredViewCascadePlatform

func (p *AIoT) GetStructuredViewCascadePlatform(platformID string) (*GetStructuredViewCascadePlatformResponse, int, error)

func (*AIoT) GetStructuredViewDataInfo

func (p *AIoT) GetStructuredViewDataInfo(dataID, viewID string) (*GetStructuredViewDataInfoResponse, int, error)

func (*AIoT) GetStructuredViewSpace

func (p *AIoT) GetStructuredViewSpace(spaceID string) (*GetStructuredViewSpaceResponse, int, error)

func (*AIoT) GetTotalData

func (p *AIoT) GetTotalData(t string) (*GetTotalDataResponse, int, error)

func (*AIoT) GetTransTemplate added in v1.0.106

func (p *AIoT) GetTransTemplate(request *TemplateRequest) (*GetTemplateResponse, int, error)

func (*AIoT) ListAITemplates

func (p *AIoT) ListAITemplates(request *ListTemplateRequest) (*ListTemplateResponse, int, error)

func (*AIoT) ListAlarmNotify

func (p *AIoT) ListAlarmNotify(request *ListAlarmNotifyRequest) (*ListAlarmNotifyResponse, int, error)

func (*AIoT) ListCascadePlatforms

func (p *AIoT) ListCascadePlatforms(request *ListCascadePlatformRequest) (*ListCascadePlatformResponse, int, error)

func (*AIoT) ListCascadeTask

func (p *AIoT) ListCascadeTask(request *ListCascadeTaskRequest) (*ListCascadeTaskResponse, int, error)

func (*AIoT) ListCertificates

func (p *AIoT) ListCertificates(request *ListCertificatesRequest) (*ListCertificatesResponse, int, error)

func (*AIoT) ListCruiseTracks added in v1.0.123

func (p *AIoT) ListCruiseTracks(deviceNSID, channelID string) (*ListCruiseTracksResponse, int, error)

ListCruiseTracks 查询通道巡航轨迹列表

func (*AIoT) ListCruiseTracksV3 added in v1.0.123

func (p *AIoT) ListCruiseTracksV3(streamID string) (*ListCruiseTracksResponse, int, error)

ListCruiseTracks 查询通道巡航轨迹列表

func (*AIoT) ListDeviceAlarmsV3 added in v1.0.126

func (p *AIoT) ListDeviceAlarmsV3(request *ListDeviceAlarmsRequestV3) (*ListDeviceAlarmsResponseV3, int, error)

func (*AIoT) ListDeviceRecords

func (p *AIoT) ListDeviceRecords(request *ListHistoryRequest) (*ListHistoryResponse, int, error)

func (*AIoT) ListDeviceScreenshots

func (p *AIoT) ListDeviceScreenshots(request *ListHistoryRequest) (*ListHistoryResponse, int, error)

func (*AIoT) ListDevices

func (p *AIoT) ListDevices(request *ListDevicesRequest) (*ListDevicesResponse, int, error)

func (*AIoT) ListGroupTreeNodes

func (p *AIoT) ListGroupTreeNodes(spaceID string) (*ListGroupTreeNodesResponse, int, error)

func (*AIoT) ListRecordPlanChannels added in v1.0.106

func (p *AIoT) ListRecordPlanChannels(planID string, pageNumber, pageSize int) (*ListRecordPlanChannelResponse, int, error)

func (*AIoT) ListRecordPlans added in v1.0.106

func (p *AIoT) ListRecordPlans(pageNumber, pageSize int) (*ListRecordPlanResponse, int, error)

func (*AIoT) ListRecordTemplates

func (p *AIoT) ListRecordTemplates(request *ListTemplateRequest) (*ListTemplateResponse, int, error)

func (*AIoT) ListScreenshotTemplates

func (p *AIoT) ListScreenshotTemplates(request *ListTemplateRequest) (*ListTemplateResponse, int, error)

func (*AIoT) ListSlowLive

func (p *AIoT) ListSlowLive(request *SlowLiveRequest) (*ListSlowLiveResponse, int, error)

func (*AIoT) ListSpaceDomains

func (p *AIoT) ListSpaceDomains(spaceID string) (*ListSpaceDomainsResponse, int, error)

func (*AIoT) ListSpaces

func (p *AIoT) ListSpaces(request *ListSpacesRequest) (*ListSpacesResponse, int, error)

func (*AIoT) ListStreamRecordsV3 added in v1.0.123

func (p *AIoT) ListStreamRecordsV3(request *ListHistoryRequestV3) (*ListHistoryResponseV3, int, error)

func (*AIoT) ListStreamScreenshotsV3 added in v1.0.123

func (p *AIoT) ListStreamScreenshotsV3(request *ListHistoryRequestV3) (*ListHistoryResponseV3, int, error)

func (*AIoT) ListStreams

func (p *AIoT) ListStreams(request *ListStreamsRequest) (*ListStreamsResponse, int, error)

func (*AIoT) ListStructuredViewData

func (p *AIoT) ListStructuredViewData(request *ListStructuredViewDataRequest) (*ListStructuredViewDataResponse, int, error)

func (*AIoT) ListStructuredViewSpaces

func (p *AIoT) ListStructuredViewSpaces(request ListStructuredViewSpacesRequest) (*ListStructuredViewSpacesResponse, int, error)

func (*AIoT) ListStructuredViews

func (p *AIoT) ListStructuredViews(request *ListStructuredViewsRequest) (*ListStructuredViewsResponse, int, error)

func (*AIoT) ListTransTemplates added in v1.0.106

func (p *AIoT) ListTransTemplates(request *ListTemplateRequest) (*ListTemplateResponse, int, error)

func (*AIoT) LocalMediaDownload deprecated

func (p *AIoT) LocalMediaDownload(request *LocalMediaDownloadRequest) (*LocalMediaDownloadResponse, int, error)

Deprecated: Use LocalMediaDownloadV3 instead.

func (*AIoT) LocalMediaDownloadV3 added in v1.0.123

func (p *AIoT) LocalMediaDownloadV3(request *LocalMediaDownloadRequestV3) (*LocalMediaDownloadResponseV3, int, error)

func (*AIoT) PlayBackControl

func (p *AIoT) PlayBackControl(request *PlayBackControlRequest) (*RawResponse, int, error)

func (*AIoT) PlayBackStart

func (p *AIoT) PlayBackStart(request *PlayBackStartRequest) (*PlayBackStartResponse, int, error)

func (*AIoT) PlayBackStop

func (p *AIoT) PlayBackStop(request *StreamRequest) (*RawResponse, int, error)

func (*AIoT) QueryPresetInfo

func (p *AIoT) QueryPresetInfo(request *QueryPresetInfoRequest) (*QueryPresetInfoResponse, int, error)

func (*AIoT) QueryPresetInfoV3 added in v1.0.123

func (p *AIoT) QueryPresetInfoV3(request *QueryPresetInfoRequestV3) (*QueryPresetInfoResponse, int, error)

func (*AIoT) ResetAlarm

func (p *AIoT) ResetAlarm(request *ResetAlarmRequest) (*RawResponse, int, error)

func (*AIoT) ResetDeviceAlarmV3 added in v1.0.126

func (p *AIoT) ResetDeviceAlarmV3(request *ResetAlarmRequest) (*RawResponse, int, error)

func (*AIoT) SetAlarmGuard

func (p *AIoT) SetAlarmGuard(request *SetAlarmGuardRequest) (*RawResponse, int, error)

func (*AIoT) SetCruiseTrack added in v1.0.110

func (p *AIoT) SetCruiseTrack(args *SetCruiseTrackRequest) (*RawResponse, int, error)

SetCruiseTrack 设置巡航轨迹

func (*AIoT) SetCruiseTrackV3 added in v1.0.123

func (p *AIoT) SetCruiseTrackV3(args *SetCruiseTrackRequestV3) (*RawResponse, int, error)

SetCruiseTrack 设置巡航轨迹

func (*AIoT) SetDeviceAlarmV3 added in v1.0.126

func (p *AIoT) SetDeviceAlarmV3(request *SetDeviceAlarmRequestV3) (*RawResponse, int, error)

func (*AIoT) SetHost

func (p *AIoT) SetHost(host string)

SetHost .

func (*AIoT) SetRegion

func (p *AIoT) SetRegion(region string)

SetHost .

func (*AIoT) SetSchema

func (p *AIoT) SetSchema(schema string)

SetSchema .

func (*AIoT) SetSpaceTemplate

func (p *AIoT) SetSpaceTemplate(request *SetSpaceTemplateRequest) (*RawResponse, int, error)

func (*AIoT) ShareGroupNodesToCascadeTask

func (p *AIoT) ShareGroupNodesToCascadeTask(arg *ShareGroupNodesRequest) (*RawResponse, int, error)

func (*AIoT) SignSlowliveWsToken

func (p *AIoT) SignSlowliveWsToken(request *SignSlowliveWsTokenRequest) (*SignSlowliveWsTokenResponse, int, error)

func (*AIoT) StartCascadeTask

func (p *AIoT) StartCascadeTask(taskID string) (*RawResponse, int, error)

func (*AIoT) StartCruiseTrack added in v1.0.110

func (p *AIoT) StartCruiseTrack(args *StartCruiseTrackRequest) (*RawResponse, int, error)

StartCruiseTrack 开始巡航

func (*AIoT) StartCruiseTrackV3 added in v1.0.123

func (p *AIoT) StartCruiseTrackV3(args *StartCruiseTrackRequestV3) (*RawResponse, int, error)

StartCruiseTrack 开始巡航

func (*AIoT) StartDevice

func (p *AIoT) StartDevice(request *DeviceRequest) (*DeviceResponse, int, error)

func (*AIoT) StartPlaybackV3 added in v1.0.126

func (p *AIoT) StartPlaybackV3(request *StartPlaybackRequestV3) (*StartPlaybackResponseV3, int, error)

func (*AIoT) StartSlowLive

func (p *AIoT) StartSlowLive(slowLiveID string) (*SlowLiveResponse, int, error)

func (*AIoT) StartSpace

func (p *AIoT) StartSpace(request *SpaceRequest) (*SpaceResponse, int, error)

func (*AIoT) StartStream

func (p *AIoT) StartStream(request *StreamRequest) (*StartStreamResponse, int, error)

func (*AIoT) StartVoiceTalk

func (p *AIoT) StartVoiceTalk(request *StartVoiceTalkRequest) (*StartVoiceTalkResponse, int, error)

func (*AIoT) StopCascadeTask

func (p *AIoT) StopCascadeTask(taskID string) (*RawResponse, int, error)

func (*AIoT) StopCruiseTrack added in v1.0.110

func (p *AIoT) StopCruiseTrack(args *StopCruiseTrackRequest) (*RawResponse, int, error)

StopCruiseTrack 停止巡航

func (*AIoT) StopCruiseTrackV3 added in v1.0.123

func (p *AIoT) StopCruiseTrackV3(args *StopCruiseTrackRequestV3) (*RawResponse, int, error)

StopCruiseTrack 停止巡航

func (*AIoT) StopDevice

func (p *AIoT) StopDevice(request *DeviceRequest) (*DeviceResponse, int, error)

func (*AIoT) StopPlaybackV3 added in v1.0.126

func (p *AIoT) StopPlaybackV3(request *PlaybackRequest) (*RawResponse, int, error)

func (*AIoT) StopSlowLive

func (p *AIoT) StopSlowLive(slowLiveID string) (*SlowLiveResponse, int, error)

func (*AIoT) StopSpace

func (p *AIoT) StopSpace(request *SpaceRequest) (*SpaceResponse, int, error)

func (*AIoT) StopStream

func (p *AIoT) StopStream(request *StreamRequest) (*StreamResponse, int, error)

func (*AIoT) StopVoiceTalk

func (p *AIoT) StopVoiceTalk(request *StopVoiceTalkRequest) (*StopVoiceTalkResponse, int, error)

func (*AIoT) StreamLogs

func (p *AIoT) StreamLogs(request *StreamLogsRequest) (*StreamLogsResponse, int, error)

func (*AIoT) UnbindCert

func (p *AIoT) UnbindCert(request *UnbindCertRequest) (*RawResponse, int, error)

func (*AIoT) UnforbidStream

func (p *AIoT) UnforbidStream(request *StreamRequest) (*StreamResponse, int, error)

func (*AIoT) UpdateAITemplate

func (p *AIoT) UpdateAITemplate(request *UpdateTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) UpdateAuthInSpace

func (p *AIoT) UpdateAuthInSpace(request *UpdateAuthInSpaceRequest) (*RawResponse, int, error)

func (*AIoT) UpdateCascadePlatform

func (p *AIoT) UpdateCascadePlatform(request *UpdateCascadePlatformRequest) (*UpdateCascadePlatformResponse, int, error)

func (*AIoT) UpdateCascadeTask

func (p *AIoT) UpdateCascadeTask(taskID string, arg *UpdateCascadeTaskArg) (*RawResponse, int, error)

func (*AIoT) UpdateCert

func (p *AIoT) UpdateCert(request *UpdateCertRequest) (*RawResponse, int, error)

func (*AIoT) UpdateDevice

func (p *AIoT) UpdateDevice(request *UpdateDeviceRequest) (*DeviceResponse, int, error)

func (*AIoT) UpdateDomainHTTPS

func (p *AIoT) UpdateDomainHTTPS(request *UpdateDomainHTTPSRequest) (*SpaceResponse, int, error)

func (*AIoT) UpdateGroupTreeNode

func (p *AIoT) UpdateGroupTreeNode(request *UpdateGroupTreeNodeRequest) (*RawResponse, int, error)

func (*AIoT) UpdateRecordPlan added in v1.0.106

func (p *AIoT) UpdateRecordPlan(req *UpdateRecordPlanRequest) (*RecordPlanResultResponse, int, error)

func (*AIoT) UpdateRecordTemplate

func (p *AIoT) UpdateRecordTemplate(request *UpdateTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) UpdateScreenshotTemplate

func (p *AIoT) UpdateScreenshotTemplate(request *UpdateTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) UpdateSlowLive

func (p *AIoT) UpdateSlowLive(request *UpdateSlowLiveRequest) (*SlowLiveResponse, int, error)

func (*AIoT) UpdateSpace

func (p *AIoT) UpdateSpace(request *UpdateSpaceRequest) (*SpaceResponse, int, error)

func (*AIoT) UpdateSpaceDomain

func (p *AIoT) UpdateSpaceDomain(request *UpdateSpaceDomainRequest) (*UpdateSpaceDomainResponse, int, error)

func (*AIoT) UpdateStream

func (p *AIoT) UpdateStream(request *UpdateStreamRequest) (*StreamResponse, int, error)

func (*AIoT) UpdateStructuredCascadeJob

func (p *AIoT) UpdateStructuredCascadeJob(request *UpdateStructuredCascadeJobRequest) (*StructuredViewResponse, int, error)

func (*AIoT) UpdateStructuredView

func (p *AIoT) UpdateStructuredView(request *UpdateStructuredViewRequest) (*StructuredViewResponse, int, error)

func (*AIoT) UpdateStructuredViewCascadePlatform

func (p *AIoT) UpdateStructuredViewCascadePlatform(request *UpdateStructuredViewCascadePlatformRequest) (*StructuredViewResponse, int, error)

func (*AIoT) UpdateStructuredViewSpace

func (p *AIoT) UpdateStructuredViewSpace(request *UpdateStructuredViewSpaceRequest) (*StructuredViewResponse, int, error)

func (*AIoT) UpdateTransTemplate added in v1.0.106

func (p *AIoT) UpdateTransTemplate(request *UpdateTemplateRequest) (*TemplateResponse, int, error)

func (*AIoT) UploadCert

func (p *AIoT) UploadCert(request *UploadCertRequest) (*UploadCertResponse, int, error)

证书相关

type AccountStatus

type AccountStatus struct {
	Status      int          `json:"Status"`
	CreateTime  int64        `json:"CreateTime"`
	ChargeMode  ChargeMode   `json:"ChargeMode"`
	Permissions *Permissions `json:"Permissions"`
}

type AddGroupTreeNodeRequest

type AddGroupTreeNodeRequest struct {
	Name        string `json:"Name"`
	Description string `json:"Description"`
	SpaceID     string `json:"SpaceID"`
	ParentID    string `json:"ParentID"`
}

type AddGroupTreeNodeResponse

type AddGroupTreeNodeResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           string `json:"Result,omitempty"`
}

type AddSpaceDomainRequest

type AddSpaceDomainRequest struct {
	SpaceID string
	Domain  string `json:"Domain"`
	Type    string `json:"Type"`
}

type AiotPlayBackControlRequest added in v1.0.106

type AiotPlayBackControlRequest struct {
	StreamName string `json:"StreamName"`
	Ntp        string `json:"Ntp"`
	Scale      int    `json:"Scale"`
}

type AlarmNotify

type AlarmNotify struct {
	AccountID        string `json:"AccountID"`
	SpaceID          string `json:"SpaceID"`
	DeviceNSID       string `json:"DeviceNSID"`
	CmdType          string `json:"CmdType"`
	SN               uint32 `json:"SN"`
	ChannelID        string `json:"ChannelID"`
	AlarmPriority    uint32 `json:"AlarmPriority"`
	AlarmMethod      uint32 `json:"AlarmMethod"`
	AlarmTime        int64  `json:"AlarmTime"`
	AlarmDescription string `json:"AlarmDescription"`
	Longitude        string `json:"Longitude"`
	Latitude         string `json:"Latitude"`
	AlarmInfo        string `json:"AlarmInfo"`
	AlarmNotifyID    string `json:"AlarmNotifyID"`
	Info             struct {
		AlarmType      uint32 `json:"AlarmType"`
		AlarmTypeParam struct {
			EventType uint32 `json:"EventType"`
		} `json:"AlarmTypeParam"`
	} `json:"Info"`
}

type AlarmNotifyV3 added in v1.0.126

type AlarmNotifyV3 struct {
	AlarmNotifyID    string `json:"AlarmNotifyID"`
	DeviceNSID       string `json:"DeviceNSID"`
	ChannelID        string `json:"ChannelID"`
	AlarmPriority    uint32 `json:"AlarmPriority"`    // 报警级别(1-一级警情,2-二级警情,3-三级警情,4-四级警情)
	AlarmMethod      uint32 `json:"AlarmMethod"`      // 报警方式(1-电话报警,2-设备报警,3-短信报警,4-GPS报警,5-视频报警,6-设备故障报警,7-其他报警)
	AlarmType        uint32 `json:"AlarmType"`        // 报警类型
	EventType        uint32 `json:"EventType"`        // 事件类型(1-进入区域;2-离开区域)
	AlarmTime        int64  `json:"AlarmTime"`        // 告警时间,UNIX时间戳
	AlarmDescription string `json:"AlarmDescription"` // 告警描述
	Longitude        string `json:"Longitude"`        // 经度
	Latitude         string `json:"Latitude"`         // 纬度
}

type AlertNotification

type AlertNotification struct {
	Enabled     bool `bson:"Enabled"`
	Phone       bool `bson:"Phone"`
	Device      bool `bson:"Device"`
	SMS         bool `bson:"SMS"`
	GPS         bool `bson:"GPS"`
	Video       bool `bson:"Video"`
	DeviceFault bool `bson:"DeviceFault"`
	Other       bool `bson:"Other"`
}

type BatchDeleteCascadePlatformRequest

type BatchDeleteCascadePlatformRequest struct {
	PlatformIDs []string `json:"IDs"`
}

type BatchDeleteCascadeTaskRequest

type BatchDeleteCascadeTaskRequest struct {
	TaskIDs []string `json:"IDs"`
}

type BatchDeleteSlowLiveRequest

type BatchDeleteSlowLiveRequest struct {
	LiveStreamIDs []string `json:"LiveStreamIDs"`
}

type BindCertRequest

type BindCertRequest struct {
	SpaceID    string
	Domain     string `json:"Domain"`
	ChainID    string `json:"ChainID"`
	DomainType string `json:"DomainType"`
}

type BindChannel added in v1.0.106

type BindChannel struct {
	ChannelID string `json:"ChannelID"`
}

type CalculatePkgRes

type CalculatePkgRes struct {
	Price float64 `json:"Price"`
}

type CalculatePkgResponse

type CalculatePkgResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *CalculatePkgRes `json:"Result,omitempty"`
}

type CancelBindTemplateRequest

type CancelBindTemplateRequest struct {
	SpaceID      string
	TemplateType string
}

type CascadePlatform

type CascadePlatform struct {
	AccountID      string           `json:"AccountID"`
	PlatformID     string           `json:"PlatformID"`
	SipConfig      CascadeSipConfig `json:"SipConfig"`
	PlatformName   string           `json:"PlatformName"`   // 上级平台名称
	Description    string           `json:"Description"`    // 上级平台描述
	Enable         bool             `json:"Enable"`         // 是否使能级联平台
	EnableAccess   bool             `json:"EnableAccess"`   // 平台授权
	EnablePTZ      bool             `json:"EnablePTZ"`      // PTZ授权
	Status         CascadeStatus    `json:"Status"`         // 注册状态
	SharedNodesNum int              `json:"SharedNodesNum"` // 共享节点数量
	TaskIDs        []string         `json:"TaskIDs"`        // 关联的级联任务列表
	CreateAt       string           `json:"CreateAt"`
	UpdateAt       string           `json:"UpdateAt"`
}

type CascadeSipConfig

type CascadeSipConfig struct {
	SipServerID     string `json:"SipServerID"`     // SIP服务器ID
	Realm           string `json:"Realm"`           // SIP服务器域
	SipServerHost   string `json:"SipServerHost"`   // SIP服务器地址
	SipServerPort   int    `json:"SipServerPort"`   // SIP服务器端口
	SipUserID       string `json:"SipUserID"`       // 平台SIP用户名
	Password        string `json:"Password"`        // 平台SIP密码
	SipTransport    string `json:"SipTransport"`    // SIP信令传输协议, udp/tcp; default:udp
	RegisterExpires uint32 `json:"RegisterExpires"` // 注册有效期(秒)
	KeepalivePeriod uint32 `json:"KeepalivePeriod"` // 心跳周期(秒)
}

type CascadeStatus

type CascadeStatus string

CascadeStatus 级联任务状态

type CascadeTask

type CascadeTask struct {
	AccountID     string        `json:"AccountID"`
	TaskID        string        `json:"TaskID"`        // 级联任务ID, 2位数字
	TaskName      string        `json:"TaskName"`      // 级联任务名称
	Description   string        `json:"Description"`   // 级联任务描述
	GroupTreeID   string        `json:"GroupTreeID"`   // 关联的虚拟组织树ID
	GroupTreeName string        `json:"GroupTreeName"` // 关联的虚拟组织树名称
	PlatformID    string        `json:"PlatformID"`    // 关联的上级平台ID
	PlatformName  string        `json:"PlatformName"`  // 关联的上级平台名称
	Status        CascadeStatus `json:"Status"`        // 级联任务状态
	Enable        bool          `json:"Enable"`        // 是否启用
	SharedNodes   []string      `json:"SharedNodes"`   // 共享节点ID列表
	CreateAt      string        `json:"CreateAt"`
	UpdateAt      string        `json:"UpdateAt"`
}

type CatalogItemInfo

type CatalogItemInfo struct {
	PTZType       string `json:"PTZType,omitempty"` // 1-球机;2-半球机;3-固定枪机;4-遥控枪机
	Resolution    string `json:"Resolution,omitempty"`
	DownloadSpeed string `json:"DownloadSpeed,omitempty"`
}

type CertDetail

type CertDetail struct {
	ChainID   string `bson:"ChainID"`
	Status    string `bson:"Status"`
	Domain    string `bson:"Domain"`
	CreateAt  int64  `bson:"CreateAt"`
	UpdateAt  int64  `bson:"UpdateAt"`
	NotBefore int64  `bson:"NotBefore"`
	NotAfter  int64  `bson:"NotAfter"`
	CertName  string `bson:"CertName"`
	CertDesc  string `bson:"CertDesc"`
	CertPem   string `bson:"CertPem"`
}

type CertDetailResponse

type CertDetailResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           CertDetail `json:"Result,omitempty"`
}

type ChannelPkg

type ChannelPkg struct {
	Level     string `json:"Level"`
	Cnt       int    `json:"Cnt"`       // 购买的路数
	RenewType *int32 `json:"RenewType"` //自动续费方式
}

type Charge

type Charge struct {
	Bandwidth bool `json:"bandwidth"`
	Flow      bool `json:"flow"`
	Channel   bool `json:"channel"`
}

type ChargeItem

type ChargeItem struct {
	Name          string           `json:"Name"`
	ValidDur      string           `json:"ValidDur"`
	Region        string           `json:"Region"`
	Types         []*TypeItem      `json:"Types"`
	Specification []*Specification `json:"Specification"`
}

type ChargeMode

type ChargeMode string

type CheckBindTemplateRequest

type CheckBindTemplateRequest struct {
	TemplateID   string
	TemplateType string
	PageNumber   int
	PageSize     int
}

type CloudControlRequest

type CloudControlRequest struct {
	SipID     string
	DeviceID  string `json:"DeviceID"`
	ChannelID string `json:"ChannelID"`
	Cmd       string `json:"Cmd"`
	Para      uint8  `json:"Para"`
	Action    string `json:"action"`
}

type CloudControlRequestV3 added in v1.0.123

type CloudControlRequestV3 struct {
	StreamID string `json:"StreamID"`
	Cmd      string `json:"Cmd"`
	Para     uint8  `json:"Para"`
	Action   string `json:"action"`
}

type CloudRecordPlayRequest

type CloudRecordPlayRequest struct {
	StreamID   string `json:"StreamID"`
	StartTs    int64  `json:"StartTs"`
	EndTs      int64  `json:"EndTs"`
	TokenValid *int   `json:"TokenValid"`
}

type CloudRecordPlayRequestV3 added in v1.0.123

type CloudRecordPlayRequestV3 struct {
	StreamID       string `json:"StreamID"`
	StreamingIndex int    `json:"StreamingIndex,omitempty"` // 码流类型(可选参数), 0-主码流;1-子码流1;2-子码流2, 以此类推
	Resolution     string `json:"Resolution,omitempty"`     // 国标分辨率参数(可选参数), 1-QCIF(176x144); 2-CIF(320x288); 3-4CIF(704x576); 4-D1(720x576); 5-720p; 6-1080p; 其他:WxH表示
	StartTime      int64  `json:"StartTime"`
	EndTime        int64  `json:"EndTime"`
	TokenValid     *int   `json:"TokenValid"`
}

type CloudRecordPlayResponse

type CloudRecordPlayResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           map[string]interface{} `json:"Result,omitempty"`
}

type CommonCount added in v1.0.106

type CommonCount struct {
	OnlineCount int64 `json:"OnlineCount"`
	AllCount    int64 `json:"AllCount"`
}

type ControlPlaybackRequestV3 added in v1.0.126

type ControlPlaybackRequestV3 struct {
	PlaybackID string  `json:"PlaybackID"`
	Cmd        int     `json:"Cmd"`
	Ntp        string  `json:"Ntp"`
	Scale      float32 `json:"Scale"`
}

type Coordinates

type Coordinates struct {
	Longitude *float64 `json:"Longitude"` //经度
	Latitude  *float64 `json:"Latitude"`  //纬度
}

type CreateAccountRequest

type CreateAccountRequest struct {
	ChargeMode ChargeMode  `json:"ChargeMode"` //bind=带宽计费 flow=流量计费
	ChannelPkg *ChannelPkg `json:"ChannelPkg"`
}

type CreateAccountRes

type CreateAccountRes struct {
	PreorderNumber string `json:"PreorderNumber"`
}

type CreateAccountResponse

type CreateAccountResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *CreateAccountRes `json:"Result,omitempty"`
}

type CreateCascadePlatformRequest

type CreateCascadePlatformRequest struct {
	PlatformName string           `json:"PlatformName"`
	Description  string           `json:"Description"`
	SipConfig    CascadeSipConfig `json:"SipConfig"`
	Enable       *bool            `json:"Enable"`       // 是否使能级联平台,不填默认使能
	EnableAccess bool             `json:"EnableAccess"` // 平台授权
	EnablePTZ    bool             `json:"EnablePTZ"`    // PTZ授权
}

type CreateCascadePlatformResponse

type CreateCascadePlatformResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           IDResponse `json:"Result,omitempty"`
}

type CreateCascadeTaskRequest

type CreateCascadeTaskRequest struct {
	TaskName    string `json:"TaskName"`    // 级联任务名称
	GroupTreeID string `json:"GroupTreeID"` // 关联的虚拟组织树ID
	PlatformID  string `json:"PlatformID"`  // 关联的上级平台ID
	Description string `json:"Description"`
}

type CreateCascadeTaskResponse

type CreateCascadeTaskResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           IDResponse `json:"Result,omitempty"`
}

type CreateDeviceArg

type CreateDeviceArg struct {
	Type                 string             `json:"Type"`
	DeviceName           string             `json:"DeviceName"`
	DeviceNSID           *string            `json:"DeviceNSID"`
	Username             *string            `json:"Username"`
	Password             *string            `json:"Password"`
	Description          string             `json:"Description"`
	AutoPullAfterRegiter *bool              `json:"AutoPullAfterRegiter"`
	PasswordLevel        string             `json:"PasswordLevel"`
	RtpTransportTcp      *bool              `json:"RtpTransportTcp"`
	DownloadSpeed        *int               `json:"DownloadSpeed"`
	Location             *string            `json:"Location"`
	Coordinates          *Coordinates       `json:"Coordinates"`
	AlertNotification    *AlertNotification `json:"AlertNotification"`
	UseSubStream         *bool              `json:"UseSubStream"`
}

type CreateDeviceRequest

type CreateDeviceRequest struct {
	SpaceID               string
	Type                  string             `json:"Type"`
	DeviceName            string             `json:"DeviceName"`
	DeviceNSID            *string            `json:"DeviceNSID"`
	Username              *string            `json:"Username"`
	Password              *string            `json:"Password"`
	Description           string             `json:"Description"`
	AutoPullAfterRegister *bool              `json:"AutoPullAfterRegiter"`
	PasswordLevel         string             `json:"PasswordLevel"`
	RtpTransportTcp       *bool              `json:"RtpTransportTcp"`
	DownloadSpeed         *int               `json:"DownloadSpeed"`
	Location              *string            `json:"Location"`
	Coordinates           *Coordinates       `json:"Coordinates"`
	AlertNotification     *AlertNotification `json:"AlertNotification"`
	UseSubStream          *bool              `json:"UseSubStream"`
}

type CreateDeviceResponse

type CreateDeviceResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *IDDevice `json:"Result,omitempty"`
}

type CreateRecordPlanRequest added in v1.0.106

type CreateRecordPlanRequest struct {
	PlanName       string                    `json:"PlanName"`
	Description    string                    `json:"Description"`
	Status         string                    `json:"Status"`
	BindTemplate   string                    `json:"BindTemplate"`
	StreamingIndex int                       `json:"StreamingIndex"`
	Resolution     string                    `json:"Resolution"`
	BindChannels   map[string][]*BindChannel `json:"BindChannels"`
	BindStreams    []string                  `json:"BindStreams"`
}

type CreateSlowLiveRequest

type CreateSlowLiveRequest struct {
	ID                      string          `json:"ID"`
	RelatedSpaces           []string        `json:"RelatedSpaces"`
	Name                    string          `json:"Name"`
	MergingMode             string          `json:"MergingMode"`
	OutputResolution        string          `json:"OutputResolution"`
	OutputFrameRate         int             `json:"OutputFrameRate"`
	OutputEncoding          string          `json:"OutputEncoding"`
	CreateTimestamp         int64           `json:"CreateTimestamp"`
	PreviousClosedTimestamp int64           `json:"PreviousClosedTimestamp"`
	FinishTimestamp         int64           `json:"FinishTimestamp"`
	Status                  SlowLiveStatus  `json:"Status"`
	EnablePushingStream     *bool           `json:"EnablePushingStream"`
	Config                  *SlowLiveConfig `json:"Config"`
	AccountID               string          `json:"AccountID"`
}

type CreateSpaceRequest

type CreateSpaceRequest struct {
	SpaceName   string `json:"SpaceName"`
	Description string `json:"Description"`
	Region      string `json:"Region"`
	AccessType  string `json:"AccessType"`
	GB          struct {
		PullOnDemand bool `json:"PullOnDemand"`
	} `json:"GB"`
	SDK struct {
		DeviceType             string                           `json:"DeviceType"`
		ProductValidDuration   SDKProductValidDurationEnum      `json:"ValidDuration"`
		GeneralDeviceAVAbility SDKGeneralDeviceAVAbilityBitmask `json:"GeneralDeviceAVAbility"`
		NVRAVAbility           SDKNVRAVAbilityEnum              `json:"NVRAVAbility"`
		OS                     string                           `json:"OS"`
		ChipManufacture        string                           `json:"ChipManufacture"`
		ChipModel              string                           `json:"ChipModel"`
	} `json:"SDK"`
	HLSLowLatency bool   `json:"HLSLowLatency"`
	CallbackURL   string `json:"CallbackURL"`
}

type CreateStreamRequest

type CreateStreamRequest struct {
	SpaceID     string
	StreamName  string `json:"StreamName"` //流的名称,用户输入
	Description string `json:"Description"`
}

type CreateStructuredViewCascadeJobRequest

type CreateStructuredViewCascadeJobRequest struct {
	ID              string                         `json:"ID"`
	AccountID       string                         `json:"AccountID"`
	JobName         string                         `json:"JobName"`
	ViewSpaceID     string                         `json:"ViewSpaceID"`
	ViewSpaceName   string                         `json:"ViewSpaceName"`
	ViewSpaceCode   string                         `json:"ViewSpaceCode"`
	PlatformID      string                         `json:"PlatformID"`
	PlatformCode    string                         `json:"PlatformCode"`
	PlatformName    string                         `json:"PlatformName"`
	CreateTimestamp int64                          `json:"CreateTimestamp"`
	UpdateTimestamp int64                          `json:"UpdateTimestamp"`
	Status          StructuredViewCascadeJobStatus `json:"Status"`
	Description     string                         `json:"Description"`
}

type CreateStructuredViewCascadePlatformRequest

type CreateStructuredViewCascadePlatformRequest struct {
	ID              string                              `json:"ID"`
	AccountID       string                              `json:"AccountID"`
	PlatformName    string                              `json:"PlatformName"`
	PlatformCode    string                              `json:"PlatformCode"`
	PlatformIP      string                              `json:"PlatformIP"`
	PlatformPort    int                                 `json:"PlatformPort"`
	Description     string                              `json:"Description"`
	Username        string                              `json:"Username"`
	Password        string                              `json:"Password"`
	CreateTimestamp int64                               `json:"CreateTimestamp"`
	UpdateTimestamp int64                               `json:"UpdateTimestamp"`
	Status          StructuredViewCascadePlatformStatus `json:"Status"`
}

type CreateStructuredViewRequest

type CreateStructuredViewRequest struct {
	ID               string               ` json:"ID"`
	AccountID        string               ` json:"AccountID"`
	ViewName         string               ` json:"ViewName"`
	ViewType         string               `json:"ViewType"`
	ViewCode         string               ` json:"ViewCode"`
	ViewSpaceID      string               ` json:"ViewSpaceID"`
	ViewSpaceName    string               ` json:"ViewSpaceName"`
	ViewIP           string               `json:"ViewIP"`
	ViewPort         int                  ` json:"ViewPort"`
	Protocol         string               ` json:"Protocol"`
	Username         string               ` json:"Username"`
	Password         string               ` json:"Password"`
	Description      string               ` json:"Description"`
	Location         string               ` json:"Location"`
	AdministrativeID string               ` json:"AdministrativeID"`
	CreateTimestamp  int64                ` json:"CreateTimestamp"`
	UpdateTimestamp  int64                ` json:"UpdateTimestamp"`
	Status           StructuredViewStatus ` json:"Status"`
}

type CreateStructuredViewSpaceRequest

type CreateStructuredViewSpaceRequest struct {
	ID              string                    `json:"ID"`
	AccountID       string                    `json:"AccountID"`
	SpaceName       string                    `json:"SpaceName"`
	ViewNumber      int64                     `json:"ViewNumber"`
	StoragePeriod   int                       `json:"StoragePeriod"`
	StorageType     string                    `json:"StorageType"`
	Region          string                    `json:"Region"`
	Description     string                    `json:"Description"`
	SpaceCode       string                    `json:"SpaceCode"`
	SpaceIP         string                    `json:"SpaceIP"`
	SpacePort       int                       `json:"SpacePort"`
	CreateTimestamp int64                     `json:"CreateTimestamp"`
	UpdateTimestamp int64                     `json:"UpdateTimestamp"`
	Status          StructuredViewSpaceStatus `json:"Status"`
}

type CreateTemplateRequest

type CreateTemplateRequest struct {
	TemplateName string              `json:"TemplateName"`
	Screenshot   *ScreenshotTemplate `json:"Screenshot"`
	Record       *RecordTemplate     `json:"Record"`
	AI           *AITemplate         `json:"AI"`
	Trans        *TransTemplate      `json:"Trans"`
}

type CruiseControlRequest

type CruiseControlRequest struct {
	DeviceNSID  string `json:"DeviceNSID"`
	ChannelID   string `json:"ChannelID"`
	Action      string `json:"Action"`
	TrackID     uint8  `json:"TrackID"`     // 巡航轨迹组ID
	PresetID    uint8  `json:"PresetID"`    // 预置位ID
	Speed       uint32 `json:"Speed"`       // 巡航速度
	StaySeconds uint32 `json:"StaySeconds"` // 巡航停留时间
}

type CruiseControlRequestV3 added in v1.0.123

type CruiseControlRequestV3 struct {
	StreamID    string `json:"StreamID"`
	Action      string `json:"Action"`
	TrackID     uint8  `json:"TrackID"`     // 巡航轨迹组ID
	PresetID    uint8  `json:"PresetID"`    // 预置位ID
	Speed       uint32 `json:"Speed"`       // 巡航速度
	StaySeconds uint32 `json:"StaySeconds"` // 巡航停留时间
}

type CruisePoint added in v1.0.110

type CruisePoint struct {
	PresetID   uint8  `json:"PresetID" bson:"PresetID"` // 预置点编号(1~255)
	PresetName string `json:"PresetName" bson:"PresetName"`
}

type CruiseTrack added in v1.0.110

type CruiseTrack struct {
	DeviceNSID  string        `json:"DeviceNSID"`
	ChannelID   string        `json:"ChannelID"`
	TrackID     uint8         `json:"TrackID"`     // 巡航轨迹组编号(1~255)
	TrackList   []CruisePoint `json:"TrackList"`   // 巡航轨迹列表, 最多可添加255个预置点
	StaySeconds uint32        `json:"StaySeconds"` // 预置点停留时间, 单位:秒, 取值范围:1~4095
	Speed       uint32        `json:"Speed"`       // 巡航速度, 取值范围: 1~4095
}

type DataProject

type DataProject struct {
	TimeStamp string  `json:"TimeStamp"`
	Value     float64 `json:"Value"`
}

type DeleteCertRequest

type DeleteCertRequest struct {
	ChainID string `json:"ChainID"`
}

type DeleteCruiseTrackRequest added in v1.0.126

type DeleteCruiseTrackRequest struct {
	DeviceNSID string `json:"DeviceNSID"`
	ChannelID  string `json:"ChannelID"`
	TrackID    uint8  `json:"TrackID"` // 巡航轨迹组编号(1~255)
}

type DeleteCruiseTrackRequestV3 added in v1.0.126

type DeleteCruiseTrackRequestV3 struct {
	StreamID string `json:"StreamID"`
	TrackID  uint8  `json:"TrackID"` // 巡航轨迹组编号(1~255)
}

type DeleteErrWrapper added in v1.0.126

type DeleteErrWrapper struct {
	Key     string
	Message string
}

type DeleteGroupTreeNodesRequest

type DeleteGroupTreeNodesRequest struct {
	IDs []string `json:"IDs"`
}

type DeleteSpaceDomainRes

type DeleteSpaceDomainRes struct {
	Domain interface{} `json:"Domain"`
}

type DeleteSpaceDomainResponse

type DeleteSpaceDomainResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           DeleteSpaceDomainRes `json:"Result,omitempty"`
}

type DeleteStreamRecord added in v1.0.126

type DeleteStreamRecord struct {
	Deleted    []string
	DeleteErrs []*DeleteErrWrapper
}

type DeleteStreamRecordRequest added in v1.0.126

type DeleteStreamRecordRequest struct {
	StreamID string
	ObjKey   []string
	Bucket   string
}

type DeleteStreamRecordResponse added in v1.0.126

type DeleteStreamRecordResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *DeleteStreamRecord
}

type DeleteTemplateRequest

type DeleteTemplateRequest struct {
	TemplateID   string `json:"TemplateID"`
	TemplateType string `json:"TemplateType"`
}

type DeviceChannelResp

type DeviceChannelResp struct {
	DeviceName string                  `json:"DeviceName"`
	DeviceID   string                  `json:"DeviceID"`
	DeviceNSID string                  `json:"DeviceNSID"`
	Channels   []*DeviceItemWithStream `json:"Channels"`
}

type DeviceItem

type DeviceItem struct {
	DeviceID     string          `json:"DeviceID"`
	Event        string          `json:"Event,omitempty"`
	Name         string          `json:"Name"`
	Manufacturer string          `json:"Manufacturer,omitempty"`
	Model        string          `json:"Model,omitempty"`
	Owner        string          `json:"Owner,omitempty"`
	CivilCode    string          `json:"CivilCode,omitempty"`
	Address      string          `json:"Address,omitempty"`
	Parental     string          `json:"Parental,omitempty"`
	ParentID     string          `json:"ParentID,omitempty"`
	RegisterWay  string          `json:"RegisterWay,omitempty"`
	Secrecy      string          `json:"Secrecy,omitempty"`
	StreamNum    string          `json:"StreamNum,omitempty"`
	IPAddress    string          `json:"IPAddress,omitempty"`
	Port         string          `json:"Port,omitempty"`
	Password     string          `json:"Password,omitempty"`
	Status       string          `json:"Status"`
	Info         CatalogItemInfo `json:"Info,omitempty"`
}

type DeviceItemWithStream

type DeviceItemWithStream struct {
	DeviceItem DeviceItem `json:"DeviceItem"`
	StreamID   string     `json:"StreamID"`
	CreateAt   string     `json:"CreateAt"`
	SubStreams []string   `json:"SubStreams"`
}

type DeviceRequest

type DeviceRequest struct {
	DeviceID string
}

type DeviceResponse

type DeviceResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           IDResponse `json:"Result,omitempty"`
}

type DeviceStreams

type DeviceStreams struct {
	StreamID      string   `json:"StreamID"`
	Name          string   `json:"Name"`
	ChannelStatus string   `json:"ChannelStatus"`
	Manufacturer  string   `json:"Manufacturer"`
	Model         string   `json:"Model"`
	PullUrls      []string `json:"PullUrls"`
	PushUrl       string   `json:"PushUrl"`
	Status        string   `json:"Status"`
}

type DeviceType

type DeviceType string
const (
	DeviceTypeCamera   DeviceType = "IPC"
	DeviceTypeNVR      DeviceType = "NVR"
	DeviceTypePlatform DeviceType = "Platform" //国标平台
)

func (DeviceType) String

func (d DeviceType) String() string

type DeviceView

type DeviceView struct {
	SpaceID              string                      `json:"SpaceID"`
	SpaceName            string                      `json:"SpaceName"`
	Type                 string                      `json:"Type"`
	DeviceName           string                      `json:"DeviceName"`
	DeviceID             string                      `json:"DeviceID"`
	DeviceNSID           string                      `json:"DeviceNSID"`
	Username             string                      `json:"Username"`
	Password             string                      `json:"Password"`
	Description          string                      `json:"Description"`
	AutoPullAfterRegiter bool                        `json:"AutoPullAfterRegiter"`
	CreatedAt            string                      `json:"CreatedAt"`
	UpdatedAt            string                      `json:"UpdatedAt"`
	Manufactory          string                      `json:"Manufactory"`
	AlertNotification    *AlertNotification          `json:"AlertNotification"`
	DeviceStreams        map[string]*DeviceStreams   `json:"DeviceStreams"`
	DeviceSubStreams     map[string][]*DeviceStreams `json:"DeviceSubStreams"`
	Status               string                      `json:"Status"`
	ChannelNum           int                         `json:"ChannelNum"`
	RtpTransportTcp      bool                        `json:"RtpTransportTcp"` //流传输协议tcp为true,否则默认udp
	ContactCount         int                         `json:"ContactCount"`    //Device的contact数量, 用于前端提示多device注册同一个账号

	Location     string       `json:"Location"`
	Coordinates  *Coordinates `json:"Coordinates"`
	DeviceIP     string       `json:"DeviceIP"`
	CommonCount  *CommonCount `json:"CommonCount,omitempty" bson:"CommonCount,omitempty"`
	UseSubStream bool         `json:"UseSubStream"` // 是否启用子码流
}

type EdgeInviteRequest

type EdgeInviteRequest struct {
	StreamID      string
	LocalFlvHttps string
	Status        string
	SSRC          int
	RTPPort       int
	IP            string
}

type EdgeResponse

type EdgeResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           EdgeResponseDetail `json:"Result,omitempty"`
}

type EdgeResponseDetail

type EdgeResponseDetail struct {
	Status bool
}

type EdgeStatusRequest

type EdgeStatusRequest struct {
	StreamID      string
	LocalFlvHttps string
	Status        string
	SSRC          int
	RTPPort       int
	IP            string
}

type EnableTime

type EnableTime struct {
	EnableFrom string
	EnableTo   string
}

type EnableTimes

type EnableTimes []EnableTime

type FaceRecord

type FaceRecord struct {
}

type Font

type Font struct {
	FontSize     *int    `json:"FontSize"`
	PrimaryColor *string `json:"PrimaryColor"`
	Alignment    *string `json:"Alignment"`
}

type FreshDeviceRequest

type FreshDeviceRequest struct {
	SpaceID  string
	DeviceID string
}

type GBMediaDownload

type GBMediaDownload struct {
	ID               string        `json:"ID"` //=streamID
	StartTime        int64         `json:"StartTime"`
	EndTime          int64         `json:"EndTime"`
	CallID           string        `json:"CallID"`
	Status           string        `json:"Status"`
	Url              string        `json:"Url"`
	FileSize         int64         `json:"FileSize"`
	Msg              string        `json:"Msg"`
	FileStreamLength time.Duration `json:"FileStreamLength"`
	FileName         string        `json:"FileName"`
	DeviceMsg        string        `json:"DeviceMsg"` //设备上传时异常bye存储信息
	CreateAt         int64         `json:"CreateAt"`
	SubtitleUrl      string        `json:"SubtitleUrl"`
	FirstTs          int64         `json:"FirstTs"`
	FirstTranscode   int64         `json:"FirstTranscode"`
	DeviceInfoStatus int8          `json:"DeviceInfoStatus"` //0=waiting,-1=failed,1=success
}

type GenSipIDRequest

type GenSipIDRequest struct {
	DeviceType  string
	SipServerID string
}

type GetAIAnalysisResult

type GetAIAnalysisResult struct {
	PageResult
	AiResult []*AIAnalysisResponse
}

type GetAIAnalysisResultRequest

type GetAIAnalysisResultRequest struct {
	StreamID string              `json:"StreamID"`
	StartT   int64               `json:"StartTime"`
	EndT     int64               `json:"EndTime"`
	AI       map[string][]string `json:"AI"`
}

type GetAIAnalysisResultResponse

type GetAIAnalysisResultResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           GetAIAnalysisResult `json:"Result,omitempty"`
}

type GetAccountResponse

type GetAccountResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *AccountStatus `json:"Result,omitempty"`
}

type GetCascadePlatformResponse

type GetCascadePlatformResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           CascadePlatform `json:"Result,omitempty"`
}

type GetCascadeTaskResponse

type GetCascadeTaskResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           CascadeTask `json:"Result,omitempty"`
}

type GetCruiseTrackResponse added in v1.0.111

type GetCruiseTrackResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           CruiseTrack `json:"Result,omitempty"`
}

type GetDataProject

type GetDataProject struct {
	TotalUp   float64
	TotalDown float64
	DataUp    []DataProject
	DataDown  []DataProject
}

type GetDataProjectWithBindWidthAndFlowRequest

type GetDataProjectWithBindWidthAndFlowRequest struct {
	SpaceID    string
	StreamName string
	StartTime  string
	EndTime    string
	Data       string
}

type GetDataProjectWithBindWidthAndFlowResponse

type GetDataProjectWithBindWidthAndFlowResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           GetDataProject `json:"Result,omitempty"`
}

type GetDeviceChannelsMode added in v1.0.113

type GetDeviceChannelsMode string
const (
	GetDeviceChannelsModeBrief  GetDeviceChannelsMode = "brief"
	GetDeviceChannelsModeDetail GetDeviceChannelsMode = "detail"
)

type GetDeviceChannelsOption added in v1.0.113

type GetDeviceChannelsOption func(*getDeviceChannelsOptions)

func WithGetDeviceChannelsMode added in v1.0.113

func WithGetDeviceChannelsMode(mode GetDeviceChannelsMode) GetDeviceChannelsOption

type GetDeviceChannelsResponse

type GetDeviceChannelsResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           DeviceChannelResp `json:"Result,omitempty"`
}

type GetDeviceRequest

type GetDeviceRequest struct {
	SpaceID     string
	DeviceID    string
	SipServerID string
}

type GetDeviceResponse

type GetDeviceResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *DeviceView `json:"Result,omitempty"`
}

type GetDevicesByGroupTreeNodeRequest

type GetDevicesByGroupTreeNodeRequest struct {
	NodeID     string `json:"NodeID"`
	SearchName string `json:"SearchName"`
}

type GetDevicesByGroupTreeNodeRes

type GetDevicesByGroupTreeNodeRes struct {
	PageNumber int64          `json:"PageNumber"`
	PageSize   int64          `json:"PageSize"`
	TotalCount int64          `json:"TotalCount"`
	Data       []*GroupDevice `json:"Data"`
}

type GetDevicesByGroupTreeNodeResponse

type GetDevicesByGroupTreeNodeResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           GetDevicesByGroupTreeNodeRes `json:"Result,omitempty"`
}

type GetGroupTreeNodeResponse

type GetGroupTreeNodeResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           GroupTreeNode `json:"Result,omitempty"`
}

type GetLocalMediaDownloadRequest

type GetLocalMediaDownloadRequest struct {
	ID      string
	SpaceID string
}

type GetPkgInfoResponse

type GetPkgInfoResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           []*ChargeItem `json:"Result,omitempty"`
}

type GetPlaybackStatusRespV3 added in v1.0.126

type GetPlaybackStatusRespV3 struct {
	Status string `json:"Status"`
}

type GetPlaybackStatusResponseV3 added in v1.0.126

type GetPlaybackStatusResponseV3 struct {
	ResponseMetadata base.ResponseMetadata
	Result           GetPlaybackStatusRespV3 `json:"Result,omitempty"`
}

type GetPushStreamCntRequest

type GetPushStreamCntRequest struct {
	SpaceID   string
	StartTime string
	EndTime   string
}

type GetPushStreamCntRes

type GetPushStreamCntRes struct {
	Cnt []DataProject
}

type GetPushStreamCntResponse

type GetPushStreamCntResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           GetPushStreamCntRes `json:"Result,omitempty"`
}

type GetRecordListRequest

type GetRecordListRequest struct {
	DeviceID     string `json:"DeviceID"`
	ChannelID    string `json:"ChannelID"`
	StartTime    int64  `json:"StartTime"`
	EndTime      int64  `json:"EndTime"`
	RecordType   string `json:"RecordType"`
	TimeoutInSec int    `json:"TimeoutInSec"`
	Order        bool   `json:"Order"`
}

type GetRecordListRequestV3 added in v1.0.123

type GetRecordListRequestV3 struct {
	StreamID     string `json:"StreamID"`
	StartTime    int64  `json:"StartTime"`
	EndTime      int64  `json:"EndTime"`
	RecordType   string `json:"RecordType"`
	TimeoutInSec int    `json:"TimeoutInSec"`
	Order        bool   `json:"Order"`
}

type GetRecordListResponse

type GetRecordListResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           RecordList `json:"Result,omitempty"`
}

type GetRecordListResponseV3 added in v1.0.130

type GetRecordListResponseV3 struct {
	ResponseMetadata base.ResponseMetadata
	Result           RecordListV3 `json:"Result,omitempty"`
}

type GetSlowLiveResponse

type GetSlowLiveResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           GetSlowLiveResult `json:"Result,omitempty"`
}

type GetSlowLiveResult

type GetSlowLiveResult struct {
	SlowLive *SlowLiveView `json:"SlowLive"`
}

type GetSpaceDomainResponse

type GetSpaceDomainResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           SpaceDomain `json:"Result,omitempty"`
}

type GetSpaceResponse

type GetSpaceResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           SpaceView `json:"Result,omitempty"`
}

type GetSpaceTemplateResponse

type GetSpaceTemplateResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           SpaceTemplate `json:"Result,omitempty"`
}

type GetStreamDataRequest

type GetStreamDataRequest struct {
	StreamID       string
	StartTime      string
	EndTime        string
	Resolution     string
	StreamingIndex int64
}

type GetStreamDataRes

type GetStreamDataRes struct {
	BVideo []DataProject
	BAudio []DataProject
	FPS    []DataProject
	Height int
	Width  int
}

type GetStreamDataResponse

type GetStreamDataResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           GetStreamDataRes `json:"Result,omitempty"`
}

type GetStreamResponse

type GetStreamResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           StreamResp `json:"Result,omitempty"`
}

type GetStructuredViewCascadeJobResponse

type GetStructuredViewCascadeJobResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           StructuredViewCascadeJob `json:"Result,omitempty"`
}

type GetStructuredViewCascadePlatformResponse

type GetStructuredViewCascadePlatformResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           StructuredViewCascadePlatform `json:"Result,omitempty"`
}

type GetStructuredViewDataInfoResponse

type GetStructuredViewDataInfoResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           PhotoObjectDetail `json:"Result,omitempty"`
}

type GetStructuredViewResponse

type GetStructuredViewResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           StructuredView `json:"Result,omitempty"`
}

type GetStructuredViewSpaceResponse

type GetStructuredViewSpaceResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           StructuredViewSpace `json:"Result,omitempty"`
}

type GetTemplateResponse

type GetTemplateResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           Template `json:"Result,omitempty"`
}

type GetTotalDataRes

type GetTotalDataRes struct {
	MaxUp           float64
	MaxDown         float64
	UpChainGrowth   string
	DownChainGrowth string
}

type GetTotalDataResponse

type GetTotalDataResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           GetTotalDataRes `json:"Result,omitempty"`
}

type GroupDevice

type GroupDevice struct {
	ID          string         `json:"ID"`
	Type        string         `json:"Type"`
	DeviceName  string         `json:"DeviceName"`
	Description string         `json:"Description"`
	Status      string         `json:"Status"`
	DeviceNSID  string         `json:"DeviceNSID"`
	Protocol    string         `json:"Protocol"`
	Vendor      string         `json:"Vendor"`
	Channels    []*GroupStream `json:"Channels"`
	Available   bool           `json:"Available"`
}

type GroupStream

type GroupStream struct {
	ID          string `json:"ID"`
	SipID       string `json:"SipID"`
	StreamName  string `json:"StreamName"`
	DeviceID    string `json:"DeviceID"`
	Status      string `json:"Status"`
	Description string `json:"Description"`
	Available   bool   `json:"Available"`
}

type GroupTreeNode

type GroupTreeNode struct {
	ID          string           `json:"ID"`
	Name        string           `json:"Name"`
	NSID        string           `json:"NSID"`
	Description string           `json:"Description"`
	Shared      bool             `json:"Shared"` // only used to mark node share flag for cascade task
	SpaceID     string           `json:"SpaceID"`
	SpaceName   string           `json:"SpaceName"`
	Region      string           `json:"Region"`
	ParentID    string           `json:"ParentID"`
	Nodes       []*GroupTreeNode `json:"Nodes"`
	Device      *GroupDevice     `json:"Device"`
}

type HistoryResult

type HistoryResult struct {
	Type         string        `json:"Type"`
	Path         string        `json:"Path"`
	ScreenResult *ScreenResult `json:"Screenshot,omitempty"`
	RecordResult *RecordResult `json:"Record,omitempty"`
	RecordMeta   *RecordMeta   `json:"RecordMeta,omitempty"`
}

type HistoryResultV3 added in v1.0.123

type HistoryResultV3 struct {
	Type         string          `json:"Type"`
	Path         string          `json:"Path"`
	ScreenResult *ScreenResultV3 `json:"Screenshot,omitempty"`
	RecordResult *RecordResultV3 `json:"Record,omitempty"`
	RecordMeta   *RecordMetaV3   `json:"RecordMeta,omitempty"`
}

type IDDevice

type IDDevice struct {
	ID string `json:"ID"`
	*DeviceView
}

type IDResponse

type IDResponse struct {
	ID string `json:"ID"`
}

type ListAlarmNotifyRequest

type ListAlarmNotifyRequest struct {
	PageNumber    int      `json:"PageNumber"`
	PageSize      int      `json:"PageSize"`
	DeviceNSID    string   `json:"DeviceNSID"`
	ChannelID     string   `json:"ChannelID"`
	StartTime     int64    `json:"StartTime"`
	EndTime       int64    `json:"EndTime"`
	AlarmMethod   []uint32 `json:"AlarmMethod"`
	AlarmPriority []uint32 `json:"AlarmPriority"`
	AlarmType2    []uint32 `json:"AlarmType2"`
	AlarmType5    []uint32 `json:"AlarmType5"`
	AlarmType6    []uint32 `json:"AlarmType6"`
	Order         uint32   `json:"Order"`
}

type ListAlarmNotifyResponse

type ListAlarmNotifyResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListAlarmNotifyResult `json:"Result,omitempty"`
}

type ListAlarmNotifyResult

type ListAlarmNotifyResult struct {
	PageResult
	AlarmNotifies []*AlarmNotify
}

type ListAlarmNotifyResultV3 added in v1.0.126

type ListAlarmNotifyResultV3 struct {
	PageResult
	AlarmNotifies []*AlarmNotifyV3
}

type ListCascadePlatformRequest

type ListCascadePlatformRequest struct {
	PlatformName string
	PageNumber   int64
	PageSize     int64
	Order        string
}

type ListCascadePlatformResponse

type ListCascadePlatformResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListCascadePlatformResult `json:"Result,omitempty"`
}

type ListCascadePlatformResult

type ListCascadePlatformResult struct {
	PageResult
	CascadePlatforms []*CascadePlatform `json:"CascadePlatforms"`
}

type ListCascadeTaskRequest

type ListCascadeTaskRequest struct {
	PlatformName  string `json:"PlatformName"`
	PlatformID    string `json:"PlatformID"`
	GroupTreeID   string `json:"GroupTreeID"`
	GroupTreeName string `json:"GroupTreeName"`
	PageNumber    int    `json:"PageNumber"`
	PageSize      int    `json:"PageSize"`
	Order         string `json:"Order"`
}

type ListCascadeTaskResponse

type ListCascadeTaskResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListCascadeTaskResult `json:"Result,omitempty"`
}

type ListCascadeTaskResult

type ListCascadeTaskResult struct {
	PageResult
	CascadeTasks []*CascadeTask `json:"CascadeTasks"`
}

type ListCertificatesRequest

type ListCertificatesRequest struct {
	PageNumber int
	PageSize   int
}

type ListCertificatesResponse

type ListCertificatesResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListCertsResult `json:"Result,omitempty"`
}

type ListCertsResult

type ListCertsResult struct {
	PageResult
	Certs []*SimpleCertInfo
}

type ListCruiseTracksResponse added in v1.0.123

type ListCruiseTracksResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           []CruiseTrack `json:"Result,omitempty"`
}

type ListDeviceAlarmsRequestV3 added in v1.0.126

type ListDeviceAlarmsRequestV3 struct {
	PageNumber int
	PageSize   int
	DeviceID   string `json:"DeviceID"`
	StreamID   string `json:"StreamID"`
	StartTime  int64  `bson:"StartTime"`
	EndTime    int64  `bson:"EndTime"`
	// 告警方式筛选条件,可选枚举值为(如传入空数组,即返回所有告警方式的报警记录)
	//1(电话报警)
	//2(设备报警)
	//3(短信报警
	//4(GPS报警)
	//5(视频报警)
	//6(设备故障报警)
	//7(其他报警)
	AlarmMethod []uint32 `bson:"AlarmMethod"`
	// 报警级别筛选条件,可选枚举值为(如传入空数组,即返回所有告警级别的报警记录):
	//1(一级警情)
	//2(二级警情)
	//3(三级警情)
	//4(四级警情)
	AlarmPriority []uint32 `bson:"AlarmPriority"`
	Order         uint32   `bson:"Order"` // 排序方式:0(正序),其他(倒序)
}

type ListDeviceAlarmsResponseV3 added in v1.0.126

type ListDeviceAlarmsResponseV3 struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListAlarmNotifyResultV3 `json:"Result,omitempty"`
}

type ListDevicesRequest

type ListDevicesRequest struct {
	SpaceID    string
	DeviceID   string
	DeviceNSID string
	DeviceName string
	PageNumber int
	PageSize   int
	Order      string
}

type ListDevicesResponse

type ListDevicesResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListDevicesResult `json:"Result,omitempty"`
}

type ListDevicesResult

type ListDevicesResult struct {
	PageResult
	Devices []*DeviceView
}

type ListGBMediaResp

type ListGBMediaResp struct {
	PageResult
	GBMedias []*GBMediaDownload
}

type ListGBMediaResponse

type ListGBMediaResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListGBMediaResp `json:"Result"`
}

type ListGroupTreeNodesRes

type ListGroupTreeNodesRes struct {
	PageNumber int64            `json:"PageNumber"`
	PageSize   int64            `json:"PageSize"`
	TotalCount int64            `json:"TotalCount"`
	Nodes      []*GroupTreeNode `json:"Nodes"`
}

type ListGroupTreeNodesResponse

type ListGroupTreeNodesResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListGroupTreeNodesRes `json:"Result,omitempty"`
}

type ListHistoryRequest

type ListHistoryRequest struct {
	SpaceID    string `json:"-"`
	StreamID   string `json:"-"`
	PageNumber int    `json:"-"`
	PageSize   int    `json:"-"`
	StartTs    string `json:"StartTs"`
	EndTs      string `json:"EndTs"`
	ReqType    string `json:"-"`
}

type ListHistoryRequestV3 added in v1.0.123

type ListHistoryRequestV3 struct {
	StreamID       string
	StreamingIndex int
	Resolution     string
	PageNumber     int   `json:"-"`
	PageSize       int   `json:"-"`
	StartTime      int64 `json:"StartTime"`
	EndTime        int64 `json:"EndTime"`
	ReqType        string
}

type ListHistoryResponse

type ListHistoryResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           []*HistoryResult `json:"Result,omitempty"`
}

type ListHistoryResponseV3 added in v1.0.123

type ListHistoryResponseV3 struct {
	ResponseMetadata base.ResponseMetadata
	Result           []*HistoryResultV3 `json:"Result,omitempty"`
}

type ListRecordPlanChannelResp added in v1.0.106

type ListRecordPlanChannelResp struct {
	PageResult
	List map[string][]*RecordPlanStreamView `json:"List"`
}

type ListRecordPlanChannelResponse added in v1.0.106

type ListRecordPlanChannelResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListRecordPlanChannelResp
}

type ListRecordPlanResp added in v1.0.106

type ListRecordPlanResp struct {
	PageResult PageResult        `json:"PageResult"`
	List       []*RecordPlanView `json:"List"`
}

type ListRecordPlanResponse added in v1.0.106

type ListRecordPlanResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *ListRecordPlanResp
}

type ListSlowLiveResponse

type ListSlowLiveResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListSlowLiveResult `json:"Result,omitempty"`
}

type ListSlowLiveResult

type ListSlowLiveResult struct {
	PageResult
	SlowLiveStreamings []*SlowLiveView `json:"SlowLiveStreamings"`
}

type ListSpaceDomainsRes

type ListSpaceDomainsRes struct {
	Domains interface{} `json:"Domains"`
}

type ListSpaceDomainsResponse

type ListSpaceDomainsResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListSpaceDomainsRes `json:"Result,omitempty"`
}

type ListSpacesRequest

type ListSpacesRequest struct {
	PageNumber int
	PageSize   int
	Order      string
}

type ListSpacesResponse

type ListSpacesResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListSpacesResult `json:"Result,omitempty"`
}

type ListSpacesResult

type ListSpacesResult struct {
	PageResult
	Spaces []*SpaceView
}

type ListStreamRecordsResult

type ListStreamRecordsResult struct {
	PageResult
	StreamRecords []*StreamRecord
}

type ListStreamsRequest

type ListStreamsRequest struct {
	SpaceID    string
	StreamName string
	PageNumber int
	PageSize   int
	Order      string
}

type ListStreamsResponse

type ListStreamsResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListStreamsResult `json:"Result,omitempty"`
}

type ListStreamsResult

type ListStreamsResult struct {
	PageResult
	Streams []*StreamResp
}

type ListStructuredViewCascadeJobRequest

type ListStructuredViewCascadeJobRequest struct {
	JobName    string
	PageNumber int
	PageSize   int
	Order      string
}

type ListStructuredViewCascadeJobResponse

type ListStructuredViewCascadeJobResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListStructuredViewCascadeJobResult `json:"Result,omitempty"`
}

type ListStructuredViewCascadeJobResult

type ListStructuredViewCascadeJobResult struct {
	PageResult
	JobList []*StructuredViewCascadeJob `json:"JobList"`
}

type ListStructuredViewCascadePlatformRequest

type ListStructuredViewCascadePlatformRequest struct {
	PlatformName string
	PageNumber   int
	PageSize     int
	Order        string
}

type ListStructuredViewCascadePlatformResponse

type ListStructuredViewCascadePlatformResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListStructuredViewCascadePlatformResult `json:"Result,omitempty"`
}

type ListStructuredViewCascadePlatformResult

type ListStructuredViewCascadePlatformResult struct {
	PageResult
	PlatformList []*StructuredViewCascadePlatform `json:"PlatformList"`
}

type ListStructuredViewDataRequest

type ListStructuredViewDataRequest struct {
	ViewDataType string
	StartTs      string
	EndTs        string
	ViewID       string
	PageNumber   int
	PageSize     int
	Order        string
}

type ListStructuredViewDataResponse

type ListStructuredViewDataResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListStructuredViewDataResult `json:"Result,omitempty"`
}

type ListStructuredViewDataResult

type ListStructuredViewDataResult struct {
	PageResult
	StructuredViewData []*StructuredViewData `json:"DataList"`
}

type ListStructuredViewResult

type ListStructuredViewResult struct {
	PageResult
	StructuredView []*StructuredView `json:"ViewList"`
}

type ListStructuredViewSpaceResult

type ListStructuredViewSpaceResult struct {
	PageResult
	StructuredViewSpace []*StructuredViewSpace `json:"ViewSpaceList"`
}

type ListStructuredViewSpacesRequest

type ListStructuredViewSpacesRequest struct {
	SpaceName  string
	Order      string
	PageNumber int
	PageSize   int
}

type ListStructuredViewSpacesResponse

type ListStructuredViewSpacesResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListStructuredViewSpaceResult `json:"Result,omitempty"`
}

type ListStructuredViewsRequest

type ListStructuredViewsRequest struct {
	ViewSpaceName string
	ViewName      string
	PageNumber    int
	PageSize      int
	Order         string
}

type ListStructuredViewsResponse

type ListStructuredViewsResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListStructuredViewResult `json:"Result,omitempty"`
}

type ListTemplateRequest

type ListTemplateRequest struct {
	PageNumber int
	PageSize   int
	Order      string
}

type ListTemplateResponse

type ListTemplateResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListTemplatesResult `json:"Result,omitempty"`
}

type ListTemplatesResult

type ListTemplatesResult struct {
	PageResult
	Templates []*Template
}

type LocalMediaDownloadRequest

type LocalMediaDownloadRequest struct {
	SpaceID             string
	DeviceID            string `json:"DeviceID"`
	ChannelID           string `json:"ChannelID"`
	StartTime           int64  `json:"StartTime"`
	EndTime             int64  `json:"EndTime"`
	Version             string `json:"Version"`
	MediaProcess        *Mps   `json:"MediaProcess"`
	DownloadSpeedSingle *int   `json:"DownloadSpeedSingle"` //在本地录像下载的时候时候,不填就以设备维度所设置的速度进行下载
	SchedQuotaKey       string `json:"SchedQuotaKey"`       //调度到哪个集群
}

type LocalMediaDownloadRequestV3 added in v1.0.123

type LocalMediaDownloadRequestV3 struct {
	StreamID      string `json:"StreamID"`
	StartTime     int64  `json:"StartTime"`
	EndTime       int64  `json:"EndTime"`
	MediaProcess  *Mps   `json:"MediaProcess"`
	DownloadSpeed *int   `json:"DownloadSpeedSingle"` //在本地录像下载的时候时候,不填就以设备维度所设置的速度进行下载
	Expire        int    `json:"Expire"`              //自定义文件过期时间
}

type LocalMediaDownloadResp

type LocalMediaDownloadResp struct {
	Result bool   `json:"Result"`
	ID     string `json:"ID"`
}

type LocalMediaDownloadRespV3 added in v1.0.123

type LocalMediaDownloadRespV3 struct {
	DownloadID string `json:"DownloadID"`
}

type LocalMediaDownloadResponse

type LocalMediaDownloadResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           LocalMediaDownloadResp `json:"Result,omitempty"`
}

type LocalMediaDownloadResponseV3 added in v1.0.123

type LocalMediaDownloadResponseV3 struct {
	ResponseMetadata base.ResponseMetadata
	Result           LocalMediaDownloadRespV3 `json:"Result,omitempty"`
}

type LogView

type LogView struct {
	Message string `json:"Message"`
}

type LogViews

type LogViews []*LogView

type M3U8Option

type M3U8Option struct {
	ToMp4 *bool
}

type Mps

type Mps struct {
	M3U8Option *M3U8Option `json:"M3U8Option"`
	Subtitle   *Subtitle   `json:"Subtitle"`
}

type NSSArg added in v1.0.110

type NSSArg struct {
	Addr             string            `bson:"Addr"`
	IPv4             string            `bson:"IPv4"`
	IPv6             string            `bson:"IPv6"`
	EnableRecord     bool              `bson:"EnableRecord"`     //true表示录制集群
	EnableRelay      bool              `bson:"EnableRelay"`      //true表示支持relay
	RecordConfigHost string            `bson:"RecordConfigHost"` //aiot_nss heartbeat请求的路径
	ScanDurationSec  int               `bson:"ScanDurationSec"`  //nss扫描的时间间隔
	QuotaKey         string            `bson:"QuotaKey"`         //Quota key
	WantStatus       string            `bson:"WantStatus"`
	Version          string            `bson:"Version"`          //配置的版本
	StatusUpdateTime int64             `bson:"StatusUpdateTime"` //状态更新时间
	OnTime           int64             `bson:"OnTime"`
	Resource         *Resource         `bson:"Resource"`
	Env              map[string]string `bson:"Env"`
}

type NewPackageResponse

type NewPackageResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *CreateAccountRes `json:"Result,omitempty"`
}

type NssInfoListResp added in v1.0.110

type NssInfoListResp struct {
	PageResult
	NssInfo []*NSSArg `json:"NssInfo"`
}

type NssInfoListResponse added in v1.0.110

type NssInfoListResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           NssInfoListResp `json:"Result,omitempty"`
}

type PageRequest

type PageRequest struct {
	PageNumber int
	PageSize   int
}

type PageResult

type PageResult struct {
	PageNumber int64
	PageSize   int64
	TotalCount int64
}

type ParseRecord

type ParseRecord struct {
	AccountID   string        `json:"AccountID" bson:"AccountID"` // 账号ID
	LibID       string        `json:"LibID" bson:"LibID"`         // 车辆库ID
	ItemID      string        `json:"ItemID" bson:"ItemID"`       // 车辆库车辆 ID
	AITaskID    string        `json:"AITaskID" bson:"AITaskID"`   // AI 任务ID
	Plate       string        `json:"Plate" bson:"Plate"`         // 车牌
	Ts          time.Duration `json:"Ts" bson:"Ts"`               // 时间戳
	TosKey      string        `json:"TosKey" bson:"TosKey"`       // 车辆截图
	Score       float32       `json:"Score" bson:"Score"`         // AI识别打分
	DownloadUrl string        `json:"DownloadUrl,omitempty"`      // 存储网关下载地址
}

ai releated model

type Permissions

type Permissions struct {
	Charge *Charge `json:"Charge"`
}

type PhotoObjectDetail

type PhotoObjectDetail struct {
	PhotoID             string `json:"PhotoID"`
	InfoKind            string `json:"InfoKind"` //人工采集还是自动采集
	ImageSource         string `json:"ImageSource"`
	StoragePath         string `json:"StoragePath"`
	Type                string `json:"Type"` //"11"人脸小图, "14"场景大图
	Title               string `json:"Title"`
	FileFormat          string `json:"FileFormat"`
	ShotTime            string `json:"ShotTime"`
	ContentDescription  string `json:"ContentDescription"`  //对图像内容的简要描述
	ShotPlaceFullAdress string `json:"ShotPlaceFullAdress"` //拍摄地点区划内详细地址
	SecurityLevel       string `json:"SecurityLevel"`
	Width               int    `json:"Width"`
	Height              int    `json:"Height"`
	CreateTime          string `json:"CreateTime"`
	DownloadUrl         string `json:"DownloadUrl"`
	DeviceID            string `json:"device_id"`
}

type PlayBackControlRequest

type PlayBackControlRequest struct {
	StreamID string  `json:"StreamID"`
	Cmd      int     `json:"Cmd"`
	Ntp      string  `json:"Ntp"`
	Scale    float32 `json:"Scale"`
}

type PlayBackStartRequest

type PlayBackStartRequest struct {
	DeviceID            string `json:"DeviceID"`
	ChannelID           string `json:"ChannelID"`
	StartTime           int64  `json:"StartTime"`
	EndTime             int64  `json:"EndTime"`
	Version             string `json:"Version"`
	MediaProcess        *Mps   `json:"MediaProcess"`
	DownloadSpeedSingle *int   `json:"DownloadSpeedSingle"` //在本地录像下载的时候时候,不填就以设备维度所设置的速度进行下载
	SchedQuotaKey       string `json:"SchedQuotaKey"`       //调度到哪个集群
}

type PlayBackStartResp

type PlayBackStartResp struct {
	StreamID string   `json:"StreamID"`
	PullUrls []string `json:"PullUrls"`
	PushUrl  string   `json:"PushUrl"`
}

type PlayBackStartResponse

type PlayBackStartResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           PlayBackStartResp `json:"Result,omitempty"`
}

type PlaybackRequest added in v1.0.126

type PlaybackRequest struct {
	PlaybackID string `json:"PlaybackID"`
}

type PresetItem

type PresetItem struct {
	PresetID   int    `json:"PresetID"`
	PresetName string `json:"PresetName"`
}

type PresetList

type PresetList struct {
	Num   int          `json:"Num"`
	Items []PresetItem `json:"Items"`
}

type QualityDetection

type QualityDetection struct {
	AICapabilityTypeBlackout     *int `json:"blackout"`
	AICapabilityTypeHinder       *int `json:"hinder"`
	AICapabilityTypeOverexposure *int `json:"overexposure"`
	AICapabilityTypeBlur         *int `json:"blur"`
	AICapabilityTypeNoise        *int `json:"noise"`
}

type QueryInterceptorFunc

type QueryInterceptorFunc func(api string, v url.Values) url.Values

type QueryPresetInfoRequest

type QueryPresetInfoRequest struct {
	SipID     string
	DeviceID  string `json:"DeviceID"`
	ChannelID string `json:"ChannelID"`
	TimeOut   int    `json:"TimeOut"`
}

type QueryPresetInfoRequestV3 added in v1.0.123

type QueryPresetInfoRequestV3 struct {
	StreamID string `json:"StreamID"`
	TimeOut  int    `json:"TimeOut"`
}

type QueryPresetInfoResponse

type QueryPresetInfoResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           PresetList `json:"Result,omitempty"`
}

type RawResponse

type RawResponse struct {
	ResponseMetadata base.ResponseMetadata
}

type RecordItem

type RecordItem struct {
	DeviceID       string `json:"DeviceID"`
	Name           string `json:"Name"`
	StartTime      string `json:"StartTime"`
	EndTime        string `json:"EndTime"`
	StartTimestamp int64  `json:"StartTimeStamp"`
	EndTimestamp   int64  `json:"EndTimeStamp"`
	Secrecy        string `json:"Secrecy"`
	Type           string `json:"Type"`
	FileSize       string `json:"FileSize"`
}

type RecordItemV3 added in v1.0.130

type RecordItemV3 struct {
	DeviceID  string `json:"DeviceID"`
	Name      string `json:"Name"`
	StartTime int64  `json:"StartTime"`
	EndTime   int64  `json:"EndTime"`
	Secrecy   string `json:"Secrecy"`
	Type      string `json:"Type"`
	FileSize  int    `json:"FileSize"`
}

type RecordList

type RecordList struct {
	Num   int          `json:"Num"`
	Items []RecordItem `json:"Items"`
}

type RecordListV3 added in v1.0.130

type RecordListV3 struct {
	Num   int            `json:"Num"`
	Items []RecordItemV3 `json:"Items"`
}

type RecordMeta added in v1.0.123

type RecordMeta struct {
	StartTs     string  `json:"StartTs"`
	EndTs       string  `json:"EndTs"`
	Duration    float64 `json:"Duration"`
	Format      string  `json:"Format"`
	Bucket      string  `json:"Bucket"`
	StorageType string  `json:"StorageType"`
}

type RecordMetaV3 added in v1.0.123

type RecordMetaV3 struct {
	StartTime   int64   `json:"StartTime"`
	EndTime     int64   `json:"EndTime"`
	Duration    float64 `json:"Duration"`
	Format      string  `json:"Format"`
	Bucket      string  `json:"Bucket"`
	StorageType string  `json:"StorageType"`
}

type RecordPlanResponse added in v1.0.106

type RecordPlanResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *RecordPlanView
}

type RecordPlanResultResponse added in v1.0.106

type RecordPlanResultResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           IDResponse `json:"Result,omitempty"`
}

type RecordPlanStreamView added in v1.0.106

type RecordPlanStreamView struct {
	DeviceNSID    string        `json:"DeviceNSID"`
	ChannelID     string        `json:"ChannelID"`
	StreamingType StreamingType `json:"StreamingType"`
	StreamID      string        `json:"StreamID"`
	StreamName    string        `json:"StreamName"`
	PullUrls      []string      `json:"PullUrls"`
}

type RecordPlanView added in v1.0.106

type RecordPlanView struct {
	PlanID       string `bson:"PlanID"`
	PlanName     string `bson:"PlanName"`
	Description  string `bson:"Description"`
	Status       string `bson:"Status"`
	CreatedAt    int64  `bson:"CreatedAt"`
	UpdatedAt    int64  `bson:"UpdatedAt"`
	BindTemplate string `bson:"BindTemplate"`
}

type RecordResult

type RecordResult struct {
	StartTs  string  `json:"StartTs"`
	EndTs    string  `json:"EndTs"`
	Duration float64 `json:"Duration"`
	Cover    string  `json:"Cover"`
	Format   string  `json:"Format"`
}

type RecordResultV3 added in v1.0.123

type RecordResultV3 struct {
	StartTime int64   `json:"StartTime"`
	EndTime   int64   `json:"EndTime"`
	Duration  float64 `json:"Duration"`
	Cover     string  `json:"Cover"`
	Format    string  `json:"Format"`
}

type RecordTemplate

type RecordTemplate struct {
	RecordDuration int                  `bson:"RecordDuration"` // ms
	SliceDuration  int                  `bson:"SliceDuration"`
	TTL            TemplateTTLConfig    `bson:"TTL"`
	Type           string               `bson:"Type"`
	Format         string               `bson:"Format"`
	Path           string               `bson:"Path" json:"-"`
	Bucket         TemplateBucketConfig `bson:"Bucket"`
	EnableTimes    *EnableTimes         `bson:"EnableTimes"`
}

type RectParams

type RectParams struct {
	Top    int `json:"top"`
	Left   int `json:"left"`
	Width  int `json:"width"`
	Height int `json:"height"`
}

type ResetAlarmRequest

type ResetAlarmRequest struct {
	SipID      string
	DeviceNSID string
	ChannelID  string
}

type ResetDeviceAlarmRequestV3 added in v1.0.126

type ResetDeviceAlarmRequestV3 struct {
	DeviceID string `json:"DeviceID"`
	StreamID string `json:"StreamID"`
}

type Resource added in v1.0.110

type Resource struct {
	Mem  int64 `bson:"Mem"`
	Cpu  int64 `bson:"Cpu"`
	Disk int64 `bson:"Disk"`
}

type SDKGeneralDeviceAVAbilityBitmask

type SDKGeneralDeviceAVAbilityBitmask int

type SDKNVRAVAbilityEnum

type SDKNVRAVAbilityEnum int

type SDKProductValidDurationEnum

type SDKProductValidDurationEnum int

type ScreenResult

type ScreenResult struct {
	BornTs string `json:"BornTs"`
}

type ScreenResultV3 added in v1.0.123

type ScreenResultV3 struct {
	BornTs int64 `json:"BornTs"`
}

type ScreenshotTemplate

type ScreenshotTemplate struct {
	ScreenshotPeriod int                  `json:"ScreenshotPeriod"` // ms
	Type             []ScreenshotType     `json:"Type"`             //多种截图方式
	Bucket           TemplateBucketConfig `json:"-"`
	TTL              TemplateTTLConfig    `json:"TTL"`
}

type ScreenshotType

type ScreenshotType string

type ScreenshotTypeInt

type ScreenshotTypeInt int32

type SegInfo

type SegInfo struct {
	SegUrl     string           `json:"SegUrl"`
	RectParams RectParams       `json:"RectParams"`
	Vehicle    VehicleRecord    `json:"Vehicle"`
	Face       FaceRecord       `json:"Face"`
	VQ         QualityDetection `json:"VQ"`
}

type SetAlarmGuardRequest

type SetAlarmGuardRequest struct {
	SipID      string
	DeviceNSID string
	ChannelID  string
	Enable     string
}

type SetCruiseTrackRequest added in v1.0.126

type SetCruiseTrackRequest struct {
	DeviceNSID  string        `json:"DeviceNSID"`
	ChannelID   string        `json:"ChannelID"`
	TrackID     uint8         `json:"TrackID"`     // 巡航轨迹组编号(1~255)
	TrackList   []CruisePoint `json:"TrackList"`   // 巡航轨迹列表, 最多可添加255个预置点
	StaySeconds uint32        `json:"StaySeconds"` // 预置点停留时间, 单位:秒, 取值范围:1~4095
	Speed       uint32        `json:"Speed"`       // 巡航速度, 取值范围: 1~4095
}

type SetCruiseTrackRequestV3 added in v1.0.126

type SetCruiseTrackRequestV3 struct {
	StreamID    string        `json:"StreamID"`
	TrackID     uint8         `json:"TrackID"`     // 巡航轨迹组编号(1~255)
	TrackList   []CruisePoint `json:"TrackList"`   // 巡航轨迹列表, 最多可添加255个预置点
	StaySeconds uint32        `json:"StaySeconds"` // 预置点停留时间, 单位:秒, 取值范围:1~4095
	Speed       uint32        `json:"Speed"`       // 巡航速度, 取值范围: 1~4095
}

type SetDeviceAlarmRequestV3 added in v1.0.126

type SetDeviceAlarmRequestV3 struct {
	DeviceID string `json:"DeviceID"`
	StreamID string `json:"StreamID"`
	Enable   string `json:"Enable"`
}

type SetSpaceTemplateRequest

type SetSpaceTemplateRequest struct {
	SpaceID      string
	TemplateType string

	TemplateID      string   `json:"TemplateID"`
	TemplateTransID []string `json:"TemplateTransID"`
}

type ShareGroupNodesRequest

type ShareGroupNodesRequest struct {
	TaskID       string   `json:"TaskID"`
	GroupNodeIDs []string `json:"GroupNodeIDs"`
}

type SignSlowliveWsTokenRequest

type SignSlowliveWsTokenRequest struct {
	ValidDuration int
	SlowliveID    string
}

type SignSlowliveWsTokenResponse

type SignSlowliveWsTokenResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           SignSlowliveWsTokenResult `json:"Result,omitempty"`
}

type SignSlowliveWsTokenResult

type SignSlowliveWsTokenResult struct {
	Token      string `json:"Token"`
	ExpireAt   int64  `json:"ExpireAt"`
	SlowliveID string `json:"SlowliveID"`
}

type SimpleCertInfo

type SimpleCertInfo struct {
	ChainID   string `json:"ChainID"`
	CertName  string `json:"CertName"`
	Status    string `json:"Status"`
	Domain    string `json:"Domain"`
	CreateAt  int64  `json:"CreateAt"`
	UpdateAt  int64  `json:"UpdateAt"`
	NotBefore int64  `json:"NotBefore"`
	NotAfter  int64  `json:"NotAfter"`
}

type SimpleTemplate

type SimpleTemplate struct {
	TemplateID       string `json:"TemplateID"`
	TemplateName     string `json:"TemplateName"`
	ApplyToALLStream bool   `json:"-"`
	BindTime         string `json:"BindTime"`
	FCDNTemplateName string `json:"FCDNTemplateName,omitempty"`
}

type SipServer

type SipServer struct {
	SipId     string         `json:"SipId"`
	SipDomain string         `json:"SipDomain"`
	SipIp     string         `json:"SipIp"`
	SipPort   map[string]int `json:"SipPort"`
}

type SlowLiveConfig

type SlowLiveConfig struct {
	EnableRolling   bool                    `json:"EnableRolling"`
	RollingInterval int                     `json:"RollingInterval"`
	StreamList      []*SlowLiveStreamConfig `json:"StreamList"`
}

type SlowLiveRequest

type SlowLiveRequest struct {
	PageNumber int
	PageSize   int
}

type SlowLiveResponse

type SlowLiveResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           IDResponse `json:"Result,omitempty"`
}

type SlowLiveStatus

type SlowLiveStatus string

type SlowLiveStreamConfig

type SlowLiveStreamConfig struct {
	StreamID    string `json:"StreamID"`
	EnableAudio bool   `json:"EnableAudio"`
}

type SlowLiveView

type SlowLiveView struct {
	ID                      string          `json:"ID"`
	RelatedSpaces           []string        `json:"RelatedSpaces"`
	Name                    string          `json:"Name"`
	MergingMode             string          `json:"MergingMode"`
	OutputResolution        string          `json:"OutputResolution"`
	OutputFrameRate         int             `json:"OutputFrameRate"`
	OutputEncoding          string          `json:"OutputEncoding"`
	CreateTimestamp         int64           `json:"CreateTimestamp"`
	PreviousClosedTimestamp int64           `json:"PreviousClosedTimestamp"`
	FinishTimestamp         int64           `json:"FinishTimestamp"`
	Status                  SlowLiveStatus  `json:"Status"`
	EnablePushingStream     *bool           `json:"EnablePushingStream"`
	Config                  *SlowLiveConfig `json:"Config"`
	AccountID               string          `json:"AccountID"`
}

type SpaceDomain

type SpaceDomain struct {
	Domain        string           `json:"Domain"`
	Type          string           `json:"Type"`
	Status        string           `json:"Status"`
	CNAME         string           `json:"CNAME"`
	CNAMEStatus   string           `json:"CNAMEStatus"`
	Default       bool             `json:"Default"`
	Https         SpaceDomainHttps `json:"https"`
	CreatedAt     string           `json:"CreatedAt"`
	UpdatedAt     string           `json:"UpdatedAt"`
	TimeFlag      bool             `json:"TimeFlag"`
	MainKey       string           `json:"MainKey"`
	SpareKey      string           `json:"SpareKey"`
	ValidDuration int64            `json:"ValidDuration"`
}

type SpaceDomainHttps

type SpaceDomainHttps struct {
	Enable        bool   `json:"Enable"`
	CertificateID string `json:"CertificateID"`
}

type SpaceGB

type SpaceGB struct {
	Domain       string `json:"-"`
	PullOnDemand bool   `json:"PullOnDemand"`
}

type SpaceRequest

type SpaceRequest struct {
	SpaceID string
}

type SpaceResponse

type SpaceResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           IDResponse `json:"Result,omitempty"`
}

type SpaceResponseV3 added in v1.0.123

type SpaceResponseV3 struct {
	ResponseMetadata base.ResponseMetadata
}

type SpaceTemplate

type SpaceTemplate struct {
	Screenshot SimpleTemplate   `json:"Screenshot"`
	Record     SimpleTemplate   `json:"Record"`
	AI         SimpleTemplate   `json:"AI"`
	Trans      []SimpleTemplate `bson:"Trans"`
}

type SpaceView

type SpaceView struct {
	SpaceName     string                 `json:"SpaceName"`
	Description   string                 `json:"Description"`
	SpaceID       string                 `json:"SpaceID"`
	Region        string                 `json:"Region"`
	AccessType    string                 `json:"AccessType"` //GB/RTMP
	Status        string                 `json:"Status"`
	GB            SpaceGB                `json:"GB"`
	HLSLowLatency bool                   `json:"HLSLowLatency"`
	CreatedAt     string                 `json:"CreatedAt"`
	UpdatedAt     string                 `json:"UpdatedAt"`
	Domains       map[string]SpaceDomain `json:"Domains"`
	SipServer     *SipServer             `json:"SipServer"`
	CallbackURL   *string                `json:"CallbackURL"`
	Template      struct {
		Screenshot SimpleTemplate   `json:"Screenshot"`
		Record     SimpleTemplate   `json:"Record"`
		AI         SimpleTemplate   `json:"AI"`
		Trans      []SimpleTemplate `bson:"Trans"`
	} `bson:"Template"`
}

type Specification

type Specification struct {
	Name  string  `json:"Name"`
	Type  string  `json:"Type"`
	Code  string  `json:"Code"`
	Price float64 `json:"Price"`
}

type StartCruiseTrackRequest added in v1.0.126

type StartCruiseTrackRequest struct {
	DeviceNSID string `json:"DeviceNSID"`
	ChannelID  string `json:"ChannelID"`
	TrackID    uint8  `json:"TrackID"` // 巡航轨迹组编号(1~255)
}

type StartCruiseTrackRequestV3 added in v1.0.126

type StartCruiseTrackRequestV3 struct {
	StreamID string `json:"StreamID"`
	TrackID  uint8  `json:"TrackID"` // 巡航轨迹组编号(1~255)
}

type StartPlaybackRequestV3 added in v1.0.126

type StartPlaybackRequestV3 struct {
	StreamID            string `json:"StreamID"`
	StartTime           int64  `json:"StartTime"`
	EndTime             int64  `json:"EndTime"`
	Version             string `json:"Version"`
	MediaProcess        *Mps   `json:"MediaProcess"`
	DownloadSpeedSingle *int   `json:"DownloadSpeedSingle"` //在本地录像下载的时候时候,不填就以设备维度所设置的速度进行下载
	SchedQuotaKey       string `json:"SchedQuotaKey"`       //调度到哪个集群
}

type StartPlaybackRespV3 added in v1.0.126

type StartPlaybackRespV3 struct {
	PlaybackID string   `json:"PlaybackID"`
	PullUrls   []string `json:"PullUrls"`
	PushUrl    string   `json:"PushUrl"`
}

type StartPlaybackResponseV3 added in v1.0.126

type StartPlaybackResponseV3 struct {
	ResponseMetadata base.ResponseMetadata
	Result           StartPlaybackRespV3 `json:"Result,omitempty"`
}

type StartStreamResp added in v1.0.128

type StartStreamResp struct {
	ID            string
	PullUrls      []string
	TransPullUrls map[string][]string
}

type StartStreamResponse added in v1.0.128

type StartStreamResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           *StartStreamResp `json:"Result"`
}

type StartVoiceTalkRequest

type StartVoiceTalkRequest struct {
	SpaceID    string
	DeviceNSID string
	UseTcp     bool
}

type StartVoiceTalkResp

type StartVoiceTalkResp struct {
	AudioSendUrl string `json:"AudioSendUrl"`
}

type StartVoiceTalkResponse

type StartVoiceTalkResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           StartVoiceTalkResp
}

type StopCruiseTrackRequest added in v1.0.126

type StopCruiseTrackRequest struct {
	DeviceNSID string `json:"DeviceNSID"`
	ChannelID  string `json:"ChannelID"`
}

type StopCruiseTrackRequestV3 added in v1.0.126

type StopCruiseTrackRequestV3 struct {
	StreamID string `json:"StreamID"`
}

type StopVoiceTalkRequest

type StopVoiceTalkRequest struct {
	SpaceID    string
	DeviceNSID string
}

type StopVoiceTalkResponse

type StopVoiceTalkResponse struct {
	ResponseMetadata base.ResponseMetadata
}

type StreamLogsRequest

type StreamLogsRequest struct {
	StartTs    string
	EndTs      string
	StreamID   string
	Order      string
	PageNumber int
	PageSize   int
}

type StreamLogsResponse

type StreamLogsResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           ListStreamRecordsResult `json:"Result,omitempty"`
}

type StreamRecord

type StreamRecord struct {
	RecordID  string `bson:"RecordID"`
	StreamID  string `bson:"StreamID"`
	StartTime int    `bson:"StartTime"`
	EndTime   int    `bson:"EndTime"`
	Duration  int    `bson:"Duration"`
}

type StreamRequest

type StreamRequest struct {
	StreamID             string `json:"StreamID,omitempty"`
	StreamingIndex       int    `json:"StreamingIndex,omitempty"` // 码流类型(可选参数), 0-主码流;1-子码流1;2-子码流2, 以此类推
	Resolution           string `json:"Resolution,omitempty"`     // 国标分辨率参数(可选参数), 1-QCIF(176x144); 2-CIF(320x288); 3-4CIF(704x576); 4-D1(720x576); 5-720p; 6-1080p; 其他:WxH表示
	EnableAudioTranscode bool   `json:"-"`
	IgnoreAudio          bool   `json:"-"`
	FreshExpiredPull     string `json:"-"`
	FreshExpiredPush     string `json:"-"`
}

type StreamResp

type StreamResp struct {
	*StreamView
	Logs LogViews
}

type StreamResponse

type StreamResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           IDResponse `json:"Result,omitempty"`
}

type StreamTemplate

type StreamTemplate struct {
	TemplateName string `json:"-"`
	TemplateID   string `json:"TemplateID"`
}

type StreamView

type StreamView struct {
	AccountID       string              `json:"AccountID,omitempty"`
	SpaceID         string              `json:"SpaceID"`
	SIPID           string              `json:"SIPID"`
	StreamName      string              `json:"StreamName"`
	StreamID        string              `json:"StreamID"`
	SpaceAccessType string              `json:"SpaceAccessType"`
	DeviceID        string              `json:"DeviceID"`
	DeviceNSID      string              `json:"DeviceNSID"`
	ChannelID       string              `json:"ChannelID"`
	Status          string              `json:"Status"`
	Description     string              `json:"Description"`
	Screenshot      StreamTemplate      `json:"Screenshot"`
	Record          StreamTemplate      `json:"Record"`
	AI              StreamTemplate      `json:"AI"`
	CreatedAt       string              `json:"CreatedAt"`
	UpdatedAt       string              `json:"UpdatedAt"`
	PushUrlDDL      int64               `json:"PushUrlDDL,omitempty"`
	PushUrl         string              `json:"PushUrl,omitempty"`
	PullUrls        []string            `json:"PullUrls"`
	TransPullUrls   map[string][]string `json:"TransPullUrls"`
	FailedTimes     int                 `json:"FailedTimes"`
	RecentPushTs    string              `json:"RecentPushTs"`    //最近推流时间
	StreamLogs      LogViews            `json:"StreamLogs"`      //stream日志
	RtpTransportTcp bool                `json:"RtpTransportTcp"` //rtp传输协议是否使用tcp
	DemandLive      bool                `json:"DemandLive"`
	Resolution      string              `json:"Resolution"` // 通道支持的分辨率列表, 分辨率列表由‘/’隔开,国标协议样例: 6/3
}

type StreamingType added in v1.0.106

type StreamingType = string //码流类型

type StructuredView

type StructuredView struct {
	ID               string               `json:"ID"`
	AccountID        string               `json:"AccountID"`
	ViewName         string               `json:"ViewName"`
	ViewType         string               `json:"ViewType"`
	ViewCode         string               `json:"ViewCode"`
	ViewSpaceID      string               `json:"ViewSpaceID"`
	ViewSpaceName    string               `json:"ViewSpaceName"`
	ViewIP           string               `json:"ViewIP"`
	ViewPort         int                  `json:"ViewPort"`
	Protocol         string               `json:"Protocol"`
	Username         string               `json:"Username"`
	Password         string               `json:"Password"`
	Description      string               `json:"Description"`
	Location         string               `json:"Location"`
	AdministrativeID string               `json:"AdministrativeID"`
	CreateTimestamp  int64                `json:"CreateTimestamp"`
	UpdateTimestamp  int64                `json:"UpdateTimestamp"`
	Status           StructuredViewStatus `bson:"Status" json:"Status"`
}

type StructuredViewCascadeJob

type StructuredViewCascadeJob struct {
	ID              string                         `json:"ID"`
	AccountID       string                         `json:"AccountID"`
	JobName         string                         `json:"JobName"`
	ViewSpaceID     string                         `json:"ViewSpaceID"`
	ViewSpaceName   string                         `json:"ViewSpaceName"`
	ViewSpaceCode   string                         `json:"ViewSpaceCode"`
	PlatformID      string                         `json:"PlatformID"`
	PlatformCode    string                         `json:"PlatformCode"`
	PlatformName    string                         `json:"PlatformName"`
	CreateTimestamp int64                          `json:"CreateTimestamp"`
	UpdateTimestamp int64                          `json:"UpdateTimestamp"`
	Status          StructuredViewCascadeJobStatus `json:"Status"`
	Description     string                         `json:"Description"`
}

type StructuredViewCascadeJobStatus

type StructuredViewCascadeJobStatus string

type StructuredViewCascadePlatform

type StructuredViewCascadePlatform struct {
	ID              string                              `json:"ID"`
	AccountID       string                              `json:"AccountID"`
	PlatformName    string                              `json:"PlatformName"`
	PlatformCode    string                              `json:"PlatformCode"`
	PlatformIP      string                              `json:"PlatformIP"`
	PlatformPort    int                                 `json:"PlatformPort"`
	Description     string                              `json:"Description"`
	Username        string                              `json:"Username"`
	Password        string                              `json:"Password"`
	CreateTimestamp int64                               `json:"CreateTimestamp"`
	UpdateTimestamp int64                               `json:"UpdateTimestamp"`
	Status          StructuredViewCascadePlatformStatus `json:"Status"`
}

type StructuredViewCascadePlatformStatus

type StructuredViewCascadePlatformStatus string

type StructuredViewData

type StructuredViewData struct {
	ID           string `json:"ID"`
	ViewDataType string `json:"ViewDataType"`
	Timestamp    int64  `json:"Timestamp"`
	Url          string `json:"Url"`
}

type StructuredViewResponse

type StructuredViewResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           IDResponse `json:"Result,omitempty"`
}

type StructuredViewSpace

type StructuredViewSpace struct {
	ID              string                    `json:"ID"`
	AccountID       string                    `json:"AccountID"`
	SpaceName       string                    `json:"SpaceName"`
	ViewNumber      int64                     `json:"ViewNumber"`
	StoragePeriod   int                       `json:"StoragePeriod"`
	StorageType     string                    `json:"StorageType"`
	Region          string                    `json:"Region"`
	Description     string                    `json:"Description"`
	SpaceCode       string                    `json:"SpaceCode"`
	SpaceIP         string                    `json:"SpaceIP"`
	SpacePort       int                       `json:"SpacePort"`
	CreateTimestamp int64                     `json:"CreateTimestamp"`
	UpdateTimestamp int64                     `json:"UpdateTimestamp"`
	Status          StructuredViewSpaceStatus `json:"Status"`
}

type StructuredViewSpaceStatus

type StructuredViewSpaceStatus string

type StructuredViewStatus

type StructuredViewStatus string

type Subtitle

type Subtitle struct {
	SubtitleList SubtitleList `json:"SubtitleList"`
	SubtitleSrc  string       `json:"SubtitleSrc"`
	Font         Font         `json:"Font"`
}

type SubtitleItem

type SubtitleItem struct {
	Start   int64  `json:"Start"` //millsecond
	End     int64  `json:"End"`   //millsecond
	Content string `json:"Content"`
	Font    *Font  `json:"Font"`
}

type SubtitleList

type SubtitleList []*SubtitleItem

type Template

type Template struct {
	AccountID    string              `json:"-"`
	TemplateID   string              `json:"TemplateID"`
	TemplateName string              `json:"TemplateName"`
	TemplateType string              `json:"TemplateType"`
	Screenshot   *ScreenshotTemplate `json:"Screenshot,omitempty"`
	Record       *RecordTemplate     `json:"Record,omitempty"`
	AI           *AITemplate         `json:"AI,omitempty"`
	Trans        *TransTemplate      `json:"Trans,omitempty"`
	CreatedAt    string              `json:"CreatedAt"`
	UpdatedAt    string              `json:"UpdatedAt"`
	Status       string              `json:"-"`
}

type TemplateBucketConfig

type TemplateBucketConfig struct {
	Region    string `json:"Region"`
	Name      string `json:"Name"`
	Path      string `json:"Path"`
	AccessKey string `json:"AccessKey"`
}

type TemplateRequest

type TemplateRequest struct {
	TemplateID string
}

type TemplateResponse

type TemplateResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           IDResponse `json:"Result,omitempty"`
}

type TemplateTTLConfig

type TemplateTTLConfig struct {
	Days int `json:"Days"`
}

type TransTemplate added in v1.0.106

type TransTemplate struct {
	SuffixName   *string `json:"SuffixName"`
	VideoBitrate *int    `json:"VideoBitrate,omitempty"`
	Vcodec       *string `json:"Vcodec"`
	AudioBitrate *int    `json:"AudioBitrate,omitempty"`
	Acodec       *string `json:"Acodec"`
	FPS          *int    `json:"FPS,omitempty"`
	GOP          *int    `json:"GOP"`
	Width        *int    `json:"Width"`
	Height       *int    `json:"Height"`
	As           *string `json:"As,omitempty"`
	ShortSide    *int    `json:"ShortSide,omitempty"`
	LongSide     *int    `json:"LongSide,omitempty"`
	BFrames      *int    `json:"BFrames,omitempty"`
	Roi          *bool   `json:"Roi"`
}

type TypeItem

type TypeItem struct {
	Name  string
	Extra string
}

type UnbindCertRequest

type UnbindCertRequest struct {
	SpaceID string
	Domain  string `json:"Domain"`
}

type UpdateAccountRequest

type UpdateAccountRequest struct {
	ChargeMode *ChargeMode `json:"ChargeMode"`
}

type UpdateAuthInSpaceRequest

type UpdateAuthInSpaceRequest struct {
	SpaceID       string `json:"SpaceID"`
	Domain        string `json:"Domain"`
	MainKey       string `json:"MainKey"`
	SpareKey      string `json:"SpareKey"`
	ValidDuration int64  `json:"ValidDuration"`
}

type UpdateCascadePlatformRequest

type UpdateCascadePlatformRequest struct {
	PlatformID   string           `json:"PlatformID"`
	PlatformName string           `json:"PlatformName"` // 上级平台名称
	Description  string           `json:"Description"`  // 上级平台描述
	SipConfig    CascadeSipConfig `json:"SipConfig"`
	EnableAccess bool             `json:"EnableAccess"` // 平台授权
	EnablePTZ    bool             `json:"EnablePTZ"`    // PTZ授权
}

type UpdateCascadePlatformResponse

type UpdateCascadePlatformResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           IDResponse `json:"Result,omitempty"`
}

type UpdateCascadeTaskArg

type UpdateCascadeTaskArg struct {
	TaskName string `json:"TaskName"`
}

type UpdateCertRequest

type UpdateCertRequest struct {
	SSLPublic  string `json:"SSLPublic"`
	SSLPrivate string `json:"SSLPrivate"`
	ChainID    string `json:"ChainID"`
	CertName   string `json:"CertName"`
	CertDesc   string `json:"CertDesc"`
}

type UpdateDeviceArg

type UpdateDeviceArg struct {
	DeviceName           *string            `json:"DeviceName"`
	DeviceNSID           *string            `json:"DeviceNSID"`
	Username             *string            `json:"Username"`
	Password             *string            `json:"Password"`
	Description          *string            `json:"Description"`
	AutoPullAfterRegiter *bool              `json:"AutoPullAfterRegiter"`
	AlertNotification    *AlertNotification `json:"AlertNotification"`
	ChannelNum           *int               `json:"-"`
	Status               string             `json:"-"`
	Type                 string             `json:"Type"`
	RtpTransportTcp      *bool              `json:"RtpTransportTcp"` //流传输协议tcp为true,否则默认udp
	Location             *string            `json:"Location"`        //可以修改设备的地址位置和坐标
	Coordinates          *Coordinates       `json:"Coordinates"`
	OnChannelNum         *int               `json:"-"`
	UseSubStream         *bool              `json:"UseSubStream"`
}

type UpdateDeviceRequest

type UpdateDeviceRequest struct {
	DeviceID             string
	DeviceName           *string            `json:"DeviceName"`
	DeviceNSID           *string            `json:"DeviceNSID"`
	Username             *string            `json:"Username"`
	Password             *string            `json:"Password"`
	Description          *string            `json:"Description"`
	AutoPullAfterRegiter *bool              `json:"AutoPullAfterRegiter"`
	AlertNotification    *AlertNotification `json:"AlertNotification"`
	Type                 string             `json:"Type"`
	RtpTransportTcp      *bool              `json:"RtpTransportTcp"` //流传输协议tcp为true,否则默认udp
	Location             *string            `json:"Location"`        //可以修改设备的地址位置和坐标
	Coordinates          *Coordinates       `json:"Coordinates"`
}

type UpdateDomainHTTPSRequest

type UpdateDomainHTTPSRequest struct {
	SpaceID       string
	Domain        string
	Enable        bool   `json:"Enable"`
	CertificateID string `json:"CertificateID"`
}

type UpdateGroupTreeNodeRequest

type UpdateGroupTreeNodeRequest struct {
	ID          string `json:"ID"`
	Name        string `json:"Name"`
	Description string `json:"Description"`
	DeviceID    string `json:"DeviceID"`
}

type UpdateRecordPlanList added in v1.0.106

type UpdateRecordPlanList struct {
	StreamingIndex int                       `json:"StreamingIndex"`
	Resolution     string                    `json:"Resolution"`
	Devices        map[string][]*BindChannel `json:"Devices"`
	Streams        []string                  `json:"Streams"`
}

type UpdateRecordPlanRequest added in v1.0.106

type UpdateRecordPlanRequest struct {
	PlanID       string                `json:"PlanID"`
	PlanName     string                `json:"PlanName"`
	Description  string                `json:"Description"`
	BindTemplate string                `json:"BindTemplate"`
	Status       string                `json:"Status"`
	AddList      *UpdateRecordPlanList `json:"AddList"`
	DelList      *UpdateRecordPlanList `json:"DelList"`
}

type UpdateSlowLiveRequest

type UpdateSlowLiveRequest struct {
	LiveStreamID            string
	ID                      string          `json:"ID"`
	RelatedSpaces           []string        `json:"RelatedSpaces"`
	Name                    string          `json:"Name"`
	MergingMode             string          `json:"MergingMode"`
	OutputResolution        string          `json:"OutputResolution"`
	OutputFrameRate         int             `json:"OutputFrameRate"`
	OutputEncoding          string          `json:"OutputEncoding"`
	CreateTimestamp         int64           `json:"CreateTimestamp"`
	PreviousClosedTimestamp int64           `json:"PreviousClosedTimestamp"`
	FinishTimestamp         int64           `json:"FinishTimestamp"`
	Status                  SlowLiveStatus  `json:"Status"`
	EnablePushingStream     *bool           `json:"EnablePushingStream"`
	Config                  *SlowLiveConfig `json:"Config"`
	AccountID               string          `json:"AccountID"`
}

type UpdateSpaceDomainRequest

type UpdateSpaceDomainRequest struct {
	SpaceID     string
	SpaceDomain string `json:"SpaceDomain"`
	Default     bool   `json:"Default"`
}

type UpdateSpaceDomainResponse

type UpdateSpaceDomainResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           map[string]SpaceDomain `json:"Result,omitempty"`
}

type UpdateSpaceRequest

type UpdateSpaceRequest struct {
	SpaceID       string
	SpaceName     *string `json:"SpaceName"`
	Description   *string `json:"Description"`
	HLSLowLatency *bool   `json:"HLSLowLatency"`
	GB            struct {
		PullOnDemand *bool `json:"PullOnDemand"`
	} `json:"GB"`
	CallbackURL *string `json:"CallbackURL"`
}

type UpdateStreamRequest

type UpdateStreamRequest struct {
	SpaceID        string
	StreamID       string
	StreamName     *string `json:"StreamName"`
	Description    *string `json:"Description"`
	TemplateEnable bool    `json:"template_enable"`
	Screenshot     *struct {
		TemplateName string `json:"TemplateName"`
		TemplateID   string `json:"TemplateID"`
	} `json:"Screenshot"`
	Record *struct {
		TemplateName string `json:"TemplateName"`
		TemplateID   string `json:"TemplateID"`
	} `json:"Record"`
	PushUrl     string `json:"push_url"`
	Status      string `json:"Status"`
	PushUrlDDL  *int64 `json:"PushUrlDDL"`
	IgnoreAudio bool   `json:"IgnoreAudio"`
}

type UpdateStructuredCascadeJobRequest

type UpdateStructuredCascadeJobRequest struct {
	JobID           string
	ID              string                         `json:"ID"`
	AccountID       string                         `json:"AccountID"`
	JobName         string                         `json:"JobName"`
	ViewSpaceID     string                         `json:"ViewSpaceID"`
	ViewSpaceName   string                         `json:"ViewSpaceName"`
	ViewSpaceCode   string                         `json:"ViewSpaceCode"`
	PlatformID      string                         `json:"PlatformID"`
	PlatformCode    string                         `json:"PlatformCode"`
	PlatformName    string                         `json:"PlatformName"`
	CreateTimestamp int64                          `json:"CreateTimestamp"`
	UpdateTimestamp int64                          `json:"UpdateTimestamp"`
	Status          StructuredViewCascadeJobStatus `json:"Status"`
	Description     string                         `json:"Description"`
}

type UpdateStructuredViewCascadePlatformRequest

type UpdateStructuredViewCascadePlatformRequest struct {
	PlatformID      string
	ID              string                              `json:"ID"`
	AccountID       string                              `json:"AccountID"`
	PlatformName    string                              `json:"PlatformName"`
	PlatformCode    string                              `json:"PlatformCode"`
	PlatformIP      string                              `json:"PlatformIP"`
	PlatformPort    int                                 `json:"PlatformPort"`
	Description     string                              `json:"Description"`
	Username        string                              `json:"Username"`
	Password        string                              `json:"Password"`
	CreateTimestamp int64                               `json:"CreateTimestamp"`
	UpdateTimestamp int64                               `json:"UpdateTimestamp"`
	Status          StructuredViewCascadePlatformStatus `json:"Status"`
}

type UpdateStructuredViewRequest

type UpdateStructuredViewRequest struct {
	ViewID           string
	ID               string               ` json:"ID"`
	AccountID        string               ` json:"AccountID"`
	ViewName         string               ` json:"ViewName"`
	ViewType         string               `json:"ViewType"`
	ViewCode         string               ` json:"ViewCode"`
	ViewSpaceID      string               ` json:"ViewSpaceID"`
	ViewSpaceName    string               ` json:"ViewSpaceName"`
	ViewIP           string               `json:"ViewIP"`
	ViewPort         int                  ` json:"ViewPort"`
	Protocol         string               ` json:"Protocol"`
	Username         string               ` json:"Username"`
	Password         string               ` json:"Password"`
	Description      string               ` json:"Description"`
	Location         string               ` json:"Location"`
	AdministrativeID string               ` json:"AdministrativeID"`
	CreateTimestamp  int64                ` json:"CreateTimestamp"`
	UpdateTimestamp  int64                ` json:"UpdateTimestamp"`
	Status           StructuredViewStatus ` json:"Status"`
}

type UpdateStructuredViewSpaceRequest

type UpdateStructuredViewSpaceRequest struct {
	SpaceID         string
	ID              string                    `json:"ID"`
	AccountID       string                    `json:"AccountID"`
	SpaceName       string                    `json:"SpaceName"`
	ViewNumber      int64                     `json:"ViewNumber"`
	StoragePeriod   int                       `json:"StoragePeriod"`
	StorageType     string                    `json:"StorageType"`
	Region          string                    `json:"Region"`
	Description     string                    `json:"Description"`
	SpaceCode       string                    `json:"SpaceCode"`
	SpaceIP         string                    `json:"SpaceIP"`
	SpacePort       int                       `json:"SpacePort"`
	CreateTimestamp int64                     `json:"CreateTimestamp"`
	UpdateTimestamp int64                     `json:"UpdateTimestamp"`
	Status          StructuredViewSpaceStatus `json:"Status"`
}

type UpdateTemplateRequest

type UpdateTemplateRequest struct {
	TemplateID   string
	TemplateName *string             `json:"TemplateName"`
	Screenshot   *ScreenshotTemplate `json:"Screenshot"`
	Record       *RecordTemplate     `json:"Record"`
	AI           *AITemplate         `json:"AI"`
	Trans        *TransTemplate      `json:"Trans"`
	Enable       *bool               `json:"enable"`
}

type UploadCertRequest

type UploadCertRequest struct {
	CertName   string `json:"CertName"`
	CertDesc   string `json:"CertDesc"`
	SSLPublic  string `json:"SSLPublic"`
	SSLPrivate string `json:"SSLPrivate"`
}

type UploadCertResponse

type UploadCertResponse struct {
	ResponseMetadata base.ResponseMetadata
	Result           map[string]string `json:"Result,omitempty"`
}

type VehicleRecord

type VehicleRecord struct {
	ObjectID       int          `json:"ObjectID,omitempty"`   // 识别ObjectID
	Plate          string       `json:"Plate,omitempty"`      // 车牌
	Brand          string       `json:"Brand,omitempty"`      // 品牌
	Type           string       `json:"Type,omitempty"`       // 车辆类型
	Color          string       `json:"Color,omitempty"`      // 车颜色
	Status         string       `json:"Status,omitempty"`     // 车损状态
	RectParams     *RectParams  `json:"RectParams,omitempty"` // 车辆坐标
	Score          float32      `json:"Score,omitempty"`      // 打分
	CarParseRecord *ParseRecord `json:"ParseRecord,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL