Skip to content

/AWS1/CL_PPTBAIDUCHANNELREQ

Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_apikey TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

The API key that you received from the Baidu Cloud Push service to communicate with the service.

iv_secretkey TYPE /AWS1/PPT__STRING /AWS1/PPT__STRING

The secret key that you received from the Baidu Cloud Push service to communicate with the service.

Optional arguments:

iv_enabled TYPE /AWS1/PPT__BOOLEAN /AWS1/PPT__BOOLEAN

Specifies whether to enable the Baidu channel for the application.


Queryable Attributes

ApiKey

The API key that you received from the Baidu Cloud Push service to communicate with the service.

Accessible with the following methods

Method Description
GET_APIKEY() Getter for APIKEY, with configurable default
ASK_APIKEY() Getter for APIKEY w/ exceptions if field has no value
HAS_APIKEY() Determine if APIKEY has a value

Enabled

Specifies whether to enable the Baidu channel for the application.

Accessible with the following methods

Method Description
GET_ENABLED() Getter for ENABLED, with configurable default
ASK_ENABLED() Getter for ENABLED w/ exceptions if field has no value
HAS_ENABLED() Determine if ENABLED has a value

SecretKey

The secret key that you received from the Baidu Cloud Push service to communicate with the service.

Accessible with the following methods

Method Description
GET_SECRETKEY() Getter for SECRETKEY, with configurable default
ASK_SECRETKEY() Getter for SECRETKEY w/ exceptions if field has no value
HAS_SECRETKEY() Determine if SECRETKEY has a value