Package com.restfb.types.whatsapp
Class WABAAnalytics
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.whatsapp.WABAAnalytics
- All Implemented Interfaces:
Serializable
Represents the WABA (WhatsApp
Business Account) Analytics type
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addCountryCode
(String countryCode) boolean
addDataPoint
(WABAAnalyticsDataPoint dataPoint) boolean
addPhoneNumber
(String phoneNumber) List of ISO 3166 country codes (e.g.List of analytics data points (e.g.List of WhatsApp normalized phone numbers (e.g. [16315551000])boolean
removeCountryCode
(String countryCode) boolean
removeDataPoint
(WABAAnalyticsDataPoint dataPoint) boolean
removePhoneNumber
(String phoneNumber) void
setGranularity
(String granularity) Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
WABAAnalytics
public WABAAnalytics()
-
-
Method Details
-
getCountryCodes
List of ISO 3166 country codes (e.g. US, IN) -
addCountryCode
-
removeCountryCode
-
getDataPoints
List of analytics data points (e.g. {start: 0, end: 10000, sent: 10, delivered: 9}) -
addDataPoint
-
removeDataPoint
-
getPhoneNumbers
List of WhatsApp normalized phone numbers (e.g. [16315551000]) -
addPhoneNumber
-
removePhoneNumber
-
getGranularity
-
setGranularity
-