Skip to content

Module invenio_rest_api_client.models.files

Variables

T

Classes

Files

class Files(
    enabled: invenio_rest_api_client.types.Unset | bool = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    default_preview: invenio_rest_api_client.types.Unset | str = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>,
    order: invenio_rest_api_client.types.Unset | list[str] = <invenio_rest_api_client.types.Unset object at 0x7f5f74d96cf0>
)

Files options for the record.

More informations can be found on InvenioRDM Official page: https://inveniordm.docs.cern.ch/reference/rest_api_drafts_records/#files-options

Attributes:
    enabled (Union[Unset, bool]): Should (and can) files be attached to this record or not.
    default_preview (Union[Unset, str]): Filename of file to be previewed by default.
    order (Union[Unset, list[str]]): Array of filename strings in display order.

Static methods

from_dict

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

Instance variables

additional_keys
additional_properties
default_preview
enabled
order

Methods

to_dict

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