UserAddResult
public enum UserAddResult : CustomStringConvertible, JSONRepresentable
Result of trying to add secondary emails to a user. ‘success’ is the only value indicating that a user was successfully retrieved for adding secondary emails. The other values explain the type of error that occurred, and include the user for which the error occurred.
-
Describes a user and the results for each attempt to add a secondary email.
Declaration
Swift
case success(Team.UserSecondaryEmailsResult)
-
Specified user is not a valid target for adding secondary emails.
Declaration
Swift
case invalidUser(Team.UserSelectorArg)
-
Secondary emails can only be added to verified users.
Declaration
Swift
case unverified(Team.UserSelectorArg)
-
Secondary emails cannot be added to placeholder users.
Declaration
Swift
case placeholderUser(Team.UserSelectorArg)
-
An unspecified error.
Declaration
Swift
case other
-
Declaration
Swift
public var description: String { get }