SetEmailUserResponse class

the response for GuerrillaMailApi.setEmailUser requests.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

SetEmailUserResponse({required String emailAddress, required DateTime emailTimestamp, required String alias, String? site, int? siteId, String? aliasError})
SetEmailUserResponse.fromJson(Map<String, dynamic> json)
factory

Properties

alias String
This is the scrambled version of email_addr, eg “fcs5d3+vgdtknvsyt4”. The scrambled address is an alias for email_addr, so all email going to alias will arrive at the inbox of email_addr. Scrambled addresses are used to mask the email_addr, so it is difficult for someone else to know which email_addr was used.
finalinherited
aliasError String?
Error message if the alias could not be set
finalinherited
auth AuthResponse?
finalinherited
emailAddress String
The email address that that was determined. If a previous session was found, then it will be the email address of that session. A new random email address will be created.
finalinherited
emailTimestamp DateTime
a UNIX timestamp when the email address was created. Used by the client to keep track of expiry.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
site String?
The identifier of the site matched
final
siteId int?
The ID of the site which the domain belongs to
final

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited