Connector

public final class Connector

Class representation of the Nylas connector response.

Constructors

Link copied to clipboard
public Connector Connector(@Json(name = "name") String name, @Json(name = "provider") AuthProvider provider, @Json(name = "settings") Map<String, Object> settings, @Json(name = "scope") List<String> scope)

Properties

Link copied to clipboard
private final String name

Custom name of the connector

Link copied to clipboard
private final AuthProvider provider

The provider type

Link copied to clipboard
private final List<String> scope

Default scopes for the connector

Link copied to clipboard
private final Map<String, Object> settings

Optional settings from provider

Functions

Link copied to clipboard
public final String getName()

Custom name of the connector

Link copied to clipboard
public final AuthProvider getProvider()

The provider type

Link copied to clipboard
public final List<String> getScope()

Default scopes for the connector

Link copied to clipboard
public final Map<String, Object> getSettings()

Optional settings from provider