model

package
v0.0.24-beta Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 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 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 *HistoryStreamInfoVideoCodec `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 HistoryStreamInfoVideoCodec

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

func (HistoryStreamInfoVideoCodec) MarshalJSON

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

func (*HistoryStreamInfoVideoCodec) UnmarshalJSON

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

type HistoryStreamInfoVideoCodecEnum

type HistoryStreamInfoVideoCodecEnum struct {
	H264 HistoryStreamInfoVideoCodec
	H265 HistoryStreamInfoVideoCodec
}

func GetHistoryStreamInfoVideoCodecEnum

func GetHistoryStreamInfoVideoCodecEnum() HistoryStreamInfoVideoCodecEnum

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 ListBandwidthDetailRequest

type ListBandwidthDetailRequest struct {
	PlayDomains []string                            `json:"play_domains"`
	App         *string                             `json:"app,omitempty"`
	Stream      *string                             `json:"stream,omitempty"`
	Region      *[]string                           `json:"region,omitempty"`
	Isp         *[]string                           `json:"isp,omitempty"`
	Interval    *ListBandwidthDetailRequestInterval `json:"interval,omitempty"`
	StartTime   *string                             `json:"start_time,omitempty"`
	EndTime     *string                             `json:"end_time,omitempty"`
}

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

type ListBandwidthDetailResponse

type ListBandwidthDetailResponse struct {
	// 采样数据列表
	DataList       *[]V2BandwidthData `json:"data_list,omitempty"`
	XRequestId     *string            `json:"X-request-id,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListBandwidthDetailResponse) String

type ListDomainBandwidthPeakRequest

type ListDomainBandwidthPeakRequest struct {
	PlayDomains []string  `json:"play_domains"`
	App         *string   `json:"app,omitempty"`
	Stream      *string   `json:"stream,omitempty"`
	Region      *[]string `json:"region,omitempty"`
	Isp         *[]string `json:"isp,omitempty"`
	StartTime   *string   `json:"start_time,omitempty"`
	EndTime     *string   `json:"end_time,omitempty"`
}

Request Object

func (ListDomainBandwidthPeakRequest) String

type ListDomainBandwidthPeakResponse

type ListDomainBandwidthPeakResponse struct {
	// 域名对应的带宽峰值列表。
	BandwidthList  *[]PeakBandwidthData `json:"bandwidth_list,omitempty"`
	XRequestId     *string              `json:"X-request-id,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListDomainBandwidthPeakResponse) String

type ListDomainTrafficDetailRequest

type ListDomainTrafficDetailRequest struct {
	PlayDomains []string  `json:"play_domains"`
	App         *string   `json:"app,omitempty"`
	Stream      *string   `json:"stream,omitempty"`
	Region      *[]string `json:"region,omitempty"`
	Isp         *[]string `json:"isp,omitempty"`
	Interval    *int32    `json:"interval,omitempty"`
	StartTime   *string   `json:"start_time,omitempty"`
	EndTime     *string   `json:"end_time,omitempty"`
}

Request Object

func (ListDomainTrafficDetailRequest) String

type ListDomainTrafficDetailResponse

type ListDomainTrafficDetailResponse struct {
	// 采样数据列表。
	DataList       *[]TrafficData `json:"data_list,omitempty"`
	XRequestId     *string        `json:"X-request-id,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListDomainTrafficDetailResponse) String

type ListDomainTrafficSummaryRequest

type ListDomainTrafficSummaryRequest struct {
	PlayDomains []string  `json:"play_domains"`
	App         *string   `json:"app,omitempty"`
	Stream      *string   `json:"stream,omitempty"`
	Region      *[]string `json:"region,omitempty"`
	Isp         *[]string `json:"isp,omitempty"`
	StartTime   *string   `json:"start_time,omitempty"`
	EndTime     *string   `json:"end_time,omitempty"`
}

Request Object

func (ListDomainTrafficSummaryRequest) String

type ListDomainTrafficSummaryResponse

type ListDomainTrafficSummaryResponse struct {
	// 域名对应的流量汇总列表。
	TrafficList    *[]TrafficSummaryData `json:"traffic_list,omitempty"`
	XRequestId     *string               `json:"X-request-id,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (ListDomainTrafficSummaryResponse) String

type ListHistoryStreamsRequest

type ListHistoryStreamsRequest struct {
	Domain string  `json:"domain"`
	App    *string `json:"app,omitempty"`
	Offset *int32  `json:"offset,omitempty"`
	Limit  *int32  `json:"limit,omitempty"`
}

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:"-"`
}

Response Object

func (ListHistoryStreamsResponse) String

type ListQueryHttpCodeRequest

type ListQueryHttpCodeRequest struct {
	PlayDomains []string  `json:"play_domains"`
	Code        *[]string `json:"code,omitempty"`
	Region      *[]string `json:"region,omitempty"`
	Isp         *[]string `json:"isp,omitempty"`
	StartTime   *string   `json:"start_time,omitempty"`
	EndTime     *string   `json:"end_time,omitempty"`
}

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:"-"`
}

Response Object

func (ListQueryHttpCodeResponse) String

func (o ListQueryHttpCodeResponse) String() string

type ListRecordDataRequest

type ListRecordDataRequest struct {
	StartTime *string `json:"start_time,omitempty"`
	EndTime   *string `json:"end_time,omitempty"`
}

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:"-"`
}

