Class DrawingRequest

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

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", comments="Generator version: 7.12.0") public class DrawingRequest extends Object implements Serializable
A drawing is a collection of features (modeled as a GeoJSON FeatureCollection) and some metadata.
See Also:
  • Constructor Details

    • DrawingRequest

      public DrawingRequest()
  • Method Details

    • id

      public DrawingRequest id(UUID id)
    • getId

      @Valid public @Valid UUID getId()
      Unique identifier of the drawing. Generated by the backend.
      Returns:
      id
    • setId

      public void setId(UUID id)
    • name

      public DrawingRequest name(String name)
    • getName

      @NotNull public @NotNull String getName()
      A user provided, identifying name of the drawing.
      Returns:
      name
    • setName

      public void setName(String name)
    • description

      public DrawingRequest description(String description)
    • getDescription

      public String getDescription()
      A description of the drawing.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • createdAt

      public DrawingRequest createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Valid public @Valid OffsetDateTime getCreatedAt()
      Creation date of the drawing as a Zoned date-time.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • updatedAt

      public DrawingRequest updatedAt(OffsetDateTime updatedAt)
    • getUpdatedAt

      @Valid public @Valid OffsetDateTime getUpdatedAt()
      Last update date of the drawing as a Zoned date-time.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(OffsetDateTime updatedAt)
    • createdBy

      public DrawingRequest createdBy(String createdBy)
    • getCreatedBy

      public String getCreatedBy()
      User that created the drawing.
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • updatedBy

      public DrawingRequest updatedBy(String updatedBy)
    • getUpdatedBy

      public String getUpdatedBy()
      User that last saved the drawing.
      Returns:
      updatedBy
    • setUpdatedBy

      public void setUpdatedBy(String updatedBy)
    • version

      public DrawingRequest version(Integer version)
    • getVersion

      public Integer getVersion()
      Version of the drawing.
      Returns:
      version
    • setVersion

      public void setVersion(Integer version)
    • access

      public DrawingRequest access(DrawingRequest.AccessEnum access)
    • getAccess

      @NotNull public @NotNull DrawingRequest.AccessEnum getAccess()
      Access level of the drawing, defaults to private.
      Returns:
      access
    • setAccess

      public void setAccess(DrawingRequest.AccessEnum access)
    • domainData

      public DrawingRequest domainData(Map<String,Object> domainData)
    • putDomainDataItem

      public DrawingRequest putDomainDataItem(String key, Object domainDataItem)
    • getDomainData

      public Map<String,Object> getDomainData()
      Domain specific data, can be used to store additional data.
      Returns:
      domainData
    • setDomainData

      public void setDomainData(Map<String,Object> domainData)
    • srid

      public DrawingRequest srid(Integer srid)
    • getSrid

      public Integer getSrid()
      The EPSG SRID code of the drawing's features, defaults to the SRID of the application.
      Returns:
      srid
    • setSrid

      public void setSrid(Integer srid)
    • featureCollection

      public DrawingRequest featureCollection(Object featureCollection)
    • getFeatureCollection

      public Object getFeatureCollection()
      Features of the drawing, as a GeoJSON FeatureCollection. The collection is projected to the SRID of the application that the drawing was last edited in.
      Returns:
      featureCollection
    • setFeatureCollection

      public void setFeatureCollection(Object featureCollection)
    • 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