Sub2ApiAdminChannelModelPricingInput constructor
Sub2ApiAdminChannelModelPricingInput({
- required List<
String> models, - String? platform,
- Sub2ApiAdminChannelBillingMode billingMode = Sub2ApiAdminChannelBillingMode.token,
- Sub2ApiDecimal? inputPrice,
- Sub2ApiDecimal? outputPrice,
- Sub2ApiDecimal? cacheWritePrice,
- Sub2ApiDecimal? cacheReadPrice,
- Sub2ApiDecimal? fastMultiplier,
- Sub2ApiDecimal? flexMultiplier,
- Sub2ApiDecimal? imageInputPrice,
- Sub2ApiDecimal? imageOutputPrice,
- Sub2ApiDecimal? perRequestPrice,
- List<
Sub2ApiAdminChannelPricingIntervalInput> intervals = const [], - Sub2ApiAdminChannelTimePricingInput? timePricing,
Implementation
Sub2ApiAdminChannelModelPricingInput({
required List<String> models,
this.platform,
this.billingMode = Sub2ApiAdminChannelBillingMode.token,
this.inputPrice,
this.outputPrice,
this.cacheWritePrice,
this.cacheReadPrice,
this.fastMultiplier,
this.flexMultiplier,
this.imageInputPrice,
this.imageOutputPrice,
this.perRequestPrice,
List<Sub2ApiAdminChannelPricingIntervalInput> intervals = const [],
this.timePricing,
}) : models = List.unmodifiable(models),
intervals = List.unmodifiable(intervals);