Sha256: 64b46b97c115ba805cecff29e62f4a6af554eb196c4636ee4f8bee0916e6f816

Contents?: true

Size: 679 Bytes

Versions: 1

Compression:

Stored size: 679 Bytes

Contents

# frozen_string_literal: true

require "lutaml/model"

module Rfcxml
  module V3
    class SeriesInfo < Lutaml::Model::Serializable
      attribute :name, :string
      attribute :value, :string
      attribute :ascii_name, :string
      attribute :ascii_value, :string
      attribute :status, :string
      attribute :stream, :string

      xml do
        root "seriesInfo"

        map_attribute "name", to: :name
        map_attribute "value", to: :value
        map_attribute "asciiName", to: :ascii_name
        map_attribute "asciiValue", to: :ascii_value
        map_attribute "status", to: :status
        map_attribute "stream", to: :stream
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rfcxml-0.2.0 lib/rfcxml/v3/series_info.rb