Region

public enum Region extends Enum<Region>

Enum representing the available Nylas API regions.

Parameters

nylasApiUrl

The base URL for the region's API

Entries

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
private final String name
Link copied to clipboard
private final String nylasApiUrl
Link copied to clipboard
private final Integer ordinal

Functions

Link copied to clipboard
public final String getName()
Link copied to clipboard
public final String getNylasApiUrl()
Link copied to clipboard
public final Integer getOrdinal()
Link copied to clipboard
public final Region valueOf(String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public final Array<Region> values()

Returns an array containing the constants of this enum type, in the order they're declared.