Sha256: d39aad588b8ac9777a18ecae839015766db4fc077882e18ee9eda69a446e3627

Contents?: true

Size: 801 Bytes

Versions: 6

Compression:

Stored size: 801 Bytes

Contents

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

      # @return [int,String,OpenActive::Models::PropertyValue,Array<OpenActive::Models::PropertyValue>,nil]
      define_property :identifier, as: "identifier", types: [
        "int",
        "string",
        "OpenActive::Models::PropertyValue",
        "OpenActive::Models::PropertyValue[]",
        "null",
      ]

      # @return [DateTime,nil]
      define_property :lease_expires, as: "leaseExpires", types: [
        "DateTime",
        "null",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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