Module: Lutaml::Model::Serialize::ClassMethods
- Includes:
- Liquefiable::ClassMethods, AttributeDefinition, EnumHandling, FormatConversion, Initialization, ModelImport, TransformationBuilder, ValueMapping
- Defined in:
- lib/lutaml/model/serialize.rb
Instance Attribute Summary collapse
-
#choice_attributes ⇒ Object
Returns the value of attribute choice_attributes.
-
#mappings ⇒ Object
Returns the value of attribute mappings.
-
#register_records ⇒ Object
Returns the value of attribute register_records.
Method Summary
Methods included from TransformationBuilder
#build_transformation, #process_reference_type, #process_type_hash, #reference_type?, #transformation_for, #validate_reference_spec!
Methods included from ValueMapping
#apply_mappings, #apply_value_map, #empty_object, #ensure_utf8, #extract_register_id, #register_accessor_methods_for, #resolve_polymorphic, #value_for_option
Methods included from FormatConversion
#as, #default_mappings, #format_error_types, #from, #key_value, #mappings_for, #of, #post_process_mapping, #pre_deserialize_hook, #pre_serialize_hook, #prepare_to_options, #process_mapping, #reset_format_error_types_cache!, #to, #validate_document
Methods included from ModelImport
#check_sort_configs!, #collection_with_conflicting_sort?, #ensure_child_imports_resolved!, #ensure_choice_imports!, #ensure_model_imports!, #ensure_restrict_attributes!, #finalized?, #import_model, #import_model_attributes, #import_model_mappings, #import_model_with_root_error, #importable_choices, #importable_models, #restrict_attributes, #root?, #setup_trace_point
Methods included from EnumHandling
#add_enum_getter_if_not_defined, #add_enum_methods_to_model, #add_enum_setter_if_not_defined, #enums
Methods included from AttributeDefinition
#any_importable_models?, #attribute, #define_attribute_methods, #define_reference_methods, #define_regular_attribute_methods, #restrict, #validate_attribute_options!
Methods included from Initialization
#add_custom_handling_methods_to_model, #add_format_specific_model_methods, #allocate_for_deserialization, #attributes, #cast, #choice, #clear_cache, #deep_duplicate_choice_attributes, #ensure_format_mapping_imports!, #ensure_imports!, #included, #inherited, #initialize_attrs, #lutaml_default_register, #model, #namespace, #namespace_prefix, #namespace_uri, #register, #register_record, #set_register_context
Methods included from Liquefiable::ClassMethods
#base_drop_class, #custom_liquid_class_name, #drop_class, #drop_class_name, #generate_mapping_methods, #inherited, #liquid, #liquid_class, #liquid_mappings, #register_class_if_liquid_defined, #register_drop_method, #register_liquid_drop_class, #register_methods, #to_liquid_class, #validate_liquid!
Instance Attribute Details
#choice_attributes ⇒ Object
Returns the value of attribute choice_attributes.
51 52 53 |
# File 'lib/lutaml/model/serialize.rb', line 51 def choice_attributes @choice_attributes end |
#mappings ⇒ Object
Returns the value of attribute mappings.
51 52 53 |
# File 'lib/lutaml/model/serialize.rb', line 51 def mappings @mappings end |
#register_records ⇒ Object
Returns the value of attribute register_records.
51 52 53 |
# File 'lib/lutaml/model/serialize.rb', line 51 def register_records @register_records end |