public class SystemOptionApiImpl extends Object implements SystemOptionApi
Constructor and Description |
---|
SystemOptionApiImpl(RestConnector restConnector,
TenantApiRepresentation tenantApiRepresentation) |
Modifier and Type | Method and Description |
---|---|
OptionRepresentation |
getOption(com.cumulocity.model.option.OptionPK optionPK)
Gets an option by id
Requires role ROLE_OPTION_MANAGEMENT_READ
|
public SystemOptionApiImpl(RestConnector restConnector, TenantApiRepresentation tenantApiRepresentation)
public OptionRepresentation getOption(com.cumulocity.model.option.OptionPK optionPK) throws SDKException
SystemOptionApi
getOption
in interface SystemOptionApi
optionPK
- id of the option to search forSDKException
- if the option is not found or if the query failedCopyright © 2020 (C) Cumulocity GmbH. All rights reserved.