ProviderDetectResponse

public final class ProviderDetectResponse

Class representing the Nylas provider detect response.

Constructors

Link copied to clipboard
public ProviderDetectResponse ProviderDetectResponse(@Json(name = "email_address") String emailAddress, @Json(name = "detected") Boolean detected, @Json(name = "provider") String provider, @Json(name = "type") String type)

Properties

Link copied to clipboard
private final Boolean detected

Whether the provider was detected

Link copied to clipboard
private final String emailAddress

Email provided for autodetection

Link copied to clipboard
private final String provider

Detected provider

Link copied to clipboard
private final String type

Provider type (if IMAP provider detected displays the IMAP provider)

Functions

Link copied to clipboard
public final Boolean getDetected()

Whether the provider was detected

Link copied to clipboard
public final String getEmailAddress()

Email provided for autodetection

Link copied to clipboard
public final String getProvider()

Detected provider

Link copied to clipboard
public final String getType()

Provider type (if IMAP provider detected displays the IMAP provider)