facebook4j
Class FeedTargetingParameter
java.lang.Object
facebook4j.TargetingParameter
facebook4j.FeedTargetingParameter
- All Implemented Interfaces:
- Serializable
public class FeedTargetingParameter
- extends TargetingParameter
- implements Serializable
- Since:
- Facebook4J 2.0.0
- Author:
- Ryuji Yamashita - roundrop at gmail.com
- See Also:
- Serialized Form
Methods inherited from class facebook4j.TargetingParameter |
cities, city, countries, country, getCities, getCountries, getLocales, getRegions, locale, locales, region, regions, setCities, setCountries, setLocales, setRegions |
FeedTargetingParameter
public FeedTargetingParameter()
setGenders
public void setGenders(FeedTargetingParameter.Gender genders)
setAgeMax
public void setAgeMax(Integer ageMax)
setAgeMin
public void setAgeMin(Integer ageMin)
setRelationshipStatuses
public void setRelationshipStatuses(Set<Integer> relationshipStatuses)
setInterestedIn
public void setInterestedIn(Set<Integer> interestedIn)
setEducationStatuses
public void setEducationStatuses(Set<Integer> educationStatuses)
setWorkNetworks
public void setWorkNetworks(Set<IdNameEntity> workNetworks)
setCollegeNetworks
public void setCollegeNetworks(Set<IdNameEntity> collegeNetworks)
setCollegeMajors
public void setCollegeMajors(Set<String> collegeMajors)
setCollegeYears
public void setCollegeYears(Set<Integer> collegeYears)
setGeoLocations
public void setGeoLocations(TargetingParameter geoLocations)
genders
public FeedTargetingParameter genders(FeedTargetingParameter.Gender genders)
ageMax
public FeedTargetingParameter ageMax(Integer ageMax)
ageMin
public FeedTargetingParameter ageMin(Integer ageMin)
relationshipStatuses
public FeedTargetingParameter relationshipStatuses(Set<Integer> relationshipStatuses)
interestedIn
public FeedTargetingParameter interestedIn(Set<Integer> interestedIn)
educationStatuses
public FeedTargetingParameter educationStatuses(Set<Integer> educationStatuses)
workNetworks
public FeedTargetingParameter workNetworks(Set<IdNameEntity> workNetworks)
collegeNetworks
public FeedTargetingParameter collegeNetworks(Set<IdNameEntity> collegeNetworks)
collegeMajors
public FeedTargetingParameter collegeMajors(Set<String> collegeMajors)
collegeYears
public FeedTargetingParameter collegeYears(Set<Integer> collegeYears)
geoLocations
public FeedTargetingParameter geoLocations(TargetingParameter geoLocations)
getGenders
public FeedTargetingParameter.Gender getGenders()
getAge_max
public Integer getAge_max()
getAge_min
public Integer getAge_min()
getRelationship_statuses
public Set<Integer> getRelationship_statuses()
getInterested_in
public Set<Integer> getInterested_in()
getEducation_statuses
public Set<Integer> getEducation_statuses()
getWork_networks
public Set<IdNameEntity> getWork_networks()
getCollege_networks
public Set<IdNameEntity> getCollege_networks()
getCollege_majors
public Set<String> getCollege_majors()
getCollege_years
public Set<Integer> getCollege_years()
getGeo_locations
public TargetingParameter getGeo_locations()
asJSONObject
public facebook4j.internal.org.json.JSONObject asJSONObject()
throws facebook4j.internal.org.json.JSONException
- Overrides:
asJSONObject
in class TargetingParameter
- Throws:
facebook4j.internal.org.json.JSONException
asJSONString
public String asJSONString()
throws facebook4j.internal.org.json.JSONException
- Overrides:
asJSONString
in class TargetingParameter
- Throws:
facebook4j.internal.org.json.JSONException
equals
public boolean equals(Object o)
- Overrides:
equals
in class TargetingParameter
hashCode
public int hashCode()
- Overrides:
hashCode
in class TargetingParameter
toString
public String toString()
- Overrides:
toString
in class TargetingParameter
Copyright © 2019. All rights reserved.