Browse Source

由温仰发起的CDN SDK自动发布, BUILD_ID=465, 版本号:1.2.4

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 years ago
parent
commit
17d4faa3ad

+ 3 - 0
ChangeLog.txt

@@ -1,6 +1,9 @@
 2018-03-15 Version: 1.2.4
 1, Synchronize to the latest api list
 
+2018-03-15 Version: 1.2.4
+1, Synchronize to the latest api list
+
 2018-03-15 Version: 1.2.4
 1, Add QueryCustomerSaleInfo API.
 

+ 3 - 3
services/cdn/struct_data.go

@@ -17,10 +17,10 @@ package cdn
 
 // Data is a nested struct in cdn response
 type Data struct {
-	More5s string `json:"More5s" xml:"More5s"`
-	Status int    `json:"Status" xml:"Status"`
-	Cname  string `json:"Cname" xml:"Cname"`
 	Domain string `json:"Domain" xml:"Domain"`
+	Cname  string `json:"Cname" xml:"Cname"`
 	Time   string `json:"Time" xml:"Time"`
+	Status int    `json:"Status" xml:"Status"`
 	More3s string `json:"More3s" xml:"More3s"`
+	More5s string `json:"More5s" xml:"More5s"`
 }

+ 15 - 15
services/cdn/struct_data_module.go

@@ -17,25 +17,25 @@ package cdn
 
 // DataModule is a nested struct in cdn response
 type DataModule struct {
-	AccDomesticValue     string  `json:"AccDomesticValue" xml:"AccDomesticValue"`
+	OverseasValue        string  `json:"OverseasValue" xml:"OverseasValue"`
+	DynamicValue         string  `json:"DynamicValue" xml:"DynamicValue"`
+	Timestamp            string  `json:"Timestamp" xml:"Timestamp"`
+	DomainName           string  `json:"DomainName" xml:"DomainName"`
 	L2Value              string  `json:"L2Value" xml:"L2Value"`
-	OverseasL2Value      string  `json:"OverseasL2Value" xml:"OverseasL2Value"`
+	StaticOverseasValue  string  `json:"StaticOverseasValue" xml:"StaticOverseasValue"`
 	DynamicOverseasValue string  `json:"DynamicOverseasValue" xml:"DynamicOverseasValue"`
-	L1OutBps             float64 `json:"L1OutBps" xml:"L1OutBps"`
-	StaticValue          string  `json:"StaticValue" xml:"StaticValue"`
-	TimeStamp            string  `json:"TimeStamp" xml:"TimeStamp"`
-	Value                string  `json:"Value" xml:"Value"`
-	Timestamp            string  `json:"Timestamp" xml:"Timestamp"`
 	L1InnerBps           float64 `json:"L1InnerBps" xml:"L1InnerBps"`
-	StaticOverseasValue  string  `json:"StaticOverseasValue" xml:"StaticOverseasValue"`
-	DynamicValue         string  `json:"DynamicValue" xml:"DynamicValue"`
-	AccValue             string  `json:"AccValue" xml:"AccValue"`
-	AccOverseasValue     string  `json:"AccOverseasValue" xml:"AccOverseasValue"`
-	DomesticL2Value      string  `json:"DomesticL2Value" xml:"DomesticL2Value"`
 	L1Bps                float64 `json:"L1Bps" xml:"L1Bps"`
 	DomesticValue        string  `json:"DomesticValue" xml:"DomesticValue"`
-	OverseasValue        string  `json:"OverseasValue" xml:"OverseasValue"`
-	StaticDomesticValue  string  `json:"StaticDomesticValue" xml:"StaticDomesticValue"`
+	AccValue             string  `json:"AccValue" xml:"AccValue"`
+	Value                string  `json:"Value" xml:"Value"`
+	AccDomesticValue     string  `json:"AccDomesticValue" xml:"AccDomesticValue"`
+	StaticValue          string  `json:"StaticValue" xml:"StaticValue"`
+	TimeStamp            string  `json:"TimeStamp" xml:"TimeStamp"`
 	DynamicDomesticValue string  `json:"DynamicDomesticValue" xml:"DynamicDomesticValue"`
-	DomainName           string  `json:"DomainName" xml:"DomainName"`
+	StaticDomesticValue  string  `json:"StaticDomesticValue" xml:"StaticDomesticValue"`
+	L1OutBps             float64 `json:"L1OutBps" xml:"L1OutBps"`
+	DomesticL2Value      string  `json:"DomesticL2Value" xml:"DomesticL2Value"`
+	AccOverseasValue     string  `json:"AccOverseasValue" xml:"AccOverseasValue"`
+	OverseasL2Value      string  `json:"OverseasL2Value" xml:"OverseasL2Value"`
 }