Response Object

func (ListRecordDataResponse) String

func (o ListRecordDataResponse) String() string

type ListSingleStreamBitrateRequest

type ListSingleStreamBitrateRequest struct {
	Domain    string  `json:"domain"`
	App       string  `json:"app"`
	Stream    string  `json:"stream"`
	StartTime *string `json:"start_time,omitempty"`
	EndTime   *string `json:"end_time,omitempty"`
}

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:"-"`
}

Response Object

func (ListSingleStreamBitrateResponse) String

type ListSingleStreamFramerateRequest

type ListSingleStreamFramerateRequest struct {
	Domain    string  `json:"domain"`
	App       string  `json:"app"`
	Stream    string  `json:"stream"`
	StartTime *string `json:"start_time,omitempty"`
	EndTime   *string `json:"end_time,omitempty"`
}

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:"-"`
}

Response Object

func (ListSingleStreamFramerateResponse) String

type ListSnapshotDataRequest

type ListSnapshotDataRequest struct {
	PublishDomain *string `json:"publish_domain,omitempty"`
	StartTime     *string `json:"start_time,omitempty"`
	EndTime       *string `json:"end_time,omitempty"`
}

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:"-"`
}

Response Object

func (ListSnapshotDataResponse) String

func (o ListSnapshotDataResponse) String() string

type ListTranscodeDataRequest

type ListTranscodeDataRequest struct {
	PublishDomain *string `json:"publish_domain,omitempty"`
	StartTime     *string `json:"start_time,omitempty"`
	EndTime       *string `json:"end_time,omitempty"`
}

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:"-"`
}

Response Object

func (ListTranscodeDataResponse) String

func (o ListTranscodeDataResponse) String() string

type ListUsersOfStreamRequest

type ListUsersOfStreamRequest struct {
	PlayDomain string                            `json:"play_domain"`
	App        *string                           `json:"app,omitempty"`
	Stream     *string                           `json:"stream,omitempty"`
	Isp        *[]string                         `json:"isp,omitempty"`
	Region     *[]string                         `json:"region,omitempty"`
	Interval   *ListUsersOfStreamRequestInterval `json:"interval,omitempty"`
	StartTime  *string                           `json:"start_time,omitempty"`
	EndTime    *string                           `json:"end_time,omitempty"`
}

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

type ListUsersOfStreamRequestIntervalEnum

type ListUsersOfStreamRequestIntervalEnum struct {
	E_60  ListUsersOfStreamRequestInterval
	E_300 ListUsersOfStreamRequestInterval
}

func GetListUsersOfStreamRequestIntervalEnum

func GetListUsersOfStreamRequestIntervalEnum() ListUsersOfStreamRequestIntervalEnum

type ListUsersOfStreamResponse

type ListUsersOfStreamResponse struct {
	// 域名对应的流量汇总列表。
	DataList       *[]V2UserData `json:"data_list,omitempty"`
	XRequestId     *string       `json:"X-request-id,omitempty"`
	HttpStatusCode int           `json:"-"`
}

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 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 {
	PublishDomains []string `json:"publish_domains"`
	StartTime      *string  `json:"start_time,omitempty"`
	EndTime        *string  `json:"end_time,omitempty"`
}

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:"-"`
}

Response Object

func (ShowStreamCountResponse) String

func (o ShowStreamCountResponse) String() string

type ShowUpBandwidthRequest

type ShowUpBandwidthRequest struct {
	PublishDomains []string                        `json:"publish_domains"`
	App            *string                         `json:"app,omitempty"`
	Stream         *string                         `json:"stream,omitempty"`
	Region         *[]string                       `json:"region,omitempty"`
	Isp            *[]string                       `json:"isp,omitempty"`
	Interval       *ShowUpBandwidthRequestInterval `json:"interval,omitempty"`
	StartTime      *string                         `json:"start_time,omitempty"`
	EndTime        *string                         `json:"end_time,omitempty"`
}

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

type ShowUpBandwidthRequestIntervalEnum

type ShowUpBandwidthRequestIntervalEnum struct {
	E_300   ShowUpBandwidthRequestInterval
	E_3600  ShowUpBandwidthRequestInterval
	E_86400 ShowUpBandwidthRequestInterval
}

func GetShowUpBandwidthRequestIntervalEnum

func GetShowUpBandwidthRequestIntervalEnum() ShowUpBandwidthRequestIntervalEnum

type ShowUpBandwidthResponse

type ShowUpBandwidthResponse struct {
	// 采样数据列表
	DataList       *[]V2BandwidthData `json:"data_list,omitempty"`
	XRequestId     *string            `json:"X-request-id,omitempty"`
	HttpStatusCode int                `json:"-"`
}

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 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 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"`
	// 数据
	DataList *[]int64 `json:"data_list,omitempty"`
}

实时码率

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"`
	// 帧率信息列表。
	DataList *[]int64 `json:"data_list,omitempty"`
}

实时帧率

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