Sha256: 59ca3a4e7eefe249ba5868e6d62c4a46748c77aa3009353d9b47d541b161549d

Contents?: true

Size: 832 Bytes

Versions: 4

Compression:

Stored size: 832 Bytes

Contents

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

        # @return [OpenActive::Enums::Schema::GenderType,String,nil]
        define_property :gender, as: "gender", types: [
          "OpenActive::Enums::Schema::GenderType",
          "string",
          "null",
        ]

        # @return [OpenActive::Models::Schema::Person]
        define_property :coach, as: "coach", types: [
          "OpenActive::Models::Schema::Person",
        ]

        # @return [OpenActive::Models::Schema::Person]
        define_property :athlete, as: "athlete", types: [
          "OpenActive::Models::Schema::Person",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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