Skip to main content

nexla_sdk.models.access

Access control models.

Classes

AccessorType

Defined in nexla_sdk/models/access/enums.py:4

Types of accessors.

Members:

  • USER = USER
  • TEAM = TEAM
  • ORG = ORG

AccessorsRequest

Defined in nexla_sdk/models/access/requests.py:38

Request model for accessor operations.

Fields:

  • accessors: List — List of accessor requests

OrgAccessorRequest

Defined in nexla_sdk/models/access/requests.py:25

Request model for ORG type accessor.

Fields:

  • type: Literal
  • id: Optional — Unique ID of the organization
  • client_identifier: Optional — Client identifier for the organization
  • email_domain: Optional — Email domain for the organization
  • access_roles: List — List of access roles

OrgAccessorResponse

Defined in nexla_sdk/models/access/responses.py:30

Response model for ORG type accessor.

Fields:

  • type: Literal
  • id: Optional — Unique ID of the organization
  • client_identifier: Optional — Client identifier for the organization
  • email_domain: Optional — Email domain for the organization
  • access_roles: List — List of access roles
  • created_at: Optional — Creation timestamp
  • updated_at: Optional — Last update timestamp

TeamAccessorRequest

Defined in nexla_sdk/models/access/requests.py:17

Request model for TEAM type accessor.

Fields:

  • type: Literal
  • id: Optional — Unique ID of the team
  • name: Optional — Name of the team
  • access_roles: List — List of access roles

TeamAccessorResponse

Defined in nexla_sdk/models/access/responses.py:20

Response model for TEAM type accessor.

Fields:

  • type: Literal
  • id: Optional — Unique ID of the team
  • name: Optional — Name of the team
  • access_roles: List — List of access roles
  • created_at: Optional — Creation timestamp
  • updated_at: Optional — Last update timestamp

UserAccessorRequest

Defined in nexla_sdk/models/access/requests.py:8

Request model for USER type accessor.

Fields:

  • type: Literal
  • id: Optional — Unique ID of the user
  • email: Optional — Email of the user
  • org_id: Optional — Organization ID for cross-org access
  • access_roles: List — List of access roles

UserAccessorResponse

Defined in nexla_sdk/models/access/responses.py:9

Response model for USER type accessor.

Fields:

  • type: Literal
  • id: Optional — Unique ID of the user
  • email: Optional — Email of the user
  • org_id: Optional — Organization ID for cross-org access
  • access_roles: List — List of access roles
  • created_at: Optional — Creation timestamp
  • updated_at: Optional — Last update timestamp