Sha256: dfc185a267a0da5bfe266e603667a615d4bf9cc70c30ebc8dd6ee1ffbdaa8184

Contents?: true

Size: 975 Bytes

Versions: 6

Compression:

Stored size: 975 Bytes

Contents

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

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

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

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

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

      # @return [String]
      define_property :street_address, as: "streetAddress", types: [
        "string",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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