Skip to content

Account module

Reference to the account.py module.

account

Provides role enum for Nextmv accounts.

This module defines enumerations for representing member roles within a Nextmv account.

CLASS DESCRIPTION
AccountMemberRole

Represents the role of a member in a Nextmv account.

AccountMemberRole

Bases: str, Enum

The role type of an AccountMember represented as a string.

You can import the AccountMemberRole class directly from nextmv:

from nextmv import AccountMemberRole

This enum specifies the supported roles for users in Nextmv accounts.

ATTRIBUTE DESCRIPTION
ROOT

The role of the owner of the account

TYPE: str

ADMIN

The role of administrators of the account

TYPE: str

DEVELOPER

The role of developers of the account

TYPE: str

OPERATOR

The role of operators of the account

TYPE: str

VIEWER

The role of viewers of the account

TYPE: str

ROOT class-attribute instance-attribute

ROOT = 'root'

The role of the owner of the account

ADMIN class-attribute instance-attribute

ADMIN = 'admin'

The role of administrators of the account

DEVELOPER class-attribute instance-attribute

DEVELOPER = 'developer'

The role of developers of the account

OPERATOR class-attribute instance-attribute

OPERATOR = 'operator'

The role of operators of the account

VIEWER class-attribute instance-attribute

VIEWER = 'viewer'

The role of viewers of the account