Class FeaturesResponse

  • All Implemented Interfaces:
    Serializable

    @Generated("org.openapitools.codegen.languages.SpringCodegen")
    public class FeaturesResponse
    extends Object
    implements Serializable
    A -possibly empty- list of features with requested attributes and presentation metadata
    See Also:
    Serialized Form
    • Constructor Detail

      • FeaturesResponse

        public FeaturesResponse()
    • Method Detail

      • getTotal

        public Integer 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

        public void setTotal​(Integer total)
      • getPage

        @Min(1L)
        public @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
        Returns:
        page
      • setPage

        public void setPage​(Integer page)
      • getPageSize

        @Min(1L)
        public @Min(1L) Integer getPageSize()
        number of features in a page, this will allow calculating the offset (page * pagesize) minimum: 1
        Returns:
        pageSize
      • setPageSize

        public void setPageSize​(Integer pageSize)
      • getFeatures

        @NotNull
        @Valid
        public @NotNull @Valid List<@Valid Feature> getFeatures()
        list of features. When the pagenumber*pagesize exceeds the number of features this list will be empty
        Returns:
        features
      • setFeatures

        public void setFeatures​(List<@Valid Feature> features)
      • getColumnMetadata

        @NotNull
        @Valid
        public @NotNull @Valid List<@Valid ColumnMetadata> getColumnMetadata()
        presentation metadata
        Returns:
        columnMetadata
      • setColumnMetadata

        public void setColumnMetadata​(List<@Valid ColumnMetadata> columnMetadata)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object