Module invenio_rest_api_client.models.creator
Variables
T
TYPE_CHECKING
Classes
Creator
class Creator(
person_or_org: 'PersonOrOrg',
role: invenio_rest_api_client.types.Unset | ForwardRef('Role') = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
affiliations: invenio_rest_api_client.types.Unset | list['Affiliation'] = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>
)
Attributes:
person_or_org (PersonOrOrg): The person or organization.
role (Union[Unset, Role]): The role of the person or organisation selected from a customizable controlled
vocabulary.
affiliations (Union[Unset, list['Affiliation']]): Affilations if person_or_org.type is personal.
Static methods
from_dict
def from_dict(
src_dict: collections.abc.Mapping[str, typing.Any]
) -> ~T
Instance variables
additional_keys
additional_properties
affiliations
person_or_org
role
Methods
to_dict
def to_dict(
self
) -> dict[str, typing.Any]