Interface InlineHook

    • Method Detail

      • getLinks

        java.util.Map<java.lang.String,​java.lang.Object> getLinks()
      • getCreated

        java.util.Date getCreated()
      • getId

        java.lang.String getId()
      • getLastUpdated

        java.util.Date getLastUpdated()
      • getName

        java.lang.String getName()
      • setName

        InlineHook setName​(java.lang.String name)
      • getVersion

        java.lang.String getVersion()
      • setVersion

        InlineHook setVersion​(java.lang.String version)
      • update

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="PUT - /api/v1/inlineHooks/{inlineHookId}")
        InlineHook update()
        Updates an inline hook by ID
        Returns:
        InlineHook
      • execute

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="POST - /api/v1/inlineHooks/{inlineHookId}/execute")
        InlineHookResponse execute​(InlineHookPayload payloadData)
        Executes the Inline Hook matching the provided inlineHookId using the request body as the input. This will send the provided data through the Channel and return a response if it matches the correct data contract. This execution endpoint should only be used for testing purposes.
        Parameters:
        payloadData - (required)
        Returns:
        InlineHookResponse
      • delete

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="DELETE - /api/v1/inlineHooks/{inlineHookId}")
        void delete()
        Deletes the Inline Hook matching the provided id. Once deleted, the Inline Hook is unrecoverable. As a safety precaution, only Inline Hooks with a status of INACTIVE are eligible for deletion.
        Specified by:
        delete in interface Deletable
      • deactivate

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="POST - /api/v1/inlineHooks/{inlineHookId}/lifecycle/deactivate")
        InlineHook deactivate()
        Deactivates the Inline Hook matching the provided id
        Returns:
        InlineHook
      • activate

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="POST - /api/v1/inlineHooks/{inlineHookId}/lifecycle/activate")
        InlineHook activate()
        Activates the Inline Hook matching the provided id
        Returns:
        InlineHook