Interface GroupRule

    • Method Detail

      • getCreated

        java.util.Date getCreated()
      • getId

        java.lang.String getId()
      • getLastUpdated

        java.util.Date getLastUpdated()
      • getName

        java.lang.String getName()
      • setName

        GroupRule setName​(java.lang.String name)
      • getType

        java.lang.String getType()
      • setType

        GroupRule setType​(java.lang.String type)
      • deactivate

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="POST - /api/v1/groups/rules/{ruleId}/lifecycle/deactivate")
        void deactivate()
        Deactivate a group Rule Deactivates a specific group rule by id from your organization
      • update

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="PUT - /api/v1/groups/rules/{ruleId}")
        GroupRule update()
        Updates a group rule. Only `INACTIVE` rules can be updated.
        Returns:
        GroupRule
      • delete

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="DELETE - /api/v1/groups/rules/{ruleId}")
        void delete​(java.lang.Boolean removeUsers)
        Delete a group Rule Removes a specific group rule by id from your organization
        Parameters:
        removeUsers - Indicates whether to keep or remove users from groups assigned by this rule. (optional)
      • delete

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="DELETE - /api/v1/groups/rules/{ruleId}")
        void delete()
        Delete a group Rule Removes a specific group rule by id from your organization
        Specified by:
        delete in interface Deletable
      • activate

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="POST - /api/v1/groups/rules/{ruleId}/lifecycle/activate")
        void activate()
        Activate a group Rule Activates a specific group rule by id from your organization