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
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CLIENTID
      Generated constant - Attribute key of ConsumedOAuthCredential.clientId attribute defined at extension apiregistryservices.
      static java.lang.String CLIENTSECRET
      Generated constant - Attribute key of ConsumedOAuthCredential.clientSecret attribute defined at extension apiregistryservices.
      static java.lang.String OAUTHURL
      Generated constant - Attribute key of ConsumedOAuthCredential.oAuthUrl attribute defined at extension apiregistryservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      ConsumedOAuthCredentialModel()
      Generated constructor - Default constructor for generic creation.
      ConsumedOAuthCredentialModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
      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
      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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClientId()
      Generated method - Getter of the ConsumedOAuthCredential.clientId attribute defined at extension apiregistryservices.
      java.lang.String getClientSecret()
      Generated method - Getter of the ConsumedOAuthCredential.clientSecret attribute defined at extension apiregistryservices.
      java.lang.String getOAuthUrl()
      Generated method - Getter of the ConsumedOAuthCredential.oAuthUrl attribute defined at extension apiregistryservices.
      void setClientId​(java.lang.String value)
      Generated method - Setter of ConsumedOAuthCredential.clientId attribute defined at extension apiregistryservices.
      void setClientSecret​(java.lang.String value)
      Generated method - Setter of ConsumedOAuthCredential.clientSecret attribute defined at extension apiregistryservices.
      void setOAuthUrl​(java.lang.String value)
      Generated method - Setter of ConsumedOAuthCredential.oAuthUrl attribute defined at extension apiregistryservices.
      • Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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​(de.hybris.platform.servicelayer.model.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