Sha256: cf435a370d2bb9554a24e74311fff1eb2cb6d3d4b1697bd96d69b2ae80195db7

Contents?: true

Size: 610 Bytes

Versions: 3

Compression:

Stored size: 610 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "time_cs"

module Ogc
  module Gml
    class TimeCSProperty < Lutaml::Model::Serializable
      attribute :nil_reason, :string
      attribute :remote_schema, :string
      attribute :time_cs, TimeCS

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

        map_attribute "nilReason", to: :nil_reason
        map_attribute "remoteSchema", to: :remote_schema, prefix: "gml", namespace: "http://www.opengis.net/gml/3.2"
        map_element "TimeCS", to: :time_cs
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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