MailServerSettings class
Constructors
-
MailServerSettings({String mailFrom = 'ThingsBoard <sysadmin@localhost.localdomain>', SmtpProtocol smtpProtocol = SmtpProtocol.SMTP, String smtpHost = 'localhost', String smtpPort = '25', String timeout = '10000', bool? enableTls, String? tlsVersion, String? username, String? password, bool? enableProxy, String? proxyHost, String? proxyPort, String? proxyUser, String? proxyPassword, bool? enableOauth2, String? providerId, String? clientId, String? clientSecret, String? providerTenantId, String? authUri, String? tokenUri, List<
String> ? scope, String? redirectUri, bool? tokenGenerated}) -
MailServerSettings.fromJson(Map<
String, dynamic> json)
Properties
- authUri ↔ String?
-
getter/setter pair
- clientId ↔ String?
-
getter/setter pair
- clientSecret ↔ String?
-
getter/setter pair
- enableOauth2 ↔ bool?
-
getter/setter pair
- enableProxy ↔ bool?
-
getter/setter pair
- enableTls ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mailFrom ↔ String
-
getter/setter pair
- password ↔ String?
-
getter/setter pair
- providerId ↔ String?
-
getter/setter pair
- providerTenantId ↔ String?
-
getter/setter pair
- proxyHost ↔ String?
-
getter/setter pair
- proxyPassword ↔ String?
-
getter/setter pair
- proxyPort ↔ String?
-
getter/setter pair
- proxyUser ↔ String?
-
getter/setter pair
- redirectUri ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scope
↔ List<
String> ? -
getter/setter pair
- smtpHost ↔ String
-
getter/setter pair
- smtpPort ↔ String
-
getter/setter pair
- smtpProtocol ↔ SmtpProtocol
-
getter/setter pair
- timeout ↔ String
-
getter/setter pair
- tlsVersion ↔ String?
-
getter/setter pair
- tokenGenerated ↔ bool?
-
getter/setter pair
- tokenUri ↔ String?
-
getter/setter pair
- username ↔ 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.
inherited