Class Page

java.lang.Object
org.tailormap.api.viewer.model.Page
All Implemented Interfaces:
Serializable

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

    • Page

      public Page()
  • Method Details

    • id

      public Page id(Long id)
    • getId

      public Long getId()
      Get id
      Returns:
      id
    • setId

      public void setId(Long id)
    • type

      public Page type(String type)
    • getType

      public String getType()
      define the type of the page which can be used to switch between layouts for example
      Returns:
      type
    • setType

      public void setType(String type)
    • name

      public Page name(String name)
    • getName

      public String getName()
      name of the page which will be used for the url
      Returns:
      name
    • setName

      public void setName(String name)
    • title

      public Page title(String title)
    • getTitle

      public String getTitle()
      page title
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • content

      public Page content(String content)
    • getContent

      public String getContent()
      Get content
      Returns:
      content
    • setContent

      public void setContent(String content)
    • className

      public Page className(String className)
    • getClassName

      public String getClassName()
      page body content
      Returns:
      className
    • setClassName

      public void setClassName(String className)
    • tiles

      public Page tiles(List<@Valid ViewerPageTile> tiles)
    • addTilesItem

      public Page addTilesItem(ViewerPageTile tilesItem)
    • getTiles

      @Valid @Size(min=0) public @Valid @Size(min=0) List<@Valid ViewerPageTile> getTiles()
      list of tiles, tiles are used to link to applications or other pages
      Returns:
      tiles
    • setTiles

      public void setTiles(List<@Valid ViewerPageTile> tiles)
    • addMenuItem

      public Page addMenuItem(ViewerMenuItem menuItem)
    • getMenu

      @Valid @Size(min=0) public @Valid @Size(min=0) List<@Valid ViewerMenuItem> getMenu()
      list of menu items for this page
      Returns:
      menu
    • setMenu

      public void setMenu(List<@Valid ViewerMenuItem> menu)
    • 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