@@ 22-272 (lines=251) @@ | ||
19 | * @see http://schema.org/DayOfWeek |
|
20 | * |
|
21 | */ |
|
22 | class DayOfWeek extends BaseType implements DayOfWeekContract, EnumerationContract, IntangibleContract, ThingContract |
|
23 | { |
|
24 | /** |
|
25 | * The day of the week between Thursday and Saturday. |
|
26 | * |
|
27 | * @see http://schema.org/Friday |
|
28 | */ |
|
29 | const Friday = 'http://schema.org/Friday'; |
|
30 | ||
31 | /** |
|
32 | * The day of the week between Sunday and Tuesday. |
|
33 | * |
|
34 | * @see http://schema.org/Monday |
|
35 | */ |
|
36 | const Monday = 'http://schema.org/Monday'; |
|
37 | ||
38 | /** |
|
39 | * This stands for any day that is a public holiday; it is a placeholder for |
|
40 | * all official public holidays in some particular location. While not |
|
41 | * technically a "day of the week", it can be used with |
|
42 | * [[OpeningHoursSpecification]]. In the context of an opening hours |
|
43 | * specification it can be used to indicate opening hours on public |
|
44 | * holidays, overriding general opening hours for the day of the week on |
|
45 | * which a public holiday occurs. |
|
46 | * |
|
47 | * @see http://schema.org/PublicHolidays |
|
48 | */ |
|
49 | const PublicHolidays = 'http://schema.org/PublicHolidays'; |
|
50 | ||
51 | /** |
|
52 | * The day of the week between Friday and Sunday. |
|
53 | * |
|
54 | * @see http://schema.org/Saturday |
|
55 | */ |
|
56 | const Saturday = 'http://schema.org/Saturday'; |
|
57 | ||
58 | /** |
|
59 | * The day of the week between Saturday and Monday. |
|
60 | * |
|
61 | * @see http://schema.org/Sunday |
|
62 | */ |
|
63 | const Sunday = 'http://schema.org/Sunday'; |
|
64 | ||
65 | /** |
|
66 | * The day of the week between Wednesday and Friday. |
|
67 | * |
|
68 | * @see http://schema.org/Thursday |
|
69 | */ |
|
70 | const Thursday = 'http://schema.org/Thursday'; |
|
71 | ||
72 | /** |
|
73 | * The day of the week between Monday and Wednesday. |
|
74 | * |
|
75 | * @see http://schema.org/Tuesday |
|
76 | */ |
|
77 | const Tuesday = 'http://schema.org/Tuesday'; |
|
78 | ||
79 | /** |
|
80 | * The day of the week between Tuesday and Thursday. |
|
81 | * |
|
82 | * @see http://schema.org/Wednesday |
|
83 | */ |
|
84 | const Wednesday = 'http://schema.org/Wednesday'; |
|
85 | ||
86 | /** |
|
87 | * An additional type for the item, typically used for adding more specific |
|
88 | * types from external vocabularies in microdata syntax. This is a |
|
89 | * relationship between something and a class that the thing is in. In RDFa |
|
90 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
91 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
92 | * understanding of extra types, in particular those defined externally. |
|
93 | * |
|
94 | * @param string|string[] $additionalType |
|
95 | * |
|
96 | * @return static |
|
97 | * |
|
98 | * @see http://schema.org/additionalType |
|
99 | */ |
|
100 | public function additionalType($additionalType) |
|
101 | { |
|
102 | return $this->setProperty('additionalType', $additionalType); |
|
103 | } |
|
104 | ||
105 | /** |
|
106 | * An alias for the item. |
|
107 | * |
|
108 | * @param string|string[] $alternateName |
|
109 | * |
|
110 | * @return static |
|
111 | * |
|
112 | * @see http://schema.org/alternateName |
|
113 | */ |
|
114 | public function alternateName($alternateName) |
|
115 | { |
|
116 | return $this->setProperty('alternateName', $alternateName); |
|
117 | } |
|
118 | ||
119 | /** |
|
120 | * A description of the item. |
|
121 | * |
|
122 | * @param string|string[] $description |
|
123 | * |
|
124 | * @return static |
|
125 | * |
|
126 | * @see http://schema.org/description |
|
127 | */ |
|
128 | public function description($description) |
|
129 | { |
|
130 | return $this->setProperty('description', $description); |
|
131 | } |
|
132 | ||
133 | /** |
|
134 | * A sub property of description. A short description of the item used to |
|
135 | * disambiguate from other, similar items. Information from other properties |
|
136 | * (in particular, name) may be necessary for the description to be useful |
|
137 | * for disambiguation. |
|
138 | * |
|
139 | * @param string|string[] $disambiguatingDescription |
|
140 | * |
|
141 | * @return static |
|
142 | * |
|
143 | * @see http://schema.org/disambiguatingDescription |
|
144 | */ |
|
145 | public function disambiguatingDescription($disambiguatingDescription) |
|
146 | { |
|
147 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
148 | } |
|
149 | ||
150 | /** |
|
151 | * The identifier property represents any kind of identifier for any kind of |
|
152 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
153 | * dedicated properties for representing many of these, either as textual |
|
154 | * strings or as URL (URI) links. See [background |
|
155 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
156 | * |
|
157 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
158 | * |
|
159 | * @return static |
|
160 | * |
|
161 | * @see http://schema.org/identifier |
|
162 | */ |
|
163 | public function identifier($identifier) |
|
164 | { |
|
165 | return $this->setProperty('identifier', $identifier); |
|
166 | } |
|
167 | ||
168 | /** |
|
169 | * An image of the item. This can be a [[URL]] or a fully described |
|
170 | * [[ImageObject]]. |
|
171 | * |
|
172 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
173 | * |
|
174 | * @return static |
|
175 | * |
|
176 | * @see http://schema.org/image |
|
177 | */ |
|
178 | public function image($image) |
|
179 | { |
|
180 | return $this->setProperty('image', $image); |
|
181 | } |
|
182 | ||
183 | /** |
|
184 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
185 | * entity being described. See [background |
|
186 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
187 | * |
|
188 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
189 | * |
|
190 | * @return static |
|
191 | * |
|
192 | * @see http://schema.org/mainEntityOfPage |
|
193 | */ |
|
194 | public function mainEntityOfPage($mainEntityOfPage) |
|
195 | { |
|
196 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
197 | } |
|
198 | ||
199 | /** |
|
200 | * The name of the item. |
|
201 | * |
|
202 | * @param string|string[] $name |
|
203 | * |
|
204 | * @return static |
|
205 | * |
|
206 | * @see http://schema.org/name |
|
207 | */ |
|
208 | public function name($name) |
|
209 | { |
|
210 | return $this->setProperty('name', $name); |
|
211 | } |
|
212 | ||
213 | /** |
|
214 | * Indicates a potential Action, which describes an idealized action in |
|
215 | * which this thing would play an 'object' role. |
|
216 | * |
|
217 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
218 | * |
|
219 | * @return static |
|
220 | * |
|
221 | * @see http://schema.org/potentialAction |
|
222 | */ |
|
223 | public function potentialAction($potentialAction) |
|
224 | { |
|
225 | return $this->setProperty('potentialAction', $potentialAction); |
|
226 | } |
|
227 | ||
228 | /** |
|
229 | * URL of a reference Web page that unambiguously indicates the item's |
|
230 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
231 | * official website. |
|
232 | * |
|
233 | * @param string|string[] $sameAs |
|
234 | * |
|
235 | * @return static |
|
236 | * |
|
237 | * @see http://schema.org/sameAs |
|
238 | */ |
|
239 | public function sameAs($sameAs) |
|
240 | { |
|
241 | return $this->setProperty('sameAs', $sameAs); |
|
242 | } |
|
243 | ||
244 | /** |
|
245 | * A CreativeWork or Event about this Thing. |
|
246 | * |
|
247 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
248 | * |
|
249 | * @return static |
|
250 | * |
|
251 | * @see http://schema.org/subjectOf |
|
252 | */ |
|
253 | public function subjectOf($subjectOf) |
|
254 | { |
|
255 | return $this->setProperty('subjectOf', $subjectOf); |
|
256 | } |
|
257 | ||
258 | /** |
|
259 | * URL of the item. |
|
260 | * |
|
261 | * @param string|string[] $url |
|
262 | * |
|
263 | * @return static |
|
264 | * |
|
265 | * @see http://schema.org/url |
|
266 | */ |
|
267 | public function url($url) |
|
268 | { |
|
269 | return $this->setProperty('url', $url); |
|
270 | } |
|
271 | ||
272 | } |
|
273 |
@@ 16-268 (lines=253) @@ | ||
13 | * @see http://schema.org/ItemAvailability |
|
14 | * |
|
15 | */ |
|
16 | class ItemAvailability extends BaseType implements ItemAvailabilityContract, EnumerationContract, IntangibleContract, ThingContract |
|
17 | { |
|
18 | /** |
|
19 | * Indicates that the item has been discontinued. |
|
20 | * |
|
21 | * @see http://schema.org/Discontinued |
|
22 | */ |
|
23 | const Discontinued = 'http://schema.org/Discontinued'; |
|
24 | ||
25 | /** |
|
26 | * Indicates that the item is in stock. |
|
27 | * |
|
28 | * @see http://schema.org/InStock |
|
29 | */ |
|
30 | const InStock = 'http://schema.org/InStock'; |
|
31 | ||
32 | /** |
|
33 | * Indicates that the item is available only at physical locations. |
|
34 | * |
|
35 | * @see http://schema.org/InStoreOnly |
|
36 | */ |
|
37 | const InStoreOnly = 'http://schema.org/InStoreOnly'; |
|
38 | ||
39 | /** |
|
40 | * Indicates that the item has limited availability. |
|
41 | * |
|
42 | * @see http://schema.org/LimitedAvailability |
|
43 | */ |
|
44 | const LimitedAvailability = 'http://schema.org/LimitedAvailability'; |
|
45 | ||
46 | /** |
|
47 | * Indicates that the item is available only online. |
|
48 | * |
|
49 | * @see http://schema.org/OnlineOnly |
|
50 | */ |
|
51 | const OnlineOnly = 'http://schema.org/OnlineOnly'; |
|
52 | ||
53 | /** |
|
54 | * Indicates that the item is out of stock. |
|
55 | * |
|
56 | * @see http://schema.org/OutOfStock |
|
57 | */ |
|
58 | const OutOfStock = 'http://schema.org/OutOfStock'; |
|
59 | ||
60 | /** |
|
61 | * Indicates that the item is available for pre-order. |
|
62 | * |
|
63 | * @see http://schema.org/PreOrder |
|
64 | */ |
|
65 | const PreOrder = 'http://schema.org/PreOrder'; |
|
66 | ||
67 | /** |
|
68 | * Indicates that the item is available for ordering and delivery before |
|
69 | * general availability. |
|
70 | * |
|
71 | * @see http://schema.org/PreSale |
|
72 | */ |
|
73 | const PreSale = 'http://schema.org/PreSale'; |
|
74 | ||
75 | /** |
|
76 | * Indicates that the item has sold out. |
|
77 | * |
|
78 | * @see http://schema.org/SoldOut |
|
79 | */ |
|
80 | const SoldOut = 'http://schema.org/SoldOut'; |
|
81 | ||
82 | /** |
|
83 | * An additional type for the item, typically used for adding more specific |
|
84 | * types from external vocabularies in microdata syntax. This is a |
|
85 | * relationship between something and a class that the thing is in. In RDFa |
|
86 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
87 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
88 | * understanding of extra types, in particular those defined externally. |
|
89 | * |
|
90 | * @param string|string[] $additionalType |
|
91 | * |
|
92 | * @return static |
|
93 | * |
|
94 | * @see http://schema.org/additionalType |
|
95 | */ |
|
96 | public function additionalType($additionalType) |
|
97 | { |
|
98 | return $this->setProperty('additionalType', $additionalType); |
|
99 | } |
|
100 | ||
101 | /** |
|
102 | * An alias for the item. |
|
103 | * |
|
104 | * @param string|string[] $alternateName |
|
105 | * |
|
106 | * @return static |
|
107 | * |
|
108 | * @see http://schema.org/alternateName |
|
109 | */ |
|
110 | public function alternateName($alternateName) |
|
111 | { |
|
112 | return $this->setProperty('alternateName', $alternateName); |
|
113 | } |
|
114 | ||
115 | /** |
|
116 | * A description of the item. |
|
117 | * |
|
118 | * @param string|string[] $description |
|
119 | * |
|
120 | * @return static |
|
121 | * |
|
122 | * @see http://schema.org/description |
|
123 | */ |
|
124 | public function description($description) |
|
125 | { |
|
126 | return $this->setProperty('description', $description); |
|
127 | } |
|
128 | ||
129 | /** |
|
130 | * A sub property of description. A short description of the item used to |
|
131 | * disambiguate from other, similar items. Information from other properties |
|
132 | * (in particular, name) may be necessary for the description to be useful |
|
133 | * for disambiguation. |
|
134 | * |
|
135 | * @param string|string[] $disambiguatingDescription |
|
136 | * |
|
137 | * @return static |
|
138 | * |
|
139 | * @see http://schema.org/disambiguatingDescription |
|
140 | */ |
|
141 | public function disambiguatingDescription($disambiguatingDescription) |
|
142 | { |
|
143 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
144 | } |
|
145 | ||
146 | /** |
|
147 | * The identifier property represents any kind of identifier for any kind of |
|
148 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
149 | * dedicated properties for representing many of these, either as textual |
|
150 | * strings or as URL (URI) links. See [background |
|
151 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
152 | * |
|
153 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
154 | * |
|
155 | * @return static |
|
156 | * |
|
157 | * @see http://schema.org/identifier |
|
158 | */ |
|
159 | public function identifier($identifier) |
|
160 | { |
|
161 | return $this->setProperty('identifier', $identifier); |
|
162 | } |
|
163 | ||
164 | /** |
|
165 | * An image of the item. This can be a [[URL]] or a fully described |
|
166 | * [[ImageObject]]. |
|
167 | * |
|
168 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
169 | * |
|
170 | * @return static |
|
171 | * |
|
172 | * @see http://schema.org/image |
|
173 | */ |
|
174 | public function image($image) |
|
175 | { |
|
176 | return $this->setProperty('image', $image); |
|
177 | } |
|
178 | ||
179 | /** |
|
180 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
181 | * entity being described. See [background |
|
182 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
183 | * |
|
184 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
185 | * |
|
186 | * @return static |
|
187 | * |
|
188 | * @see http://schema.org/mainEntityOfPage |
|
189 | */ |
|
190 | public function mainEntityOfPage($mainEntityOfPage) |
|
191 | { |
|
192 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
193 | } |
|
194 | ||
195 | /** |
|
196 | * The name of the item. |
|
197 | * |
|
198 | * @param string|string[] $name |
|
199 | * |
|
200 | * @return static |
|
201 | * |
|
202 | * @see http://schema.org/name |
|
203 | */ |
|
204 | public function name($name) |
|
205 | { |
|
206 | return $this->setProperty('name', $name); |
|
207 | } |
|
208 | ||
209 | /** |
|
210 | * Indicates a potential Action, which describes an idealized action in |
|
211 | * which this thing would play an 'object' role. |
|
212 | * |
|
213 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
214 | * |
|
215 | * @return static |
|
216 | * |
|
217 | * @see http://schema.org/potentialAction |
|
218 | */ |
|
219 | public function potentialAction($potentialAction) |
|
220 | { |
|
221 | return $this->setProperty('potentialAction', $potentialAction); |
|
222 | } |
|
223 | ||
224 | /** |
|
225 | * URL of a reference Web page that unambiguously indicates the item's |
|
226 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
227 | * official website. |
|
228 | * |
|
229 | * @param string|string[] $sameAs |
|
230 | * |
|
231 | * @return static |
|
232 | * |
|
233 | * @see http://schema.org/sameAs |
|
234 | */ |
|
235 | public function sameAs($sameAs) |
|
236 | { |
|
237 | return $this->setProperty('sameAs', $sameAs); |
|
238 | } |
|
239 | ||
240 | /** |
|
241 | * A CreativeWork or Event about this Thing. |
|
242 | * |
|
243 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
244 | * |
|
245 | * @return static |
|
246 | * |
|
247 | * @see http://schema.org/subjectOf |
|
248 | */ |
|
249 | public function subjectOf($subjectOf) |
|
250 | { |
|
251 | return $this->setProperty('subjectOf', $subjectOf); |
|
252 | } |
|
253 | ||
254 | /** |
|
255 | * URL of the item. |
|
256 | * |
|
257 | * @param string|string[] $url |
|
258 | * |
|
259 | * @return static |
|
260 | * |
|
261 | * @see http://schema.org/url |
|
262 | */ |
|
263 | public function url($url) |
|
264 | { |
|
265 | return $this->setProperty('url', $url); |
|
266 | } |
|
267 | ||
268 | } |
|
269 |
@@ 17-268 (lines=252) @@ | ||
14 | * @see http://schema.org/MusicAlbumProductionType |
|
15 | * |
|
16 | */ |
|
17 | class MusicAlbumProductionType extends BaseType implements MusicAlbumProductionTypeContract, EnumerationContract, IntangibleContract, ThingContract |
|
18 | { |
|
19 | /** |
|
20 | * CompilationAlbum. |
|
21 | * |
|
22 | * @see http://schema.org/CompilationAlbum |
|
23 | */ |
|
24 | const CompilationAlbum = 'http://schema.org/CompilationAlbum'; |
|
25 | ||
26 | /** |
|
27 | * DJMixAlbum. |
|
28 | * |
|
29 | * @see http://schema.org/DJMixAlbum |
|
30 | */ |
|
31 | const DJMixAlbum = 'http://schema.org/DJMixAlbum'; |
|
32 | ||
33 | /** |
|
34 | * DemoAlbum. |
|
35 | * |
|
36 | * @see http://schema.org/DemoAlbum |
|
37 | */ |
|
38 | const DemoAlbum = 'http://schema.org/DemoAlbum'; |
|
39 | ||
40 | /** |
|
41 | * LiveAlbum. |
|
42 | * |
|
43 | * @see http://schema.org/LiveAlbum |
|
44 | */ |
|
45 | const LiveAlbum = 'http://schema.org/LiveAlbum'; |
|
46 | ||
47 | /** |
|
48 | * MixtapeAlbum. |
|
49 | * |
|
50 | * @see http://schema.org/MixtapeAlbum |
|
51 | */ |
|
52 | const MixtapeAlbum = 'http://schema.org/MixtapeAlbum'; |
|
53 | ||
54 | /** |
|
55 | * RemixAlbum. |
|
56 | * |
|
57 | * @see http://schema.org/RemixAlbum |
|
58 | */ |
|
59 | const RemixAlbum = 'http://schema.org/RemixAlbum'; |
|
60 | ||
61 | /** |
|
62 | * SoundtrackAlbum. |
|
63 | * |
|
64 | * @see http://schema.org/SoundtrackAlbum |
|
65 | */ |
|
66 | const SoundtrackAlbum = 'http://schema.org/SoundtrackAlbum'; |
|
67 | ||
68 | /** |
|
69 | * SpokenWordAlbum. |
|
70 | * |
|
71 | * @see http://schema.org/SpokenWordAlbum |
|
72 | */ |
|
73 | const SpokenWordAlbum = 'http://schema.org/SpokenWordAlbum'; |
|
74 | ||
75 | /** |
|
76 | * StudioAlbum. |
|
77 | * |
|
78 | * @see http://schema.org/StudioAlbum |
|
79 | */ |
|
80 | const StudioAlbum = 'http://schema.org/StudioAlbum'; |
|
81 | ||
82 | /** |
|
83 | * An additional type for the item, typically used for adding more specific |
|
84 | * types from external vocabularies in microdata syntax. This is a |
|
85 | * relationship between something and a class that the thing is in. In RDFa |
|
86 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
87 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
88 | * understanding of extra types, in particular those defined externally. |
|
89 | * |
|
90 | * @param string|string[] $additionalType |
|
91 | * |
|
92 | * @return static |
|
93 | * |
|
94 | * @see http://schema.org/additionalType |
|
95 | */ |
|
96 | public function additionalType($additionalType) |
|
97 | { |
|
98 | return $this->setProperty('additionalType', $additionalType); |
|
99 | } |
|
100 | ||
101 | /** |
|
102 | * An alias for the item. |
|
103 | * |
|
104 | * @param string|string[] $alternateName |
|
105 | * |
|
106 | * @return static |
|
107 | * |
|
108 | * @see http://schema.org/alternateName |
|
109 | */ |
|
110 | public function alternateName($alternateName) |
|
111 | { |
|
112 | return $this->setProperty('alternateName', $alternateName); |
|
113 | } |
|
114 | ||
115 | /** |
|
116 | * A description of the item. |
|
117 | * |
|
118 | * @param string|string[] $description |
|
119 | * |
|
120 | * @return static |
|
121 | * |
|
122 | * @see http://schema.org/description |
|
123 | */ |
|
124 | public function description($description) |
|
125 | { |
|
126 | return $this->setProperty('description', $description); |
|
127 | } |
|
128 | ||
129 | /** |
|
130 | * A sub property of description. A short description of the item used to |
|
131 | * disambiguate from other, similar items. Information from other properties |
|
132 | * (in particular, name) may be necessary for the description to be useful |
|
133 | * for disambiguation. |
|
134 | * |
|
135 | * @param string|string[] $disambiguatingDescription |
|
136 | * |
|
137 | * @return static |
|
138 | * |
|
139 | * @see http://schema.org/disambiguatingDescription |
|
140 | */ |
|
141 | public function disambiguatingDescription($disambiguatingDescription) |
|
142 | { |
|
143 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
144 | } |
|
145 | ||
146 | /** |
|
147 | * The identifier property represents any kind of identifier for any kind of |
|
148 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
149 | * dedicated properties for representing many of these, either as textual |
|
150 | * strings or as URL (URI) links. See [background |
|
151 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
152 | * |
|
153 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
154 | * |
|
155 | * @return static |
|
156 | * |
|
157 | * @see http://schema.org/identifier |
|
158 | */ |
|
159 | public function identifier($identifier) |
|
160 | { |
|
161 | return $this->setProperty('identifier', $identifier); |
|
162 | } |
|
163 | ||
164 | /** |
|
165 | * An image of the item. This can be a [[URL]] or a fully described |
|
166 | * [[ImageObject]]. |
|
167 | * |
|
168 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
169 | * |
|
170 | * @return static |
|
171 | * |
|
172 | * @see http://schema.org/image |
|
173 | */ |
|
174 | public function image($image) |
|
175 | { |
|
176 | return $this->setProperty('image', $image); |
|
177 | } |
|
178 | ||
179 | /** |
|
180 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
181 | * entity being described. See [background |
|
182 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
183 | * |
|
184 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
185 | * |
|
186 | * @return static |
|
187 | * |
|
188 | * @see http://schema.org/mainEntityOfPage |
|
189 | */ |
|
190 | public function mainEntityOfPage($mainEntityOfPage) |
|
191 | { |
|
192 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
193 | } |
|
194 | ||
195 | /** |
|
196 | * The name of the item. |
|
197 | * |
|
198 | * @param string|string[] $name |
|
199 | * |
|
200 | * @return static |
|
201 | * |
|
202 | * @see http://schema.org/name |
|
203 | */ |
|
204 | public function name($name) |
|
205 | { |
|
206 | return $this->setProperty('name', $name); |
|
207 | } |
|
208 | ||
209 | /** |
|
210 | * Indicates a potential Action, which describes an idealized action in |
|
211 | * which this thing would play an 'object' role. |
|
212 | * |
|
213 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
214 | * |
|
215 | * @return static |
|
216 | * |
|
217 | * @see http://schema.org/potentialAction |
|
218 | */ |
|
219 | public function potentialAction($potentialAction) |
|
220 | { |
|
221 | return $this->setProperty('potentialAction', $potentialAction); |
|
222 | } |
|
223 | ||
224 | /** |
|
225 | * URL of a reference Web page that unambiguously indicates the item's |
|
226 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
227 | * official website. |
|
228 | * |
|
229 | * @param string|string[] $sameAs |
|
230 | * |
|
231 | * @return static |
|
232 | * |
|
233 | * @see http://schema.org/sameAs |
|
234 | */ |
|
235 | public function sameAs($sameAs) |
|
236 | { |
|
237 | return $this->setProperty('sameAs', $sameAs); |
|
238 | } |
|
239 | ||
240 | /** |
|
241 | * A CreativeWork or Event about this Thing. |
|
242 | * |
|
243 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
244 | * |
|
245 | * @return static |
|
246 | * |
|
247 | * @see http://schema.org/subjectOf |
|
248 | */ |
|
249 | public function subjectOf($subjectOf) |
|
250 | { |
|
251 | return $this->setProperty('subjectOf', $subjectOf); |
|
252 | } |
|
253 | ||
254 | /** |
|
255 | * URL of the item. |
|
256 | * |
|
257 | * @param string|string[] $url |
|
258 | * |
|
259 | * @return static |
|
260 | * |
|
261 | * @see http://schema.org/url |
|
262 | */ |
|
263 | public function url($url) |
|
264 | { |
|
265 | return $this->setProperty('url', $url); |
|
266 | } |
|
267 | ||
268 | } |
|
269 |
@@ 17-254 (lines=238) @@ | ||
14 | * @see http://schema.org/MusicReleaseFormatType |
|
15 | * |
|
16 | */ |
|
17 | class MusicReleaseFormatType extends BaseType implements MusicReleaseFormatTypeContract, EnumerationContract, IntangibleContract, ThingContract |
|
18 | { |
|
19 | /** |
|
20 | * CDFormat. |
|
21 | * |
|
22 | * @see http://schema.org/CDFormat |
|
23 | */ |
|
24 | const CDFormat = 'http://schema.org/CDFormat'; |
|
25 | ||
26 | /** |
|
27 | * CassetteFormat. |
|
28 | * |
|
29 | * @see http://schema.org/CassetteFormat |
|
30 | */ |
|
31 | const CassetteFormat = 'http://schema.org/CassetteFormat'; |
|
32 | ||
33 | /** |
|
34 | * DVDFormat. |
|
35 | * |
|
36 | * @see http://schema.org/DVDFormat |
|
37 | */ |
|
38 | const DVDFormat = 'http://schema.org/DVDFormat'; |
|
39 | ||
40 | /** |
|
41 | * DigitalAudioTapeFormat. |
|
42 | * |
|
43 | * @see http://schema.org/DigitalAudioTapeFormat |
|
44 | */ |
|
45 | const DigitalAudioTapeFormat = 'http://schema.org/DigitalAudioTapeFormat'; |
|
46 | ||
47 | /** |
|
48 | * DigitalFormat. |
|
49 | * |
|
50 | * @see http://schema.org/DigitalFormat |
|
51 | */ |
|
52 | const DigitalFormat = 'http://schema.org/DigitalFormat'; |
|
53 | ||
54 | /** |
|
55 | * LaserDiscFormat. |
|
56 | * |
|
57 | * @see http://schema.org/LaserDiscFormat |
|
58 | */ |
|
59 | const LaserDiscFormat = 'http://schema.org/LaserDiscFormat'; |
|
60 | ||
61 | /** |
|
62 | * VinylFormat. |
|
63 | * |
|
64 | * @see http://schema.org/VinylFormat |
|
65 | */ |
|
66 | const VinylFormat = 'http://schema.org/VinylFormat'; |
|
67 | ||
68 | /** |
|
69 | * An additional type for the item, typically used for adding more specific |
|
70 | * types from external vocabularies in microdata syntax. This is a |
|
71 | * relationship between something and a class that the thing is in. In RDFa |
|
72 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
73 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
74 | * understanding of extra types, in particular those defined externally. |
|
75 | * |
|
76 | * @param string|string[] $additionalType |
|
77 | * |
|
78 | * @return static |
|
79 | * |
|
80 | * @see http://schema.org/additionalType |
|
81 | */ |
|
82 | public function additionalType($additionalType) |
|
83 | { |
|
84 | return $this->setProperty('additionalType', $additionalType); |
|
85 | } |
|
86 | ||
87 | /** |
|
88 | * An alias for the item. |
|
89 | * |
|
90 | * @param string|string[] $alternateName |
|
91 | * |
|
92 | * @return static |
|
93 | * |
|
94 | * @see http://schema.org/alternateName |
|
95 | */ |
|
96 | public function alternateName($alternateName) |
|
97 | { |
|
98 | return $this->setProperty('alternateName', $alternateName); |
|
99 | } |
|
100 | ||
101 | /** |
|
102 | * A description of the item. |
|
103 | * |
|
104 | * @param string|string[] $description |
|
105 | * |
|
106 | * @return static |
|
107 | * |
|
108 | * @see http://schema.org/description |
|
109 | */ |
|
110 | public function description($description) |
|
111 | { |
|
112 | return $this->setProperty('description', $description); |
|
113 | } |
|
114 | ||
115 | /** |
|
116 | * A sub property of description. A short description of the item used to |
|
117 | * disambiguate from other, similar items. Information from other properties |
|
118 | * (in particular, name) may be necessary for the description to be useful |
|
119 | * for disambiguation. |
|
120 | * |
|
121 | * @param string|string[] $disambiguatingDescription |
|
122 | * |
|
123 | * @return static |
|
124 | * |
|
125 | * @see http://schema.org/disambiguatingDescription |
|
126 | */ |
|
127 | public function disambiguatingDescription($disambiguatingDescription) |
|
128 | { |
|
129 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
130 | } |
|
131 | ||
132 | /** |
|
133 | * The identifier property represents any kind of identifier for any kind of |
|
134 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
135 | * dedicated properties for representing many of these, either as textual |
|
136 | * strings or as URL (URI) links. See [background |
|
137 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
138 | * |
|
139 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
140 | * |
|
141 | * @return static |
|
142 | * |
|
143 | * @see http://schema.org/identifier |
|
144 | */ |
|
145 | public function identifier($identifier) |
|
146 | { |
|
147 | return $this->setProperty('identifier', $identifier); |
|
148 | } |
|
149 | ||
150 | /** |
|
151 | * An image of the item. This can be a [[URL]] or a fully described |
|
152 | * [[ImageObject]]. |
|
153 | * |
|
154 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
155 | * |
|
156 | * @return static |
|
157 | * |
|
158 | * @see http://schema.org/image |
|
159 | */ |
|
160 | public function image($image) |
|
161 | { |
|
162 | return $this->setProperty('image', $image); |
|
163 | } |
|
164 | ||
165 | /** |
|
166 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
167 | * entity being described. See [background |
|
168 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
169 | * |
|
170 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
171 | * |
|
172 | * @return static |
|
173 | * |
|
174 | * @see http://schema.org/mainEntityOfPage |
|
175 | */ |
|
176 | public function mainEntityOfPage($mainEntityOfPage) |
|
177 | { |
|
178 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
179 | } |
|
180 | ||
181 | /** |
|
182 | * The name of the item. |
|
183 | * |
|
184 | * @param string|string[] $name |
|
185 | * |
|
186 | * @return static |
|
187 | * |
|
188 | * @see http://schema.org/name |
|
189 | */ |
|
190 | public function name($name) |
|
191 | { |
|
192 | return $this->setProperty('name', $name); |
|
193 | } |
|
194 | ||
195 | /** |
|
196 | * Indicates a potential Action, which describes an idealized action in |
|
197 | * which this thing would play an 'object' role. |
|
198 | * |
|
199 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
200 | * |
|
201 | * @return static |
|
202 | * |
|
203 | * @see http://schema.org/potentialAction |
|
204 | */ |
|
205 | public function potentialAction($potentialAction) |
|
206 | { |
|
207 | return $this->setProperty('potentialAction', $potentialAction); |
|
208 | } |
|
209 | ||
210 | /** |
|
211 | * URL of a reference Web page that unambiguously indicates the item's |
|
212 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
213 | * official website. |
|
214 | * |
|
215 | * @param string|string[] $sameAs |
|
216 | * |
|
217 | * @return static |
|
218 | * |
|
219 | * @see http://schema.org/sameAs |
|
220 | */ |
|
221 | public function sameAs($sameAs) |
|
222 | { |
|
223 | return $this->setProperty('sameAs', $sameAs); |
|
224 | } |
|
225 | ||
226 | /** |
|
227 | * A CreativeWork or Event about this Thing. |
|
228 | * |
|
229 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
230 | * |
|
231 | * @return static |
|
232 | * |
|
233 | * @see http://schema.org/subjectOf |
|
234 | */ |
|
235 | public function subjectOf($subjectOf) |
|
236 | { |
|
237 | return $this->setProperty('subjectOf', $subjectOf); |
|
238 | } |
|
239 | ||
240 | /** |
|
241 | * URL of the item. |
|
242 | * |
|
243 | * @param string|string[] $url |
|
244 | * |
|
245 | * @return static |
|
246 | * |
|
247 | * @see http://schema.org/url |
|
248 | */ |
|
249 | public function url($url) |
|
250 | { |
|
251 | return $this->setProperty('url', $url); |
|
252 | } |
|
253 | ||
254 | } |
|
255 |
@@ 16-260 (lines=245) @@ | ||
13 | * @see http://schema.org/OrderStatus |
|
14 | * |
|
15 | */ |
|
16 | class OrderStatus extends BaseType implements OrderStatusContract, EnumerationContract, IntangibleContract, ThingContract |
|
17 | { |
|
18 | /** |
|
19 | * OrderStatus representing cancellation of an order. |
|
20 | * |
|
21 | * @see http://schema.org/OrderCancelled |
|
22 | */ |
|
23 | const OrderCancelled = 'http://schema.org/OrderCancelled'; |
|
24 | ||
25 | /** |
|
26 | * OrderStatus representing successful delivery of an order. |
|
27 | * |
|
28 | * @see http://schema.org/OrderDelivered |
|
29 | */ |
|
30 | const OrderDelivered = 'http://schema.org/OrderDelivered'; |
|
31 | ||
32 | /** |
|
33 | * OrderStatus representing that an order is in transit. |
|
34 | * |
|
35 | * @see http://schema.org/OrderInTransit |
|
36 | */ |
|
37 | const OrderInTransit = 'http://schema.org/OrderInTransit'; |
|
38 | ||
39 | /** |
|
40 | * OrderStatus representing that payment is due on an order. |
|
41 | * |
|
42 | * @see http://schema.org/OrderPaymentDue |
|
43 | */ |
|
44 | const OrderPaymentDue = 'http://schema.org/OrderPaymentDue'; |
|
45 | ||
46 | /** |
|
47 | * OrderStatus representing availability of an order for pickup. |
|
48 | * |
|
49 | * @see http://schema.org/OrderPickupAvailable |
|
50 | */ |
|
51 | const OrderPickupAvailable = 'http://schema.org/OrderPickupAvailable'; |
|
52 | ||
53 | /** |
|
54 | * OrderStatus representing that there is a problem with the order. |
|
55 | * |
|
56 | * @see http://schema.org/OrderProblem |
|
57 | */ |
|
58 | const OrderProblem = 'http://schema.org/OrderProblem'; |
|
59 | ||
60 | /** |
|
61 | * OrderStatus representing that an order is being processed. |
|
62 | * |
|
63 | * @see http://schema.org/OrderProcessing |
|
64 | */ |
|
65 | const OrderProcessing = 'http://schema.org/OrderProcessing'; |
|
66 | ||
67 | /** |
|
68 | * OrderStatus representing that an order has been returned. |
|
69 | * |
|
70 | * @see http://schema.org/OrderReturned |
|
71 | */ |
|
72 | const OrderReturned = 'http://schema.org/OrderReturned'; |
|
73 | ||
74 | /** |
|
75 | * An additional type for the item, typically used for adding more specific |
|
76 | * types from external vocabularies in microdata syntax. This is a |
|
77 | * relationship between something and a class that the thing is in. In RDFa |
|
78 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
79 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
80 | * understanding of extra types, in particular those defined externally. |
|
81 | * |
|
82 | * @param string|string[] $additionalType |
|
83 | * |
|
84 | * @return static |
|
85 | * |
|
86 | * @see http://schema.org/additionalType |
|
87 | */ |
|
88 | public function additionalType($additionalType) |
|
89 | { |
|
90 | return $this->setProperty('additionalType', $additionalType); |
|
91 | } |
|
92 | ||
93 | /** |
|
94 | * An alias for the item. |
|
95 | * |
|
96 | * @param string|string[] $alternateName |
|
97 | * |
|
98 | * @return static |
|
99 | * |
|
100 | * @see http://schema.org/alternateName |
|
101 | */ |
|
102 | public function alternateName($alternateName) |
|
103 | { |
|
104 | return $this->setProperty('alternateName', $alternateName); |
|
105 | } |
|
106 | ||
107 | /** |
|
108 | * A description of the item. |
|
109 | * |
|
110 | * @param string|string[] $description |
|
111 | * |
|
112 | * @return static |
|
113 | * |
|
114 | * @see http://schema.org/description |
|
115 | */ |
|
116 | public function description($description) |
|
117 | { |
|
118 | return $this->setProperty('description', $description); |
|
119 | } |
|
120 | ||
121 | /** |
|
122 | * A sub property of description. A short description of the item used to |
|
123 | * disambiguate from other, similar items. Information from other properties |
|
124 | * (in particular, name) may be necessary for the description to be useful |
|
125 | * for disambiguation. |
|
126 | * |
|
127 | * @param string|string[] $disambiguatingDescription |
|
128 | * |
|
129 | * @return static |
|
130 | * |
|
131 | * @see http://schema.org/disambiguatingDescription |
|
132 | */ |
|
133 | public function disambiguatingDescription($disambiguatingDescription) |
|
134 | { |
|
135 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
136 | } |
|
137 | ||
138 | /** |
|
139 | * The identifier property represents any kind of identifier for any kind of |
|
140 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
141 | * dedicated properties for representing many of these, either as textual |
|
142 | * strings or as URL (URI) links. See [background |
|
143 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
144 | * |
|
145 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
146 | * |
|
147 | * @return static |
|
148 | * |
|
149 | * @see http://schema.org/identifier |
|
150 | */ |
|
151 | public function identifier($identifier) |
|
152 | { |
|
153 | return $this->setProperty('identifier', $identifier); |
|
154 | } |
|
155 | ||
156 | /** |
|
157 | * An image of the item. This can be a [[URL]] or a fully described |
|
158 | * [[ImageObject]]. |
|
159 | * |
|
160 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
161 | * |
|
162 | * @return static |
|
163 | * |
|
164 | * @see http://schema.org/image |
|
165 | */ |
|
166 | public function image($image) |
|
167 | { |
|
168 | return $this->setProperty('image', $image); |
|
169 | } |
|
170 | ||
171 | /** |
|
172 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
173 | * entity being described. See [background |
|
174 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
175 | * |
|
176 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
177 | * |
|
178 | * @return static |
|
179 | * |
|
180 | * @see http://schema.org/mainEntityOfPage |
|
181 | */ |
|
182 | public function mainEntityOfPage($mainEntityOfPage) |
|
183 | { |
|
184 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
185 | } |
|
186 | ||
187 | /** |
|
188 | * The name of the item. |
|
189 | * |
|
190 | * @param string|string[] $name |
|
191 | * |
|
192 | * @return static |
|
193 | * |
|
194 | * @see http://schema.org/name |
|
195 | */ |
|
196 | public function name($name) |
|
197 | { |
|
198 | return $this->setProperty('name', $name); |
|
199 | } |
|
200 | ||
201 | /** |
|
202 | * Indicates a potential Action, which describes an idealized action in |
|
203 | * which this thing would play an 'object' role. |
|
204 | * |
|
205 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
206 | * |
|
207 | * @return static |
|
208 | * |
|
209 | * @see http://schema.org/potentialAction |
|
210 | */ |
|
211 | public function potentialAction($potentialAction) |
|
212 | { |
|
213 | return $this->setProperty('potentialAction', $potentialAction); |
|
214 | } |
|
215 | ||
216 | /** |
|
217 | * URL of a reference Web page that unambiguously indicates the item's |
|
218 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
219 | * official website. |
|
220 | * |
|
221 | * @param string|string[] $sameAs |
|
222 | * |
|
223 | * @return static |
|
224 | * |
|
225 | * @see http://schema.org/sameAs |
|
226 | */ |
|
227 | public function sameAs($sameAs) |
|
228 | { |
|
229 | return $this->setProperty('sameAs', $sameAs); |
|
230 | } |
|
231 | ||
232 | /** |
|
233 | * A CreativeWork or Event about this Thing. |
|
234 | * |
|
235 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
236 | * |
|
237 | * @return static |
|
238 | * |
|
239 | * @see http://schema.org/subjectOf |
|
240 | */ |
|
241 | public function subjectOf($subjectOf) |
|
242 | { |
|
243 | return $this->setProperty('subjectOf', $subjectOf); |
|
244 | } |
|
245 | ||
246 | /** |
|
247 | * URL of the item. |
|
248 | * |
|
249 | * @param string|string[] $url |
|
250 | * |
|
251 | * @return static |
|
252 | * |
|
253 | * @see http://schema.org/url |
|
254 | */ |
|
255 | public function url($url) |
|
256 | { |
|
257 | return $this->setProperty('url', $url); |
|
258 | } |
|
259 | ||
260 | } |
|
261 |