Skip to content

Module invenio_rest_api_client.models.reference

Variables

T

Classes

Reference

class Reference(
    reference: str,
    scheme: invenio_rest_api_client.types.Unset | invenio_rest_api_client.models.identifier_scheme.IdentifierScheme = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    identifier: invenio_rest_api_client.types.Unset | str = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>
)

Reference string.

Attributes

Name Type Description Default
reference str The full reference string. None
scheme Union[Unset, IdentifierScheme] The scheme of the identifier None
identifier Union[Unset, str] The identifier if known. None

Static methods

from_dict

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

Instance variables

additional_keys
additional_properties
identifier
reference
scheme

Methods

to_dict

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