Skip to content

Module invenio_rest_api_client.models.role

Variables

T

Classes

Role

class Role(
    id: invenio_rest_api_client.models.role_id.RoleId
)

The role of the person or organisation selected from a customizable controlled vocabulary.

Attributes

Name Type Description Default
id RoleId The role's controlled vocabulary identifier. None

Static methods

from_dict

def from_dict(
    src_dict: collections.abc.Mapping[str, typing.Any]
) -> ~T

Instance variables

additional_keys
additional_properties
id

Methods

to_dict

def to_dict(
    self
) -> dict[str, typing.Any]