Package org.tailormap.api.viewer.model
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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Access level of the drawing, defaults to private. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccess
(DrawingRequest.AccessEnum access) createdAt
(OffsetDateTime createdAt) description
(String description) domainData
(Map<String, Object> domainData) boolean
featureCollection
(Object featureCollection) @NotNull DrawingRequest.AccessEnum
Access level of the drawing, defaults to private.@Valid OffsetDateTime
Creation date of the drawing as a Zoned date-time.User that created the drawing.A description of the drawing.Domain specific data, can be used to store additional data.Features of the drawing, as a GeoJSON FeatureCollection.@Valid UUID
getId()
Unique identifier of the drawing.@NotNull String
getName()
A user provided, identifying name of the drawing.getSrid()
The EPSG SRID code of the drawing's features, defaults to the SRID of the application.@Valid OffsetDateTime
Last update date of the drawing as a Zoned date-time.User that last saved the drawing.Version of the drawing.int
hashCode()
putDomainDataItem
(String key, Object domainDataItem) void
setAccess
(DrawingRequest.AccessEnum access) void
setCreatedAt
(OffsetDateTime createdAt) void
setCreatedBy
(String createdBy) void
setDescription
(String description) void
setDomainData
(Map<String, Object> domainData) void
setFeatureCollection
(Object featureCollection) void
void
void
void
setUpdatedAt
(OffsetDateTime updatedAt) void
setUpdatedBy
(String updatedBy) void
setVersion
(Integer version) toString()
updatedAt
(OffsetDateTime updatedAt)
-
Constructor Details
-
DrawingRequest
public DrawingRequest()
-
-
Method Details
-
id
-
getId
Unique identifier of the drawing. Generated by the backend.- Returns:
- id
-
setId
-
name
-
getName
A user provided, identifying name of the drawing.- Returns:
- name
-
setName
-
description
-
getDescription
A description of the drawing.- Returns:
- description
-
setDescription
-
createdAt
-
getCreatedAt
Creation date of the drawing as a Zoned date-time.- Returns:
- createdAt
-
setCreatedAt
-
updatedAt
-
getUpdatedAt
Last update date of the drawing as a Zoned date-time.- Returns:
- updatedAt
-
setUpdatedAt
-
createdBy
-
getCreatedBy
User that created the drawing.- Returns:
- createdBy
-
setCreatedBy
-
updatedBy
-
getUpdatedBy
User that last saved the drawing.- Returns:
- updatedBy
-
setUpdatedBy
-
version
-
getVersion
Version of the drawing.- Returns:
- version
-
setVersion
-
access
-
getAccess
Access level of the drawing, defaults to private.- Returns:
- access
-
setAccess
-
domainData
-
putDomainDataItem
-
getDomainData
Domain specific data, can be used to store additional data.- Returns:
- domainData
-
setDomainData
-
srid
-
getSrid
The EPSG SRID code of the drawing's features, defaults to the SRID of the application.- Returns:
- srid
-
setSrid
-
featureCollection
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-