Interface ChannelRemoveRolesAction

All Superinterfaces:
ChannelUpdateAction, ResourceUpdateAction<ChannelUpdateAction>

public interface ChannelRemoveRolesAction extends ChannelUpdateAction
ChannelRemoveRolesAction
Example to create an instance using the builder pattern

     ChannelRemoveRolesAction channelRemoveRolesAction = ChannelRemoveRolesAction.builder()
             .plusRoles(rolesBuilder -> rolesBuilder)
             .build()
 
  • Field Details

  • Method Details

    • getRoles

      @NotNull @NotNull List<ChannelRoleEnum> getRoles()

      Value to remove from the array.

      Returns:
      roles
    • setRoles

      void setRoles(ChannelRoleEnum... roles)

      Value to remove from the array.

      Parameters:
      roles - values to be set
    • setRoles

      void setRoles(List<ChannelRoleEnum> roles)

      Value to remove from the array.

      Parameters:
      roles - values to be set
    • of

      factory method
      Returns:
      instance of ChannelRemoveRolesAction
    • of

      factory method to create a shallow copy ChannelRemoveRolesAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of ChannelRemoveRolesAction
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      builder factory method for ChannelRemoveRolesAction
      Returns:
      builder
    • builder

      create builder for ChannelRemoveRolesAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withChannelRemoveRolesAction

      default <T> T withChannelRemoveRolesAction(Function<ChannelRemoveRolesAction,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<ChannelRemoveRolesAction> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference