Package com.restfb
Enum Version
- All Implemented Interfaces:
Serializable
,Comparable<Version>
,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionconvenience enum to provide simple access to the latest supported Graph API Version.Threads API 1.0, according to the documentation, this is the first Threads API Versionconvenience enum to provide simple access to the latest supported Threads API Version.unversiond apiDeprecated.Deprecated.Graph API 12.0, available until February 8th, 2024Graph API 13.0, available until May 28th, 2024Graph API 14.0, available until September 17th, 2024Graph API 15.0, available until February 2nd, 2024Graph API 16.0, available until May 23, 2025Graph API 17.0, available until September 12, 2025Graph API 18.0, available at least until January 23, 2026Graph API 19.0, available at least until May 21, 2026Graph API 20.0, available at least until September 24, 2026Graph API 21.0, available at least until October 2026Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic Version
getVersionFromString
(String urlElementStr) converts a String (for example the url parameter) into a Version objectboolean
static Version
Returns the enum constant of this type with the specified name.static Version[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNVERSIONED
unversiond api -
VERSION_9_0
Deprecated.Graph API 9.0, available until February 23, 2023- Since:
- November 10th, 2020
-
VERSION_10_0
Deprecated.Graph API 10.0, available until June 8th, 2023- Since:
- February 23th, 2021
-
VERSION_11_0
Deprecated.Graph API 11.0, available until September 14th, 2023- Since:
- June 8th, 2021
-
VERSION_12_0
Graph API 12.0, available until February 8th, 2024- Since:
- September 14th, 2021
-
VERSION_13_0
Graph API 13.0, available until May 28th, 2024- Since:
- February 8th, 2022
-
VERSION_14_0
Graph API 14.0, available until September 17th, 2024- Since:
- May 25th, 2022
-
VERSION_15_0
Graph API 15.0, available until February 2nd, 2024- Since:
- September 17th, 2022
-
VERSION_16_0
Graph API 16.0, available until May 23, 2025- Since:
- February 2nd, 2023
-
VERSION_17_0
Graph API 17.0, available until September 12, 2025- Since:
- May 23, 2023
-
VERSION_18_0
Graph API 18.0, available at least until January 23, 2026- Since:
- September 12, 2023
-
VERSION_19_0
Graph API 19.0, available at least until May 21, 2026- Since:
- January 23, 2024
-
VERSION_20_0
Graph API 20.0, available at least until September 24, 2026- Since:
- May 21, 2024
-
VERSION_21_0
Graph API 21.0, available at least until October 2026- Since:
- October 2, 2024
-
LATEST
convenience enum to provide simple access to the latest supported Graph API Version.the current version is Graph API 21.0
-
THREADS_1_0
Threads API 1.0, according to the documentation, this is the first Threads API Version -
THREADS_LATEST
convenience enum to provide simple access to the latest supported Threads API Version.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getUrlElement
-
isUrlElementRequired
-
getVersionFromString
converts a String (for example the url parameter) into a Version object- Parameters:
urlElementStr
- String that should- Returns:
- the generated version
-