File tree Expand file tree Collapse file tree
ground_control_client/lib/src/protocol/domains Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ enum BillingMappingType implements _i1.SerializableModel {
1616 planId,
1717 subscriptionId,
1818 itemId,
19- priceId;
19+ priceId,
20+ adjustmentIntervalId;
2021
2122 static BillingMappingType fromJson (String name) {
2223 switch (name) {
@@ -28,6 +29,8 @@ enum BillingMappingType implements _i1.SerializableModel {
2829 return BillingMappingType .itemId;
2930 case 'priceId' :
3031 return BillingMappingType .priceId;
32+ case 'adjustmentIntervalId' :
33+ return BillingMappingType .adjustmentIntervalId;
3134 default :
3235 throw ArgumentError (
3336 'Value "$name " cannot be converted to "BillingMappingType"' ,
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ enum ProductType implements _i1.SerializableModel {
1717 project,
1818 capsule,
1919 compute,
20- database;
20+ database,
21+ discount;
2122
2223 static ProductType fromJson (String name) {
2324 switch (name) {
@@ -31,6 +32,8 @@ enum ProductType implements _i1.SerializableModel {
3132 return ProductType .compute;
3233 case 'database' :
3334 return ProductType .database;
35+ case 'discount' :
36+ return ProductType .discount;
3437 default :
3538 throw ArgumentError (
3639 'Value "$name " cannot be converted to "ProductType"' ,
You can’t perform that action at this time.
0 commit comments