Skip to content

Module invenio_rest_api_client.models.subject

Variables

T

Classes

Subject

class Subject(
    id: invenio_rest_api_client.types.Unset | str = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    subject: invenio_rest_api_client.types.Unset | str = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>
)

Subject, keyword, classification code, or key phrase describing the resource.

Attributes

Name Type Description Default
id Union[Unset, str] The identifier of the subject from the controlled vocabulary. None
subject Union[Unset, str] A custom keyword. None

Static methods

from_dict

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

Instance variables

additional_keys
additional_properties
id
subject

Methods

to_dict

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