Sha256: eaf35681505bb26b76721f12af8c9f4036ae729a10a67a1f87af5bd2e9a810c3

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

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

        # @return [BigDecimal,nil]
        define_property :suggested_min_age, as: "suggestedMinAge", types: [
          "Number",
          "null",
        ]

        # @return [int,nil]
        define_property :required_max_age, as: "requiredMaxAge", types: [
          "int",
          "null",
        ]

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

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

        # @return [int,nil]
        define_property :required_min_age, as: "requiredMinAge", types: [
          "int",
          "null",
        ]

        # @return [BigDecimal,nil]
        define_property :suggested_max_age, as: "suggestedMaxAge", types: [
          "Number",
          "null",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/schema/people_audience.rb
openactive-0.1.1 lib/openactive/models/schema/people_audience.rb
openactive-0.1.0 lib/openactive/models/schema/people_audience.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/people_audience.rb