Skip to content

LabeledFileNameResource

Bases: OCIType

Represents an existing file for the application server to use, along with a description and mediaType.

Attributes:

description (str):

media_type (str):

source_file_name (str):
Source code in src/mercury_ocip_fast/commands/commands.py
@dataclass(kw_only=True)
class LabeledFileNameResource(OCIType):
    """Represents an existing file for the application server to use, along with
        a description and mediaType.

    Attributes:

        description (str):

        media_type (str):

        source_file_name (str):

    """

    description: str = field(metadata={"alias": "description"})

    media_type: str = field(metadata={"alias": "mediaType"})

    source_file_name: str = field(metadata={"alias": "sourceFileName"})