Package com.restfb.types
Class Page.Settings
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.Page.Settings
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Page
Represents the Page Settings
Graph API type.
- Since:
- 1.10.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
boolean
convert the value field in a boolean and return it.Takes the value and converts it into a json object if possible.void
setSetting
(String setting) void
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
Settings
public Settings()
-
-
Method Details
-
getValueAsBoolean
convert the value field in a boolean and return it.Every value that's not the String "true" (case is ignored) is
false
!- Returns:
- the value field as boolean.
-
getValueAsJsonObject
Takes the value and converts it into a json object if possible.May throw a JsonException
- Returns:
-
getSetting
-
setSetting
-
getValue
-
setValue
-