TenantPackage class

Constructors

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

Properties

aiAgentDailyBudgetCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
aiAgentMonthlyBudgetCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
createdAt ↔ DateTime
getter/setter pair
enableCanvasLTI ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
enableSAML ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
featureTaglines ↔ List<String>
getter/setter pair
flexAdminCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexAdminUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexAPICreditCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexAPICreditUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexChatGPTCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexChatGPTUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexCommentCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexCommentUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexDomainCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexDomainUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexLLMCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexLLMUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexManagedTenantCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexMinimumCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexModeratorCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexModeratorUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexPageLoadCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexPageLoadUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexSmallWidgetsCreditCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexSmallWidgetsCreditUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexSSOAdminCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexSSOAdminUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexSSOModeratorCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexSSOModeratorUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexSSOUserCostCents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
flexSSOUserUnit ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
forWhoText ↔ String
getter/setter pair
hasAIAgents ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hasAuditing ↔ bool
getter/setter pair
hasDebranding ↔ bool
getter/setter pair
hasFlexPricing ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
hasLLMSpamDetection ↔ bool
getter/setter pair
hasWhiteLabeling ↔ bool
getter/setter pair
id ↔ String
getter/setter pair
isSSOBillingMonthlyActiveUsers ↔ bool?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
maxAIAgents ↔ double?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
maxConcurrentUsers ↔ double
getter/setter pair
maxCustomCollectionSize ↔ double
getter/setter pair
maxDomains ↔ double
getter/setter pair
maxModerators ↔ double
getter/setter pair
maxMonthlyAPICredits ↔ double
getter/setter pair
maxMonthlyComments ↔ double
getter/setter pair
maxMonthlyEventLogRequests ↔ double
getter/setter pair
maxMonthlyPageLoads ↔ double
getter/setter pair
maxMonthlySmallWidgetsCredits ↔ double
getter/setter pair
maxSSOUsers ↔ double
getter/setter pair
maxTenantUsers ↔ double
getter/setter pair
maxWhiteLabeledTenants ↔ double
getter/setter pair
monthlyCostUSD ↔ double?
getter/setter pair
monthlyStripePlanId ↔ String?
getter/setter pair
name ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
templateId ↔ String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
tenantId ↔ String
getter/setter pair
yearlyCostUSD ↔ double?
getter/setter pair
yearlyStripePlanId ↔ String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → TenantPackage?
Returns a new TenantPackage instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<TenantPackage>
mapFromJson(dynamic json) → Map<String, TenantPackage>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<TenantPackage>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.