Method: Printful::Product.openapi_types

Defined in:
lib/printful_client/models/product.rb

.openapi_typesObject

Attribute type mapping.



99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# File 'lib/printful_client/models/product.rb', line 99

def self.openapi_types
  {
    :'id' => :'Integer',
    :'main_category_id' => :'Integer',
    :'type' => :'String',
    :'type_name' => :'String',
    :'title' => :'String',
    :'brand' => :'String',
    :'model' => :'String',
    :'image' => :'String',
    :'variant_count' => :'Integer',
    :'currency' => :'String',
    :'files' => :'Array<FileType>',
    :'options' => :'Array<OptionType>',
    :'is_discontinued' => :'Boolean',
    :'avg_fulfillment_time' => :'Float',
    :'description' => :'String',
    :'techniques' => :'Array<AvailableTechnique>',
    :'origin_country' => :'String'
  }
end