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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddCountryCode(String countryCode) booleanaddDataPoint(WABAAnalyticsDataPoint dataPoint) booleanaddPhoneNumber(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])booleanremoveCountryCode(String countryCode) booleanremoveDataPoint(WABAAnalyticsDataPoint dataPoint) booleanremovePhoneNumber(String phoneNumber) voidsetGranularity(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
-