struct Athena::Serializer::PropertyMetadata(IvarType, ValueType, ClassType)
- Athena::Serializer::PropertyMetadata(IvarType, ValueType, ClassType)
- Struct
- Value
- Object
Overview
Stores metadata related to a specific property.
This includes its name (internal and external), value, versions/groups, and any aliases.
Included Modules
Defined in:
property_metadata.crConstructors
Instance Method Summary
-
#aliases : Array(String)
Deserialize this property from the property's name or any name in aliases.
-
#annotation_configurations : ACF::AnnotationConfigurations
Returns annotations configurations registered via
Athena::Config.configuration_annotation
and applied to this property. -
#class : ClassType.class
The class that the property is part of.
-
#external_name : String
The name that should be used for serialization/deserialization.
-
#groups : Set(String)
The serialization groups this property belongs to.
-
#name : String
The name of the property.
-
#since_version : SemanticVersion | Nil
Represents the first version this property is available.
-
#since_version=(since_version : SemanticVersion | Nil)
Represents the first version this property is available.
-
#skip_when_empty? : Bool
If this property should not be serialized if it is empty.
-
#type : IvarType.class
The type of the property.
-
#until_version : SemanticVersion | Nil
Represents the last version this property was available.
-
#until_version=(until_version : SemanticVersion | Nil)
Represents the last version this property was available.
-
#value : ValueType
The value of the property (when serializing).
Constructor Detail
Instance Method Detail
Deserialize this property from the property's name or any name in aliases.
See ASRA::Name
.
Returns annotations configurations registered via Athena::Config.configuration_annotation
and applied to this property.
These configurations could then be accessed within an ASR::ExclusionStrategies::ExclusionStrategyInterface
.
Represents the first version this property is available.
Represents the first version this property is available.
If this property should not be serialized if it is empty.
See ASRA::SkipWhenEmpty
.
Represents the last version this property was available.
Represents the last version this property was available.