Sha256: 770608c520669df4e0ee22fa26d3532f308b54133eba29fc243584e94fe1446d

Contents?: true

Size: 459 Bytes

Versions: 3

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

module Ogc
  module Gml
    class GenericMetaData < Lutaml::Model::Serializable
      attribute :content, :string
      attribute :id, :string

      xml do
        root "GenericMetaData"
        namespace "http://www.opengis.net/gml/3.2", "gml"

        map_content to: :content
        map_attribute "id", to: :id, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ogc-gml-1.0.3 lib/ogc/gml/generic_meta_data.rb
ogc-gml-1.0.2 lib/ogc/gml/generic_meta_data.rb
ogc-gml-1.0.1 lib/ogc/gml/generic_meta_data.rb