Module invenio_rest_api_client.models.related_identifier
Variables
T
TYPE_CHECKING
Classes
RelatedIdentifier
class RelatedIdentifier(
identifier: str,
scheme: invenio_rest_api_client.models.identifier_scheme.IdentifierScheme,
relation_type: 'RelationType',
resource_type: invenio_rest_api_client.types.Unset | ForwardRef('RelatedIdentifierResourceType') = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>
)
Identifier of related resources.
Attributes
| Name | Type | Description | Default |
|---|---|---|---|
| identifier | str | A global unique persistent identifier for a related resource. | None |
| scheme | IdentifierScheme | The scheme of the identifier | None |
| relation_type | RelationType | The relation of the record to this related resource. | None |
| resource_type | Union[Unset, RelatedIdentifierResourceType] | The resource type of the related resource | None |
Static methods
from_dict
def from_dict(
src_dict: collections.abc.Mapping[str, typing.Any]
) -> ~T
Instance variables
additional_keys
additional_properties
identifier
relation_type
resource_type
scheme
Methods
to_dict
def to_dict(
self
) -> dict[str, typing.Any]