Class ConsumedOAuthCredentialModel

  • All Implemented Interfaces:
    java.io.Serializable

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

    OAuth credentials for external webservice.

    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • CLIENTID

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

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

        public static final java.lang.String CLIENTSECRET
        Generated constant - Attribute key of ConsumedOAuthCredential.clientSecret attribute defined at extension apiregistryservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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​(java.lang.String _clientId,
                                            java.lang.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​(java.lang.String _clientId,
                                            java.lang.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 Detail

      • getClientId

        @Accessor(qualifier="clientId",
                  type=GETTER)
        public java.lang.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 java.lang.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 java.lang.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​(java.lang.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​(java.lang.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​(java.lang.String value)
        Generated method - Setter of ConsumedOAuthCredential.oAuthUrl attribute defined at extension apiregistryservices.
        Parameters:
        value - the oAuthUrl - OAuth URL