Sub2ApiAdminChannelModelPricing constructor
Sub2ApiAdminChannelModelPricing({
- required int id,
- required String platform,
- required List<
String> models, - required Sub2ApiAdminChannelBillingMode billingMode,
- required List<
Sub2ApiAdminChannelPricingInterval> intervals, - Sub2ApiDecimal? inputPrice,
- Sub2ApiDecimal? outputPrice,
- Sub2ApiDecimal? cacheWritePrice,
- Sub2ApiDecimal? cacheReadPrice,
- Sub2ApiDecimal? fastMultiplier,
- Sub2ApiDecimal? flexMultiplier,
- Sub2ApiDecimal? imageInputPrice,
- Sub2ApiDecimal? imageOutputPrice,
- Sub2ApiDecimal? perRequestPrice,
- Sub2ApiAdminChannelTimePricing? timePricing,
Implementation
Sub2ApiAdminChannelModelPricing({
required this.id,
required this.platform,
required List<String> models,
required this.billingMode,
required List<Sub2ApiAdminChannelPricingInterval> intervals,
this.inputPrice,
this.outputPrice,
this.cacheWritePrice,
this.cacheReadPrice,
this.fastMultiplier,
this.flexMultiplier,
this.imageInputPrice,
this.imageOutputPrice,
this.perRequestPrice,
this.timePricing,
}) : models = List.unmodifiable(models),
intervals = List.unmodifiable(intervals);