[source, ruby]
----
response = client.indices.create(
  index: 'my-index-000001',
  body: {
    mappings: {
      _meta: {
        class: 'MyApp::User',
        version: {
          min: '1.0',
          max: '1.3'
        }
      }
    }
  }
)
puts response
----
