Package com.restfb.types
Class Translation
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.Translation
- All Implemented Interfaces:
Serializable
Represents the Translations Graph
API type.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe approval status of the string.The provided description of the string.The original string that was translated.The translated string.void
setApprovalStatus
(String approvalStatus) The approval status of the string.void
setDescription
(String description) The provided description of the string.void
setNativeString
(String nativeString) The original string that was translated.void
setTranslation
(String translation) The translated string.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 Details
-
Translation
public Translation()
-
-
Method Details
-
getTranslation
The translated string.- Returns:
- The translated string.
-
setTranslation
The translated string. -
getApprovalStatus
The approval status of the string.Possible values: auto-approved, approved, unapproved
- Returns:
- The approval status of the string.
-
setApprovalStatus
The approval status of the string.Possible values: auto-approved, approved, unapproved
-
getNativeString
The original string that was translated.- Returns:
- The original string that was translated.
-
setNativeString
The original string that was translated. -
getDescription
The provided description of the string.- Returns:
- The provided description of the string.
-
setDescription
The provided description of the string.
-