org.appng.api.rest.model

## Class Element

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

- All Implemented Interfaces:
    Serializable

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

  A single element of a page.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Element()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Element` | `addFieldsItem(FieldValue fieldsItem)`
    `Element` | `addLinksItem(Link linksItem)`
    `boolean` | `equals(Object o)`
    `Element` | `fields(List<FieldValue> fields)`
    `List<FieldValue>` | `getFields()` The list of field-values of the element.
    `List<Link>` | `getLinks()` A list of links.
    `int` | `hashCode()`
    `Boolean` | `isSelected()` Whether this element is selected/active.
    `Element` | `links(List<Link> links)`
    `Element` | `selected(Boolean selected)`
    `void` | `setFields(List<FieldValue> fields)`
    `void` | `setLinks(List<Link> links)`
    `void` | `setSelected(Boolean selected)`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### Element

          public Element()

  - ### Method Detail

    - #### fields

          public Element fields(List<FieldValue> fields)

    - #### addFieldsItem

          public Element addFieldsItem(FieldValue fieldsItem)

    - #### getFields

          public List<FieldValue> getFields()

      The list of field-values of the element.
      Returns:
        fields

    - #### setFields

          public void setFields(List<FieldValue> fields)

    - #### selected

          public Element selected(Boolean selected)

    - #### isSelected

          public Boolean isSelected()

      Whether this element is selected/active.
      Returns:
        selected

    - #### setSelected

          public void setSelected(Boolean selected)

    - #### links

          public Element links(List<Link> links)

    - #### addLinksItem

          public Element addLinksItem(Link linksItem)

    - #### getLinks

          public List<Link> getLinks()

      A list of links.
      Returns:
        links

    - #### setLinks

          public void setLinks(List<Link> links)

    - #### 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.