model

package
v0.1.111 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AreaDetail added in v0.0.77

type AreaDetail struct {

	// 各个计费大区名称,例如CN
	Area string `json:"area"`

	// 时间戳及相应时间的指标数值
	Summary []TimeValue `json:"summary"`

	// 各个大区下的具体省份、区域、国家的时间戳及相应时间的指标数值
	Detail []AreaTimeValue `json:"detail"`
}

func (AreaDetail) String added in v0.0.77

func (o AreaDetail) String() string

type AreaTimeValue added in v0.0.77

type AreaTimeValue struct {

	// 各个大区下的具体省份、区域、国家的名称。  中国内地返回结果为省份/直辖市的中文名称,比如:广东、上海; 海外大区下的地区/国家对应关系请参考[地区/国家代码对照表](live_03_0049.xml)。
	Name string `json:"name"`

	// 当前时间返回指定指标的值
	Data []TimeValue `json:"data"`
}

func (AreaTimeValue) String added in v0.0.77

func (o AreaTimeValue) String() string

type HistoryStreamInfo

type HistoryStreamInfo struct {

	// 推流域名。  - type为0表主播推流域名。  - type为1表示第三方推流域名
	Domain *string `json:"domain,omitempty"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 推流类型,取值如下:  - 0:表示主播推流  - 1:表示第三方推流
	Type *int32 `json:"type,omitempty"`

	// 视频编码格式。
	VideoCodec *string `json:"video_codec,omitempty"`

	// 音频编码格式。
	AudioCodec *string `json:"audio_codec,omitempty"`

	// 主播ip。
	ClientIp *string `json:"client_ip,omitempty"`

	// 采样开始时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	StartTime *string `json:"start_time,omitempty"`

	// 采样结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	EndTime *string `json:"end_time,omitempty"`
}

func (HistoryStreamInfo) String

func (o HistoryStreamInfo) String() string

type HttpCode

type HttpCode struct {

	// 状态码
	Code *int32 `json:"code,omitempty"`

	// 状态码出现次数
	Count *int32 `json:"count,omitempty"`

	// 状态码在对应时间点中的占比,保留4位小数。
	Proportion *float64 `json:"proportion,omitempty"`
}

func (HttpCode) String

func (o HttpCode) String() string

type HttpCodeSummary

type HttpCodeSummary struct {

	// 状态码信息
	HttpCodes *[]HttpCode `json:"http_codes,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ 。
	Time *string `json:"time,omitempty"`
}

func (HttpCodeSummary) String

func (o HttpCodeSummary) String() string

type ListAreaDetailRequest added in v0.0.77

type ListAreaDetailRequest struct {

	// 查询起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期90天。
	StartTime string `json:"start_time"`

	// 查询结束时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期90天。
	EndTime string `json:"end_time"`

	// 需查询的播放域名列表,最多支持查询100个域名。
	PlayDomains *[]string `json:"play_domains,omitempty"`

	// 需查询的app。
	App *string `json:"app,omitempty"`

	// 流名称。
	Stream *string `json:"stream,omitempty"`

	// 查询数据的时间粒度。支持300(默认值)、3600和86400秒。若参数为空,则默认为300秒。  注意,若metric的值为player(观众数),则interval填入的值不起效果,查询粒度interval默认为60秒。
	Interval *ListAreaDetailRequestInterval `json:"interval,omitempty"`

	// 运营商列表,取值如下: - CMCC:移动 - CTCC:电信 - CUCC:联通 - OTHER:其他  若参数为空,则查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 需查询的计费大区,取值如下: - CN:中国内地。 - AP1:亚太1区。 - AP2:亚太2区。 - AP3:亚太3区。 - MEAA:中东非洲。 - SA:南美。 - EU:欧洲。 - ALL:全部。  中国内地返回结果为省份/直辖市的中文名称,比如:广东、上海; 海外大区与地区/国家的对应关系请参考[地区/国家代码对照表](live_03_0049.xml)。
	Area []string `json:"area"`

	// 指标,取值如下: - bandwidth:带宽 - traffic:流量 - player:观众数
	Metric string `json:"metric"`

	// 请求协议,取值如下: - flv - hls
	Protocol *string `json:"protocol,omitempty"`
}

ListAreaDetailRequest Request Object

func (ListAreaDetailRequest) String added in v0.0.77

func (o ListAreaDetailRequest) String() string

type ListAreaDetailRequestInterval added in v0.0.77

type ListAreaDetailRequestInterval struct {
	// contains filtered or unexported fields
}

func (ListAreaDetailRequestInterval) MarshalJSON added in v0.0.77

func (c ListAreaDetailRequestInterval) MarshalJSON() ([]byte, error)

func (*ListAreaDetailRequestInterval) UnmarshalJSON added in v0.0.77

func (c *ListAreaDetailRequestInterval) UnmarshalJSON(b []byte) error

func (ListAreaDetailRequestInterval) Value added in v0.0.90

type ListAreaDetailRequestIntervalEnum added in v0.0.77

type ListAreaDetailRequestIntervalEnum struct {
	E_300   ListAreaDetailRequestInterval
	E_3600  ListAreaDetailRequestInterval
	E_86400 ListAreaDetailRequestInterval
}

func GetListAreaDetailRequestIntervalEnum added in v0.0.77

func GetListAreaDetailRequestIntervalEnum() ListAreaDetailRequestIntervalEnum

type ListAreaDetailResponse added in v0.0.77

