Sha256: 3047f133ad0b9b90377e56e33092c18514b29194bc28ffe49879535332f98dc5

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

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

        # @return [OpenActive::Models::Schema::Country,String,URI]
        define_property :address_country, as: "addressCountry", types: [
          "OpenActive::Models::Schema::Country",
          "string",
          "URI",
        ]

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

        # @return [OpenActive::Models::Schema::PostalCodeRangeSpecification,URI]
        define_property :postal_code_range, as: "postalCodeRange", types: [
          "OpenActive::Models::Schema::PostalCodeRangeSpecification",
          "URI",
        ]

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

        # @return [String]
        define_property :postal_code, as: "postalCode", types: [
          "string",
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openactive-0.3.0 lib/openactive/models/schema/defined_region.rb