@@ -74,22 +74,26 @@ internal class BetaCreatePlanVersionParamsTest {
7474 .build()
7575 )
7676 .licenseAllocationPrice(
77- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Unit . builder()
77+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .builder()
7878 .cadence(
79- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Unit
80- .Cadence
79+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Cadence
8180 .ANNUAL
8281 )
8382 .itemId(" item_id" )
8483 .addLicenseAllocation(
85- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice . Unit
84+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice
8685 .LicenseAllocation
8786 .builder()
8887 .amount(" amount" )
8988 .currency(" currency" )
9089 .writeOffOverage(true )
9190 .build()
9291 )
92+ .modelType(
93+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice
94+ .ModelType
95+ .UNIT
96+ )
9397 .name(" Annual fee" )
9498 .unitConfig(
9599 UnitConfig .builder()
@@ -130,8 +134,7 @@ internal class BetaCreatePlanVersionParamsTest {
130134 )
131135 .licenseTypeId(" license_type_id" )
132136 .metadata(
133- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Unit
134- .Metadata
137+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Metadata
135138 .builder()
136139 .putAdditionalProperty(" foo" , JsonValue .from(" string" ))
137140 .build()
@@ -268,23 +271,27 @@ internal class BetaCreatePlanVersionParamsTest {
268271 .build()
269272 )
270273 .licenseAllocationPrice(
271- BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice .Unit
272- .builder()
274+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice .builder()
273275 .cadence(
274- BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice . Unit
276+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
275277 .Cadence
276278 .ANNUAL
277279 )
278280 .itemId(" item_id" )
279281 .addLicenseAllocation(
280- BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice . Unit
282+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
281283 .LicenseAllocation
282284 .builder()
283285 .amount(" amount" )
284286 .currency(" currency" )
285287 .writeOffOverage(true )
286288 .build()
287289 )
290+ .modelType(
291+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
292+ .ModelType
293+ .UNIT
294+ )
288295 .name(" Annual fee" )
289296 .unitConfig(
290297 UnitConfig .builder()
@@ -325,7 +332,7 @@ internal class BetaCreatePlanVersionParamsTest {
325332 )
326333 .licenseTypeId(" license_type_id" )
327334 .metadata(
328- BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice . Unit
335+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
329336 .Metadata
330337 .builder()
331338 .putAdditionalProperty(" foo" , JsonValue .from(" string" ))
@@ -468,23 +475,27 @@ internal class BetaCreatePlanVersionParamsTest {
468475 .build()
469476 )
470477 .licenseAllocationPrice(
471- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Unit
472- .builder()
478+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .builder()
473479 .cadence(
474- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice . Unit
480+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice
475481 .Cadence
476482 .ANNUAL
477483 )
478484 .itemId(" item_id" )
479485 .addLicenseAllocation(
480- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice . Unit
486+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice
481487 .LicenseAllocation
482488 .builder()
483489 .amount(" amount" )
484490 .currency(" currency" )
485491 .writeOffOverage(true )
486492 .build()
487493 )
494+ .modelType(
495+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice
496+ .ModelType
497+ .UNIT
498+ )
488499 .name(" Annual fee" )
489500 .unitConfig(
490501 UnitConfig .builder()
@@ -527,7 +538,7 @@ internal class BetaCreatePlanVersionParamsTest {
527538 )
528539 .licenseTypeId(" license_type_id" )
529540 .metadata(
530- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice . Unit
541+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice
531542 .Metadata
532543 .builder()
533544 .putAdditionalProperty(" foo" , JsonValue .from(" string" ))
@@ -667,25 +678,28 @@ internal class BetaCreatePlanVersionParamsTest {
667678 .build()
668679 )
669680 .licenseAllocationPrice(
670- BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice . Unit
681+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
671682 .builder()
672683 .cadence(
673684 BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
674- .Unit
675685 .Cadence
676686 .ANNUAL
677687 )
678688 .itemId(" item_id" )
679689 .addLicenseAllocation(
680690 BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
681- .Unit
682691 .LicenseAllocation
683692 .builder()
684693 .amount(" amount" )
685694 .currency(" currency" )
686695 .writeOffOverage(true )
687696 .build()
688697 )
698+ .modelType(
699+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
700+ .ModelType
701+ .UNIT
702+ )
689703 .name(" Annual fee" )
690704 .unitConfig(
691705 UnitConfig .builder()
@@ -729,7 +743,6 @@ internal class BetaCreatePlanVersionParamsTest {
729743 .licenseTypeId(" license_type_id" )
730744 .metadata(
731745 BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
732- .Unit
733746 .Metadata
734747 .builder()
735748 .putAdditionalProperty(" foo" , JsonValue .from(" string" ))
@@ -863,22 +876,26 @@ internal class BetaCreatePlanVersionParamsTest {
863876 .build()
864877 )
865878 .licenseAllocationPrice(
866- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Unit . builder()
879+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .builder()
867880 .cadence(
868- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Unit
869- .Cadence
881+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Cadence
870882 .ANNUAL
871883 )
872884 .itemId(" item_id" )
873885 .addLicenseAllocation(
874- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice . Unit
886+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice
875887 .LicenseAllocation
876888 .builder()
877889 .amount(" amount" )
878890 .currency(" currency" )
879891 .writeOffOverage(true )
880892 .build()
881893 )
894+ .modelType(
895+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice
896+ .ModelType
897+ .UNIT
898+ )
882899 .name(" Annual fee" )
883900 .unitConfig(
884901 UnitConfig .builder()
@@ -919,8 +936,7 @@ internal class BetaCreatePlanVersionParamsTest {
919936 )
920937 .licenseTypeId(" license_type_id" )
921938 .metadata(
922- BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Unit
923- .Metadata
939+ BetaCreatePlanVersionParams .AddPrice .LicenseAllocationPrice .Metadata
924940 .builder()
925941 .putAdditionalProperty(" foo" , JsonValue .from(" string" ))
926942 .build()
@@ -1061,23 +1077,27 @@ internal class BetaCreatePlanVersionParamsTest {
10611077 .build()
10621078 )
10631079 .licenseAllocationPrice(
1064- BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice .Unit
1065- .builder()
1080+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice .builder()
10661081 .cadence(
1067- BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice . Unit
1082+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
10681083 .Cadence
10691084 .ANNUAL
10701085 )
10711086 .itemId(" item_id" )
10721087 .addLicenseAllocation(
1073- BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice . Unit
1088+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
10741089 .LicenseAllocation
10751090 .builder()
10761091 .amount(" amount" )
10771092 .currency(" currency" )
10781093 .writeOffOverage(true )
10791094 .build()
10801095 )
1096+ .modelType(
1097+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
1098+ .ModelType
1099+ .UNIT
1100+ )
10811101 .name(" Annual fee" )
10821102 .unitConfig(
10831103 UnitConfig .builder()
@@ -1118,7 +1138,7 @@ internal class BetaCreatePlanVersionParamsTest {
11181138 )
11191139 .licenseTypeId(" license_type_id" )
11201140 .metadata(
1121- BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice . Unit
1141+ BetaCreatePlanVersionParams .ReplacePrice .LicenseAllocationPrice
11221142 .Metadata
11231143 .builder()
11241144 .putAdditionalProperty(" foo" , JsonValue .from(" string" ))
0 commit comments