Sha256: e6d9271db9c8c79481e918d6bb4b1ff5f57d677d8f0f717886af3dcce2589c16

Contents?: true

Size: 660 Bytes

Versions: 4

Compression:

Stored size: 660 Bytes

Contents

module OpenActive
  module Models
    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

4 entries across 4 versions & 1 rubygems

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