Skip to content

Module invenio_rest_api_client.models.right

Variables

T
TYPE_CHECKING

Classes

class Right(
    id: invenio_rest_api_client.types.Unset | str = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    title: invenio_rest_api_client.types.Unset | ForwardRef('RightTitle') = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    description: invenio_rest_api_client.types.Unset | ForwardRef('RightDescription') = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    links: invenio_rest_api_client.types.Unset | str = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>
)

Right management statement for the resource.

Attributes

Name Type Description Default
id Union[Unset, str] Identifier value. None
title Union[Unset, RightTitle] Localized human readable title. None
description Union[Unset, RightDescription] Localized license description text None
links Union[Unset, str] Link to full license. None

Static methods

from_dict

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

Instance variables

additional_keys
additional_properties
description
id
links
title

Methods

to_dict

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