new module:model/ConnectEventData()
- Source:
Constructs a new ConnectEventData
.
This object lets you choose the data format of your Connect response. For more information about using this object, see Connect webhooks with JSON notifications.
Members
(inner) format :String
- Source:
Type:
- String
(inner) includeData :Array.<String>
- Source:
Type:
- Array.<String>
(inner) version :String
- Source:
Type:
- String
Methods
(static) constructFromObject(data, obj) → {module:model/ConnectEventData}
- Source:
Constructs a ConnectEventData
from a plain JavaScript object, optionally creating a new instance.
Copies all relevant properties from data
to obj
if supplied or a new instance if not.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | The plain JavaScript object bearing properties of interest. |
obj |
module:model/ConnectEventData | Optional instance to populate. |
Returns:
The populated ConnectEventData
instance.