/AWS1/CL_IOTOTAUPDATEFILE¶
Describes a file to be associated with an OTA update.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_filename TYPE /AWS1/IOTFILENAME /AWS1/IOTFILENAME¶
The name of the file.
iv_filetype TYPE /AWS1/IOTFILETYPE /AWS1/IOTFILETYPE¶
An integer value you can include in the job document to allow your devices to identify the type of file received from the cloud.
iv_fileversion TYPE /AWS1/IOTOTAUPDATEFILEVERSION /AWS1/IOTOTAUPDATEFILEVERSION¶
The file version.
io_filelocation TYPE REF TO /AWS1/CL_IOTFILELOCATION /AWS1/CL_IOTFILELOCATION¶
The location of the updated firmware.
io_codesigning TYPE REF TO /AWS1/CL_IOTCODESIGNING /AWS1/CL_IOTCODESIGNING¶
The code signing method of the file.
it_attributes TYPE /AWS1/CL_IOTATTRIBUTESMAP_W=>TT_ATTRIBUTESMAP TT_ATTRIBUTESMAP¶
A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.
Queryable Attributes¶
fileName¶
The name of the file.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FILENAME() |
Getter for FILENAME, with configurable default |
ASK_FILENAME() |
Getter for FILENAME w/ exceptions if field has no value |
HAS_FILENAME() |
Determine if FILENAME has a value |
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FILETYPE() |
Getter for FILETYPE, with configurable default |
ASK_FILETYPE() |
Getter for FILETYPE w/ exceptions if field has no value |
HAS_FILETYPE() |
Determine if FILETYPE has a value |
fileVersion¶
The file version.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FILEVERSION() |
Getter for FILEVERSION, with configurable default |
ASK_FILEVERSION() |
Getter for FILEVERSION w/ exceptions if field has no value |
HAS_FILEVERSION() |
Determine if FILEVERSION has a value |
fileLocation¶
The location of the updated firmware.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FILELOCATION() |
Getter for FILELOCATION |
codeSigning¶
The code signing method of the file.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CODESIGNING() |
Getter for CODESIGNING |
attributes¶
A list of name-attribute pairs. They won't be sent to devices as a part of the Job document.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTRIBUTES() |
Getter for ATTRIBUTES, with configurable default |
ASK_ATTRIBUTES() |
Getter for ATTRIBUTES w/ exceptions if field has no value |
HAS_ATTRIBUTES() |
Determine if ATTRIBUTES has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_OTAUPDATEFILES¶
TYPES TT_OTAUPDATEFILES TYPE STANDARD TABLE OF REF TO /AWS1/CL_IOTOTAUPDATEFILE WITH DEFAULT KEY
.