policies
CreatePolicyRequest
Bases: TypedDict
Request body for creating a policy.
Source code in nylas/models/policies.py
50 51 52 53 54 55 56 57 | |
ListPoliciesQueryParams
Bases: ListQueryParams
Query parameters for listing policies.
Attributes:
| Name | Type | Description |
|---|---|---|
limit |
Maximum number of objects to return. |
|
page_token |
Cursor for the next page (from |
Source code in nylas/models/policies.py
10 11 12 13 14 15 16 17 18 19 | |
Policy
dataclass
A policy for Nylas Agent Accounts.
Source code in nylas/models/policies.py
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | |
PolicyLimits
dataclass
Operational limits applied to inboxes that use this policy.
Source code in nylas/models/policies.py
79 80 81 82 83 84 85 86 87 88 89 90 91 | |
PolicyLimitsRequest
Bases: TypedDict
Request shape for policy limits.
Source code in nylas/models/policies.py
29 30 31 32 33 34 35 36 37 38 39 | |
PolicyOptions
dataclass
Policy options applied to inboxes that use this policy.
Source code in nylas/models/policies.py
70 71 72 73 74 75 76 | |
PolicyOptionsRequest
Bases: TypedDict
Request shape for policy options.
Source code in nylas/models/policies.py
22 23 24 25 26 | |
PolicySpamDetection
dataclass
Spam detection settings applied to inboxes that use this policy.
Source code in nylas/models/policies.py
94 95 96 97 98 99 100 101 | |
PolicySpamDetectionRequest
Bases: TypedDict
Request shape for policy spam detection settings.
Source code in nylas/models/policies.py
42 43 44 45 46 47 | |
UpdatePolicyRequest
Bases: TypedDict
Request body for updating a policy.
Source code in nylas/models/policies.py
60 61 62 63 64 65 66 67 | |