+ 1 - 1
services/cdn/struct_domain_bps_model.go

@@ -17,6 +17,6 @@ package cdn
 
 // DomainBpsModel is a nested struct in cdn response
 type DomainBpsModel struct {
-	Bps  float64 `json:"Bps" xml:"Bps"`
 	Time string  `json:"Time" xml:"Time"`
+	Bps  float64 `json:"Bps" xml:"Bps"`
 }

+ 2 - 2
services/cdn/struct_frame_rate_and_bit_rate_info.go

@@ -17,9 +17,9 @@ package cdn
 
 // FrameRateAndBitRateInfo is a nested struct in cdn response
 type FrameRateAndBitRateInfo struct {
-	StreamUrl      string  `json:"StreamUrl" xml:"StreamUrl"`
 	BitRate        float64 `json:"BitRate" xml:"BitRate"`
 	Time           string  `json:"Time" xml:"Time"`
-	AudioFrameRate float64 `json:"AudioFrameRate" xml:"AudioFrameRate"`
 	VideoFrameRate float64 `json:"VideoFrameRate" xml:"VideoFrameRate"`
+	AudioFrameRate float64 `json:"AudioFrameRate" xml:"AudioFrameRate"`
+	StreamUrl      string  `json:"StreamUrl" xml:"StreamUrl"`
 }

+ 2 - 2
services/cdn/struct_green_manager_config.go

@@ -17,9 +17,9 @@ package cdn
 
 // GreenManagerConfig is a nested struct in cdn response
 type GreenManagerConfig struct {
-	Ratio    string `json:"Ratio" xml:"Ratio"`
+	Quota    string `json:"Quota" xml:"Quota"`
 	ConfigId string `json:"ConfigId" xml:"ConfigId"`
 	Enabled  string `json:"Enabled" xml:"Enabled"`
-	Quota    string `json:"Quota" xml:"Quota"`
 	Status   string `json:"Status" xml:"Status"`
+	Ratio    string `json:"Ratio" xml:"Ratio"`
 }

+ 7 - 7
services/cdn/struct_live_app_record.go

@@ -17,14 +17,14 @@ package cdn
 
 // LiveAppRecord is a nested struct in cdn response
 type LiveAppRecord struct {
-	OssObjectPrefix string `json:"OssObjectPrefix" xml:"OssObjectPrefix"`
-	StreamName      string `json:"StreamName" xml:"StreamName"`
-	SourceUrl       string `json:"SourceUrl" xml:"SourceUrl"`
 	StartTime       string `json:"StartTime" xml:"StartTime"`
-	AppName         string `json:"AppName" xml:"AppName"`
+	OssObjectPrefix string `json:"OssObjectPrefix" xml:"OssObjectPrefix"`
+	EndTime         string `json:"EndTime" xml:"EndTime"`
+	DomainName      string `json:"DomainName" xml:"DomainName"`
 	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
-	OssBucket       string `json:"OssBucket" xml:"OssBucket"`
 	OssEndpoint     string `json:"OssEndpoint" xml:"OssEndpoint"`
-	DomainName      string `json:"DomainName" xml:"DomainName"`
-	EndTime         string `json:"EndTime" xml:"EndTime"`
+	AppName         string `json:"AppName" xml:"AppName"`
+	SourceUrl       string `json:"SourceUrl" xml:"SourceUrl"`
+	StreamName      string `json:"StreamName" xml:"StreamName"`
+	OssBucket       string `json:"OssBucket" xml:"OssBucket"`
 }

+ 2 - 2
services/cdn/struct_live_stream_online_user_num_info.go

