Package org.tailormap.api.viewer.model
Class FeaturesResponse
java.lang.Object
org.tailormap.api.viewer.model.FeaturesResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.10.0")
public class FeaturesResponse
extends Object
implements Serializable
A -possibly empty- list of features with requested attributes and presentation metadata
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddColumnMetadataItem
(ColumnMetadata columnMetadataItem) addFeaturesItem
(Feature featuresItem) columnMetadata
(List<@Valid ColumnMetadata> columnMetadata) boolean
@NotNull @Valid @Size(min=0) List<@Valid ColumnMetadata>
presentation metadatalist of features.@Min(1L) Integer
getPage()
current page, this will allow the client to request the next or previous page by adding or removing 1 or more minimum: 1@Min(1L) Integer
number of features in a page, this will allow calculating the offset (page * pagesize) minimum: 1Template/description for a feature.getTotal()
the total number of available features, can be an estimated value.int
hashCode()
void
setColumnMetadata
(List<@Valid ColumnMetadata> columnMetadata) void
setFeatures
(List<@Valid Feature> features) void
void
setPageSize
(Integer pageSize) void
setTemplate
(String template) void
toString()
-
Constructor Details
-
FeaturesResponse
public FeaturesResponse()
-
-
Method Details
-
total
-
getTotal
the total number of available features, can be an estimated value. Can be missing when unknown or irrelevant (eg. featureinfo request)- Returns:
- total
-
setTotal
-
page
-
getPage
current page, this will allow the client to request the next or previous page by adding or removing 1 or more minimum: 1- Returns:
- page
-
setPage
-
pageSize
-
getPageSize
number of features in a page, this will allow calculating the offset (page * pagesize) minimum: 1- Returns:
- pageSize
-
setPageSize
-
features
-
addFeaturesItem
-
getFeatures
list of features. When the pagenumber*pagesize exceeds the number of features this list will be empty- Returns:
- features
-
setFeatures
-
columnMetadata
-
addColumnMetadataItem
-
getColumnMetadata
@NotNull @Valid @Size(min=0) public @NotNull @Valid @Size(min=0) List<@Valid ColumnMetadata> getColumnMetadata()presentation metadata- Returns:
- columnMetadata
-
setColumnMetadata
-
template
-
getTemplate
Template/description for a feature. Will replace placeholders by attribute values in the viewer- Returns:
- template
-
setTemplate
-
equals
-
hashCode
public int hashCode() -
toString
-