type ListAreaDetailResponse struct {

	// 时间戳及相应时间的指标数值
	DataList *[]AreaDetail `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListAreaDetailResponse Response Object

func (ListAreaDetailResponse) String added in v0.0.77

func (o ListAreaDetailResponse) String() string

type ListBandwidthDetailRequest

type ListBandwidthDetailRequest struct {

	// 播放域名列表,最多支持查询100个域名,多个域名以逗号分隔。  如果不传入域名,则查询租户下所有播放域名的带宽数据。
	PlayDomains *[]string `json:"play_domains,omitempty"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 国家列表。具体取值请参考[国家名称缩写](vod_08_0172.xml),不填写查询所有国家。
	Country *[]string `json:"country,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC :电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 请求协议
	Protocol *ListBandwidthDetailRequestProtocol `json:"protocol,omitempty"`

	// 查询数据的时间粒度。支持300(默认值), 3600和86400秒。不传值时,使用默认值300秒。
	Interval *ListBandwidthDetailRequestInterval `json:"interval,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期一年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`

	// 服务类型: - Live:直播 - LLL:超低时延直播 - ALL:默认所有直播
	ServiceType *ListBandwidthDetailRequestServiceType `json:"service_type,omitempty"`
}

ListBandwidthDetailRequest Request Object

func (ListBandwidthDetailRequest) String

type ListBandwidthDetailRequestInterval

type ListBandwidthDetailRequestInterval struct {
	// contains filtered or unexported fields
}

func (ListBandwidthDetailRequestInterval) MarshalJSON

func (c ListBandwidthDetailRequestInterval) MarshalJSON() ([]byte, error)

func (*ListBandwidthDetailRequestInterval) UnmarshalJSON

func (c *ListBandwidthDetailRequestInterval) UnmarshalJSON(b []byte) error

func (ListBandwidthDetailRequestInterval) Value added in v0.0.90

type ListBandwidthDetailRequestProtocol added in v0.0.68

type ListBandwidthDetailRequestProtocol struct {
	// contains filtered or unexported fields
}

func (ListBandwidthDetailRequestProtocol) MarshalJSON added in v0.0.68

func (c ListBandwidthDetailRequestProtocol) MarshalJSON() ([]byte, error)

func (*ListBandwidthDetailRequestProtocol) UnmarshalJSON added in v0.0.68

func (c *ListBandwidthDetailRequestProtocol) UnmarshalJSON(b []byte) error

func (ListBandwidthDetailRequestProtocol) Value added in v0.0.90

type ListBandwidthDetailRequestProtocolEnum added in v0.0.68

type ListBandwidthDetailRequestProtocolEnum struct {
	FLV ListBandwidthDetailRequestProtocol
	HLS ListBandwidthDetailRequestProtocol
}

func GetListBandwidthDetailRequestProtocolEnum added in v0.0.68

func GetListBandwidthDetailRequestProtocolEnum() ListBandwidthDetailRequestProtocolEnum

type ListBandwidthDetailRequestServiceType added in v0.1.21

type ListBandwidthDetailRequestServiceType struct {
	// contains filtered or unexported fields
}

func (ListBandwidthDetailRequestServiceType) MarshalJSON added in v0.1.21

func (c ListBandwidthDetailRequestServiceType) MarshalJSON() ([]byte, error)

func (*ListBandwidthDetailRequestServiceType) UnmarshalJSON added in v0.1.21

func (c *ListBandwidthDetailRequestServiceType) UnmarshalJSON(b []byte) error

func (ListBandwidthDetailRequestServiceType) Value added in v0.1.21

type ListBandwidthDetailRequestServiceTypeEnum added in v0.1.21

type ListBandwidthDetailRequestServiceTypeEnum struct {
	LIVE ListBandwidthDetailRequestServiceType
	LLL  ListBandwidthDetailRequestServiceType
	ALL  ListBandwidthDetailRequestServiceType
}

func GetListBandwidthDetailRequestServiceTypeEnum added in v0.1.21

func GetListBandwidthDetailRequestServiceTypeEnum() ListBandwidthDetailRequestServiceTypeEnum

type ListBandwidthDetailResponse

type ListBandwidthDetailResponse struct {

	// 采样数据列表
	DataList *[]V2BandwidthData `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListBandwidthDetailResponse Response Object

func (ListBandwidthDetailResponse) String

type ListDomainBandwidthPeakRequest

type ListDomainBandwidthPeakRequest struct {

	// 播放域名列表,最多支持查询100个域名,多个域名以逗号分隔。  如果不传入域名,则查询租户下所有播放域名的带宽峰值。
	PlayDomains *[]string `json:"play_domains,omitempty"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 请求协议
	Protocol *ListDomainBandwidthPeakRequestProtocol `json:"protocol,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期一年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`

	// 服务类型: - Live:直播 - LLL:超低时延直播 - ALL: 默认所有直播
	ServiceType *ListDomainBandwidthPeakRequestServiceType `json:"service_type,omitempty"`
}

ListDomainBandwidthPeakRequest Request Object

func (ListDomainBandwidthPeakRequest) String

type ListDomainBandwidthPeakRequestProtocol added in v0.0.68

type ListDomainBandwidthPeakRequestProtocol struct {
	// contains filtered or unexported fields
}

func (ListDomainBandwidthPeakRequestProtocol) MarshalJSON added in v0.0.68

func (c ListDomainBandwidthPeakRequestProtocol) MarshalJSON() ([]byte, error)

func (*ListDomainBandwidthPeakRequestProtocol) UnmarshalJSON added in v0.0.68

func (c *ListDomainBandwidthPeakRequestProtocol) UnmarshalJSON(b []byte) error

func (ListDomainBandwidthPeakRequestProtocol) Value added in v0.0.90

type ListDomainBandwidthPeakRequestProtocolEnum added in v0.0.68

type ListDomainBandwidthPeakRequestProtocolEnum struct {
	FLV ListDomainBandwidthPeakRequestProtocol
	HLS ListDomainBandwidthPeakRequestProtocol
}

func GetListDomainBandwidthPeakRequestProtocolEnum added in v0.0.68

func GetListDomainBandwidthPeakRequestProtocolEnum() ListDomainBandwidthPeakRequestProtocolEnum

type ListDomainBandwidthPeakRequestServiceType added in v0.1.21

type ListDomainBandwidthPeakRequestServiceType struct {
	// contains filtered or unexported fields
}

func (ListDomainBandwidthPeakRequestServiceType) MarshalJSON added in v0.1.21

func (*ListDomainBandwidthPeakRequestServiceType) UnmarshalJSON added in v0.1.21

