NylasApiError

public NylasApiError NylasApiError(@Json(name = "type") String type, @Json(name = "message") String message, @Json(name = "provider_error") Map<String, Object> providerError, Integer statusCode, String requestId, Map<String, List<String>> headers)