class Lutaml::Model::KeyValueMapping

def initialize

def initialize
  @mappings = []
end

def map(

def map(
  name,
  to:,
  render_nil: false,
  with: {},
  delegate: nil,
  child_mappings: nil
)
  @mappings << KeyValueMappingRule.new(
    name,
    to: to,
    render_nil: render_nil,
    with: with,
    delegate: delegate,
    child_mappings: child_mappings,
  )
end