UpdateInboxOptions class

Constructors

UpdateInboxOptions({String? name, String? description, List<String>? tags = const [], DateTime? expiresAt, bool? favourite})
Returns a new UpdateInboxOptions instance.

Properties

description String?
Description of an inbox for labelling and searching purposes
getter/setter pair
expiresAt DateTime?
Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.
getter/setter pair
favourite bool?
Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
name String?
Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>?
Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
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) UpdateInboxOptions?
Returns a new UpdateInboxOptions instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<UpdateInboxOptions>?
mapFromJson(dynamic json) Map<String, UpdateInboxOptions>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<UpdateInboxOptions>>

Constants

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