org.appng.openapi.model

## Class Item

- java.lang.Object
- - org.appng.openapi.model.Item

-     @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
                 date="2023-03-20T12:57:48.851+01:00[Europe/Berlin]")
      public class Item
      extends Object

  A single item of a page.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `JSON_PROPERTY_FIELDS`
    `static String` | `JSON_PROPERTY_LINKS`
    `static String` | `JSON_PROPERTY_SELECTED`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Item()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Item` | `addLinksItem(Link linksItem)`
    `boolean` | `equals(Object o)`
    `Item` | `fields(Map<String,FieldValue> fields)`
    `Map<String,FieldValue>` | `getFields()` The list of field-values of the item.
    `List<Link>` | `getLinks()` A list of links.
    `Boolean` | `getSelected()` Whether this item is selected/active.
    `int` | `hashCode()`
    `Item` | `links(List<Link> links)`
    `Item` | `putFieldsItem(String key, FieldValue fieldsItem)`
    `Item` | `selected(Boolean selected)`
    `void` | `setFields(Map<String,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`

- - ### Field Detail

    - #### JSON_PROPERTY_FIELDS

          public static final String JSON_PROPERTY_FIELDS

      See Also:
        Constant Field Values

    - #### JSON_PROPERTY_SELECTED

          public static final String JSON_PROPERTY_SELECTED

      See Also:
        Constant Field Values

    - #### JSON_PROPERTY_LINKS

          public static final String JSON_PROPERTY_LINKS

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### Item

          public Item()

  - ### Method Detail

    - #### fields

          public Item fields(Map<String,FieldValue> fields)

    - #### putFieldsItem

          public Item putFieldsItem(String key,
                                    FieldValue fieldsItem)

    - #### getFields

          @Nullable
          public Map<String,FieldValue> getFields()

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

    - #### setFields

          public void setFields(Map<String,FieldValue> fields)

    - #### selected

          public Item selected(Boolean selected)

    - #### getSelected

          @Nullable
          public Boolean getSelected()

      Whether this item is selected/active.
      Returns:
        selected

    - #### setSelected

          public void setSelected(Boolean selected)

    - #### links

          public Item links(List<Link> links)

    - #### addLinksItem

          public Item addLinksItem(Link linksItem)

    - #### getLinks

          @Nullable
          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.