Class ViewerResponse
- java.lang.Object
-
- nl.b3p.tailormap.api.viewer.model.ViewerResponse
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.SpringCodegen") public class ViewerResponse extends Object implements SerializableBasic viewer information- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classViewerResponse.KindEnumKind of viewer; a 'service' viewer has layers from a single service combined with a base viewer.
-
Constructor Summary
Constructors Constructor Description ViewerResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ViewerResponseaddBaseAppsItem(String baseAppsItem)ViewerResponseaddComponentsItem(Component componentsItem)ViewerResponseaddLanguagesItem(String languagesItem)ViewerResponseaddProjectionsItem(String projectionsItem)ViewerResponsebaseApps(List<String> baseApps)ViewerResponsecomponents(List<@Valid Component> components)booleanequals(Object o)List<String>getBaseApps()Available base apps.@NotNull @Valid List<@Valid Component>getComponents()Configured components (controls) for the viewer@NotNull ViewerResponse.KindEnumgetKind()Kind of viewer; a 'service' viewer has layers from a single service combined with a base viewer.@NotNull List<String>getLanguages()Available languages for this application.@NotNull StringgetName()Get name@NotNull List<String>getProjections()Available projections for this application.@NotNull @Valid AppStylinggetStyling()Get styling@NotNull StringgetTitle()Get titleinthashCode()ViewerResponsekind(ViewerResponse.KindEnum kind)ViewerResponselanguages(List<String> languages)ViewerResponsename(String name)ViewerResponseprojections(List<String> projections)voidsetBaseApps(List<String> baseApps)voidsetComponents(List<@Valid Component> components)voidsetKind(ViewerResponse.KindEnum kind)voidsetLanguages(List<String> languages)voidsetName(String name)voidsetProjections(List<String> projections)voidsetStyling(AppStyling styling)voidsetTitle(String title)ViewerResponsestyling(AppStyling styling)ViewerResponsetitle(String title)StringtoString()
-
-
-
Method Detail
-
kind
public ViewerResponse kind(ViewerResponse.KindEnum kind)
-
getKind
@NotNull public @NotNull ViewerResponse.KindEnum getKind()
Kind of viewer; a 'service' viewer has layers from a single service combined with a base viewer. A 'viewer' has content configured from various services.- Returns:
- kind
-
setKind
public void setKind(ViewerResponse.KindEnum kind)
-
name
public ViewerResponse name(String name)
-
getName
@NotNull public @NotNull String getName()
Get name- Returns:
- name
-
setName
public void setName(String name)
-
title
public ViewerResponse title(String title)
-
getTitle
@NotNull public @NotNull String getTitle()
Get title- Returns:
- title
-
setTitle
public void setTitle(String title)
-
baseApps
public ViewerResponse baseApps(List<String> baseApps)
-
addBaseAppsItem
public ViewerResponse addBaseAppsItem(String baseAppsItem)
-
getBaseApps
public List<String> getBaseApps()
Available base apps. The first item is the default. May have one entry if only one is available. An empty list means there are no base apps available.- Returns:
- baseApps
-
languages
public ViewerResponse languages(List<String> languages)
-
addLanguagesItem
public ViewerResponse addLanguagesItem(String languagesItem)
-
getLanguages
@NotNull public @NotNull List<String> getLanguages()
Available languages for this application. The first item is the default.- Returns:
- languages
-
projections
public ViewerResponse projections(List<String> projections)
-
addProjectionsItem
public ViewerResponse addProjectionsItem(String projectionsItem)
-
getProjections
@NotNull public @NotNull List<String> getProjections()
Available projections for this application. The first item is the default. Not all layers may be available in all projections.- Returns:
- projections
-
styling
public ViewerResponse styling(AppStyling styling)
-
getStyling
@NotNull @Valid public @NotNull @Valid AppStyling getStyling()
Get styling- Returns:
- styling
-
setStyling
public void setStyling(AppStyling styling)
-
components
public ViewerResponse components(List<@Valid Component> components)
-
addComponentsItem
public ViewerResponse addComponentsItem(Component componentsItem)
-
getComponents
@NotNull @Valid public @NotNull @Valid List<@Valid Component> getComponents()
Configured components (controls) for the viewer- Returns:
- components
-
-