facebook4j
Class FeedTargetingParameter

java.lang.Object
  extended by facebook4j.TargetingParameter
      extended by 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

Nested Class Summary
static class FeedTargetingParameter.Gender
           
 
Constructor Summary
FeedTargetingParameter()
           
 
Method Summary
 FeedTargetingParameter ageMax(Integer ageMax)
           
 FeedTargetingParameter ageMin(Integer ageMin)
           
 facebook4j.internal.org.json.JSONObject asJSONObject()
           
 String asJSONString()
           
 FeedTargetingParameter collegeMajors(Set<String> collegeMajors)
           
 FeedTargetingParameter collegeNetworks(Set<IdNameEntity> collegeNetworks)
           
 FeedTargetingParameter collegeYears(Set<Integer> collegeYears)
           
 FeedTargetingParameter educationStatuses(Set<Integer> educationStatuses)
           
 boolean equals(Object o)
           
 FeedTargetingParameter genders(FeedTargetingParameter.Gender genders)
           
 FeedTargetingParameter geoLocations(TargetingParameter geoLocations)
           
 Integer getAge_max()
           
 Integer getAge_min()
           
 Set<String> getCollege_majors()
           
 Set<IdNameEntity> getCollege_networks()
           
 Set<Integer> getCollege_years()
           
 Set<Integer> getEducation_statuses()
           
 FeedTargetingParameter.Gender getGenders()
           
 TargetingParameter getGeo_locations()
           
 Set<Integer> getInterested_in()
           
 Set<Integer> getRelationship_statuses()
           
 Set<IdNameEntity> getWork_networks()
           
 int hashCode()
           
 FeedTargetingParameter interestedIn(Set<Integer> interestedIn)
           
 FeedTargetingParameter relationshipStatuses(Set<Integer> relationshipStatuses)
           
 void setAgeMax(Integer ageMax)
           
 void setAgeMin(Integer ageMin)
           
 void setCollegeMajors(Set<String> collegeMajors)
           
 void setCollegeNetworks(Set<IdNameEntity> collegeNetworks)
           
 void setCollegeYears(Set<Integer> collegeYears)
           
 void setEducationStatuses(Set<Integer> educationStatuses)
           
 void setGenders(FeedTargetingParameter.Gender genders)
           
 void setGeoLocations(TargetingParameter geoLocations)
           
 void setInterestedIn(Set<Integer> interestedIn)
           
 void setRelationshipStatuses(Set<Integer> relationshipStatuses)
           
 void setWorkNetworks(Set<IdNameEntity> workNetworks)
           
 String toString()
           
 FeedTargetingParameter workNetworks(Set<IdNameEntity> workNetworks)
           
 
Methods inherited from class facebook4j.TargetingParameter
cities, city, countries, country, getCities, getCountries, getLocales, getRegions, locale, locales, region, regions, setCities, setCountries, setLocales, setRegions
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeedTargetingParameter

public FeedTargetingParameter()
Method Detail

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.