Class ExposedOAuthCredentialModel

  • All Implemented Interfaces:
    java.io.Serializable

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

    OAuth credentials for CS 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
      • OAUTHCLIENTDETAILS

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

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

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

      • 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 java.lang.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​(java.lang.String value)
        Generated method - Setter of ExposedOAuthCredential.password attribute defined at extension apiregistryservices.
        Parameters:
        value - the password - OAuth Password