Sub2ApiAdminChannelModelPricingInput constructor

Sub2ApiAdminChannelModelPricingInput({
  1. required List<String> models,
  2. String? platform,
  3. Sub2ApiAdminChannelBillingMode billingMode = Sub2ApiAdminChannelBillingMode.token,
  4. Sub2ApiDecimal? inputPrice,
  5. Sub2ApiDecimal? outputPrice,
  6. Sub2ApiDecimal? cacheWritePrice,
  7. Sub2ApiDecimal? cacheReadPrice,
  8. Sub2ApiDecimal? fastMultiplier,
  9. Sub2ApiDecimal? flexMultiplier,
  10. Sub2ApiDecimal? imageInputPrice,
  11. Sub2ApiDecimal? imageOutputPrice,
  12. Sub2ApiDecimal? perRequestPrice,
  13. List<Sub2ApiAdminChannelPricingIntervalInput> intervals = const [],
  14. 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);