Sha256: b3643d1baa1ae2dab8c8548505e0f8fcf546c26db9960251c7dde90dd023c08c

Contents?: true

Size: 492 Bytes

Versions: 3

Compression:

Stored size: 492 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "topo_volume"

module Ogc
  module Gml
    class TopoVolumeProperty < Lutaml::Model::Serializable
      attribute :owns, :boolean, default: -> { false }
      attribute :topo_volume, TopoVolume

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

        map_attribute "owns", to: :owns
        map_element "TopoVolume", to: :topo_volume
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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