Returns the id of the item
We respect directus recommandations of having an id field for each collection.
It can be null because a new item can be created without an id and will get its id generated by the server
If you fetched the item from the server, it will have an id and it will certainly never be null
Returns a DateTime for a given property.
Only use this property if you are certain your property will be filled for every object in the collection
If you are not certain, use getOptionalDateTime instead
Returns a DirectusGeometryType for a given property.
Only use this property if you are certain your property will be filled for every object in the collection
If you are not certain, use getOptionalDirectusGeometryType instead
Returns a list of the given type for a given property.
Only use this property if you are certain your property will be of this type for every object in the collection
If the property is not a list, an empty list will be returned
Returns a DateTime if the value is a DateTime or a String that can be parsed as a DateTime
This property can be used if you are not certain your property will be filled for every object in the collection
Returns a DirectusGeometryType if the value is a Map that can be converted to a DirectusGeometryType
This property can be used if you are not certain your property will be filled for every object in the collection
If the property is not a Map, null will be returned
Returns a list of String for a given property.
Only use this property if you are certain your property will be a list whose members can be converted to String using toString
If the property is not a list, an empty list will be returned