Sha256: 4bf4d1322170a833ec309ac2d700c33eb01c18e64deb581639ee7ab0701b3a38

Contents?: true

Size: 723 Bytes

Versions: 3

Compression:

Stored size: 723 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

require_relative "abstract_coordinate_operation"

module Ogc
  module Gml
    class SingleOperationProperty < Lutaml::Model::Serializable
      attribute :nil_reason, :string
      attribute :remote_schema, :string
      attribute :abstract_single_operation, AbstractCoordinateOperation

      xml do
        root "singleOperationRef"
        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 "AbstractSingleOperation", to: :abstract_single_operation
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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