org.appng.api.rest.model

## Class Action

- java.lang.Object
- - org.appng.api.rest.model.Action

- All Implemented Interfaces:
    Serializable

      @Generated(value="io.swagger.codegen.languages.JavaClientCodegen",
                 date="2023-03-20T12:57:47.319+01:00")
      public class Action
      extends Object
      implements Serializable

  An action, representing an executable operation.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Action()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Action` | `addFieldsItem(ActionField fieldsItem)`
    `Action` | `addMessagesItem(Message messagesItem)`
    `Action` | `addParametersItem(Parameter parametersItem)`
    `Action` | `addPermissionsItem(Permission permissionsItem)`
    `boolean` | `equals(Object o)`
    `Action` | `eventId(String eventId)`
    `Action` | `fields(List<ActionField> fields)`
    `String` | `getEventId()` The event-Id of the action.
    `List<ActionField>` | `getFields()` A list of action-fields.
    `String` | `getId()` The Id of the action.
    `List<Message>` | `getMessages()` A list of messages.
    `List<Parameter>` | `getParameters()` A list of parameters for the action
    `List<Permission>` | `getPermissions()` The permissions for this action.
    `User` | `getUser()` The current user.
    `int` | `hashCode()`
    `Action` | `id(String id)`
    `Action` | `messages(List<Message> messages)`
    `Action` | `parameters(List<Parameter> parameters)`
    `Action` | `permissions(List<Permission> permissions)`
    `void` | `setEventId(String eventId)`
    `void` | `setFields(List<ActionField> fields)`
    `void` | `setId(String id)`
    `void` | `setMessages(List<Message> messages)`
    `void` | `setParameters(List<Parameter> parameters)`
    `void` | `setPermissions(List<Permission> permissions)`
    `void` | `setUser(User user)`
    `String` | `toString()`
    `Action` | `user(User user)`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Action

          public Action()

  - ### Method Detail

    - #### id

          public Action id(String id)

    - #### getId

          public String getId()

      The Id of the action.
      Returns:
        id

    - #### setId

          public void setId(String id)

    - #### eventId

          public Action eventId(String eventId)

    - #### getEventId

          public String getEventId()

      The event-Id of the action.
      Returns:
        eventId

    - #### setEventId

          public void setEventId(String eventId)

    - #### parameters

          public Action parameters(List<Parameter> parameters)

    - #### addParametersItem

          public Action addParametersItem(Parameter parametersItem)

    - #### getParameters

          public List<Parameter> getParameters()

      A list of parameters for the action
      Returns:
        parameters

    - #### setParameters

          public void setParameters(List<Parameter> parameters)

    - #### user

          public Action user(User user)

    - #### getUser

          public User getUser()

      The current user.
      Returns:
        user

    - #### setUser

          public void setUser(User user)

    - #### messages

          public Action messages(List<Message> messages)

    - #### addMessagesItem

          public Action addMessagesItem(Message messagesItem)

    - #### getMessages

          public List<Message> getMessages()

      A list of messages.
      Returns:
        messages

    - #### setMessages

          public void setMessages(List<Message> messages)

    - #### fields

          public Action fields(List<ActionField> fields)

    - #### addFieldsItem

          public Action addFieldsItem(ActionField fieldsItem)

    - #### getFields

          public List<ActionField> getFields()

      A list of action-fields.
      Returns:
        fields

    - #### setFields

          public void setFields(List<ActionField> fields)

    - #### permissions

          public Action permissions(List<Permission> permissions)

    - #### addPermissionsItem

          public Action addPermissionsItem(Permission permissionsItem)

    - #### getPermissions

          public List<Permission> getPermissions()

      The permissions for this action.
      Returns:
        permissions

    - #### setPermissions

          public void setPermissions(List<Permission> permissions)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2011–2023 aiticon GmbH. All rights reserved.