Package com.restfb.types
Class User.Sport
- java.lang.Object
-
- com.restfb.types.AbstractFacebookType
-
- com.restfb.types.FacebookType
-
- com.restfb.types.NamedFacebookType
-
- com.restfb.types.User.Sport
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- User
public static class User.Sport extends NamedFacebookType
Represents the Sport Graph API type.- Since:
- 1.6.3
- Author:
- Patrick Alberts
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
-
Constructor Summary
Constructors Constructor Description Sport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addWith(NamedFacebookType withSport)
List<NamedFacebookType>
getWith()
Friends associated with this sport.boolean
removeWith(NamedFacebookType withSport)
-
Methods inherited from class com.restfb.types.NamedFacebookType
getName, setName
-
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
-
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
-
-
-
Constructor Detail
-
Sport
public Sport()
-
-
Method Detail
-
getWith
public List<NamedFacebookType> getWith()
Friends associated with this sport.- Returns:
- Friends associated with this sport.
-
addWith
public boolean addWith(NamedFacebookType withSport)
-
removeWith
public boolean removeWith(NamedFacebookType withSport)
-
-