Sha256: d1324d70be315abc43e238c010c6fec68067f6d417f1e523a3fc4f489181edc6

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::Models::Schema::QuantitativeValue,URI]
        define_property :duration_of_warranty, as: "durationOfWarranty", types: [
          "OpenActive::Models::Schema::QuantitativeValue",
          "URI",
        ]

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/warranty_promise.rb
openactive-0.2.1 lib/openactive/models/schema/warranty_promise.rb
openactive-0.2.0 lib/openactive/models/schema/warranty_promise.rb