|
@@ -1,3 +1,5 @@
|
|
|
|
|
+package rtc
|
|
|
|
|
+
|
|
|
//Licensed under the Apache License, Version 2.0 (the "License");
|
|
//Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
//you may not use this file except in compliance with the License.
|
|
//you may not use this file except in compliance with the License.
|
|
|
//You may obtain a copy of the License at
|
|
//You may obtain a copy of the License at
|
|
@@ -13,8 +15,6 @@
|
|
|
// Code generated by Alibaba Cloud SDK Code Generator.
|
|
// Code generated by Alibaba Cloud SDK Code Generator.
|
|
|
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
|
|
|
|
|
|
-package rtc
|
|
|
|
|
-
|
|
|
|
|
import (
|
|
import (
|
|
|
"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
|
|
"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
|
|
|
"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
|
|
"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
|
|
@@ -76,64 +76,21 @@ func (client *Client) DescribeStatisWithCallback(request *DescribeStatisRequest,
|
|
|
// DescribeStatisRequest is the request struct for api DescribeStatis
|
|
// DescribeStatisRequest is the request struct for api DescribeStatis
|
|
|
type DescribeStatisRequest struct {
|
|
type DescribeStatisRequest struct {
|
|
|
*requests.RpcRequest
|
|
*requests.RpcRequest
|
|
|
- OwnerId requests.Integer `position:"Query" name:"OwnerId"`
|
|
|
|
|
- AppId string `position:"Query" name:"AppId"`
|
|
|
|
|
- StartTime string `position:"Query" name:"StartTime"`
|
|
|
|
|
- EndTime string `position:"Query" name:"EndTime"`
|
|
|
|
|
SortType string `position:"Query" name:"SortType"`
|
|
SortType string `position:"Query" name:"SortType"`
|
|
|
|
|
+ StartTime string `position:"Query" name:"StartTime"`
|
|
|
|
|
+ DataType string `position:"Query" name:"DataType"`
|
|
|
ServiceArea string `position:"Query" name:"ServiceArea"`
|
|
ServiceArea string `position:"Query" name:"ServiceArea"`
|
|
|
|
|
+ EndTime string `position:"Query" name:"EndTime"`
|
|
|
|
|
+ OwnerId requests.Integer `position:"Query" name:"OwnerId"`
|
|
|
|
|
+ AppId string `position:"Query" name:"AppId"`
|
|
|
Interval string `position:"Query" name:"Interval"`
|
|
Interval string `position:"Query" name:"Interval"`
|
|
|
- DataType string `position:"Query" name:"DataType"`
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// DescribeStatisResponse is the response struct for api DescribeStatis
|
|
// DescribeStatisResponse is the response struct for api DescribeStatis
|
|
|
type DescribeStatisResponse struct {
|
|
type DescribeStatisResponse struct {
|
|
|
*responses.BaseResponse
|
|
*responses.BaseResponse
|
|
|
- RequestId string `json:"RequestId" xml:"RequestId"`
|
|
|
|
|
- StatisInfos DescribeStatisStatisInfos0 `json:"StatisInfos" xml:"StatisInfos"`
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-type DescribeStatisStatisInfos0 struct {
|
|
|
|
|
- StatisInfo []DescribeStatisStatisInfo1 `json:"StatisInfo" xml:"StatisInfo"`
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-type DescribeStatisStatisInfo1 struct {
|
|
|
|
|
- Time string `json:"Time" xml:"Time"`
|
|
|
|
|
- Duration DescribeStatisDuration1 `json:"Duration" xml:"Duration"`
|
|
|
|
|
- UserStatis DescribeStatisUserStatis1 `json:"UserStatis" xml:"UserStatis"`
|
|
|
|
|
- ChannelStatis DescribeStatisChannelStatis1 `json:"ChannelStatis" xml:"ChannelStatis"`
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-type DescribeStatisDuration1 struct {
|
|
|
|
|
- Duration []DescribeStatisDuration2 `json:"Duration" xml:"Duration"`
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-type DescribeStatisDuration2 struct {
|
|
|
|
|
- TotalDuration float32 `json:"TotalDuration" xml:"TotalDuration"`
|
|
|
|
|
- AudioDuration float32 `json:"AudioDuration" xml:"AudioDuration"`
|
|
|
|
|
- SdDuration float32 `json:"SdDuration" xml:"SdDuration"`
|
|
|
|
|
- HdDuration float32 `json:"HdDuration" xml:"HdDuration"`
|
|
|
|
|
- FhdDuration float32 `json:"FhdDuration" xml:"FhdDuration"`
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-type DescribeStatisUserStatis1 struct {
|
|
|
|
|
- UserStatis []DescribeStatisUserStatis2 `json:"UserStatis" xml:"UserStatis"`
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-type DescribeStatisUserStatis2 struct {
|
|
|
|
|
- ActiveUserCnt int64 `json:"ActiveUserCnt" xml:"ActiveUserCnt"`
|
|
|
|
|
- ConSessionPeak int64 `json:"ConSessionPeak" xml:"ConSessionPeak"`
|
|
|
|
|
- ConSessionPeakTime string `json:"ConSessionPeakTime" xml:"ConSessionPeakTime"`
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-type DescribeStatisChannelStatis1 struct {
|
|
|
|
|
- ChannelStatis []DescribeStatisChannelStatis2 `json:"ChannelStatis" xml:"ChannelStatis"`
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-type DescribeStatisChannelStatis2 struct {
|
|
|
|
|
- AccChannelCnt int64 `json:"AccChannelCnt" xml:"AccChannelCnt"`
|
|
|
|
|
- ConChannelPeak int64 `json:"ConChannelPeak" xml:"ConChannelPeak"`
|
|
|
|
|
- ConChannelPeakTime string `json:"ConChannelPeakTime" xml:"ConChannelPeakTime"`
|
|
|
|
|
|
|
+ RequestId string `json:"RequestId" xml:"RequestId"`
|
|
|
|
|
+ StatisInfos StatisInfos `json:"StatisInfos" xml:"StatisInfos"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// CreateDescribeStatisRequest creates a request to invoke DescribeStatis API
|
|
// CreateDescribeStatisRequest creates a request to invoke DescribeStatis API
|