Package org.tailormap.api.viewer.model
Class DrawingResponse
java.lang.Object
org.tailormap.api.viewer.model.DrawingResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
comments="Generator version: 7.17.0")
public class DrawingResponse
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 enumAccess level of the drawing, defaults to private. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccess(DrawingResponse.AccessEnum access) createdAt(OffsetDateTime createdAt) description(String description) domainData(Map<String, Object> domainData) booleanfeatureCollection(Object featureCollection) @NotNull DrawingResponse.AccessEnumAccess level of the drawing, defaults to private.@Valid OffsetDateTimeCreation 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 UUIDgetId()Unique identifier of the drawing.@NotNull StringgetName()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 OffsetDateTimeLast update date of the drawing as a Zoned date-time.User that last saved the drawing.Version of the drawing.inthashCode()putDomainDataItem(String key, Object domainDataItem) voidsetAccess(DrawingResponse.AccessEnum access) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(String createdBy) voidsetDescription(String description) voidsetDomainData(Map<String, Object> domainData) voidsetFeatureCollection(Object featureCollection) voidvoidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) voidsetUpdatedBy(String updatedBy) voidsetVersion(Integer version) toString()updatedAt(OffsetDateTime updatedAt)
-
Constructor Details
-
DrawingResponse
public DrawingResponse()
-
-
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
-