Class ExposedOAuthCredentialModel

All Implemented Interfaces:
Serializable

public class ExposedOAuthCredentialModel extends AbstractCredentialModel
Generated model class for type ExposedOAuthCredential first defined at extension apiregistryservices.

OAuth credentials for CS webservice.

See Also:
  • Field Details

    • _TYPECODE

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

      public static final String OAUTHCLIENTDETAILS
      Generated constant - Attribute key of ExposedOAuthCredential.oAuthClientDetails attribute defined at extension apiregistryservices.
      See Also:
    • PASSWORD

      public static final String PASSWORD
      Generated constant - Attribute key of ExposedOAuthCredential.password attribute defined at extension apiregistryservices.
      See Also:
  • Constructor Details

    • ExposedOAuthCredentialModel

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

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

      @Deprecated(since="4.1.1", forRemoval=true) public ExposedOAuthCredentialModel(String _id, OAuthClientDetailsModel _oAuthClientDetails)
      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:
      _id - initial attribute declared by type AbstractCredential at extension apiregistryservices
      _oAuthClientDetails - initial attribute declared by type ExposedOAuthCredential at extension apiregistryservices
    • ExposedOAuthCredentialModel

      @Deprecated(since="4.1.1", forRemoval=true) public ExposedOAuthCredentialModel(String _id, OAuthClientDetailsModel _oAuthClientDetails, 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:
      _id - initial attribute declared by type AbstractCredential at extension apiregistryservices
      _oAuthClientDetails - initial attribute declared by type ExposedOAuthCredential at extension apiregistryservices
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getOAuthClientDetails

      @Accessor(qualifier="oAuthClientDetails", type=GETTER) public OAuthClientDetailsModel getOAuthClientDetails()
      Generated method - Getter of the ExposedOAuthCredential.oAuthClientDetails attribute defined at extension apiregistryservices.
      Returns:
      the oAuthClientDetails - OAuth Details
    • getPassword

      @Accessor(qualifier="password", type=GETTER) public String getPassword()
      Generated method - Getter of the ExposedOAuthCredential.password attribute defined at extension apiregistryservices.
      Returns:
      the password - OAuth Password
    • setOAuthClientDetails

      @Accessor(qualifier="oAuthClientDetails", type=SETTER) public void setOAuthClientDetails(OAuthClientDetailsModel value)
      Generated method - Setter of ExposedOAuthCredential.oAuthClientDetails attribute defined at extension apiregistryservices.
      Parameters:
      value - the oAuthClientDetails - OAuth Details
    • setPassword

      @Accessor(qualifier="password", type=SETTER) public void setPassword(String value)
      Generated method - Setter of ExposedOAuthCredential.password attribute defined at extension apiregistryservices.
      Parameters:
      value - the password - OAuth Password