From 3608c02e95515785490269622672d121549ab181 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 20 Aug 2024 03:25:02 +0000 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0DescribeVodDomainMax95BpsData?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG | 3 + .../DescribeVodDomainMax95BpsDataRequest.cs | 138 ++++++++++++ .../DescribeVodDomainMax95BpsDataResponse.cs | 200 ++++++++++++++++++ ...dDomainMax95BpsDataResponseUnmarshaller.cs | 57 +++++ .../aliyun-net-sdk-vod.vs2017.csproj | 2 +- 5 files changed, 399 insertions(+), 1 deletion(-) create mode 100644 aliyun-net-sdk-vod/Vod/Model/V20170321/DescribeVodDomainMax95BpsDataRequest.cs create mode 100644 aliyun-net-sdk-vod/Vod/Model/V20170321/DescribeVodDomainMax95BpsDataResponse.cs create mode 100644 aliyun-net-sdk-vod/Vod/Transform/V20170321/DescribeVodDomainMax95BpsDataResponseUnmarshaller.cs diff --git a/CHANGELOG b/CHANGELOG index 256efe991..b2014370d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2024-08-20 Version: 2.16.26 +增加DescribeVodDomainMax95BpsData + 2024-08-13 Version: 3.0.9 - Support RDS Custom. diff --git a/aliyun-net-sdk-vod/Vod/Model/V20170321/DescribeVodDomainMax95BpsDataRequest.cs b/aliyun-net-sdk-vod/Vod/Model/V20170321/DescribeVodDomainMax95BpsDataRequest.cs new file mode 100644 index 000000000..5a455b871 --- /dev/null +++ b/aliyun-net-sdk-vod/Vod/Model/V20170321/DescribeVodDomainMax95BpsDataRequest.cs @@ -0,0 +1,138 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; + +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.vod.Transform; +using Aliyun.Acs.vod.Transform.V20170321; + +namespace Aliyun.Acs.vod.Model.V20170321 +{ + public class DescribeVodDomainMax95BpsDataRequest : RpcAcsRequest + { + public DescribeVodDomainMax95BpsDataRequest() + : base("vod", "2017-03-21", "DescribeVodDomainMax95BpsData", "vod", "openAPI") + { + if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null) + { + this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.vod.Endpoint.endpointMap, null); + this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.vod.Endpoint.endpointRegionalType, null); + } + Protocol = ProtocolType.HTTPS; + } + + private string startTime; + + private string cycle; + + private string domainName; + + private string endTime; + + private long? ownerId; + + private string timePoint; + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + DictionaryUtil.Add(QueryParameters, "StartTime", value); + } + } + + public string Cycle + { + get + { + return cycle; + } + set + { + cycle = value; + DictionaryUtil.Add(QueryParameters, "Cycle", value); + } + } + + public string DomainName + { + get + { + return domainName; + } + set + { + domainName = value; + DictionaryUtil.Add(QueryParameters, "DomainName", value); + } + } + + public string EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + DictionaryUtil.Add(QueryParameters, "EndTime", value); + } + } + + public long? OwnerId + { + get + { + return ownerId; + } + set + { + ownerId = value; + DictionaryUtil.Add(QueryParameters, "OwnerId", value.ToString()); + } + } + + public string TimePoint + { + get + { + return timePoint; + } + set + { + timePoint = value; + DictionaryUtil.Add(QueryParameters, "TimePoint", value); + } + } + + public override DescribeVodDomainMax95BpsDataResponse GetResponse(UnmarshallerContext unmarshallerContext) + { + return DescribeVodDomainMax95BpsDataResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} diff --git a/aliyun-net-sdk-vod/Vod/Model/V20170321/DescribeVodDomainMax95BpsDataResponse.cs b/aliyun-net-sdk-vod/Vod/Model/V20170321/DescribeVodDomainMax95BpsDataResponse.cs new file mode 100644 index 000000000..e25ed5931 --- /dev/null +++ b/aliyun-net-sdk-vod/Vod/Model/V20170321/DescribeVodDomainMax95BpsDataResponse.cs @@ -0,0 +1,200 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System.Collections.Generic; +using Newtonsoft.Json; +using Aliyun.Acs.Core; + +namespace Aliyun.Acs.vod.Model.V20170321 +{ + public class DescribeVodDomainMax95BpsDataResponse : AcsResponse + { + + private string requestId; + + private string domainName; + + private string endTime; + + private string startTime; + + private string domesticMax95Bps; + + private string overseasMax95Bps; + + private string max95Bps; + + private List detailData; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string DomainName + { + get + { + return domainName; + } + set + { + domainName = value; + } + } + + public string EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string DomesticMax95Bps + { + get + { + return domesticMax95Bps; + } + set + { + domesticMax95Bps = value; + } + } + + public string OverseasMax95Bps + { + get + { + return overseasMax95Bps; + } + set + { + overseasMax95Bps = value; + } + } + + public string Max95Bps + { + get + { + return max95Bps; + } + set + { + max95Bps = value; + } + } + + public List DetailData + { + get + { + return detailData; + } + set + { + detailData = value; + } + } + + public class DescribeVodDomainMax95BpsData_Max95Detail + { + + private string timeStamp; + + private string area; + + private string max95BpsPeakTime; + + private float? max95Bps; + + public string TimeStamp + { + get + { + return timeStamp; + } + set + { + timeStamp = value; + } + } + + public string Area + { + get + { + return area; + } + set + { + area = value; + } + } + + public string Max95BpsPeakTime + { + get + { + return max95BpsPeakTime; + } + set + { + max95BpsPeakTime = value; + } + } + + public float? Max95Bps + { + get + { + return max95Bps; + } + set + { + max95Bps = value; + } + } + } + } +} diff --git a/aliyun-net-sdk-vod/Vod/Transform/V20170321/DescribeVodDomainMax95BpsDataResponseUnmarshaller.cs b/aliyun-net-sdk-vod/Vod/Transform/V20170321/DescribeVodDomainMax95BpsDataResponseUnmarshaller.cs new file mode 100644 index 000000000..4c0ed2296 --- /dev/null +++ b/aliyun-net-sdk-vod/Vod/Transform/V20170321/DescribeVodDomainMax95BpsDataResponseUnmarshaller.cs @@ -0,0 +1,57 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +using System; +using System.Collections.Generic; + +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.vod.Model.V20170321; + +namespace Aliyun.Acs.vod.Transform.V20170321 +{ + public class DescribeVodDomainMax95BpsDataResponseUnmarshaller + { + public static DescribeVodDomainMax95BpsDataResponse Unmarshall(UnmarshallerContext _ctx) + { + DescribeVodDomainMax95BpsDataResponse describeVodDomainMax95BpsDataResponse = new DescribeVodDomainMax95BpsDataResponse(); + + describeVodDomainMax95BpsDataResponse.HttpResponse = _ctx.HttpResponse; + describeVodDomainMax95BpsDataResponse.RequestId = _ctx.StringValue("DescribeVodDomainMax95BpsData.RequestId"); + describeVodDomainMax95BpsDataResponse.DomainName = _ctx.StringValue("DescribeVodDomainMax95BpsData.DomainName"); + describeVodDomainMax95BpsDataResponse.EndTime = _ctx.StringValue("DescribeVodDomainMax95BpsData.EndTime"); + describeVodDomainMax95BpsDataResponse.StartTime = _ctx.StringValue("DescribeVodDomainMax95BpsData.StartTime"); + describeVodDomainMax95BpsDataResponse.DomesticMax95Bps = _ctx.StringValue("DescribeVodDomainMax95BpsData.DomesticMax95Bps"); + describeVodDomainMax95BpsDataResponse.OverseasMax95Bps = _ctx.StringValue("DescribeVodDomainMax95BpsData.OverseasMax95Bps"); + describeVodDomainMax95BpsDataResponse.Max95Bps = _ctx.StringValue("DescribeVodDomainMax95BpsData.Max95Bps"); + + List describeVodDomainMax95BpsDataResponse_detailData = new List(); + for (int i = 0; i < _ctx.Length("DescribeVodDomainMax95BpsData.DetailData.Length"); i++) { + DescribeVodDomainMax95BpsDataResponse.DescribeVodDomainMax95BpsData_Max95Detail max95Detail = new DescribeVodDomainMax95BpsDataResponse.DescribeVodDomainMax95BpsData_Max95Detail(); + max95Detail.TimeStamp = _ctx.StringValue("DescribeVodDomainMax95BpsData.DetailData["+ i +"].TimeStamp"); + max95Detail.Area = _ctx.StringValue("DescribeVodDomainMax95BpsData.DetailData["+ i +"].Area"); + max95Detail.Max95BpsPeakTime = _ctx.StringValue("DescribeVodDomainMax95BpsData.DetailData["+ i +"].Max95BpsPeakTime"); + max95Detail.Max95Bps = _ctx.FloatValue("DescribeVodDomainMax95BpsData.DetailData["+ i +"].Max95Bps"); + + describeVodDomainMax95BpsDataResponse_detailData.Add(max95Detail); + } + describeVodDomainMax95BpsDataResponse.DetailData = describeVodDomainMax95BpsDataResponse_detailData; + + return describeVodDomainMax95BpsDataResponse; + } + } +} diff --git a/aliyun-net-sdk-vod/aliyun-net-sdk-vod.vs2017.csproj b/aliyun-net-sdk-vod/aliyun-net-sdk-vod.vs2017.csproj index c0db189ef..da7c178f0 100644 --- a/aliyun-net-sdk-vod/aliyun-net-sdk-vod.vs2017.csproj +++ b/aliyun-net-sdk-vod/aliyun-net-sdk-vod.vs2017.csproj @@ -3,7 +3,7 @@ netstandard2.0;net45 Aliyun.Acs.vod - 2.16.25 + 2.16.26 Alibaba Cloud ©2009-2019 Alibaba Cloud false