/AWS1/CL_CNPGETATTACHMENTRSP¶
GetAttachmentResponse
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_attachmentsizeinbytes TYPE /AWS1/CNPATTACHMENTSIZEINBYTES /AWS1/CNPATTACHMENTSIZEINBYTES¶
The size of the attachment in bytes.
Optional arguments:¶
iv_url TYPE /AWS1/CNPPRESIGATTACHMENTURL /AWS1/CNPPRESIGATTACHMENTURL¶
This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
iv_urlexpiry TYPE /AWS1/CNPISO8601DATETIME /AWS1/CNPISO8601DATETIME¶
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
Queryable Attributes¶
Url¶
This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_URL() |
Getter for URL, with configurable default |
ASK_URL() |
Getter for URL w/ exceptions if field has no value |
HAS_URL() |
Determine if URL has a value |
UrlExpiry¶
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_URLEXPIRY() |
Getter for URLEXPIRY, with configurable default |
ASK_URLEXPIRY() |
Getter for URLEXPIRY w/ exceptions if field has no value |
HAS_URLEXPIRY() |
Determine if URLEXPIRY has a value |
AttachmentSizeInBytes¶
The size of the attachment in bytes.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTACHMENTSIZEINBYTES() |
Getter for ATTACHMENTSIZEINBYTES, with configurable default |
ASK_ATTACHMENTSIZEINBYTES() |
Getter for ATTACHMENTSIZEINBYTES w/ exceptions if field has |
HAS_ATTACHMENTSIZEINBYTES() |
Determine if ATTACHMENTSIZEINBYTES has a value |