Class ConsumedOAuthCredentialModel

All Implemented Interfaces:
Serializable

public class ConsumedOAuthCredentialModel extends AbstractCredentialModel
Generated model class for type ConsumedOAuthCredential first defined at extension apiregistryservices.

OAuth credentials for external webservice.

See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • CLIENTID

      public static final String CLIENTID
      Generated constant - Attribute key of ConsumedOAuthCredential.clientId attribute defined at extension apiregistryservices.
      See Also:
    • OAUTHURL

      public static final String OAUTHURL
      Generated constant - Attribute key of ConsumedOAuthCredential.oAuthUrl attribute defined at extension apiregistryservices.
      See Also:
    • CLIENTSECRET

      public static final String CLIENTSECRET
      Generated constant - Attribute key of ConsumedOAuthCredential.clientSecret attribute defined at extension apiregistryservices.
      See Also:
  • Constructor Details

    • ConsumedOAuthCredentialModel

      public ConsumedOAuthCredentialModel()
      Generated constructor - Default constructor for generic creation.
    • ConsumedOAuthCredentialModel

      public ConsumedOAuthCredentialModel(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • ConsumedOAuthCredentialModel

      @Deprecated(since="4.1.1", forRemoval=true) public ConsumedOAuthCredentialModel(String _clientId, String _id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _clientId - initial attribute declared by type ConsumedOAuthCredential at extension apiregistryservices
      _id - initial attribute declared by type AbstractCredential at extension apiregistryservices
    • ConsumedOAuthCredentialModel

      @Deprecated(since="4.1.1", forRemoval=true) public ConsumedOAuthCredentialModel(String _clientId, String _id, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _clientId - initial attribute declared by type ConsumedOAuthCredential at extension apiregistryservices
      _id - initial attribute declared by type AbstractCredential at extension apiregistryservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getClientId

      @Accessor(qualifier="clientId", type=GETTER) public String getClientId()
      Generated method - Getter of the ConsumedOAuthCredential.clientId attribute defined at extension apiregistryservices.
      Returns:
      the clientId - OAuth Client Id
    • getClientSecret

      @Accessor(qualifier="clientSecret", type=GETTER) public String getClientSecret()
      Generated method - Getter of the ConsumedOAuthCredential.clientSecret attribute defined at extension apiregistryservices.
      Returns:
      the clientSecret - OAuth Client Secret
    • getOAuthUrl

      @Accessor(qualifier="oAuthUrl", type=GETTER) public String getOAuthUrl()
      Generated method - Getter of the ConsumedOAuthCredential.oAuthUrl attribute defined at extension apiregistryservices.
      Returns:
      the oAuthUrl - OAuth URL
    • setClientId

      @Accessor(qualifier="clientId", type=SETTER) public void setClientId(String value)
      Generated method - Setter of ConsumedOAuthCredential.clientId attribute defined at extension apiregistryservices.
      Parameters:
      value - the clientId - OAuth Client Id
    • setClientSecret

      @Accessor(qualifier="clientSecret", type=SETTER) public void setClientSecret(String value)
      Generated method - Setter of ConsumedOAuthCredential.clientSecret attribute defined at extension apiregistryservices.
      Parameters:
      value - the clientSecret - OAuth Client Secret
    • setOAuthUrl

      @Accessor(qualifier="oAuthUrl", type=SETTER) public void setOAuthUrl(String value)
      Generated method - Setter of ConsumedOAuthCredential.oAuthUrl attribute defined at extension apiregistryservices.
      Parameters:
      value - the oAuthUrl - OAuth URL