Sha256: ed628d40d3fa6bd6381f1da87ace28b2053405c4263b1464e09ee5f8dc052f60

Contents?: true

Size: 532 Bytes

Versions: 3

Compression:

Stored size: 532 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "abstract_time_slice"

module Ogc
  module Gml
    class HistoryProperty < Lutaml::Model::Serializable
      attribute :owns, :boolean, default: -> { false }
      attribute :abstract_time_slice, AbstractTimeSlice, collection: true

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

        map_attribute "owns", to: :owns
        map_element "AbstractTimeSlice", to: :abstract_time_slice
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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