func (ListDomainBandwidthPeakRequestServiceType) Value added in v0.1.21

type ListDomainBandwidthPeakRequestServiceTypeEnum added in v0.1.21

func GetListDomainBandwidthPeakRequestServiceTypeEnum added in v0.1.21

func GetListDomainBandwidthPeakRequestServiceTypeEnum() ListDomainBandwidthPeakRequestServiceTypeEnum

type ListDomainBandwidthPeakResponse

type ListDomainBandwidthPeakResponse struct {

	// 域名对应的带宽峰值列表。
	BandwidthList *[]PeakBandwidthData `json:"bandwidth_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListDomainBandwidthPeakResponse Response Object

func (ListDomainBandwidthPeakResponse) String

type ListDomainTrafficDetailRequest

type ListDomainTrafficDetailRequest struct {

	// 播放域名列表,最多支持查询100个域名,多个域名以逗号分隔。  如果不传入域名,则查询租户下所有播放域名的流量数据。
	PlayDomains *[]string `json:"play_domains,omitempty"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 请求协议
	Protocol *ListDomainTrafficDetailRequestProtocol `json:"protocol,omitempty"`

	// 查询数据的时间粒度。支持300(默认值), 3600和86400秒。不传值时,使用默认值300秒。
	Interval *int32 `json:"interval,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期一年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`

	// 服务类型: - Live:直播 - LLL:超低时延直播 - ALL: 默认所有直播
	ServiceType *ListDomainTrafficDetailRequestServiceType `json:"service_type,omitempty"`
}

ListDomainTrafficDetailRequest Request Object

func (ListDomainTrafficDetailRequest) String

type ListDomainTrafficDetailRequestProtocol added in v0.0.68

type ListDomainTrafficDetailRequestProtocol struct {
	// contains filtered or unexported fields
}

func (ListDomainTrafficDetailRequestProtocol) MarshalJSON added in v0.0.68

func (c ListDomainTrafficDetailRequestProtocol) MarshalJSON() ([]byte, error)

func (*ListDomainTrafficDetailRequestProtocol) UnmarshalJSON added in v0.0.68

func (c *ListDomainTrafficDetailRequestProtocol) UnmarshalJSON(b []byte) error

func (ListDomainTrafficDetailRequestProtocol) Value added in v0.0.90

type ListDomainTrafficDetailRequestProtocolEnum added in v0.0.68

type ListDomainTrafficDetailRequestProtocolEnum struct {
	FLV ListDomainTrafficDetailRequestProtocol
	HLS ListDomainTrafficDetailRequestProtocol
}

func GetListDomainTrafficDetailRequestProtocolEnum added in v0.0.68

func GetListDomainTrafficDetailRequestProtocolEnum() ListDomainTrafficDetailRequestProtocolEnum

type ListDomainTrafficDetailRequestServiceType added in v0.1.21

type ListDomainTrafficDetailRequestServiceType struct {
	// contains filtered or unexported fields
}

func (ListDomainTrafficDetailRequestServiceType) MarshalJSON added in v0.1.21

func (*ListDomainTrafficDetailRequestServiceType) UnmarshalJSON added in v0.1.21

func (ListDomainTrafficDetailRequestServiceType) Value added in v0.1.21

type ListDomainTrafficDetailRequestServiceTypeEnum added in v0.1.21

func GetListDomainTrafficDetailRequestServiceTypeEnum added in v0.1.21

func GetListDomainTrafficDetailRequestServiceTypeEnum() ListDomainTrafficDetailRequestServiceTypeEnum

type ListDomainTrafficDetailResponse

type ListDomainTrafficDetailResponse struct {

	// 采样数据列表。
	DataList *[]TrafficData `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListDomainTrafficDetailResponse Response Object

func (ListDomainTrafficDetailResponse) String

type ListDomainTrafficSummaryRequest

type ListDomainTrafficSummaryRequest struct {

	// 播放域名列表,最多支持查询100个域名,多个域名以逗号分隔。  如果不传入域名,则查询租户下所有播放域名的流量汇总量。
	PlayDomains *[]string `json:"play_domains,omitempty"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表。取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 请求协议
	Protocol *ListDomainTrafficSummaryRequestProtocol `json:"protocol,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期一年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`

	// 服务类型: - Live:直播 - LLL:超低时延直播 - ALL: 默认所有直播
	ServiceType *ListDomainTrafficSummaryRequestServiceType `json:"service_type,omitempty"`
}

ListDomainTrafficSummaryRequest Request Object

func (ListDomainTrafficSummaryRequest) String

type ListDomainTrafficSummaryRequestProtocol added in v0.0.68

type ListDomainTrafficSummaryRequestProtocol struct {
	// contains filtered or unexported fields
}

func (ListDomainTrafficSummaryRequestProtocol) MarshalJSON added in v0.0.68

func (c ListDomainTrafficSummaryRequestProtocol) MarshalJSON() ([]byte, error)

func (*ListDomainTrafficSummaryRequestProtocol) UnmarshalJSON added in v0.0.68

func (c *ListDomainTrafficSummaryRequestProtocol) UnmarshalJSON(b []byte) error

func (ListDomainTrafficSummaryRequestProtocol) Value added in v0.0.90

type ListDomainTrafficSummaryRequestProtocolEnum added in v0.0.68

type ListDomainTrafficSummaryRequestProtocolEnum struct {
	FLV ListDomainTrafficSummaryRequestProtocol
	HLS ListDomainTrafficSummaryRequestProtocol
}

func GetListDomainTrafficSummaryRequestProtocolEnum added in v0.0.68

func GetListDomainTrafficSummaryRequestProtocolEnum() ListDomainTrafficSummaryRequestProtocolEnum

type ListDomainTrafficSummaryRequestServiceType added in v0.1.21

type ListDomainTrafficSummaryRequestServiceType struct {
	// contains filtered or unexported fields
}

func (ListDomainTrafficSummaryRequestServiceType) MarshalJSON added in v0.1.21