@@ -17,7 +17,7 @@ package cdn
 
 // LiveStreamOnlineUserNumInfo is a nested struct in cdn response
 type LiveStreamOnlineUserNumInfo struct {
-	UserNumber int    `json:"UserNumber" xml:"UserNumber"`
-	StreamUrl  string `json:"StreamUrl" xml:"StreamUrl"`
 	Time       string `json:"Time" xml:"Time"`
+	StreamUrl  string `json:"StreamUrl" xml:"StreamUrl"`
+	UserNumber int    `json:"UserNumber" xml:"UserNumber"`
 }

+ 2 - 2
services/cdn/struct_mix_streams_info.go

@@ -17,7 +17,7 @@ package cdn
 
 // MixStreamsInfo is a nested struct in cdn response
 type MixStreamsInfo struct {
-	StreamName string `json:"StreamName" xml:"StreamName"`
-	AppName    string `json:"AppName" xml:"AppName"`
 	DomainName string `json:"DomainName" xml:"DomainName"`
+	AppName    string `json:"AppName" xml:"AppName"`
+	StreamName string `json:"StreamName" xml:"StreamName"`
 }

+ 8 - 8
services/cdn/struct_record_index_info.go

@@ -17,16 +17,16 @@ package cdn
 
 // RecordIndexInfo is a nested struct in cdn response
 type RecordIndexInfo struct {
+	OssObject  string  `json:"OssObject" xml:"OssObject"`
+	StartTime  string  `json:"StartTime" xml:"StartTime"`
+	EndTime    string  `json:"EndTime" xml:"EndTime"`
 	Duration   float64 `json:"Duration" xml:"Duration"`
+	DomainName string  `json:"DomainName" xml:"DomainName"`
 	RecordUrl  string  `json:"RecordUrl" xml:"RecordUrl"`
-	Width      int     `json:"Width" xml:"Width"`
-	StreamName string  `json:"StreamName" xml:"StreamName"`
-	StartTime  string  `json:"StartTime" xml:"StartTime"`
-	Height     int     `json:"Height" xml:"Height"`
+	CreateTime string  `json:"CreateTime" xml:"CreateTime"`
 	RecordId   string  `json:"RecordId" xml:"RecordId"`
+	Height     int     `json:"Height" xml:"Height"`
+	Width      int     `json:"Width" xml:"Width"`
 	AppName    string  `json:"AppName" xml:"AppName"`
-	OssObject  string  `json:"OssObject" xml:"OssObject"`
-	CreateTime string  `json:"CreateTime" xml:"CreateTime"`
-	DomainName string  `json:"DomainName" xml:"DomainName"`
-	EndTime    string  `json:"EndTime" xml:"EndTime"`
+	StreamName string  `json:"StreamName" xml:"StreamName"`
 }

+ 2 - 2
services/cdn/struct_url_list.go

@@ -18,8 +18,8 @@ package cdn
 // UrlList is a nested struct in cdn response
 type UrlList struct {
 	Flow            string  `json:"Flow" xml:"Flow"`
-	UrlDetail       string  `json:"UrlDetail" xml:"UrlDetail"`
 	VisitData       string  `json:"VisitData" xml:"VisitData"`
-	VisitProportion float64 `json:"VisitProportion" xml:"VisitProportion"`
+	UrlDetail       string  `json:"UrlDetail" xml:"UrlDetail"`
 	FlowProportion  float64 `json:"FlowProportion" xml:"FlowProportion"`
+	VisitProportion float64 `json:"VisitProportion" xml:"VisitProportion"`
 }

+ 3 - 3
services/cdn/struct_usage_data.go

@@ -17,10 +17,10 @@ package cdn
 
 // UsageData is a nested struct in cdn response
 type UsageData struct {
-	Acc       int    `json:"Acc" xml:"Acc"`
+	Path      string `json:"Path" xml:"Path"`
 	Time      string `json:"Time" xml:"Time"`
+	Value     string `json:"Value" xml:"Value"`
 	Traffic   int    `json:"Traffic" xml:"Traffic"`
-	Path      string `json:"Path" xml:"Path"`
 	TimeStamp string `json:"TimeStamp" xml:"TimeStamp"`
-	Value     string `json:"Value" xml:"Value"`
+	Acc       int    `json:"Acc" xml:"Acc"`
 }