APITenant class

Constructors

APITenant({required String id, required String name, String? email, required double signUpDate, required String packageId, required double paymentFrequency, required bool billingInfoValid, bool? billingHandledExternally, required String createdBy, required bool isSetup, List<APIDomainConfiguration> domainConfiguration = const [], BillingInfo? billingInfo, String? stripeCustomerId, String? stripeSubscriptionId, String? stripePlanId, required bool enableProfanityFilter, required bool enableSpamFilter, DateTime? lastBillingIssueReminderDate, bool? removeUnverifiedComments, double? unverifiedCommentsTTLms, bool? commentsRequireApproval, bool? autoApproveCommentOnVerification, bool? sendProfaneToSpam, bool? hasFlexPricing, bool? hasAuditing, double? flexLastBilledAmount, double? deAnonIpAddr, Map<String, String> meta = const {}})
Returns a new APITenant instance.

Properties

autoApproveCommentOnVerification ↔ 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
billingHandledExternally ↔ 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
billingInfo ↔ BillingInfo?
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
billingInfoValid ↔ bool
getter/setter pair
commentsRequireApproval ↔ 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
createdBy ↔ String
getter/setter pair
deAnonIpAddr ↔ 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
domainConfiguration ↔ List<APIDomainConfiguration>
getter/setter pair
email ↔ 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
enableProfanityFilter ↔ bool
getter/setter pair
enableSpamFilter ↔ bool
getter/setter pair
flexLastBilledAmount ↔ 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
hasAuditing ↔ 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
hasFlexPricing ↔ 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
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String
getter/setter pair
isSetup ↔ bool
getter/setter pair
lastBillingIssueReminderDate ↔ DateTime?
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
meta ↔ Map<String, String>
Construct a type with a set of properties K of type T
getter/setter pair
name ↔ String
getter/setter pair
packageId ↔ String
getter/setter pair
paymentFrequency ↔ double
getter/setter pair
removeUnverifiedComments ↔ 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
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sendProfaneToSpam ↔ 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
signUpDate ↔ double
getter/setter pair
stripeCustomerId ↔ 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
stripePlanId ↔ 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
stripeSubscriptionId ↔ 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
unverifiedCommentsTTLms ↔ double?
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) → APITenant?
Returns a new APITenant instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<APITenant>
mapFromJson(dynamic json) → Map<String, APITenant>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<APITenant>>

Constants

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