Class: OpenActive::Models::Schema::Product
- Inherits:
-
Thing
show all
- Defined in:
- lib/openactive/models/schema/product.rb
Instance Attribute Summary collapse
-
#additional_property ⇒ OpenActive::Models::Schema::PropertyValue
-
#aggregate_rating ⇒ OpenActive::Models::Schema::AggregateRating
-
#audience ⇒ OpenActive::Models::Schema::Audience
-
#award ⇒ String
-
#awards ⇒ String
-
#brand ⇒ OpenActive::Models::Schema::Brand, OpenActive::Models::Schema::Organization
-
#category ⇒ String, OpenActive::Models::Schema::Thing
-
#color ⇒ String
-
#depth ⇒ OpenActive::Models::Schema::QuantitativeValue, OpenActive::Models::Schema::Distance
-
#gtin ⇒ String
-
#gtin12 ⇒ String
-
#gtin13 ⇒ String
-
#gtin14 ⇒ String
-
#gtin8 ⇒ String
-
#has_product_return_policy ⇒ OpenActive::Models::Schema::ProductReturnPolicy
-
#height ⇒ OpenActive::Models::Schema::QuantitativeValue, OpenActive::Models::Schema::Distance
-
#is_accessory_or_spare_part_for ⇒ OpenActive::Models::Schema::Product
-
#is_consumable_for ⇒ OpenActive::Models::Schema::Product
-
#is_related_to ⇒ OpenActive::Models::Schema::Service, OpenActive::Models::Schema::Product
-
#is_similar_to ⇒ OpenActive::Models::Schema::Service, OpenActive::Models::Schema::Product
-
#item_condition ⇒ OpenActive::Enums::Schema::OfferItemCondition?
-
#logo ⇒ OpenActive::Models::Schema::ImageObject, URI
-
#manufacturer ⇒ OpenActive::Models::Schema::Organization
-
#material ⇒ URI, ...
-
#model ⇒ OpenActive::Models::Schema::ProductModel, String
-
#mpn ⇒ String
-
#nsn ⇒ String
-
#offers ⇒ OpenActive::Models::Schema::Offer
-
#product_id ⇒ String
-
#production_date ⇒ Date?
-
#purchase_date ⇒ Date?
-
#release_date ⇒ Date?
-
#review ⇒ OpenActive::Models::Schema::Review
-
#reviews ⇒ OpenActive::Models::Schema::Review
-
#sku ⇒ String
-
#slogan ⇒ String
-
#type ⇒ String
-
#weight ⇒ OpenActive::Models::Schema::QuantitativeValue
-
#width ⇒ OpenActive::Models::Schema::Distance, OpenActive::Models::Schema::QuantitativeValue
Attributes inherited from Thing
#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url
Attributes inherited from JsonLdModel
#context, #id
Method Summary
Methods inherited from BaseModel
#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json
#check_types, included
included, #to_h, #values
Instance Attribute Details
105
106
107
|
# File 'lib/openactive/models/schema/product.rb', line 105
def additional_property
@additional_property
end
|
62
63
64
|
# File 'lib/openactive/models/schema/product.rb', line 62
def aggregate_rating
@aggregate_rating
end
|
39
40
41
|
# File 'lib/openactive/models/schema/product.rb', line 39
def audience
@audience
end
|
#award ⇒ String
83
84
85
|
# File 'lib/openactive/models/schema/product.rb', line 83
def award
@award
end
|
#awards ⇒ String
197
198
199
|
# File 'lib/openactive/models/schema/product.rb', line 197
def awards
@awards
end
|
186
187
188
|
# File 'lib/openactive/models/schema/product.rb', line 186
def brand
@brand
end
|
159
160
161
|
# File 'lib/openactive/models/schema/product.rb', line 159
def category
@category
end
|
#color ⇒ String
78
79
80
|
# File 'lib/openactive/models/schema/product.rb', line 78
def color
@color
end
|
44
45
46
|
# File 'lib/openactive/models/schema/product.rb', line 44
def depth
@depth
end
|
#gtin ⇒ String
175
176
177
|
# File 'lib/openactive/models/schema/product.rb', line 175
def gtin
@gtin
end
|
#gtin12 ⇒ String
12
13
14
|
# File 'lib/openactive/models/schema/product.rb', line 12
def gtin12
@gtin12
end
|
#gtin13 ⇒ String
127
128
129
|
# File 'lib/openactive/models/schema/product.rb', line 127
def gtin13
@gtin13
end
|
#gtin14 ⇒ String
192
193
194
|
# File 'lib/openactive/models/schema/product.rb', line 192
def gtin14
@gtin14
end
|
#gtin8 ⇒ String
207
208
209
|
# File 'lib/openactive/models/schema/product.rb', line 207
def gtin8
@gtin8
end
|
17
18
19
|
# File 'lib/openactive/models/schema/product.rb', line 17
def has_product_return_policy
@has_product_return_policy
end
|
50
51
52
|
# File 'lib/openactive/models/schema/product.rb', line 50
def height
@height
end
|
165
166
167
|
# File 'lib/openactive/models/schema/product.rb', line 165
def is_accessory_or_spare_part_for
@is_accessory_or_spare_part_for
end
|
149
150
151
|
# File 'lib/openactive/models/schema/product.rb', line 149
def is_consumable_for
@is_consumable_for
end
|
88
89
90
|
# File 'lib/openactive/models/schema/product.rb', line 88
def is_related_to
@is_related_to
end
|
56
57
58
|
# File 'lib/openactive/models/schema/product.rb', line 56
def is_similar_to
@is_similar_to
end
|
132
133
134
|
# File 'lib/openactive/models/schema/product.rb', line 132
def item_condition
@item_condition
end
|
115
116
117
|
# File 'lib/openactive/models/schema/product.rb', line 115
def logo
@logo
end
|
29
30
31
|
# File 'lib/openactive/models/schema/product.rb', line 29
def manufacturer
@manufacturer
end
|
#material ⇒ URI, ...
22
23
24
|
# File 'lib/openactive/models/schema/product.rb', line 22
def material
@material
end
|
67
68
69
|
# File 'lib/openactive/models/schema/product.rb', line 67
def model
@model
end
|
#mpn ⇒ String
138
139
140
|
# File 'lib/openactive/models/schema/product.rb', line 138
def mpn
@mpn
end
|
#nsn ⇒ String
170
171
172
|
# File 'lib/openactive/models/schema/product.rb', line 170
def nsn
@nsn
end
|
202
203
204
|
# File 'lib/openactive/models/schema/product.rb', line 202
def offers
@offers
end
|
#product_id ⇒ String
100
101
102
|
# File 'lib/openactive/models/schema/product.rb', line 100
def product_id
@product_id
end
|
#production_date ⇒ Date?
143
144
145
|
# File 'lib/openactive/models/schema/product.rb', line 143
def production_date
@production_date
end
|
#purchase_date ⇒ Date?
121
122
123
|
# File 'lib/openactive/models/schema/product.rb', line 121
def purchase_date
@purchase_date
end
|
#release_date ⇒ Date?
180
181
182
|
# File 'lib/openactive/models/schema/product.rb', line 180
def release_date
@release_date
end
|
110
111
112
|
# File 'lib/openactive/models/schema/product.rb', line 110
def review
@review
end
|
73
74
75
|
# File 'lib/openactive/models/schema/product.rb', line 73
def reviews
@reviews
end
|
#sku ⇒ String
212
213
214
|
# File 'lib/openactive/models/schema/product.rb', line 212
def sku
@sku
end
|
#slogan ⇒ String
154
155
156
|
# File 'lib/openactive/models/schema/product.rb', line 154
def slogan
@slogan
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/schema/product.rb', line 7
def type
"schema:Product"
end
|
34
35
36
|
# File 'lib/openactive/models/schema/product.rb', line 34
def weight
@weight
end
|
94
95
96
|
# File 'lib/openactive/models/schema/product.rb', line 94
def width
@width
end
|