Sha256: afd651d84ca5f7594b7c2849e09b94e5f40e91734605eaca87907d13847b9619

Contents?: true

Size: 1.4 KB

Versions: 6

Compression:

Stored size: 1.4 KB

Contents

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

      # @return [int,String,OpenActive::Models::PropertyValue,Array<OpenActive::Models::PropertyValue>,nil]
      define_property :identifier, as: "identifier", types: [
        "int",
        "string",
        "OpenActive::Models::PropertyValue",
        "OpenActive::Models::PropertyValue[]",
        "null",
      ]

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

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

      # @return [OpenActive::Models::ImageObject]
      define_property :logo, as: "logo", types: [
        "OpenActive::Models::ImageObject",
      ]

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

      # @return [String]
      define_property :formatted_description, as: "beta:formattedDescription", types: [
        "string",
      ]

      # @return [Array<OpenActive::Models::VideoObject>]
      define_property :video, as: "beta:video", types: [
        "OpenActive::Models::VideoObject[]",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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