Package com.restfb.types.send
Class TargetAudience
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.send.TargetAudience
-
- All Implemented Interfaces:
Serializable
public class TargetAudience extends AbstractFacebookType
Represents the Messenger Profile Target Audience- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TargetAudience.Countries
-
Constructor Summary
Constructors Constructor Description TargetAudience()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAudienceType()
Audience type.TargetAudience.Countries
getCountries()
country object.void
setAudienceType(String audienceType)
Audience type.void
setCountries(TargetAudience.Countries countries)
country object.-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
TargetAudience
public TargetAudience()
-
-
Method Detail
-
getAudienceType
public String getAudienceType()
Audience type. Valid values include all, custom, or none.
-
setAudienceType
public void setAudienceType(String audienceType)
Audience type. Valid values include all, custom, or none.
-
getCountries
public TargetAudience.Countries getCountries()
country object. Needs to be specified only when audience_type is custom.
-
setCountries
public void setCountries(TargetAudience.Countries countries)
country object. Needs to be specified only when audience_type is custom.
-
-