func (*ListDomainTrafficSummaryRequestServiceType) UnmarshalJSON added in v0.1.21

func (ListDomainTrafficSummaryRequestServiceType) Value added in v0.1.21

type ListDomainTrafficSummaryRequestServiceTypeEnum added in v0.1.21

func GetListDomainTrafficSummaryRequestServiceTypeEnum added in v0.1.21

func GetListDomainTrafficSummaryRequestServiceTypeEnum() ListDomainTrafficSummaryRequestServiceTypeEnum

type ListDomainTrafficSummaryResponse

type ListDomainTrafficSummaryResponse struct {

	// 域名对应的流量汇总列表。
	TrafficList *[]TrafficSummaryData `json:"traffic_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListDomainTrafficSummaryResponse Response Object

func (ListDomainTrafficSummaryResponse) String

type ListHistoryStreamsRequest

type ListHistoryStreamsRequest struct {

	// 推流域名。
	Domain string `json:"domain"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名称。
	Stream *string `json:"stream,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天。  若参数为空,默认查询1天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间,最大查询跨度1天。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`

	// 分页编号,默认为0
	Offset *int32 `json:"offset,omitempty"`

	// 每页记录数。  取值范围:[1,100]  默认值:10。
	Limit *int32 `json:"limit,omitempty"`
}

ListHistoryStreamsRequest Request Object

func (ListHistoryStreamsRequest) String

func (o ListHistoryStreamsRequest) String() string

type ListHistoryStreamsResponse

