Sha256: 36e9c1935fd43900d5edd04a33175d0ae1d3fe251119eb366d6cdc756b28e681

Contents?: true

Size: 732 Bytes

Versions: 3

Compression:

Stored size: 732 Bytes

Contents

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

        # @return [OpenActive::Enums::Schema::WarrantyScope,nil]
        define_property :warranty_scope, as: "warrantyScope", types: [
          "OpenActive::Enums::Schema::WarrantyScope",
          "null",
        ]

        # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
        define_property :duration_of_warranty, as: "durationOfWarranty", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "URI",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/warranty_promise.rb
openactive-0.4.0 lib/openactive/models/schema/warranty_promise.rb
openactive-0.3.0 lib/openactive/models/schema/warranty_promise.rb