Sha256: ae48a1b95eb08657cc631b6f84da22a82583e9316cb0dbfe7c71ee8a98559726

Contents?: true

Size: 614 Bytes

Versions: 5

Compression:

Stored size: 614 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class Audience < ::OpenActive::Models::Schema::Intangible
        # @!attribute type
        # @return [String]
        def type
          "schema:Audience"
        end

        # @return [OpenActive::Models::Schema::AdministrativeArea,URI]
        define_property :geographic_area, as: "geographicArea", types: [
          "OpenActive::Models::Schema::AdministrativeArea",
          "URI",
        ]

        # @return [String]
        define_property :audience_type, as: "audienceType", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/audience.rb
openactive-0.4.0 lib/openactive/models/schema/audience.rb
openactive-0.2.2 lib/openactive/models/schema/audience.rb
openactive-0.2.1 lib/openactive/models/schema/audience.rb
openactive-0.2.0 lib/openactive/models/schema/audience.rb