Sha256: 5c5351e0b28ba2304fde1c3f96ed7a7b46339308991d649024211204b38ba4f5

Contents?: true

Size: 534 Bytes

Versions: 5

Compression:

Stored size: 534 Bytes

Contents

# typed: strong
# frozen_string_literal: true

module DearInventory
  module Models
    class ProductAvailabilityResults < DearInventory::Model
      extend T::Sig

      fields(
        Total: {
          name: :total,
          type: :Integer,
        },
        Page: {
          name: :page,
          type: :Integer,
        },
        ProductAvailabilityList: {
          name: :product_availabilities,
          type: :ResultSet,
          model: DearInventory::Models::ProductAvailability,
        }
      )
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dear_inventory-1.4.0 lib/dear_inventory/models/product_availability_results.rb
dear_inventory-1.3.0 lib/dear_inventory/models/product_availability_results.rb
dear_inventory-1.2.0 lib/dear_inventory/models/product_availability_results.rb
dear_inventory-1.1.1 lib/dear_inventory/models/product_availability_results.rb
dear_inventory-1.1.0 lib/dear_inventory/models/product_availability_results.rb