Skip to content

/AWS1/CL_PPMMETAFLOWASSET

Represents a single asset file associated with a WhatsApp Flow, including a presigned download URL.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_name TYPE /AWS1/PPMMETAFLOWASSETNAME /AWS1/PPMMETAFLOWASSETNAME

The filename of the asset (for example, flow.json).

iv_assettype TYPE /AWS1/PPMMETAFLOWASSETTYPE /AWS1/PPMMETAFLOWASSETTYPE

The type of asset. Currently the only supported value is FLOW_JSON.

iv_downloadurl TYPE /AWS1/PPMMETAFLOWASSETDWNLDURL /AWS1/PPMMETAFLOWASSETDWNLDURL

A presigned URL from Meta for downloading the asset. The URL expires after a short period.


Queryable Attributes

name

The filename of the asset (for example, flow.json).

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

assetType

The type of asset. Currently the only supported value is FLOW_JSON.

Accessible with the following methods

Method Description
GET_ASSETTYPE() Getter for ASSETTYPE, with configurable default
ASK_ASSETTYPE() Getter for ASSETTYPE w/ exceptions if field has no value
HAS_ASSETTYPE() Determine if ASSETTYPE has a value

downloadUrl

A presigned URL from Meta for downloading the asset. The URL expires after a short period.

Accessible with the following methods

Method Description
GET_DOWNLOADURL() Getter for DOWNLOADURL, with configurable default
ASK_DOWNLOADURL() Getter for DOWNLOADURL w/ exceptions if field has no value
HAS_DOWNLOADURL() Determine if DOWNLOADURL 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_METAFLOWASSETLIST

TYPES TT_METAFLOWASSETLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_PPMMETAFLOWASSET WITH DEFAULT KEY
.