public final class ThirdPartyServiceModel extends Object
ThirdPartyServiceModel, a plugin should define a field
in its PluginConfiguration with a type of ThirdPartyServiceModel and configure the associated
ConfigurationField to use a ConfigurationModelAccessor of ThirdPartyServiceAccessor.
A ThirdPartyServiceModel is guaranteed to be uniquely identified by the id returned from getId()).
This field is also the only field utilized for hashCode() and equals(Object).| Constructor and Description |
|---|
ThirdPartyServiceModel(String id,
String name)
Construct a
ThirdPartyServiceModel. |
ThirdPartyServiceModel(String id,
String name,
String requestUri)
Construct a
ThirdPartyServiceModel. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId() |
String |
getName() |
Optional<String> |
getRequestUri() |
int |
hashCode() |
String |
toString() |
public ThirdPartyServiceModel(String id, String name)
ThirdPartyServiceModel.id - the id of the associated third-party servicename - the name of the associated third-party servicepublic ThirdPartyServiceModel(String id, String name, String requestUri)
ThirdPartyServiceModel.id - the id of the associated third-party servicename - the name of the associated third-party servicerequestUri - the relative path uri to be used for requests to a third-party servicepublic String getId()
public String getName()
public Optional<String> getRequestUri()
Optional if a
third-party service can be accessed through an arbitrary path.Copyright 2023 Ping Identity Corp. All rights reserved.