TenantPackage constructor

TenantPackage({
  1. required String id,
  2. required String name,
  3. required String tenantId,
  4. required DateTime createdAt,
  5. String? templateId,
  6. required double? monthlyCostUSD,
  7. required double? yearlyCostUSD,
  8. required String? monthlyStripePlanId,
  9. required String? yearlyStripePlanId,
  10. required double maxMonthlyPageLoads,
  11. required double maxMonthlyAPICredits,
  12. required double maxMonthlySmallWidgetsCredits,
  13. required double maxMonthlyComments,
  14. required double maxConcurrentUsers,
  15. required double maxTenantUsers,
  16. required double maxSSOUsers,
  17. required double maxModerators,
  18. required double maxDomains,
  19. required double maxWhiteLabeledTenants,
  20. required double maxMonthlyEventLogRequests,
  21. required double maxCustomCollectionSize,
  22. required bool hasWhiteLabeling,
  23. required bool hasDebranding,
  24. required bool hasLLMSpamDetection,
  25. required String forWhoText,
  26. List<String> featureTaglines = const [],
  27. required bool hasAuditing,
  28. required bool hasFlexPricing,
  29. bool? enableSAML,
  30. bool? enableCanvasLTI,
  31. double? flexPageLoadCostCents,
  32. double? flexPageLoadUnit,
  33. double? flexCommentCostCents,
  34. double? flexCommentUnit,
  35. double? flexSSOUserCostCents,
  36. double? flexSSOUserUnit,
  37. double? flexAPICreditCostCents,
  38. double? flexAPICreditUnit,
  39. double? flexSmallWidgetsCreditCostCents,
  40. double? flexSmallWidgetsCreditUnit,
  41. double? flexModeratorCostCents,
  42. double? flexModeratorUnit,
  43. double? flexAdminCostCents,
  44. double? flexAdminUnit,
  45. double? flexDomainCostCents,
  46. double? flexDomainUnit,
  47. double? flexChatGPTCostCents,
  48. double? flexChatGPTUnit,
  49. double? flexLLMCostCents,
  50. double? flexLLMUnit,
  51. double? flexMinimumCostCents,
  52. double? flexManagedTenantCostCents,
  53. double? flexSSOAdminCostCents,
  54. double? flexSSOAdminUnit,
  55. double? flexSSOModeratorCostCents,
  56. double? flexSSOModeratorUnit,
  57. bool? isSSOBillingMonthlyActiveUsers,
  58. bool? hasAIAgents,
  59. double? maxAIAgents,
  60. double? aiAgentDailyBudgetCents,
  61. double? aiAgentMonthlyBudgetCents,
})

Returns a new TenantPackage instance.

Implementation

TenantPackage({
  required this.id,
  required this.name,
  required this.tenantId,
  required this.createdAt,
  this.templateId,
  required this.monthlyCostUSD,
  required this.yearlyCostUSD,
  required this.monthlyStripePlanId,
  required this.yearlyStripePlanId,
  required this.maxMonthlyPageLoads,
  required this.maxMonthlyAPICredits,
  required this.maxMonthlySmallWidgetsCredits,
  required this.maxMonthlyComments,
  required this.maxConcurrentUsers,
  required this.maxTenantUsers,
  required this.maxSSOUsers,
  required this.maxModerators,
  required this.maxDomains,
  required this.maxWhiteLabeledTenants,
  required this.maxMonthlyEventLogRequests,
  required this.maxCustomCollectionSize,
  required this.hasWhiteLabeling,
  required this.hasDebranding,
  required this.hasLLMSpamDetection,
  required this.forWhoText,
  this.featureTaglines = const [],
  required this.hasAuditing,
  required this.hasFlexPricing,
  this.enableSAML,
  this.enableCanvasLTI,
  this.flexPageLoadCostCents,
  this.flexPageLoadUnit,
  this.flexCommentCostCents,
  this.flexCommentUnit,
  this.flexSSOUserCostCents,
  this.flexSSOUserUnit,
  this.flexAPICreditCostCents,
  this.flexAPICreditUnit,
  this.flexSmallWidgetsCreditCostCents,
  this.flexSmallWidgetsCreditUnit,
  this.flexModeratorCostCents,
  this.flexModeratorUnit,
  this.flexAdminCostCents,
  this.flexAdminUnit,
  this.flexDomainCostCents,
  this.flexDomainUnit,
  this.flexChatGPTCostCents,
  this.flexChatGPTUnit,
  this.flexLLMCostCents,
  this.flexLLMUnit,
  this.flexMinimumCostCents,
  this.flexManagedTenantCostCents,
  this.flexSSOAdminCostCents,
  this.flexSSOAdminUnit,
  this.flexSSOModeratorCostCents,
  this.flexSSOModeratorUnit,
  this.isSSOBillingMonthlyActiveUsers,
  this.hasAIAgents,
  this.maxAIAgents,
  this.aiAgentDailyBudgetCents,
  this.aiAgentMonthlyBudgetCents,
});