application_details
Environment = Literal['production', 'staging']
module-attribute
Literal representing the different Nylas API environments.
Region = Literal['us', 'eu']
module-attribute
Literal representing the available Nylas API regions.
ApplicationDetails
dataclass
Class representation of a Nylas application details object.
Attributes:
Name | Type | Description |
---|---|---|
application_id |
str
|
Public application ID. |
organization_id |
str
|
ID representing the organization. |
region |
Region
|
Region identifier. |
environment |
Environment
|
Environment identifier. |
branding |
Branding
|
Branding details for the application. |
hosted_authentication |
Optional[HostedAuthentication]
|
Hosted authentication branding details. |
redirect_uris |
List[RedirectUri]
|
List of redirect URIs. |
Source code in nylas/models/application_details.py
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
|
Branding
dataclass
Class representation of branding details for the application.
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
Name of the application. |
icon_url |
Optional[str]
|
URL pointing to the application icon. |
website_url |
Optional[str]
|
Application/publisher website URL. |
description |
Optional[str]
|
Description of the application. |
Source code in nylas/models/application_details.py
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
|
HostedAuthentication
dataclass
Class representation of hosted authentication branding details.
Attributes:
Name | Type | Description |
---|---|---|
background_image_url |
str
|
URL pointing to the background image. |
alignment |
Optional[str]
|
Alignment of the background image. |
color_primary |
Optional[str]
|
Primary color of the hosted authentication page. |
color_secondary |
Optional[str]
|
Secondary color of the hosted authentication page. |
title |
Optional[str]
|
Title of the hosted authentication page. |
subtitle |
Optional[str]
|
Subtitle for the hosted authentication page. |
background_color |
Optional[str]
|
Background color of the hosted authentication page. |
spacing |
Optional[int]
|
CSS spacing attribute in px. |
Source code in nylas/models/application_details.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|