Class MenuItem

java.lang.Object
org.tailormap.api.persistence.json.MenuItem
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.10.0") public class MenuItem extends Object implements Serializable
model for a menu items
See Also:
  • Constructor Details

    • MenuItem

      public MenuItem()
  • Method Details

    • label

      public MenuItem label(String label)
    • getLabel

      public String getLabel()
      menu item label
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • pageUrl

      public MenuItem pageUrl(String pageUrl)
    • getPageUrl

      public String getPageUrl()
      link to another page
      Returns:
      pageUrl
    • setPageUrl

      public void setPageUrl(String pageUrl)
    • url

      public MenuItem url(String url)
    • getUrl

      public String getUrl()
      link to an other domain / website
      Returns:
      url
    • setUrl

      public void setUrl(String url)
    • openInNewWindow

      public MenuItem openInNewWindow(Boolean openInNewWindow)
    • getOpenInNewWindow

      public Boolean getOpenInNewWindow()
      indicates whether the link should be opened in a new window
      Returns:
      openInNewWindow
    • setOpenInNewWindow

      public void setOpenInNewWindow(Boolean openInNewWindow)
    • pageId

      public MenuItem pageId(Long pageId)
    • getPageId

      public Long getPageId()
      Get pageId
      Returns:
      pageId
    • setPageId

      public void setPageId(Long pageId)
    • exclusiveOnPageId

      public MenuItem exclusiveOnPageId(Long exclusiveOnPageId)
    • getExclusiveOnPageId

      public Long getExclusiveOnPageId()
      Get exclusiveOnPageId
      Returns:
      exclusiveOnPageId
    • setExclusiveOnPageId

      public void setExclusiveOnPageId(Long exclusiveOnPageId)
    • 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