NAME

Elastic::Model::TypeMap::Common - Type maps for commonly used types

VERSION

version 0.52

DESCRIPTION

Elastic::Model::TypeMap::Common provides mapping, inflation and deflation for commonly used types.

TYPES

DateTime

Attributes with an isa => 'DateTime' constraint are deflated to ISO8601 format in UTC, eg 2012-01-01T01:01:01, and reinflated via "new" in DateTime. They are mapped as { type => 'date' }.

AUTHOR

Clinton Gormley <drtech@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Clinton Gormley.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.