Sha256: 269f93af80f595b4ec5d48deb7c0bb01c0d576e06782af72ba47493c70931dfb

Contents?: true

Size: 485 Bytes

Versions: 3

Compression:

Stored size: 485 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "topo_curve"

module Ogc
  module Gml
    class TopoCurveProperty < Lutaml::Model::Serializable
      attribute :owns, :boolean, default: -> { false }
      attribute :topo_curve, TopoCurve

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

        map_attribute "owns", to: :owns
        map_element "TopoCurve", to: :topo_curve
      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_curve_property.rb
ogc-gml-1.0.2 lib/ogc/gml/topo_curve_property.rb
ogc-gml-1.0.1 lib/ogc/gml/topo_curve_property.rb