Skip to content

Commit

Permalink
Update DescribeApiMetering API.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 29, 2024
1 parent 08f0040 commit 05b8ca9
Show file tree
Hide file tree
Showing 31 changed files with 124 additions and 99 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-07-29 Version: 2.0.29
- Update DescribeApiMetering API.

2024-07-23 Version: 3.0.8
- Generated 2014-08-15 for `Rds`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -31,7 +30,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class ActivateLicenseRequest : RpcAcsRequest<ActivateLicenseResponse>
{
public ActivateLicenseRequest()
: base("Market", "2015-11-01", "ActivateLicense")
: base("Market", "2015-11-01", "ActivateLicense", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -31,7 +30,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class AutoRenewInstanceRequest : RpcAcsRequest<AutoRenewInstanceResponse>
{
public AutoRenewInstanceRequest()
: base("Market", "2015-11-01", "AutoRenewInstance")
: base("Market", "2015-11-01", "AutoRenewInstance", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -31,7 +30,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class CreateOrderRequest : RpcAcsRequest<CreateOrderResponse>
{
public CreateOrderRequest()
: base("Market", "2015-11-01", "CreateOrder")
: base("Market", "2015-11-01", "CreateOrder", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -31,7 +30,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class CrossAccountVerifyTokenRequest : RpcAcsRequest<CrossAccountVerifyTokenResponse>
{
public CrossAccountVerifyTokenRequest()
: base("Market", "2015-11-01", "CrossAccountVerifyToken")
: base("Market", "2015-11-01", "CrossAccountVerifyToken", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -31,7 +30,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeApiMeteringRequest : RpcAcsRequest<DescribeApiMeteringResponse>
{
public DescribeApiMeteringRequest()
: base("Market", "2015-11-01", "DescribeApiMetering")
: base("Market", "2015-11-01", "DescribeApiMetering", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ public class DescribeApiMetering_ResultItem

private long? totalUsage;

private long? totalCapacity;

private string unit;

public long? AliyunPk
Expand Down Expand Up @@ -240,6 +242,18 @@ public long? TotalUsage
}
}

public long? TotalCapacity
{
get
{
return totalCapacity;
}
set
{
totalCapacity = value;
}
}

public string Unit
{
get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -31,7 +30,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeCurrentNodeInfoRequest : RpcAcsRequest<DescribeCurrentNodeInfoResponse>
{
public DescribeCurrentNodeInfoRequest()
: base("Market", "2015-11-01", "DescribeCurrentNodeInfo")
: base("Market", "2015-11-01", "DescribeCurrentNodeInfo", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeDistributionProductsLinkRequest : RpcAcsRequest<DescribeDistributionProductsLinkResponse>
{
public DescribeDistributionProductsLinkRequest()
: base("Market", "2015-11-01", "DescribeDistributionProductsLink")
: base("Market", "2015-11-01", "DescribeDistributionProductsLink", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -31,7 +30,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeDistributionProductsRequest : RpcAcsRequest<DescribeDistributionProductsResponse>
{
public DescribeDistributionProductsRequest()
: base("Market", "2015-11-01", "DescribeDistributionProducts")
: base("Market", "2015-11-01", "DescribeDistributionProducts", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeInstanceRequest : RpcAcsRequest<DescribeInstanceResponse>
{
public DescribeInstanceRequest()
: base("Market", "2015-11-01", "DescribeInstance")
: base("Market", "2015-11-01", "DescribeInstance", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ public class DescribeInstanceResponse : AcsResponse

private string autoRenewal;

private string activeAddress;

private string licenseCode;

private List<DescribeInstance_Module> modules;

private DescribeInstance_RelationalData relationalData;
Expand Down Expand Up @@ -299,6 +303,32 @@ public string AutoRenewal
}
}

[JsonProperty(PropertyName = "ActiveAddress")]
public string ActiveAddress
{
get
{
return activeAddress;
}
set
{
activeAddress = value;
}
}

[JsonProperty(PropertyName = "LicenseCode")]
public string LicenseCode
{
get
{
return licenseCode;
}
set
{
licenseCode = value;
}
}

[JsonProperty(PropertyName = "Modules")]
public List<DescribeInstance_Module> Modules
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeInstancesRequest : RpcAcsRequest<DescribeInstancesResponse>
{
public DescribeInstancesRequest()
: base("Market", "2015-11-01", "DescribeInstances")
: base("Market", "2015-11-01", "DescribeInstances", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeLicenseRequest : RpcAcsRequest<DescribeLicenseResponse>
{
public DescribeLicenseRequest()
: base("Market", "2015-11-01", "DescribeLicense")
: base("Market", "2015-11-01", "DescribeLicense", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeOrderRequest : RpcAcsRequest<DescribeOrderResponse>
{
public DescribeOrderRequest()
: base("Market", "2015-11-01", "DescribeOrder")
: base("Market", "2015-11-01", "DescribeOrder", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribePriceRequest : RpcAcsRequest<DescribePriceResponse>
{
public DescribePriceRequest()
: base("Market", "2015-11-01", "DescribePrice")
: base("Market", "2015-11-01", "DescribePrice", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeProductRequest : RpcAcsRequest<DescribeProductResponse>
{
public DescribeProductRequest()
: base("Market", "2015-11-01", "DescribeProduct")
: base("Market", "2015-11-01", "DescribeProduct", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeProductsRequest : RpcAcsRequest<DescribeProductsResponse>
{
public DescribeProductsRequest()
: base("Market", "2015-11-01", "DescribeProducts")
: base("Market", "2015-11-01", "DescribeProducts", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeProjectAttachmentsRequest : RpcAcsRequest<DescribeProjectAttachmentsResponse>
{
public DescribeProjectAttachmentsRequest()
: base("Market", "2015-11-01", "DescribeProjectAttachments")
: base("Market", "2015-11-01", "DescribeProjectAttachments", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeProjectInfoRequest : RpcAcsRequest<DescribeProjectInfoResponse>
{
public DescribeProjectInfoRequest()
: base("Market", "2015-11-01", "DescribeProjectInfo")
: base("Market", "2015-11-01", "DescribeProjectInfo", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
using Aliyun.Acs.Core.Http;
using Aliyun.Acs.Core.Transform;
using Aliyun.Acs.Core.Utils;
using Aliyun.Acs.Market;
using Aliyun.Acs.Market.Transform;
using Aliyun.Acs.Market.Transform.V20151101;

Expand All @@ -32,7 +31,7 @@ namespace Aliyun.Acs.Market.Model.V20151101
public class DescribeProjectMessagesRequest : RpcAcsRequest<DescribeProjectMessagesResponse>
{
public DescribeProjectMessagesRequest()
: base("Market", "2015-11-01", "DescribeProjectMessages")
: base("Market", "2015-11-01", "DescribeProjectMessages", "yunmarket", "openAPI")
{
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
{
Expand Down
Loading

0 comments on commit 05b8ca9

Please sign in to comment.