type ListHistoryStreamsResponse struct {

	// 历史流信息列表。
	HistoryStreamList *[]HistoryStreamInfo `json:"history_stream_list,omitempty"`

	// 总记录数。
	Total *int32 `json:"total,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListHistoryStreamsResponse Response Object

func (ListHistoryStreamsResponse) String

type ListPlayDomainStreamInfoRequest added in v0.1.106

type ListPlayDomainStreamInfoRequest struct {

	// 播放域名列表,最多支持查询10个域名,多个域名以逗号分隔。  如果不传入域名,则查询租户下所有播放域名的流数据。
	PlayDomains *[]string `json:"play_domains,omitempty"`

	// 查询数据的时间点,精确到分钟。  日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ,最大查询周期七天。  时间必须为时间粒度整时刻点,如:2024-02-02T08:01:00Z。
	Time string `json:"time"`
}

ListPlayDomainStreamInfoRequest Request Object

func (ListPlayDomainStreamInfoRequest) String added in v0.1.106

type ListPlayDomainStreamInfoResponse added in v0.1.106

type ListPlayDomainStreamInfoResponse struct {

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	Time *string `json:"time,omitempty"`

	// 采样数据列表
	DataList *[]PlayDomainStreamInfo `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListPlayDomainStreamInfoResponse Response Object

func (ListPlayDomainStreamInfoResponse) String added in v0.1.106

type ListQueryHttpCodeRequest

type ListQueryHttpCodeRequest struct {

	// 播放域名列表,最多支持查询100个域名,多个域名以逗号分隔。
	PlayDomains []string `json:"play_domains"`

	// 状态码。
	Code *[]string `json:"code,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。若参数为空,默认查询最近1小时数据。  最大查询跨度1天,最大查询周期7天。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。  最大查询跨度1天,最大查询周期7天。
	EndTime *string `json:"end_time,omitempty"`
}

ListQueryHttpCodeRequest Request Object

func (ListQueryHttpCodeRequest) String

func (o ListQueryHttpCodeRequest) String() string

type ListQueryHttpCodeResponse

type ListQueryHttpCodeResponse struct {

	// 基于时间轴的状态码
	DataSeries *[]HttpCodeSummary `json:"data_series,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListQueryHttpCodeResponse Response Object

func (ListQueryHttpCodeResponse) String

func (o ListQueryHttpCodeResponse) String() string

type ListRecordDataRequest

type ListRecordDataRequest struct {

	// 推流域名。
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若start_time为2020-08-18T07:20:40Z,则实际查询起始时间为2020-08-18T07:00:00Z。  若start_time为空,则默认查询最近24小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若end_time为2020-08-18T08:20:40Z,则实际查询起始时间为2020-08-18T08:00:00Z。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

ListRecordDataRequest Request Object

func (ListRecordDataRequest) String

func (o ListRecordDataRequest) String() string

type ListRecordDataResponse

type ListRecordDataResponse struct {

	// 采样数据列表。
	RecordDataList *[]RecordData `json:"record_data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListRecordDataResponse Response Object

func (ListRecordDataResponse) String

func (o ListRecordDataResponse) String() string

type ListSingleStreamBitrateRequest

type ListSingleStreamBitrateRequest struct {

	// 推流域名。
	Domain string `json:"domain"`

	// App名。
	App string `json:"app"`

	// 流名。
	Stream string `json:"stream"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期1个月。  若参数为空,默认查询最近1小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

ListSingleStreamBitrateRequest Request Object

func (ListSingleStreamBitrateRequest) String

type ListSingleStreamBitrateResponse

type ListSingleStreamBitrateResponse struct {

	// 用量详情。
	BitrateInfoList *[]V2BitrateInfo `json:"bitrate_info_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListSingleStreamBitrateResponse Response Object

func (ListSingleStreamBitrateResponse) String

type ListSingleStreamDetailRequest added in v0.0.78

type ListSingleStreamDetailRequest struct {

	// 推流域名。
	PublishDomain string `json:"publish_domain"`

	// 应用名。
	App string `json:"app"`

	// 流名。
	Stream string `json:"stream"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期1个月。  若参数为空,默认查询最近1小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期1个月。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

ListSingleStreamDetailRequest Request Object

func (ListSingleStreamDetailRequest) String added in v0.0.78

type ListSingleStreamDetailResponse added in v0.0.78

type ListSingleStreamDetailResponse struct {

	// 推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名
	App *string `json:"app,omitempty"`

	// 流名
	Stream *string `json:"stream,omitempty"`

	// 展示流视频帧率情况,帧率单位为fps。  如果出现断流则会出现多个时间段流信息,如: “` \"video_framerate\": [     {       \"start_time\": \"2022-02-04T07:00:00Z\",       \"end_time\": \"2022-02-04T07:00:02Z\",       \"data_list\": [         21,         22       ]     },     {       \"start_time\": \"2022-02-04T07:00:05Z\",       \"end_time\": \"2022-02-04T07:00:07Z\",       \"data_list\": [         13,         34,         21       ]     }   ]
	VideoFramerate *[]StreamDetail `json:"video_framerate,omitempty"`

	// 展示流视频码率情况,码率单位为Kbps。  如果出现断流则会出现多个时间段流信息,如: “` \"video_bitrate\": [     {       \"start_time\": \"2022-02-04T07:00:00Z\",       \"end_time\": \"2022-02-04T07:00:02Z\",       \"data_list\": [         1326,         1268,         775       ]     },     {       \"start_time\": \"2022-02-04T07:00:05Z\",       \"end_time\": \"2022-02-04T07:00:07Z\",       \"data_list\": [         1021,         2022       ]     }   ]
	VideoBitrate *[]StreamDetail `json:"video_bitrate,omitempty"`

	// 展示流音频帧率情况,帧率单位为fps。  如果出现断流则会出现多个时间段流信息,如: “` \"audio_framerate\": [     {       \"start_time\": \"2022-02-04T07:00:00Z\",       \"end_time\": \"2022-02-04T07:00:02Z\",       \"data_list\": [         10,         17       ]     },     {       \"start_time\": \"2022-02-04T07:00:05Z\",       \"end_time\": \"2022-02-04T07:00:06Z\",       \"data_list\": [         31,         33       ]     }   ]
	AudioFramerate *[]StreamDetail `json:"audio_framerate,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListSingleStreamDetailResponse Response Object

func (ListSingleStreamDetailResponse) String added in v0.0.78

type ListSingleStreamFramerateRequest

type ListSingleStreamFramerateRequest struct {

	// 推流域名。
	Domain string `json:"domain"`

	// App名。
	App string `json:"app"`

	// 流名。
	Stream string `json:"stream"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期1个月。  若参数为空,默认查询最近1小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

ListSingleStreamFramerateRequest Request Object

func (ListSingleStreamFramerateRequest) String

type ListSingleStreamFramerateResponse

type ListSingleStreamFramerateResponse struct {

	// 用量详情。
	FramerateInfoList *[]V2FramerateInfo `json:"framerate_info_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListSingleStreamFramerateResponse Response Object

func (ListSingleStreamFramerateResponse) String

type ListSnapshotDataRequest

type ListSnapshotDataRequest struct {

	// 推流域名。
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若start_time为2020-08-18T07:20:40Z,则实际查询起始时间为2020-08-18T07:00:00Z。  若start_time为空,则默认查询最近24小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若end_time为2020-08-18T08:20:40Z,则实际查询起始时间为2020-08-18T08:00:00Z。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

ListSnapshotDataRequest Request Object

func (ListSnapshotDataRequest) String

func (o ListSnapshotDataRequest) String() string

type ListSnapshotDataResponse

type ListSnapshotDataResponse struct {

	// 采样数据列表。
	SnapshotList *[]SnapshotData `json:"snapshot_list,omitempty"`

	// 指定时间区间内截图数量总和。
	Total *int64 `json:"total,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListSnapshotDataResponse Response Object

func (ListSnapshotDataResponse) String

func (o ListSnapshotDataResponse) String() string

type ListTranscodeDataRequest

type ListTranscodeDataRequest struct {

	// 推流域名。
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若start_time为2020-08-18T07:20:40Z,则实际查询起始时间为2020-08-18T07:00:00Z。  若start_time为空,则默认查询最近24小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  非整点时间按小时取整,若end_time为2020-08-18T08:20:40Z,则实际查询起始时间为2020-08-18T08:00:00Z。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

ListTranscodeDataRequest Request Object

func (ListTranscodeDataRequest) String

func (o ListTranscodeDataRequest) String() string

type ListTranscodeDataResponse

type ListTranscodeDataResponse struct {

	// 采样数据列表。
	TranscodeDataList *[]TranscodeData `json:"transcode_data_list,omitempty"`

	// 指定时间区间内各转码规格转码时长总和。
	SummaryList *[]TranscodeSummary `json:"summary_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListTranscodeDataResponse Response Object

func (ListTranscodeDataResponse) String

func (o ListTranscodeDataResponse) String() string

type ListUpStreamDetailRequest added in v0.1.21

type ListUpStreamDetailRequest struct {

	// 推流域名。
	PublishDomain string `json:"publish_domain"`

	// 应用名。
	App string `json:"app"`

	// 流名。
	Stream string `json:"stream"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期1个月。  若参数为空,默认查询最近1小时数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度1天,最大查询周期1个月。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

ListUpStreamDetailRequest Request Object

func (ListUpStreamDetailRequest) String added in v0.1.21

func (o ListUpStreamDetailRequest) String() string

type ListUpStreamDetailResponse added in v0.1.21

type ListUpStreamDetailResponse struct {

	// 推流域名
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名
	App *string `json:"app,omitempty"`

	// 流名
	Stream *string `json:"stream,omitempty"`

	// 推流质量数据
	Data *[]UpStreamDetail `json:"data,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListUpStreamDetailResponse Response Object

func (ListUpStreamDetailResponse) String added in v0.1.21

type ListUsersOfStreamRequest

type ListUsersOfStreamRequest struct {

	// 播放域名。
	PlayDomain string `json:"play_domain"`

	// app名。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 国家列表。具体取值请参考[国家名称缩写](vod_08_0172.xml),不填写查询所有国家。
	Country *[]string `json:"country,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 请求协议
	Protocol *ListUsersOfStreamRequestProtocol `json:"protocol,omitempty"`

	// 查询数据的时间粒度,支持60(默认值), 300秒。不传值时,使用默认值60秒。
	Interval *ListUsersOfStreamRequestInterval `json:"interval,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期一年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`

	// 服务类型: - Live:直播 - LLL:超低时延直播 - ALL: 默认所有直播
	ServiceType *ListUsersOfStreamRequestServiceType `json:"service_type,omitempty"`
}

ListUsersOfStreamRequest Request Object

func (ListUsersOfStreamRequest) String

func (o ListUsersOfStreamRequest) String() string

type ListUsersOfStreamRequestInterval

type ListUsersOfStreamRequestInterval struct {
	// contains filtered or unexported fields
}

func (ListUsersOfStreamRequestInterval) MarshalJSON

func (c ListUsersOfStreamRequestInterval) MarshalJSON() ([]byte, error)

func (*ListUsersOfStreamRequestInterval) UnmarshalJSON

func (c *ListUsersOfStreamRequestInterval) UnmarshalJSON(b []byte) error

func (ListUsersOfStreamRequestInterval) Value added in v0.0.90

type ListUsersOfStreamRequestIntervalEnum

type ListUsersOfStreamRequestIntervalEnum struct {
	E_60  ListUsersOfStreamRequestInterval
	E_300 ListUsersOfStreamRequestInterval
}

func GetListUsersOfStreamRequestIntervalEnum

func GetListUsersOfStreamRequestIntervalEnum() ListUsersOfStreamRequestIntervalEnum

type ListUsersOfStreamRequestProtocol added in v0.0.68

type ListUsersOfStreamRequestProtocol struct {
	// contains filtered or unexported fields
}

func (ListUsersOfStreamRequestProtocol) MarshalJSON added in v0.0.68

func (c ListUsersOfStreamRequestProtocol) MarshalJSON() ([]byte, error)

func (*ListUsersOfStreamRequestProtocol) UnmarshalJSON added in v0.0.68

func (c *ListUsersOfStreamRequestProtocol) UnmarshalJSON(b []byte) error

func (ListUsersOfStreamRequestProtocol) Value added in v0.0.90

type ListUsersOfStreamRequestProtocolEnum added in v0.0.68

type ListUsersOfStreamRequestProtocolEnum struct {
	FLV ListUsersOfStreamRequestProtocol
	HLS ListUsersOfStreamRequestProtocol
}

func GetListUsersOfStreamRequestProtocolEnum added in v0.0.68

func GetListUsersOfStreamRequestProtocolEnum() ListUsersOfStreamRequestProtocolEnum

type ListUsersOfStreamRequestServiceType added in v0.1.21

type ListUsersOfStreamRequestServiceType struct {
	// contains filtered or unexported fields
}

func (ListUsersOfStreamRequestServiceType) MarshalJSON added in v0.1.21

func (c ListUsersOfStreamRequestServiceType) MarshalJSON() ([]byte, error)

func (*ListUsersOfStreamRequestServiceType) UnmarshalJSON added in v0.1.21

func (c *ListUsersOfStreamRequestServiceType) UnmarshalJSON(b []byte) error

func (ListUsersOfStreamRequestServiceType) Value added in v0.1.21

type ListUsersOfStreamRequestServiceTypeEnum added in v0.1.21

type ListUsersOfStreamRequestServiceTypeEnum struct {
	LIVE ListUsersOfStreamRequestServiceType
	LLL  ListUsersOfStreamRequestServiceType
	ALL  ListUsersOfStreamRequestServiceType
}

func GetListUsersOfStreamRequestServiceTypeEnum added in v0.1.21

func GetListUsersOfStreamRequestServiceTypeEnum() ListUsersOfStreamRequestServiceTypeEnum

type ListUsersOfStreamResponse

type ListUsersOfStreamResponse struct {

	// 观众趋势列表。
	DataList *[]V2UserData `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListUsersOfStreamResponse Response Object

func (ListUsersOfStreamResponse) String

func (o ListUsersOfStreamResponse) String() string

type PeakBandwidthData

type PeakBandwidthData struct {

	// 带宽峰值,单位为bps。
	Value *int64 `json:"value,omitempty"`

	// 播放域名。
	Domain *string `json:"domain,omitempty"`
}

func (PeakBandwidthData) String

func (o PeakBandwidthData) String() string

type PlayDomainStreamInfo added in v0.1.106

type PlayDomainStreamInfo struct {

	// 播放域名
	PlayDomain *string `json:"play_domain,omitempty"`

	// 播放流名
	Stream *string `json:"stream,omitempty"`

	// 播放的协议,支持flv,hls,rtmp。
	Protocol *string `json:"protocol,omitempty"`

	// 1分钟粒度的带宽值,单位为bps。
	Bandwidth *int64 `json:"bandwidth,omitempty"`

	// 1分钟粒度的在线人数。
	Online *int64 `json:"online,omitempty"`
}

func (PlayDomainStreamInfo) String added in v0.1.106

func (o PlayDomainStreamInfo) String() string

type RecordData

type RecordData struct {

	// 最大并发路数。
	ConcurrentCount *int32 `json:"concurrent_count,omitempty"`

	// 采样时间,每小时内最大并发路数时间点。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ 。
	Time *string `json:"time,omitempty"`
}

func (RecordData) String

func (o RecordData) String() string

type ShowStreamCountRequest

type ShowStreamCountRequest struct {

	// 推流域名列表,最多支持查询100个域名,多个域名以逗号分隔,若查询多个域名,则返回的是多个域名合并数据。
	PublishDomains []string `json:"publish_domains"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。最大查询跨度31天,最大查询周期1年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间,最大查询跨度31天, 最大查询跨度31天,最大查询周期1年。
	EndTime *string `json:"end_time,omitempty"`
}

ShowStreamCountRequest Request Object

func (ShowStreamCountRequest) String

func (o ShowStreamCountRequest) String() string

type ShowStreamCountResponse

type ShowStreamCountResponse struct {

	// 采样数据列表。
	DataList *[]StreamCountData `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowStreamCountResponse Response Object

func (ShowStreamCountResponse) String

func (o ShowStreamCountResponse) String() string

type ShowStreamPortraitRequest

type ShowStreamPortraitRequest struct {

	// 播放域名。
	PlayDomain string `json:"play_domain"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 统计日期,日期格式按照ISO8601表示法,格式:YYYYMMDD,如20200904。可以查询过去31天的数据(不含当天)。
	Time string `json:"time"`
}

ShowStreamPortraitRequest Request Object

func (ShowStreamPortraitRequest) String

func (o ShowStreamPortraitRequest) String() string

type ShowStreamPortraitResponse

type ShowStreamPortraitResponse struct {

	// 播放画像信息列表。
	StreamPortraits *[]StreamPortrait `json:"stream_portraits,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowStreamPortraitResponse Response Object

func (ShowStreamPortraitResponse) String

type ShowUpBandwidthRequest

type ShowUpBandwidthRequest struct {

	// 推流域名列表,最多支持查询100个域名,多个域名以逗号分隔,若查询多个域名,则返回的是多个域名合并数据。
	PublishDomains []string `json:"publish_domains"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 区域列表。具体取值请参考[省份名称缩写](live_03_0043.xml),不填写查询所有区域。
	Region *[]string `json:"region,omitempty"`

	// 运营商列表,取值如下: - CMCC :移动 - CTCC : 电信 - CUCC :联通 - OTHER :其他  不填写查询所有运营商。
	Isp *[]string `json:"isp,omitempty"`

	// 查询数据的时间粒度。支持300(默认值),3600和86400秒。不传值时,使用默认值300秒。
	Interval *ShowUpBandwidthRequestInterval `json:"interval,omitempty"`

	// 类型: - RELAY:转推 不填默认查询推流
	Type *ShowUpBandwidthRequestType `json:"type,omitempty"`

	// 起始时间。日期格式按照ISO8601表示法,并使用UTC时间。  格式为:YYYY-MM-DDThh:mm:ssZ。 最大查询跨度31天,最大查询周期1年。  若参数为空,默认查询7天数据。
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。  若参数为空,默认为当前时间,最大查询跨度31天,最大查询周期1年。结束时间需大于起始时间。
	EndTime *string `json:"end_time,omitempty"`
}

ShowUpBandwidthRequest Request Object

func (ShowUpBandwidthRequest) String

func (o ShowUpBandwidthRequest) String() string

type ShowUpBandwidthRequestInterval

type ShowUpBandwidthRequestInterval struct {
	// contains filtered or unexported fields
}

func (ShowUpBandwidthRequestInterval) MarshalJSON

func (c ShowUpBandwidthRequestInterval) MarshalJSON() ([]byte, error)

func (*ShowUpBandwidthRequestInterval) UnmarshalJSON

func (c *ShowUpBandwidthRequestInterval) UnmarshalJSON(b []byte) error

func (ShowUpBandwidthRequestInterval) Value added in v0.0.90

type ShowUpBandwidthRequestIntervalEnum

type ShowUpBandwidthRequestIntervalEnum struct {
	E_300   ShowUpBandwidthRequestInterval
	E_3600  ShowUpBandwidthRequestInterval
	E_86400 ShowUpBandwidthRequestInterval
}

func GetShowUpBandwidthRequestIntervalEnum

func GetShowUpBandwidthRequestIntervalEnum() ShowUpBandwidthRequestIntervalEnum

type ShowUpBandwidthRequestType added in v0.1.21

type ShowUpBandwidthRequestType struct {
	// contains filtered or unexported fields
}

func (ShowUpBandwidthRequestType) MarshalJSON added in v0.1.21

func (c ShowUpBandwidthRequestType) MarshalJSON() ([]byte, error)

func (*ShowUpBandwidthRequestType) UnmarshalJSON added in v0.1.21

func (c *ShowUpBandwidthRequestType) UnmarshalJSON(b []byte) error

func (ShowUpBandwidthRequestType) Value added in v0.1.21

type ShowUpBandwidthRequestTypeEnum added in v0.1.21

type ShowUpBandwidthRequestTypeEnum struct {
	RELAY ShowUpBandwidthRequestType
}

func GetShowUpBandwidthRequestTypeEnum added in v0.1.21

func GetShowUpBandwidthRequestTypeEnum() ShowUpBandwidthRequestTypeEnum

type ShowUpBandwidthResponse

type ShowUpBandwidthResponse struct {

	// 采样数据列表
	DataList *[]V2BandwidthData `json:"data_list,omitempty"`

	XRequestId     *string `json:"X-Request-Id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowUpBandwidthResponse Response Object

func (ShowUpBandwidthResponse) String

func (o ShowUpBandwidthResponse) String() string

type SnapshotData

type SnapshotData struct {

	// 每小时内截图总数,单位为张。
	Count *int64 `json:"count,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ 。
	Time *string `json:"time,omitempty"`
}

func (SnapshotData) String

func (o SnapshotData) String() string

type StreamCountData

type StreamCountData struct {

	// 采样时间点的推流路数。
	Value *int32 `json:"value,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	Time *string `json:"time,omitempty"`
}

func (StreamCountData) String

func (o StreamCountData) String() string

type StreamDetail added in v0.0.78

type StreamDetail struct {

	// 采样开始时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	StartTime string `json:"start_time"`

	// 采样结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	EndTime string `json:"end_time"`

	// 流监控数据列表。
	DataList []int64 `json:"data_list"`
}

func (StreamDetail) String added in v0.0.78

func (o StreamDetail) String() string

type StreamPortrait

type StreamPortrait struct {

	// 统计日期,日期格式按照ISO8601表示法,格式:YYYYMMDD,如20200904。统计该统计日期00:00-23:59时段的播放画像信息。
	Time *string `json:"time,omitempty"`

	// 累计流量,单位为byte。
	Flow *int64 `json:"flow,omitempty"`

	// 累计播放时长,单位为秒。
	PlayDuration *int64 `json:"play_duration,omitempty"`

	// 累计请求次数。
	RequestCount *int64 `json:"request_count,omitempty"`

	// 累计观看人数,根据IP去重。
	UserCount *int64 `json:"user_count,omitempty"`

	// 峰值观看人数,flv/rtmp协议是统计Session会话ID,其它协议统计IP,1分钟的采样数据。
	PeakUserCount *int64 `json:"peak_user_count,omitempty"`

	// 峰值带宽,单位bps,5分钟的采样数据。
	PeakBandwidth *int64 `json:"peak_bandwidth,omitempty"`

	// 累计直播(推流)时长,单位为秒。
	PushDuration *int64 `json:"push_duration,omitempty"`
}

func (StreamPortrait) String

func (o StreamPortrait) String() string

type TimeValue added in v0.0.77

type TimeValue struct {

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。格式为YYYY-MM-DDThh:mm:ssZ
	Time *string `json:"time,omitempty"`

	// 当前时间返回指定指标的值
	Value *int64 `json:"value,omitempty"`
}

func (TimeValue) String added in v0.0.77

func (o TimeValue) String() string

type TrafficData

type TrafficData struct {

	// 采样值,单位为byte。
	Value *int64 `json:"value,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	Time *string `json:"time,omitempty"`
}

func (TrafficData) String

func (o TrafficData) String() string

type TrafficSummaryData

type TrafficSummaryData struct {

	// 流量,单位为byte。
	Value *int64 `json:"value,omitempty"`

	// 域名。
	Domain *string `json:"domain,omitempty"`
}

func (TrafficSummaryData) String

func (o TrafficSummaryData) String() string

type TranscodeData

type TranscodeData struct {

	// 每个采样时间中的转码时长信息。
	SpecList *[]TranscodeSpec `json:"spec_list,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ 。
	Time *string `json:"time,omitempty"`
}

func (TranscodeData) String

func (o TranscodeData) String() string

type TranscodeSpec

type TranscodeSpec struct {

	// 转码规格,格式是“编码格式_分辨率档位”(未开启高清低码)和“编码格式_PVC_分辨率档位”(开启高清低码)。  其中编码格式包括H264、H265,分辨率档位包括:  4K(3840 x 2160)及以下,2K(2560 x 1440)及以下,FHD(1920 x 1080)及以下,HD(1280 x 720)及以下,SD(640 x 480)及以下。
	Type *string `json:"type,omitempty"`

	// 采样时间点转码时长,单位为分钟,保留两位小数。
	Value *float64 `json:"value,omitempty"`
}

func (TranscodeSpec) String

func (o TranscodeSpec) String() string

type TranscodeSummary

type TranscodeSummary struct {

	// 转码规格,格式是“编码格式_分辨率档位”(未开启高清低码)和“编码格式_PVC_分辨率档位”(开启高清低码)。  其中编码格式包括H264、H265,分辨率档位包括:  4K(3840 x 2160)及以下,2K(2560 x 1440)及以下,FHD(1920 x 1080)及以下,HD(1280 x 720)及以下,SD(640 x 480)及以下。
	Type *string `json:"type,omitempty"`

	// 总转码时长,单位为分钟,保留两位小数。
	Value *float64 `json:"value,omitempty"`
}

func (TranscodeSummary) String

func (o TranscodeSummary) String() string

type UpStreamDetail added in v0.1.21

type UpStreamDetail struct {

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	Time *string `json:"time,omitempty"`

	// 帧率,单位为fps
	Fps *int64 `json:"fps,omitempty"`

	// 码率,单位为Kbps
	Rate *int64 `json:"rate,omitempty"`

	// 时延 单位ms
	Delay *int64 `json:"delay,omitempty"`

	// 最近一次gop的时长 单位ms
	GopDuration *int64 `json:"gop_duration,omitempty"`

	// 视频DTS 单位ms
	LastVideoPts *int64 `json:"last_video_pts,omitempty"`

	// 音频DTS 单位ms
	LastAudioPts *int64 `json:"last_audio_pts,omitempty"`

	// 音视频DTS差值 单位ms
	LastVideoAudioPtsDiff *int64 `json:"last_video_audio_pts_diff,omitempty"`
}

func (UpStreamDetail) String added in v0.1.21

func (o UpStreamDetail) String() string

type V2BandwidthData

type V2BandwidthData struct {

	// 带宽值,单位为bps。
	Value *int64 `json:"value,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	Time *string `json:"time,omitempty"`
}

func (V2BandwidthData) String

func (o V2BandwidthData) String() string

type V2BitrateInfo

type V2BitrateInfo struct {

	// 域名。
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 采样开始时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	StartTime *string `json:"start_time,omitempty"`

	// 采样结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	EndTime *string `json:"end_time,omitempty"`

	// 码率信息列表,单位为Kbps。
	DataList *[]int64 `json:"data_list,omitempty"`
}

V2BitrateInfo 实时码率

func (V2BitrateInfo) String

func (o V2BitrateInfo) String() string

type V2FramerateInfo

type V2FramerateInfo struct {

	// 推流域名。
	PublishDomain *string `json:"publish_domain,omitempty"`

	// 应用名称。
	App *string `json:"app,omitempty"`

	// 流名。
	Stream *string `json:"stream,omitempty"`

	// 采样开始时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	StartTime *string `json:"start_time,omitempty"`

	// 采样结束时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	EndTime *string `json:"end_time,omitempty"`

	// 帧率信息列表,单位为fps。
	DataList *[]int64 `json:"data_list,omitempty"`
}

V2FramerateInfo 实时帧率

func (V2FramerateInfo) String

func (o V2FramerateInfo) String() string

type V2UserData

type V2UserData struct {

	// 采样点观众数。
	Value *int64 `json:"value,omitempty"`

	// 采样时间。日期格式按照ISO8601表示法,并使用UTC时间。 格式为:YYYY-MM-DDThh:mm:ssZ。
	Time *string `json:"time,omitempty"`
}

func (V2UserData) String

func (o V2UserData) String() string

Source Files

Jump to

Keyboard shortcuts

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