Class ViewerMenuItem

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

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

    • ViewerMenuItem

      public ViewerMenuItem()
  • Method Details

    • label

      public ViewerMenuItem label(String label)
    • getLabel

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

      public void setLabel(String label)
    • pageUrl

      public ViewerMenuItem pageUrl(String pageUrl)
    • getPageUrl

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

      public void setPageUrl(String pageUrl)
    • url

      public ViewerMenuItem url(String url)
    • getUrl

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

      public void setUrl(String url)
    • openInNewWindow

      public ViewerMenuItem 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)
    • 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