Package com.cumulocity.sdk.client.option
Class SystemOptionApiImpl
java.lang.Object
com.cumulocity.sdk.client.option.SystemOptionApiImpl
- All Implemented Interfaces:
SystemOptionApi
-
Constructor Summary
ConstructorDescriptionSystemOptionApiImpl
(RestConnector restConnector, TenantApiRepresentation tenantApiRepresentation) -
Method Summary
Modifier and TypeMethodDescriptionGets an option by id Requires role ROLE_OPTION_MANAGEMENT_READ
-
Constructor Details
-
SystemOptionApiImpl
public SystemOptionApiImpl(RestConnector restConnector, TenantApiRepresentation tenantApiRepresentation)
-
-
Method Details
-
getOption
Description copied from interface:SystemOptionApi
Gets an option by id Requires role ROLE_OPTION_MANAGEMENT_READ- Specified by:
getOption
in interfaceSystemOptionApi
- Parameters:
optionPK
- id of the option to search for- Returns:
- the system option with the given id
- Throws:
SDKException
- if the option is not found or if the query failed
-