Sha256: 2d12ca293e0188b21fba25f02ac99f4b2fee6fede9c5020e08669e8092cb954c

Contents?: true

Size: 654 Bytes

Versions: 6

Compression:

Stored size: 654 Bytes

Contents

module OpenActive
  module Models
    # This type is derived from https://schema.org/Barcode, which means that any of this type's properties within schema.org may also be used.
    class Barcode < ::OpenActive::Models::ImageObject
      # @!attribute type
      # @return [String]
      def type
        "Barcode"
      end

      # @return [String]
      define_property :text, as: "text", types: [
        "string",
      ]

      # @return [URI]
      define_property :url, as: "url", types: [
        "URI",
      ]

      # @return [String]
      define_property :code_type, as: "beta:codeType", types: [
        "string",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/barcode.rb
openactive-0.4.0 lib/openactive/models/barcode.rb
openactive-0.3.0 lib/openactive/models/barcode.rb
openactive-0.2.2 lib/openactive/models/barcode.rb
openactive-0.2.1 lib/openactive/models/barcode.rb
openactive-0.2.0 lib/openactive/models/barcode.rb