Skip to content

OTAUpdateFile

Source code in docs_src/capo_iot/types/ota_update_file.py
class OTAUpdateFile(TypedDict, closed=True):
    file_name: NotRequired["capo_iot.types.file_name.FileName"]
    """<p>The name of the file.</p>"""
    file_type: NotRequired["capo_iot.types.file_type.FileType"]
    """<p>An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.</p>"""
    file_version: NotRequired[
        "capo_iot.types.ota_update_file_version.OTAUpdateFileVersion"
    ]
    """<p>The file version.</p>"""
    file_location: NotRequired["capo_iot.types.file_location.FileLocation"]
    """<p>The location of the updated firmware.</p>"""
    code_signing: NotRequired["capo_iot.types.code_signing.CodeSigning"]
    """<p>The code signing method of the file.</p>"""
    attributes: NotRequired["capo_iot.types.attributes_map.AttributesMap"]
    """<p>A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.</p>"""

attributes instance-attribute

attributes: NotRequired[AttributesMap]

A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.

code_signing instance-attribute

code_signing: NotRequired[CodeSigning]

The code signing method of the file.

file_location instance-attribute

file_location: NotRequired[FileLocation]

The location of the updated firmware.

file_name instance-attribute

file_name: NotRequired[FileName]

The name of the file.

file_type instance-attribute

file_type: NotRequired[FileType]

An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.

file_version instance-attribute

file_version: NotRequired[OTAUpdateFileVersion]

The file version.