Sha256: 8966d3d81858f251ee943a2f2eb064ac2a196d47f86a5b714119f62c7a3b42c7

Contents?: true

Size: 711 Bytes

Versions: 4

Compression:

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

Version data entries

4 entries across 4 versions & 1 rubygems

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