@@ 18-236 (lines=219) @@ | ||
15 | * @see http://schema.org/BedDetails |
|
16 | * |
|
17 | */ |
|
18 | class BedDetails extends BaseType implements BedDetailsContract, IntangibleContract, ThingContract |
|
19 | { |
|
20 | /** |
|
21 | * An additional type for the item, typically used for adding more specific |
|
22 | * types from external vocabularies in microdata syntax. This is a |
|
23 | * relationship between something and a class that the thing is in. In RDFa |
|
24 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
25 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
26 | * understanding of extra types, in particular those defined externally. |
|
27 | * |
|
28 | * @param string|string[] $additionalType |
|
29 | * |
|
30 | * @return static |
|
31 | * |
|
32 | * @see http://schema.org/additionalType |
|
33 | */ |
|
34 | public function additionalType($additionalType) |
|
35 | { |
|
36 | return $this->setProperty('additionalType', $additionalType); |
|
37 | } |
|
38 | ||
39 | /** |
|
40 | * An alias for the item. |
|
41 | * |
|
42 | * @param string|string[] $alternateName |
|
43 | * |
|
44 | * @return static |
|
45 | * |
|
46 | * @see http://schema.org/alternateName |
|
47 | */ |
|
48 | public function alternateName($alternateName) |
|
49 | { |
|
50 | return $this->setProperty('alternateName', $alternateName); |
|
51 | } |
|
52 | ||
53 | /** |
|
54 | * A description of the item. |
|
55 | * |
|
56 | * @param string|string[] $description |
|
57 | * |
|
58 | * @return static |
|
59 | * |
|
60 | * @see http://schema.org/description |
|
61 | */ |
|
62 | public function description($description) |
|
63 | { |
|
64 | return $this->setProperty('description', $description); |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * A sub property of description. A short description of the item used to |
|
69 | * disambiguate from other, similar items. Information from other properties |
|
70 | * (in particular, name) may be necessary for the description to be useful |
|
71 | * for disambiguation. |
|
72 | * |
|
73 | * @param string|string[] $disambiguatingDescription |
|
74 | * |
|
75 | * @return static |
|
76 | * |
|
77 | * @see http://schema.org/disambiguatingDescription |
|
78 | */ |
|
79 | public function disambiguatingDescription($disambiguatingDescription) |
|
80 | { |
|
81 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * The identifier property represents any kind of identifier for any kind of |
|
86 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
87 | * dedicated properties for representing many of these, either as textual |
|
88 | * strings or as URL (URI) links. See [background |
|
89 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
90 | * |
|
91 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
92 | * |
|
93 | * @return static |
|
94 | * |
|
95 | * @see http://schema.org/identifier |
|
96 | */ |
|
97 | public function identifier($identifier) |
|
98 | { |
|
99 | return $this->setProperty('identifier', $identifier); |
|
100 | } |
|
101 | ||
102 | /** |
|
103 | * An image of the item. This can be a [[URL]] or a fully described |
|
104 | * [[ImageObject]]. |
|
105 | * |
|
106 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
107 | * |
|
108 | * @return static |
|
109 | * |
|
110 | * @see http://schema.org/image |
|
111 | */ |
|
112 | public function image($image) |
|
113 | { |
|
114 | return $this->setProperty('image', $image); |
|
115 | } |
|
116 | ||
117 | /** |
|
118 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
119 | * entity being described. See [background |
|
120 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
121 | * |
|
122 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
123 | * |
|
124 | * @return static |
|
125 | * |
|
126 | * @see http://schema.org/mainEntityOfPage |
|
127 | */ |
|
128 | public function mainEntityOfPage($mainEntityOfPage) |
|
129 | { |
|
130 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
131 | } |
|
132 | ||
133 | /** |
|
134 | * The name of the item. |
|
135 | * |
|
136 | * @param string|string[] $name |
|
137 | * |
|
138 | * @return static |
|
139 | * |
|
140 | * @see http://schema.org/name |
|
141 | */ |
|
142 | public function name($name) |
|
143 | { |
|
144 | return $this->setProperty('name', $name); |
|
145 | } |
|
146 | ||
147 | /** |
|
148 | * The quantity of the given bed type available in the HotelRoom, Suite, |
|
149 | * House, or Apartment. |
|
150 | * |
|
151 | * @param float|float[]|int|int[] $numberOfBeds |
|
152 | * |
|
153 | * @return static |
|
154 | * |
|
155 | * @see http://schema.org/numberOfBeds |
|
156 | */ |
|
157 | public function numberOfBeds($numberOfBeds) |
|
158 | { |
|
159 | return $this->setProperty('numberOfBeds', $numberOfBeds); |
|
160 | } |
|
161 | ||
162 | /** |
|
163 | * Indicates a potential Action, which describes an idealized action in |
|
164 | * which this thing would play an 'object' role. |
|
165 | * |
|
166 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
167 | * |
|
168 | * @return static |
|
169 | * |
|
170 | * @see http://schema.org/potentialAction |
|
171 | */ |
|
172 | public function potentialAction($potentialAction) |
|
173 | { |
|
174 | return $this->setProperty('potentialAction', $potentialAction); |
|
175 | } |
|
176 | ||
177 | /** |
|
178 | * URL of a reference Web page that unambiguously indicates the item's |
|
179 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
180 | * official website. |
|
181 | * |
|
182 | * @param string|string[] $sameAs |
|
183 | * |
|
184 | * @return static |
|
185 | * |
|
186 | * @see http://schema.org/sameAs |
|
187 | */ |
|
188 | public function sameAs($sameAs) |
|
189 | { |
|
190 | return $this->setProperty('sameAs', $sameAs); |
|
191 | } |
|
192 | ||
193 | /** |
|
194 | * A CreativeWork or Event about this Thing. |
|
195 | * |
|
196 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
197 | * |
|
198 | * @return static |
|
199 | * |
|
200 | * @see http://schema.org/subjectOf |
|
201 | */ |
|
202 | public function subjectOf($subjectOf) |
|
203 | { |
|
204 | return $this->setProperty('subjectOf', $subjectOf); |
|
205 | } |
|
206 | ||
207 | /** |
|
208 | * The type of bed to which the BedDetail refers, i.e. the type of bed |
|
209 | * available in the quantity indicated by quantity. |
|
210 | * |
|
211 | * @param string|string[] $typeOfBed |
|
212 | * |
|
213 | * @return static |
|
214 | * |
|
215 | * @see http://schema.org/typeOfBed |
|
216 | */ |
|
217 | public function typeOfBed($typeOfBed) |
|
218 | { |
|
219 | return $this->setProperty('typeOfBed', $typeOfBed); |
|
220 | } |
|
221 | ||
222 | /** |
|
223 | * URL of the item. |
|
224 | * |
|
225 | * @param string|string[] $url |
|
226 | * |
|
227 | * @return static |
|
228 | * |
|
229 | * @see http://schema.org/url |
|
230 | */ |
|
231 | public function url($url) |
|
232 | { |
|
233 | return $this->setProperty('url', $url); |
|
234 | } |
|
235 | ||
236 | } |
|
237 |
@@ 16-218 (lines=203) @@ | ||
13 | * @see http://schema.org/BroadcastFrequencySpecification |
|
14 | * |
|
15 | */ |
|
16 | class BroadcastFrequencySpecification extends BaseType implements BroadcastFrequencySpecificationContract, IntangibleContract, ThingContract |
|
17 | { |
|
18 | /** |
|
19 | * An additional type for the item, typically used for adding more specific |
|
20 | * types from external vocabularies in microdata syntax. This is a |
|
21 | * relationship between something and a class that the thing is in. In RDFa |
|
22 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
23 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
24 | * understanding of extra types, in particular those defined externally. |
|
25 | * |
|
26 | * @param string|string[] $additionalType |
|
27 | * |
|
28 | * @return static |
|
29 | * |
|
30 | * @see http://schema.org/additionalType |
|
31 | */ |
|
32 | public function additionalType($additionalType) |
|
33 | { |
|
34 | return $this->setProperty('additionalType', $additionalType); |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * An alias for the item. |
|
39 | * |
|
40 | * @param string|string[] $alternateName |
|
41 | * |
|
42 | * @return static |
|
43 | * |
|
44 | * @see http://schema.org/alternateName |
|
45 | */ |
|
46 | public function alternateName($alternateName) |
|
47 | { |
|
48 | return $this->setProperty('alternateName', $alternateName); |
|
49 | } |
|
50 | ||
51 | /** |
|
52 | * The frequency in MHz for a particular broadcast. |
|
53 | * |
|
54 | * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[]|float|float[]|int|int[] $broadcastFrequencyValue |
|
55 | * |
|
56 | * @return static |
|
57 | * |
|
58 | * @see http://schema.org/broadcastFrequencyValue |
|
59 | */ |
|
60 | public function broadcastFrequencyValue($broadcastFrequencyValue) |
|
61 | { |
|
62 | return $this->setProperty('broadcastFrequencyValue', $broadcastFrequencyValue); |
|
63 | } |
|
64 | ||
65 | /** |
|
66 | * A description of the item. |
|
67 | * |
|
68 | * @param string|string[] $description |
|
69 | * |
|
70 | * @return static |
|
71 | * |
|
72 | * @see http://schema.org/description |
|
73 | */ |
|
74 | public function description($description) |
|
75 | { |
|
76 | return $this->setProperty('description', $description); |
|
77 | } |
|
78 | ||
79 | /** |
|
80 | * A sub property of description. A short description of the item used to |
|
81 | * disambiguate from other, similar items. Information from other properties |
|
82 | * (in particular, name) may be necessary for the description to be useful |
|
83 | * for disambiguation. |
|
84 | * |
|
85 | * @param string|string[] $disambiguatingDescription |
|
86 | * |
|
87 | * @return static |
|
88 | * |
|
89 | * @see http://schema.org/disambiguatingDescription |
|
90 | */ |
|
91 | public function disambiguatingDescription($disambiguatingDescription) |
|
92 | { |
|
93 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * The identifier property represents any kind of identifier for any kind of |
|
98 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
99 | * dedicated properties for representing many of these, either as textual |
|
100 | * strings or as URL (URI) links. See [background |
|
101 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
102 | * |
|
103 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
104 | * |
|
105 | * @return static |
|
106 | * |
|
107 | * @see http://schema.org/identifier |
|
108 | */ |
|
109 | public function identifier($identifier) |
|
110 | { |
|
111 | return $this->setProperty('identifier', $identifier); |
|
112 | } |
|
113 | ||
114 | /** |
|
115 | * An image of the item. This can be a [[URL]] or a fully described |
|
116 | * [[ImageObject]]. |
|
117 | * |
|
118 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
119 | * |
|
120 | * @return static |
|
121 | * |
|
122 | * @see http://schema.org/image |
|
123 | */ |
|
124 | public function image($image) |
|
125 | { |
|
126 | return $this->setProperty('image', $image); |
|
127 | } |
|
128 | ||
129 | /** |
|
130 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
131 | * entity being described. See [background |
|
132 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
133 | * |
|
134 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
135 | * |
|
136 | * @return static |
|
137 | * |
|
138 | * @see http://schema.org/mainEntityOfPage |
|
139 | */ |
|
140 | public function mainEntityOfPage($mainEntityOfPage) |
|
141 | { |
|
142 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
143 | } |
|
144 | ||
145 | /** |
|
146 | * The name of the item. |
|
147 | * |
|
148 | * @param string|string[] $name |
|
149 | * |
|
150 | * @return static |
|
151 | * |
|
152 | * @see http://schema.org/name |
|
153 | */ |
|
154 | public function name($name) |
|
155 | { |
|
156 | return $this->setProperty('name', $name); |
|
157 | } |
|
158 | ||
159 | /** |
|
160 | * Indicates a potential Action, which describes an idealized action in |
|
161 | * which this thing would play an 'object' role. |
|
162 | * |
|
163 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
164 | * |
|
165 | * @return static |
|
166 | * |
|
167 | * @see http://schema.org/potentialAction |
|
168 | */ |
|
169 | public function potentialAction($potentialAction) |
|
170 | { |
|
171 | return $this->setProperty('potentialAction', $potentialAction); |
|
172 | } |
|
173 | ||
174 | /** |
|
175 | * URL of a reference Web page that unambiguously indicates the item's |
|
176 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
177 | * official website. |
|
178 | * |
|
179 | * @param string|string[] $sameAs |
|
180 | * |
|
181 | * @return static |
|
182 | * |
|
183 | * @see http://schema.org/sameAs |
|
184 | */ |
|
185 | public function sameAs($sameAs) |
|
186 | { |
|
187 | return $this->setProperty('sameAs', $sameAs); |
|
188 | } |
|
189 | ||
190 | /** |
|
191 | * A CreativeWork or Event about this Thing. |
|
192 | * |
|
193 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
194 | * |
|
195 | * @return static |
|
196 | * |
|
197 | * @see http://schema.org/subjectOf |
|
198 | */ |
|
199 | public function subjectOf($subjectOf) |
|
200 | { |
|
201 | return $this->setProperty('subjectOf', $subjectOf); |
|
202 | } |
|
203 | ||
204 | /** |
|
205 | * URL of the item. |
|
206 | * |
|
207 | * @param string|string[] $url |
|
208 | * |
|
209 | * @return static |
|
210 | * |
|
211 | * @see http://schema.org/url |
|
212 | */ |
|
213 | public function url($url) |
|
214 | { |
|
215 | return $this->setProperty('url', $url); |
|
216 | } |
|
217 | ||
218 | } |
|
219 |
@@ 19-243 (lines=225) @@ | ||
16 | * @see http://schema.org/DatedMoneySpecification |
|
17 | * |
|
18 | */ |
|
19 | class DatedMoneySpecification extends BaseType implements DatedMoneySpecificationContract, IntangibleContract, StructuredValueContract, ThingContract |
|
20 | { |
|
21 | /** |
|
22 | * An additional type for the item, typically used for adding more specific |
|
23 | * types from external vocabularies in microdata syntax. This is a |
|
24 | * relationship between something and a class that the thing is in. In RDFa |
|
25 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
26 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
27 | * understanding of extra types, in particular those defined externally. |
|
28 | * |
|
29 | * @param string|string[] $additionalType |
|
30 | * |
|
31 | * @return static |
|
32 | * |
|
33 | * @see http://schema.org/additionalType |
|
34 | */ |
|
35 | public function additionalType($additionalType) |
|
36 | { |
|
37 | return $this->setProperty('additionalType', $additionalType); |
|
38 | } |
|
39 | ||
40 | /** |
|
41 | * An alias for the item. |
|
42 | * |
|
43 | * @param string|string[] $alternateName |
|
44 | * |
|
45 | * @return static |
|
46 | * |
|
47 | * @see http://schema.org/alternateName |
|
48 | */ |
|
49 | public function alternateName($alternateName) |
|
50 | { |
|
51 | return $this->setProperty('alternateName', $alternateName); |
|
52 | } |
|
53 | ||
54 | /** |
|
55 | * The amount of money. |
|
56 | * |
|
57 | * @param \Spatie\SchemaOrg\Contracts\MonetaryAmountContract|\Spatie\SchemaOrg\Contracts\MonetaryAmountContract[]|float|float[]|int|int[] $amount |
|
58 | * |
|
59 | * @return static |
|
60 | * |
|
61 | * @see http://schema.org/amount |
|
62 | */ |
|
63 | public function amount($amount) |
|
64 | { |
|
65 | return $this->setProperty('amount', $amount); |
|
66 | } |
|
67 | ||
68 | /** |
|
69 | * The currency in which the monetary amount is expressed. |
|
70 | * |
|
71 | * Use standard formats: [ISO 4217 currency |
|
72 | * format](http://en.wikipedia.org/wiki/ISO_4217) e.g. "USD"; [Ticker |
|
73 | * symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for |
|
74 | * cryptocurrencies e.g. "BTC"; well known names for [Local Exchange |
|
75 | * Tradings |
|
76 | * Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) |
|
77 | * (LETS) and other currency types e.g. "Ithaca HOUR". |
|
78 | * |
|
79 | * @param string|string[] $currency |
|
80 | * |
|
81 | * @return static |
|
82 | * |
|
83 | * @see http://schema.org/currency |
|
84 | */ |
|
85 | public function currency($currency) |
|
86 | { |
|
87 | return $this->setProperty('currency', $currency); |
|
88 | } |
|
89 | ||
90 | /** |
|
91 | * A description of the item. |
|
92 | * |
|
93 | * @param string|string[] $description |
|
94 | * |
|
95 | * @return static |
|
96 | * |
|
97 | * @see http://schema.org/description |
|
98 | */ |
|
99 | public function description($description) |
|
100 | { |
|
101 | return $this->setProperty('description', $description); |
|
102 | } |
|
103 | ||
104 | /** |
|
105 | * A sub property of description. A short description of the item used to |
|
106 | * disambiguate from other, similar items. Information from other properties |
|
107 | * (in particular, name) may be necessary for the description to be useful |
|
108 | * for disambiguation. |
|
109 | * |
|
110 | * @param string|string[] $disambiguatingDescription |
|
111 | * |
|
112 | * @return static |
|
113 | * |
|
114 | * @see http://schema.org/disambiguatingDescription |
|
115 | */ |
|
116 | public function disambiguatingDescription($disambiguatingDescription) |
|
117 | { |
|
118 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
119 | } |
|
120 | ||
121 | /** |
|
122 | * The identifier property represents any kind of identifier for any kind of |
|
123 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
124 | * dedicated properties for representing many of these, either as textual |
|
125 | * strings or as URL (URI) links. See [background |
|
126 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
127 | * |
|
128 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
129 | * |
|
130 | * @return static |
|
131 | * |
|
132 | * @see http://schema.org/identifier |
|
133 | */ |
|
134 | public function identifier($identifier) |
|
135 | { |
|
136 | return $this->setProperty('identifier', $identifier); |
|
137 | } |
|
138 | ||
139 | /** |
|
140 | * An image of the item. This can be a [[URL]] or a fully described |
|
141 | * [[ImageObject]]. |
|
142 | * |
|
143 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
144 | * |
|
145 | * @return static |
|
146 | * |
|
147 | * @see http://schema.org/image |
|
148 | */ |
|
149 | public function image($image) |
|
150 | { |
|
151 | return $this->setProperty('image', $image); |
|
152 | } |
|
153 | ||
154 | /** |
|
155 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
156 | * entity being described. See [background |
|
157 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
158 | * |
|
159 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
160 | * |
|
161 | * @return static |
|
162 | * |
|
163 | * @see http://schema.org/mainEntityOfPage |
|
164 | */ |
|
165 | public function mainEntityOfPage($mainEntityOfPage) |
|
166 | { |
|
167 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
168 | } |
|
169 | ||
170 | /** |
|
171 | * The name of the item. |
|
172 | * |
|
173 | * @param string|string[] $name |
|
174 | * |
|
175 | * @return static |
|
176 | * |
|
177 | * @see http://schema.org/name |
|
178 | */ |
|
179 | public function name($name) |
|
180 | { |
|
181 | return $this->setProperty('name', $name); |
|
182 | } |
|
183 | ||
184 | /** |
|
185 | * Indicates a potential Action, which describes an idealized action in |
|
186 | * which this thing would play an 'object' role. |
|
187 | * |
|
188 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
189 | * |
|
190 | * @return static |
|
191 | * |
|
192 | * @see http://schema.org/potentialAction |
|
193 | */ |
|
194 | public function potentialAction($potentialAction) |
|
195 | { |
|
196 | return $this->setProperty('potentialAction', $potentialAction); |
|
197 | } |
|
198 | ||
199 | /** |
|
200 | * URL of a reference Web page that unambiguously indicates the item's |
|
201 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
202 | * official website. |
|
203 | * |
|
204 | * @param string|string[] $sameAs |
|
205 | * |
|
206 | * @return static |
|
207 | * |
|
208 | * @see http://schema.org/sameAs |
|
209 | */ |
|
210 | public function sameAs($sameAs) |
|
211 | { |
|
212 | return $this->setProperty('sameAs', $sameAs); |
|
213 | } |
|
214 | ||
215 | /** |
|
216 | * A CreativeWork or Event about this Thing. |
|
217 | * |
|
218 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
219 | * |
|
220 | * @return static |
|
221 | * |
|
222 | * @see http://schema.org/subjectOf |
|
223 | */ |
|
224 | public function subjectOf($subjectOf) |
|
225 | { |
|
226 | return $this->setProperty('subjectOf', $subjectOf); |
|
227 | } |
|
228 | ||
229 | /** |
|
230 | * URL of the item. |
|
231 | * |
|
232 | * @param string|string[] $url |
|
233 | * |
|
234 | * @return static |
|
235 | * |
|
236 | * @see http://schema.org/url |
|
237 | */ |
|
238 | public function url($url) |
|
239 | { |
|
240 | return $this->setProperty('url', $url); |
|
241 | } |
|
242 | ||
243 | } |
|
244 |
@@ 31-227 (lines=197) @@ | ||
28 | * @see http://schema.org/DeliveryMethod |
|
29 | * |
|
30 | */ |
|
31 | class DeliveryMethod extends BaseType implements DeliveryMethodContract, EnumerationContract, IntangibleContract, ThingContract |
|
32 | { |
|
33 | /** |
|
34 | * A DeliveryMethod in which an item is collected on site, e.g. in a store |
|
35 | * or at a box office. |
|
36 | * |
|
37 | * @see http://schema.org/OnSitePickup |
|
38 | */ |
|
39 | const OnSitePickup = 'http://schema.org/OnSitePickup'; |
|
40 | ||
41 | /** |
|
42 | * An additional type for the item, typically used for adding more specific |
|
43 | * types from external vocabularies in microdata syntax. This is a |
|
44 | * relationship between something and a class that the thing is in. In RDFa |
|
45 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
46 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
47 | * understanding of extra types, in particular those defined externally. |
|
48 | * |
|
49 | * @param string|string[] $additionalType |
|
50 | * |
|
51 | * @return static |
|
52 | * |
|
53 | * @see http://schema.org/additionalType |
|
54 | */ |
|
55 | public function additionalType($additionalType) |
|
56 | { |
|
57 | return $this->setProperty('additionalType', $additionalType); |
|
58 | } |
|
59 | ||
60 | /** |
|
61 | * An alias for the item. |
|
62 | * |
|
63 | * @param string|string[] $alternateName |
|
64 | * |
|
65 | * @return static |
|
66 | * |
|
67 | * @see http://schema.org/alternateName |
|
68 | */ |
|
69 | public function alternateName($alternateName) |
|
70 | { |
|
71 | return $this->setProperty('alternateName', $alternateName); |
|
72 | } |
|
73 | ||
74 | /** |
|
75 | * A description of the item. |
|
76 | * |
|
77 | * @param string|string[] $description |
|
78 | * |
|
79 | * @return static |
|
80 | * |
|
81 | * @see http://schema.org/description |
|
82 | */ |
|
83 | public function description($description) |
|
84 | { |
|
85 | return $this->setProperty('description', $description); |
|
86 | } |
|
87 | ||
88 | /** |
|
89 | * A sub property of description. A short description of the item used to |
|
90 | * disambiguate from other, similar items. Information from other properties |
|
91 | * (in particular, name) may be necessary for the description to be useful |
|
92 | * for disambiguation. |
|
93 | * |
|
94 | * @param string|string[] $disambiguatingDescription |
|
95 | * |
|
96 | * @return static |
|
97 | * |
|
98 | * @see http://schema.org/disambiguatingDescription |
|
99 | */ |
|
100 | public function disambiguatingDescription($disambiguatingDescription) |
|
101 | { |
|
102 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
103 | } |
|
104 | ||
105 | /** |
|
106 | * The identifier property represents any kind of identifier for any kind of |
|
107 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
108 | * dedicated properties for representing many of these, either as textual |
|
109 | * strings or as URL (URI) links. See [background |
|
110 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
111 | * |
|
112 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
113 | * |
|
114 | * @return static |
|
115 | * |
|
116 | * @see http://schema.org/identifier |
|
117 | */ |
|
118 | public function identifier($identifier) |
|
119 | { |
|
120 | return $this->setProperty('identifier', $identifier); |
|
121 | } |
|
122 | ||
123 | /** |
|
124 | * An image of the item. This can be a [[URL]] or a fully described |
|
125 | * [[ImageObject]]. |
|
126 | * |
|
127 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
128 | * |
|
129 | * @return static |
|
130 | * |
|
131 | * @see http://schema.org/image |
|
132 | */ |
|
133 | public function image($image) |
|
134 | { |
|
135 | return $this->setProperty('image', $image); |
|
136 | } |
|
137 | ||
138 | /** |
|
139 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
140 | * entity being described. See [background |
|
141 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
142 | * |
|
143 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
144 | * |
|
145 | * @return static |
|
146 | * |
|
147 | * @see http://schema.org/mainEntityOfPage |
|
148 | */ |
|
149 | public function mainEntityOfPage($mainEntityOfPage) |
|
150 | { |
|
151 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
152 | } |
|
153 | ||
154 | /** |
|
155 | * The name of the item. |
|
156 | * |
|
157 | * @param string|string[] $name |
|
158 | * |
|
159 | * @return static |
|
160 | * |
|
161 | * @see http://schema.org/name |
|
162 | */ |
|
163 | public function name($name) |
|
164 | { |
|
165 | return $this->setProperty('name', $name); |
|
166 | } |
|
167 | ||
168 | /** |
|
169 | * Indicates a potential Action, which describes an idealized action in |
|
170 | * which this thing would play an 'object' role. |
|
171 | * |
|
172 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
173 | * |
|
174 | * @return static |
|
175 | * |
|
176 | * @see http://schema.org/potentialAction |
|
177 | */ |
|
178 | public function potentialAction($potentialAction) |
|
179 | { |
|
180 | return $this->setProperty('potentialAction', $potentialAction); |
|
181 | } |
|
182 | ||
183 | /** |
|
184 | * URL of a reference Web page that unambiguously indicates the item's |
|
185 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
186 | * official website. |
|
187 | * |
|
188 | * @param string|string[] $sameAs |
|
189 | * |
|
190 | * @return static |
|
191 | * |
|
192 | * @see http://schema.org/sameAs |
|
193 | */ |
|
194 | public function sameAs($sameAs) |
|
195 | { |
|
196 | return $this->setProperty('sameAs', $sameAs); |
|
197 | } |
|
198 | ||
199 | /** |
|
200 | * A CreativeWork or Event about this Thing. |
|
201 | * |
|
202 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
203 | * |
|
204 | * @return static |
|
205 | * |
|
206 | * @see http://schema.org/subjectOf |
|
207 | */ |
|
208 | public function subjectOf($subjectOf) |
|
209 | { |
|
210 | return $this->setProperty('subjectOf', $subjectOf); |
|
211 | } |
|
212 | ||
213 | /** |
|
214 | * URL of the item. |
|
215 | * |
|
216 | * @param string|string[] $url |
|
217 | * |
|
218 | * @return static |
|
219 | * |
|
220 | * @see http://schema.org/url |
|
221 | */ |
|
222 | public function url($url) |
|
223 | { |
|
224 | return $this->setProperty('url', $url); |
|
225 | } |
|
226 | ||
227 | } |
|
228 |
@@ 15-232 (lines=218) @@ | ||
12 | * @see http://schema.org/DigitalDocumentPermission |
|
13 | * |
|
14 | */ |
|
15 | class DigitalDocumentPermission extends BaseType implements DigitalDocumentPermissionContract, IntangibleContract, ThingContract |
|
16 | { |
|
17 | /** |
|
18 | * An additional type for the item, typically used for adding more specific |
|
19 | * types from external vocabularies in microdata syntax. This is a |
|
20 | * relationship between something and a class that the thing is in. In RDFa |
|
21 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
22 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
23 | * understanding of extra types, in particular those defined externally. |
|
24 | * |
|
25 | * @param string|string[] $additionalType |
|
26 | * |
|
27 | * @return static |
|
28 | * |
|
29 | * @see http://schema.org/additionalType |
|
30 | */ |
|
31 | public function additionalType($additionalType) |
|
32 | { |
|
33 | return $this->setProperty('additionalType', $additionalType); |
|
34 | } |
|
35 | ||
36 | /** |
|
37 | * An alias for the item. |
|
38 | * |
|
39 | * @param string|string[] $alternateName |
|
40 | * |
|
41 | * @return static |
|
42 | * |
|
43 | * @see http://schema.org/alternateName |
|
44 | */ |
|
45 | public function alternateName($alternateName) |
|
46 | { |
|
47 | return $this->setProperty('alternateName', $alternateName); |
|
48 | } |
|
49 | ||
50 | /** |
|
51 | * A description of the item. |
|
52 | * |
|
53 | * @param string|string[] $description |
|
54 | * |
|
55 | * @return static |
|
56 | * |
|
57 | * @see http://schema.org/description |
|
58 | */ |
|
59 | public function description($description) |
|
60 | { |
|
61 | return $this->setProperty('description', $description); |
|
62 | } |
|
63 | ||
64 | /** |
|
65 | * A sub property of description. A short description of the item used to |
|
66 | * disambiguate from other, similar items. Information from other properties |
|
67 | * (in particular, name) may be necessary for the description to be useful |
|
68 | * for disambiguation. |
|
69 | * |
|
70 | * @param string|string[] $disambiguatingDescription |
|
71 | * |
|
72 | * @return static |
|
73 | * |
|
74 | * @see http://schema.org/disambiguatingDescription |
|
75 | */ |
|
76 | public function disambiguatingDescription($disambiguatingDescription) |
|
77 | { |
|
78 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
79 | } |
|
80 | ||
81 | /** |
|
82 | * The person, organization, contact point, or audience that has been |
|
83 | * granted this permission. |
|
84 | * |
|
85 | * @param \Spatie\SchemaOrg\Contracts\AudienceContract|\Spatie\SchemaOrg\Contracts\AudienceContract[]|\Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $grantee |
|
86 | * |
|
87 | * @return static |
|
88 | * |
|
89 | * @see http://schema.org/grantee |
|
90 | */ |
|
91 | public function grantee($grantee) |
|
92 | { |
|
93 | return $this->setProperty('grantee', $grantee); |
|
94 | } |
|
95 | ||
96 | /** |
|
97 | * The identifier property represents any kind of identifier for any kind of |
|
98 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
99 | * dedicated properties for representing many of these, either as textual |
|
100 | * strings or as URL (URI) links. See [background |
|
101 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
102 | * |
|
103 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
104 | * |
|
105 | * @return static |
|
106 | * |
|
107 | * @see http://schema.org/identifier |
|
108 | */ |
|
109 | public function identifier($identifier) |
|
110 | { |
|
111 | return $this->setProperty('identifier', $identifier); |
|
112 | } |
|
113 | ||
114 | /** |
|
115 | * An image of the item. This can be a [[URL]] or a fully described |
|
116 | * [[ImageObject]]. |
|
117 | * |
|
118 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
119 | * |
|
120 | * @return static |
|
121 | * |
|
122 | * @see http://schema.org/image |
|
123 | */ |
|
124 | public function image($image) |
|
125 | { |
|
126 | return $this->setProperty('image', $image); |
|
127 | } |
|
128 | ||
129 | /** |
|
130 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
131 | * entity being described. See [background |
|
132 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
133 | * |
|
134 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
135 | * |
|
136 | * @return static |
|
137 | * |
|
138 | * @see http://schema.org/mainEntityOfPage |
|
139 | */ |
|
140 | public function mainEntityOfPage($mainEntityOfPage) |
|
141 | { |
|
142 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
143 | } |
|
144 | ||
145 | /** |
|
146 | * The name of the item. |
|
147 | * |
|
148 | * @param string|string[] $name |
|
149 | * |
|
150 | * @return static |
|
151 | * |
|
152 | * @see http://schema.org/name |
|
153 | */ |
|
154 | public function name($name) |
|
155 | { |
|
156 | return $this->setProperty('name', $name); |
|
157 | } |
|
158 | ||
159 | /** |
|
160 | * The type of permission granted the person, organization, or audience. |
|
161 | * |
|
162 | * @param \Spatie\SchemaOrg\Contracts\DigitalDocumentPermissionTypeContract|\Spatie\SchemaOrg\Contracts\DigitalDocumentPermissionTypeContract[] $permissionType |
|
163 | * |
|
164 | * @return static |
|
165 | * |
|
166 | * @see http://schema.org/permissionType |
|
167 | */ |
|
168 | public function permissionType($permissionType) |
|
169 | { |
|
170 | return $this->setProperty('permissionType', $permissionType); |
|
171 | } |
|
172 | ||
173 | /** |
|
174 | * Indicates a potential Action, which describes an idealized action in |
|
175 | * which this thing would play an 'object' role. |
|
176 | * |
|
177 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
178 | * |
|
179 | * @return static |
|
180 | * |
|
181 | * @see http://schema.org/potentialAction |
|
182 | */ |
|
183 | public function potentialAction($potentialAction) |
|
184 | { |
|
185 | return $this->setProperty('potentialAction', $potentialAction); |
|
186 | } |
|
187 | ||
188 | /** |
|
189 | * URL of a reference Web page that unambiguously indicates the item's |
|
190 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
191 | * official website. |
|
192 | * |
|
193 | * @param string|string[] $sameAs |
|
194 | * |
|
195 | * @return static |
|
196 | * |
|
197 | * @see http://schema.org/sameAs |
|
198 | */ |
|
199 | public function sameAs($sameAs) |
|
200 | { |
|
201 | return $this->setProperty('sameAs', $sameAs); |
|
202 | } |
|
203 | ||
204 | /** |
|
205 | * A CreativeWork or Event about this Thing. |
|
206 | * |
|
207 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
208 | * |
|
209 | * @return static |
|
210 | * |
|
211 | * @see http://schema.org/subjectOf |
|
212 | */ |
|
213 | public function subjectOf($subjectOf) |
|
214 | { |
|
215 | return $this->setProperty('subjectOf', $subjectOf); |
|
216 | } |
|
217 | ||
218 | /** |
|
219 | * URL of the item. |
|
220 | * |
|
221 | * @param string|string[] $url |
|
222 | * |
|
223 | * @return static |
|
224 | * |
|
225 | * @see http://schema.org/url |
|
226 | */ |
|
227 | public function url($url) |
|
228 | { |
|
229 | return $this->setProperty('url', $url); |
|
230 | } |
|
231 | ||
232 | } |
|
233 |
@@ 17-221 (lines=205) @@ | ||
14 | * @see http://schema.org/EngineSpecification |
|
15 | * |
|
16 | */ |
|
17 | class EngineSpecification extends BaseType implements EngineSpecificationContract, IntangibleContract, StructuredValueContract, ThingContract |
|
18 | { |
|
19 | /** |
|
20 | * An additional type for the item, typically used for adding more specific |
|
21 | * types from external vocabularies in microdata syntax. This is a |
|
22 | * relationship between something and a class that the thing is in. In RDFa |
|
23 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
24 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
25 | * understanding of extra types, in particular those defined externally. |
|
26 | * |
|
27 | * @param string|string[] $additionalType |
|
28 | * |
|
29 | * @return static |
|
30 | * |
|
31 | * @see http://schema.org/additionalType |
|
32 | */ |
|
33 | public function additionalType($additionalType) |
|
34 | { |
|
35 | return $this->setProperty('additionalType', $additionalType); |
|
36 | } |
|
37 | ||
38 | /** |
|
39 | * An alias for the item. |
|
40 | * |
|
41 | * @param string|string[] $alternateName |
|
42 | * |
|
43 | * @return static |
|
44 | * |
|
45 | * @see http://schema.org/alternateName |
|
46 | */ |
|
47 | public function alternateName($alternateName) |
|
48 | { |
|
49 | return $this->setProperty('alternateName', $alternateName); |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * A description of the item. |
|
54 | * |
|
55 | * @param string|string[] $description |
|
56 | * |
|
57 | * @return static |
|
58 | * |
|
59 | * @see http://schema.org/description |
|
60 | */ |
|
61 | public function description($description) |
|
62 | { |
|
63 | return $this->setProperty('description', $description); |
|
64 | } |
|
65 | ||
66 | /** |
|
67 | * A sub property of description. A short description of the item used to |
|
68 | * disambiguate from other, similar items. Information from other properties |
|
69 | * (in particular, name) may be necessary for the description to be useful |
|
70 | * for disambiguation. |
|
71 | * |
|
72 | * @param string|string[] $disambiguatingDescription |
|
73 | * |
|
74 | * @return static |
|
75 | * |
|
76 | * @see http://schema.org/disambiguatingDescription |
|
77 | */ |
|
78 | public function disambiguatingDescription($disambiguatingDescription) |
|
79 | { |
|
80 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
81 | } |
|
82 | ||
83 | /** |
|
84 | * The type of fuel suitable for the engine or engines of the vehicle. If |
|
85 | * the vehicle has only one engine, this property can be attached directly |
|
86 | * to the vehicle. |
|
87 | * |
|
88 | * @param \Spatie\SchemaOrg\Contracts\QualitativeValueContract|\Spatie\SchemaOrg\Contracts\QualitativeValueContract[]|string|string[] $fuelType |
|
89 | * |
|
90 | * @return static |
|
91 | * |
|
92 | * @see http://schema.org/fuelType |
|
93 | */ |
|
94 | public function fuelType($fuelType) |
|
95 | { |
|
96 | return $this->setProperty('fuelType', $fuelType); |
|
97 | } |
|
98 | ||
99 | /** |
|
100 | * The identifier property represents any kind of identifier for any kind of |
|
101 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
102 | * dedicated properties for representing many of these, either as textual |
|
103 | * strings or as URL (URI) links. See [background |
|
104 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
105 | * |
|
106 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
107 | * |
|
108 | * @return static |
|
109 | * |
|
110 | * @see http://schema.org/identifier |
|
111 | */ |
|
112 | public function identifier($identifier) |
|
113 | { |
|
114 | return $this->setProperty('identifier', $identifier); |
|
115 | } |
|
116 | ||
117 | /** |
|
118 | * An image of the item. This can be a [[URL]] or a fully described |
|
119 | * [[ImageObject]]. |
|
120 | * |
|
121 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
122 | * |
|
123 | * @return static |
|
124 | * |
|
125 | * @see http://schema.org/image |
|
126 | */ |
|
127 | public function image($image) |
|
128 | { |
|
129 | return $this->setProperty('image', $image); |
|
130 | } |
|
131 | ||
132 | /** |
|
133 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
134 | * entity being described. See [background |
|
135 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
136 | * |
|
137 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
138 | * |
|
139 | * @return static |
|
140 | * |
|
141 | * @see http://schema.org/mainEntityOfPage |
|
142 | */ |
|
143 | public function mainEntityOfPage($mainEntityOfPage) |
|
144 | { |
|
145 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
146 | } |
|
147 | ||
148 | /** |
|
149 | * The name of the item. |
|
150 | * |
|
151 | * @param string|string[] $name |
|
152 | * |
|
153 | * @return static |
|
154 | * |
|
155 | * @see http://schema.org/name |
|
156 | */ |
|
157 | public function name($name) |
|
158 | { |
|
159 | return $this->setProperty('name', $name); |
|
160 | } |
|
161 | ||
162 | /** |
|
163 | * Indicates a potential Action, which describes an idealized action in |
|
164 | * which this thing would play an 'object' role. |
|
165 | * |
|
166 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
167 | * |
|
168 | * @return static |
|
169 | * |
|
170 | * @see http://schema.org/potentialAction |
|
171 | */ |
|
172 | public function potentialAction($potentialAction) |
|
173 | { |
|
174 | return $this->setProperty('potentialAction', $potentialAction); |
|
175 | } |
|
176 | ||
177 | /** |
|
178 | * URL of a reference Web page that unambiguously indicates the item's |
|
179 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
180 | * official website. |
|
181 | * |
|
182 | * @param string|string[] $sameAs |
|
183 | * |
|
184 | * @return static |
|
185 | * |
|
186 | * @see http://schema.org/sameAs |
|
187 | */ |
|
188 | public function sameAs($sameAs) |
|
189 | { |
|
190 | return $this->setProperty('sameAs', $sameAs); |
|
191 | } |
|
192 | ||
193 | /** |
|
194 | * A CreativeWork or Event about this Thing. |
|
195 | * |
|
196 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
197 | * |
|
198 | * @return static |
|
199 | * |
|
200 | * @see http://schema.org/subjectOf |
|
201 | */ |
|
202 | public function subjectOf($subjectOf) |
|
203 | { |
|
204 | return $this->setProperty('subjectOf', $subjectOf); |
|
205 | } |
|
206 | ||
207 | /** |
|
208 | * URL of the item. |
|
209 | * |
|
210 | * @param string|string[] $url |
|
211 | * |
|
212 | * @return static |
|
213 | * |
|
214 | * @see http://schema.org/url |
|
215 | */ |
|
216 | public function url($url) |
|
217 | { |
|
218 | return $this->setProperty('url', $url); |
|
219 | } |
|
220 | ||
221 | } |
|
222 |
@@ 17-221 (lines=205) @@ | ||
14 | * @see http://schema.org/InteractionCounter |
|
15 | * |
|
16 | */ |
|
17 | class InteractionCounter extends BaseType implements InteractionCounterContract, IntangibleContract, StructuredValueContract, ThingContract |
|
18 | { |
|
19 | /** |
|
20 | * An additional type for the item, typically used for adding more specific |
|
21 | * types from external vocabularies in microdata syntax. This is a |
|
22 | * relationship between something and a class that the thing is in. In RDFa |
|
23 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
24 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
25 | * understanding of extra types, in particular those defined externally. |
|
26 | * |
|
27 | * @param string|string[] $additionalType |
|
28 | * |
|
29 | * @return static |
|
30 | * |
|
31 | * @see http://schema.org/additionalType |
|
32 | */ |
|
33 | public function additionalType($additionalType) |
|
34 | { |
|
35 | return $this->setProperty('additionalType', $additionalType); |
|
36 | } |
|
37 | ||
38 | /** |
|
39 | * An alias for the item. |
|
40 | * |
|
41 | * @param string|string[] $alternateName |
|
42 | * |
|
43 | * @return static |
|
44 | * |
|
45 | * @see http://schema.org/alternateName |
|
46 | */ |
|
47 | public function alternateName($alternateName) |
|
48 | { |
|
49 | return $this->setProperty('alternateName', $alternateName); |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * A description of the item. |
|
54 | * |
|
55 | * @param string|string[] $description |
|
56 | * |
|
57 | * @return static |
|
58 | * |
|
59 | * @see http://schema.org/description |
|
60 | */ |
|
61 | public function description($description) |
|
62 | { |
|
63 | return $this->setProperty('description', $description); |
|
64 | } |
|
65 | ||
66 | /** |
|
67 | * A sub property of description. A short description of the item used to |
|
68 | * disambiguate from other, similar items. Information from other properties |
|
69 | * (in particular, name) may be necessary for the description to be useful |
|
70 | * for disambiguation. |
|
71 | * |
|
72 | * @param string|string[] $disambiguatingDescription |
|
73 | * |
|
74 | * @return static |
|
75 | * |
|
76 | * @see http://schema.org/disambiguatingDescription |
|
77 | */ |
|
78 | public function disambiguatingDescription($disambiguatingDescription) |
|
79 | { |
|
80 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
81 | } |
|
82 | ||
83 | /** |
|
84 | * The identifier property represents any kind of identifier for any kind of |
|
85 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
86 | * dedicated properties for representing many of these, either as textual |
|
87 | * strings or as URL (URI) links. See [background |
|
88 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
89 | * |
|
90 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
91 | * |
|
92 | * @return static |
|
93 | * |
|
94 | * @see http://schema.org/identifier |
|
95 | */ |
|
96 | public function identifier($identifier) |
|
97 | { |
|
98 | return $this->setProperty('identifier', $identifier); |
|
99 | } |
|
100 | ||
101 | /** |
|
102 | * An image of the item. This can be a [[URL]] or a fully described |
|
103 | * [[ImageObject]]. |
|
104 | * |
|
105 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
106 | * |
|
107 | * @return static |
|
108 | * |
|
109 | * @see http://schema.org/image |
|
110 | */ |
|
111 | public function image($image) |
|
112 | { |
|
113 | return $this->setProperty('image', $image); |
|
114 | } |
|
115 | ||
116 | /** |
|
117 | * The Action representing the type of interaction. For up votes, +1s, etc. |
|
118 | * use [[LikeAction]]. For down votes use [[DislikeAction]]. Otherwise, use |
|
119 | * the most specific Action. |
|
120 | * |
|
121 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $interactionType |
|
122 | * |
|
123 | * @return static |
|
124 | * |
|
125 | * @see http://schema.org/interactionType |
|
126 | */ |
|
127 | public function interactionType($interactionType) |
|
128 | { |
|
129 | return $this->setProperty('interactionType', $interactionType); |
|
130 | } |
|
131 | ||
132 | /** |
|
133 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
134 | * entity being described. See [background |
|
135 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
136 | * |
|
137 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
138 | * |
|
139 | * @return static |
|
140 | * |
|
141 | * @see http://schema.org/mainEntityOfPage |
|
142 | */ |
|
143 | public function mainEntityOfPage($mainEntityOfPage) |
|
144 | { |
|
145 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
146 | } |
|
147 | ||
148 | /** |
|
149 | * The name of the item. |
|
150 | * |
|
151 | * @param string|string[] $name |
|
152 | * |
|
153 | * @return static |
|
154 | * |
|
155 | * @see http://schema.org/name |
|
156 | */ |
|
157 | public function name($name) |
|
158 | { |
|
159 | return $this->setProperty('name', $name); |
|
160 | } |
|
161 | ||
162 | /** |
|
163 | * Indicates a potential Action, which describes an idealized action in |
|
164 | * which this thing would play an 'object' role. |
|
165 | * |
|
166 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
167 | * |
|
168 | * @return static |
|
169 | * |
|
170 | * @see http://schema.org/potentialAction |
|
171 | */ |
|
172 | public function potentialAction($potentialAction) |
|
173 | { |
|
174 | return $this->setProperty('potentialAction', $potentialAction); |
|
175 | } |
|
176 | ||
177 | /** |
|
178 | * URL of a reference Web page that unambiguously indicates the item's |
|
179 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
180 | * official website. |
|
181 | * |
|
182 | * @param string|string[] $sameAs |
|
183 | * |
|
184 | * @return static |
|
185 | * |
|
186 | * @see http://schema.org/sameAs |
|
187 | */ |
|
188 | public function sameAs($sameAs) |
|
189 | { |
|
190 | return $this->setProperty('sameAs', $sameAs); |
|
191 | } |
|
192 | ||
193 | /** |
|
194 | * A CreativeWork or Event about this Thing. |
|
195 | * |
|
196 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
197 | * |
|
198 | * @return static |
|
199 | * |
|
200 | * @see http://schema.org/subjectOf |
|
201 | */ |
|
202 | public function subjectOf($subjectOf) |
|
203 | { |
|
204 | return $this->setProperty('subjectOf', $subjectOf); |
|
205 | } |
|
206 | ||
207 | /** |
|
208 | * URL of the item. |
|
209 | * |
|
210 | * @param string|string[] $url |
|
211 | * |
|
212 | * @return static |
|
213 | * |
|
214 | * @see http://schema.org/url |
|
215 | */ |
|
216 | public function url($url) |
|
217 | { |
|
218 | return $this->setProperty('url', $url); |
|
219 | } |
|
220 | ||
221 | } |
|
222 |
@@ 17-205 (lines=189) @@ | ||
14 | * @see http://schema.org/LockerDelivery |
|
15 | * |
|
16 | */ |
|
17 | class LockerDelivery extends BaseType implements LockerDeliveryContract, DeliveryMethodContract, EnumerationContract, IntangibleContract, ThingContract |
|
18 | { |
|
19 | /** |
|
20 | * An additional type for the item, typically used for adding more specific |
|
21 | * types from external vocabularies in microdata syntax. This is a |
|
22 | * relationship between something and a class that the thing is in. In RDFa |
|
23 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
24 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
25 | * understanding of extra types, in particular those defined externally. |
|
26 | * |
|
27 | * @param string|string[] $additionalType |
|
28 | * |
|
29 | * @return static |
|
30 | * |
|
31 | * @see http://schema.org/additionalType |
|
32 | */ |
|
33 | public function additionalType($additionalType) |
|
34 | { |
|
35 | return $this->setProperty('additionalType', $additionalType); |
|
36 | } |
|
37 | ||
38 | /** |
|
39 | * An alias for the item. |
|
40 | * |
|
41 | * @param string|string[] $alternateName |
|
42 | * |
|
43 | * @return static |
|
44 | * |
|
45 | * @see http://schema.org/alternateName |
|
46 | */ |
|
47 | public function alternateName($alternateName) |
|
48 | { |
|
49 | return $this->setProperty('alternateName', $alternateName); |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * A description of the item. |
|
54 | * |
|
55 | * @param string|string[] $description |
|
56 | * |
|
57 | * @return static |
|
58 | * |
|
59 | * @see http://schema.org/description |
|
60 | */ |
|
61 | public function description($description) |
|
62 | { |
|
63 | return $this->setProperty('description', $description); |
|
64 | } |
|
65 | ||
66 | /** |
|
67 | * A sub property of description. A short description of the item used to |
|
68 | * disambiguate from other, similar items. Information from other properties |
|
69 | * (in particular, name) may be necessary for the description to be useful |
|
70 | * for disambiguation. |
|
71 | * |
|
72 | * @param string|string[] $disambiguatingDescription |
|
73 | * |
|
74 | * @return static |
|
75 | * |
|
76 | * @see http://schema.org/disambiguatingDescription |
|
77 | */ |
|
78 | public function disambiguatingDescription($disambiguatingDescription) |
|
79 | { |
|
80 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
81 | } |
|
82 | ||
83 | /** |
|
84 | * The identifier property represents any kind of identifier for any kind of |
|
85 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
86 | * dedicated properties for representing many of these, either as textual |
|
87 | * strings or as URL (URI) links. See [background |
|
88 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
89 | * |
|
90 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
91 | * |
|
92 | * @return static |
|
93 | * |
|
94 | * @see http://schema.org/identifier |
|
95 | */ |
|
96 | public function identifier($identifier) |
|
97 | { |
|
98 | return $this->setProperty('identifier', $identifier); |
|
99 | } |
|
100 | ||
101 | /** |
|
102 | * An image of the item. This can be a [[URL]] or a fully described |
|
103 | * [[ImageObject]]. |
|
104 | * |
|
105 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
106 | * |
|
107 | * @return static |
|
108 | * |
|
109 | * @see http://schema.org/image |
|
110 | */ |
|
111 | public function image($image) |
|
112 | { |
|
113 | return $this->setProperty('image', $image); |
|
114 | } |
|
115 | ||
116 | /** |
|
117 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
118 | * entity being described. See [background |
|
119 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
120 | * |
|
121 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
122 | * |
|
123 | * @return static |
|
124 | * |
|
125 | * @see http://schema.org/mainEntityOfPage |
|
126 | */ |
|
127 | public function mainEntityOfPage($mainEntityOfPage) |
|
128 | { |
|
129 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
130 | } |
|
131 | ||
132 | /** |
|
133 | * The name of the item. |
|
134 | * |
|
135 | * @param string|string[] $name |
|
136 | * |
|
137 | * @return static |
|
138 | * |
|
139 | * @see http://schema.org/name |
|
140 | */ |
|
141 | public function name($name) |
|
142 | { |
|
143 | return $this->setProperty('name', $name); |
|
144 | } |
|
145 | ||
146 | /** |
|
147 | * Indicates a potential Action, which describes an idealized action in |
|
148 | * which this thing would play an 'object' role. |
|
149 | * |
|
150 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
151 | * |
|
152 | * @return static |
|
153 | * |
|
154 | * @see http://schema.org/potentialAction |
|
155 | */ |
|
156 | public function potentialAction($potentialAction) |
|
157 | { |
|
158 | return $this->setProperty('potentialAction', $potentialAction); |
|
159 | } |
|
160 | ||
161 | /** |
|
162 | * URL of a reference Web page that unambiguously indicates the item's |
|
163 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
164 | * official website. |
|
165 | * |
|
166 | * @param string|string[] $sameAs |
|
167 | * |
|
168 | * @return static |
|
169 | * |
|
170 | * @see http://schema.org/sameAs |
|
171 | */ |
|
172 | public function sameAs($sameAs) |
|
173 | { |
|
174 | return $this->setProperty('sameAs', $sameAs); |
|
175 | } |
|
176 | ||
177 | /** |
|
178 | * A CreativeWork or Event about this Thing. |
|
179 | * |
|
180 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
181 | * |
|
182 | * @return static |
|
183 | * |
|
184 | * @see http://schema.org/subjectOf |
|
185 | */ |
|
186 | public function subjectOf($subjectOf) |
|
187 | { |
|
188 | return $this->setProperty('subjectOf', $subjectOf); |
|
189 | } |
|
190 | ||
191 | /** |
|
192 | * URL of the item. |
|
193 | * |
|
194 | * @param string|string[] $url |
|
195 | * |
|
196 | * @return static |
|
197 | * |
|
198 | * @see http://schema.org/url |
|
199 | */ |
|
200 | public function url($url) |
|
201 | { |
|
202 | return $this->setProperty('url', $url); |
|
203 | } |
|
204 | ||
205 | } |
|
206 |
@@ 16-234 (lines=219) @@ | ||
13 | * @see http://schema.org/MediaSubscription |
|
14 | * |
|
15 | */ |
|
16 | class MediaSubscription extends BaseType implements MediaSubscriptionContract, IntangibleContract, ThingContract |
|
17 | { |
|
18 | /** |
|
19 | * An additional type for the item, typically used for adding more specific |
|
20 | * types from external vocabularies in microdata syntax. This is a |
|
21 | * relationship between something and a class that the thing is in. In RDFa |
|
22 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
23 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
24 | * understanding of extra types, in particular those defined externally. |
|
25 | * |
|
26 | * @param string|string[] $additionalType |
|
27 | * |
|
28 | * @return static |
|
29 | * |
|
30 | * @see http://schema.org/additionalType |
|
31 | */ |
|
32 | public function additionalType($additionalType) |
|
33 | { |
|
34 | return $this->setProperty('additionalType', $additionalType); |
|
35 | } |
|
36 | ||
37 | /** |
|
38 | * An alias for the item. |
|
39 | * |
|
40 | * @param string|string[] $alternateName |
|
41 | * |
|
42 | * @return static |
|
43 | * |
|
44 | * @see http://schema.org/alternateName |
|
45 | */ |
|
46 | public function alternateName($alternateName) |
|
47 | { |
|
48 | return $this->setProperty('alternateName', $alternateName); |
|
49 | } |
|
50 | ||
51 | /** |
|
52 | * The Organization responsible for authenticating the user's subscription. |
|
53 | * For example, many media apps require a cable/satellite provider to |
|
54 | * authenticate your subscription before playing media. |
|
55 | * |
|
56 | * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $authenticator |
|
57 | * |
|
58 | * @return static |
|
59 | * |
|
60 | * @see http://schema.org/authenticator |
|
61 | */ |
|
62 | public function authenticator($authenticator) |
|
63 | { |
|
64 | return $this->setProperty('authenticator', $authenticator); |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * A description of the item. |
|
69 | * |
|
70 | * @param string|string[] $description |
|
71 | * |
|
72 | * @return static |
|
73 | * |
|
74 | * @see http://schema.org/description |
|
75 | */ |
|
76 | public function description($description) |
|
77 | { |
|
78 | return $this->setProperty('description', $description); |
|
79 | } |
|
80 | ||
81 | /** |
|
82 | * A sub property of description. A short description of the item used to |
|
83 | * disambiguate from other, similar items. Information from other properties |
|
84 | * (in particular, name) may be necessary for the description to be useful |
|
85 | * for disambiguation. |
|
86 | * |
|
87 | * @param string|string[] $disambiguatingDescription |
|
88 | * |
|
89 | * @return static |
|
90 | * |
|
91 | * @see http://schema.org/disambiguatingDescription |
|
92 | */ |
|
93 | public function disambiguatingDescription($disambiguatingDescription) |
|
94 | { |
|
95 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
96 | } |
|
97 | ||
98 | /** |
|
99 | * |
|
100 | * |
|
101 | * @param $expectsAcceptanceOf |
|
102 | * |
|
103 | * @return static |
|
104 | * |
|
105 | * @see http://schema.org/expectsAcceptanceOf |
|
106 | */ |
|
107 | public function expectsAcceptanceOf($expectsAcceptanceOf) |
|
108 | { |
|
109 | return $this->setProperty('expectsAcceptanceOf', $expectsAcceptanceOf); |
|
110 | } |
|
111 | ||
112 | /** |
|
113 | * The identifier property represents any kind of identifier for any kind of |
|
114 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
115 | * dedicated properties for representing many of these, either as textual |
|
116 | * strings or as URL (URI) links. See [background |
|
117 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
118 | * |
|
119 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
120 | * |
|
121 | * @return static |
|
122 | * |
|
123 | * @see http://schema.org/identifier |
|
124 | */ |
|
125 | public function identifier($identifier) |
|
126 | { |
|
127 | return $this->setProperty('identifier', $identifier); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * An image of the item. This can be a [[URL]] or a fully described |
|
132 | * [[ImageObject]]. |
|
133 | * |
|
134 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
135 | * |
|
136 | * @return static |
|
137 | * |
|
138 | * @see http://schema.org/image |
|
139 | */ |
|
140 | public function image($image) |
|
141 | { |
|
142 | return $this->setProperty('image', $image); |
|
143 | } |
|
144 | ||
145 | /** |
|
146 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
147 | * entity being described. See [background |
|
148 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
149 | * |
|
150 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
151 | * |
|
152 | * @return static |
|
153 | * |
|
154 | * @see http://schema.org/mainEntityOfPage |
|
155 | */ |
|
156 | public function mainEntityOfPage($mainEntityOfPage) |
|
157 | { |
|
158 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
159 | } |
|
160 | ||
161 | /** |
|
162 | * The name of the item. |
|
163 | * |
|
164 | * @param string|string[] $name |
|
165 | * |
|
166 | * @return static |
|
167 | * |
|
168 | * @see http://schema.org/name |
|
169 | */ |
|
170 | public function name($name) |
|
171 | { |
|
172 | return $this->setProperty('name', $name); |
|
173 | } |
|
174 | ||
175 | /** |
|
176 | * Indicates a potential Action, which describes an idealized action in |
|
177 | * which this thing would play an 'object' role. |
|
178 | * |
|
179 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
180 | * |
|
181 | * @return static |
|
182 | * |
|
183 | * @see http://schema.org/potentialAction |
|
184 | */ |
|
185 | public function potentialAction($potentialAction) |
|
186 | { |
|
187 | return $this->setProperty('potentialAction', $potentialAction); |
|
188 | } |
|
189 | ||
190 | /** |
|
191 | * URL of a reference Web page that unambiguously indicates the item's |
|
192 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
193 | * official website. |
|
194 | * |
|
195 | * @param string|string[] $sameAs |
|
196 | * |
|
197 | * @return static |
|
198 | * |
|
199 | * @see http://schema.org/sameAs |
|
200 | */ |
|
201 | public function sameAs($sameAs) |
|
202 | { |
|
203 | return $this->setProperty('sameAs', $sameAs); |
|
204 | } |
|
205 | ||
206 | /** |
|
207 | * A CreativeWork or Event about this Thing. |
|
208 | * |
|
209 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
210 | * |
|
211 | * @return static |
|
212 | * |
|
213 | * @see http://schema.org/subjectOf |
|
214 | */ |
|
215 | public function subjectOf($subjectOf) |
|
216 | { |
|
217 | return $this->setProperty('subjectOf', $subjectOf); |
|
218 | } |
|
219 | ||
220 | /** |
|
221 | * URL of the item. |
|
222 | * |
|
223 | * @param string|string[] $url |
|
224 | * |
|
225 | * @return static |
|
226 | * |
|
227 | * @see http://schema.org/url |
|
228 | */ |
|
229 | public function url($url) |
|
230 | { |
|
231 | return $this->setProperty('url', $url); |
|
232 | } |
|
233 | ||
234 | } |
|
235 |
@@ 23-211 (lines=189) @@ | ||
20 | * @see http://schema.org/ParcelService |
|
21 | * |
|
22 | */ |
|
23 | class ParcelService extends BaseType implements ParcelServiceContract, DeliveryMethodContract, EnumerationContract, IntangibleContract, ThingContract |
|
24 | { |
|
25 | /** |
|
26 | * An additional type for the item, typically used for adding more specific |
|
27 | * types from external vocabularies in microdata syntax. This is a |
|
28 | * relationship between something and a class that the thing is in. In RDFa |
|
29 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
30 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
31 | * understanding of extra types, in particular those defined externally. |
|
32 | * |
|
33 | * @param string|string[] $additionalType |
|
34 | * |
|
35 | * @return static |
|
36 | * |
|
37 | * @see http://schema.org/additionalType |
|
38 | */ |
|
39 | public function additionalType($additionalType) |
|
40 | { |
|
41 | return $this->setProperty('additionalType', $additionalType); |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * An alias for the item. |
|
46 | * |
|
47 | * @param string|string[] $alternateName |
|
48 | * |
|
49 | * @return static |
|
50 | * |
|
51 | * @see http://schema.org/alternateName |
|
52 | */ |
|
53 | public function alternateName($alternateName) |
|
54 | { |
|
55 | return $this->setProperty('alternateName', $alternateName); |
|
56 | } |
|
57 | ||
58 | /** |
|
59 | * A description of the item. |
|
60 | * |
|
61 | * @param string|string[] $description |
|
62 | * |
|
63 | * @return static |
|
64 | * |
|
65 | * @see http://schema.org/description |
|
66 | */ |
|
67 | public function description($description) |
|
68 | { |
|
69 | return $this->setProperty('description', $description); |
|
70 | } |
|
71 | ||
72 | /** |
|
73 | * A sub property of description. A short description of the item used to |
|
74 | * disambiguate from other, similar items. Information from other properties |
|
75 | * (in particular, name) may be necessary for the description to be useful |
|
76 | * for disambiguation. |
|
77 | * |
|
78 | * @param string|string[] $disambiguatingDescription |
|
79 | * |
|
80 | * @return static |
|
81 | * |
|
82 | * @see http://schema.org/disambiguatingDescription |
|
83 | */ |
|
84 | public function disambiguatingDescription($disambiguatingDescription) |
|
85 | { |
|
86 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
87 | } |
|
88 | ||
89 | /** |
|
90 | * The identifier property represents any kind of identifier for any kind of |
|
91 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
92 | * dedicated properties for representing many of these, either as textual |
|
93 | * strings or as URL (URI) links. See [background |
|
94 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
95 | * |
|
96 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
97 | * |
|
98 | * @return static |
|
99 | * |
|
100 | * @see http://schema.org/identifier |
|
101 | */ |
|
102 | public function identifier($identifier) |
|
103 | { |
|
104 | return $this->setProperty('identifier', $identifier); |
|
105 | } |
|
106 | ||
107 | /** |
|
108 | * An image of the item. This can be a [[URL]] or a fully described |
|
109 | * [[ImageObject]]. |
|
110 | * |
|
111 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
112 | * |
|
113 | * @return static |
|
114 | * |
|
115 | * @see http://schema.org/image |
|
116 | */ |
|
117 | public function image($image) |
|
118 | { |
|
119 | return $this->setProperty('image', $image); |
|
120 | } |
|
121 | ||
122 | /** |
|
123 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
124 | * entity being described. See [background |
|
125 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
126 | * |
|
127 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
128 | * |
|
129 | * @return static |
|
130 | * |
|
131 | * @see http://schema.org/mainEntityOfPage |
|
132 | */ |
|
133 | public function mainEntityOfPage($mainEntityOfPage) |
|
134 | { |
|
135 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
136 | } |
|
137 | ||
138 | /** |
|
139 | * The name of the item. |
|
140 | * |
|
141 | * @param string|string[] $name |
|
142 | * |
|
143 | * @return static |
|
144 | * |
|
145 | * @see http://schema.org/name |
|
146 | */ |
|
147 | public function name($name) |
|
148 | { |
|
149 | return $this->setProperty('name', $name); |
|
150 | } |
|
151 | ||
152 | /** |
|
153 | * Indicates a potential Action, which describes an idealized action in |
|
154 | * which this thing would play an 'object' role. |
|
155 | * |
|
156 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
157 | * |
|
158 | * @return static |
|
159 | * |
|
160 | * @see http://schema.org/potentialAction |
|
161 | */ |
|
162 | public function potentialAction($potentialAction) |
|
163 | { |
|
164 | return $this->setProperty('potentialAction', $potentialAction); |
|
165 | } |
|
166 | ||
167 | /** |
|
168 | * URL of a reference Web page that unambiguously indicates the item's |
|
169 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
170 | * official website. |
|
171 | * |
|
172 | * @param string|string[] $sameAs |
|
173 | * |
|
174 | * @return static |
|
175 | * |
|
176 | * @see http://schema.org/sameAs |
|
177 | */ |
|
178 | public function sameAs($sameAs) |
|
179 | { |
|
180 | return $this->setProperty('sameAs', $sameAs); |
|
181 | } |
|
182 | ||
183 | /** |
|
184 | * A CreativeWork or Event about this Thing. |
|
185 | * |
|
186 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
187 | * |
|
188 | * @return static |
|
189 | * |
|
190 | * @see http://schema.org/subjectOf |
|
191 | */ |
|
192 | public function subjectOf($subjectOf) |
|
193 | { |
|
194 | return $this->setProperty('subjectOf', $subjectOf); |
|
195 | } |
|
196 | ||
197 | /** |
|
198 | * URL of the item. |
|
199 | * |
|
200 | * @param string|string[] $url |
|
201 | * |
|
202 | * @return static |
|
203 | * |
|
204 | * @see http://schema.org/url |
|
205 | */ |
|
206 | public function url($url) |
|
207 | { |
|
208 | return $this->setProperty('url', $url); |
|
209 | } |
|
210 | ||
211 | } |
|
212 |
@@ 17-221 (lines=205) @@ | ||
14 | * @see http://schema.org/Series |
|
15 | * |
|
16 | */ |
|
17 | class Series extends BaseType implements SeriesContract, IntangibleContract, ThingContract |
|
18 | { |
|
19 | /** |
|
20 | * An additional type for the item, typically used for adding more specific |
|
21 | * types from external vocabularies in microdata syntax. This is a |
|
22 | * relationship between something and a class that the thing is in. In RDFa |
|
23 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
24 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
25 | * understanding of extra types, in particular those defined externally. |
|
26 | * |
|
27 | * @param string|string[] $additionalType |
|
28 | * |
|
29 | * @return static |
|
30 | * |
|
31 | * @see http://schema.org/additionalType |
|
32 | */ |
|
33 | public function additionalType($additionalType) |
|
34 | { |
|
35 | return $this->setProperty('additionalType', $additionalType); |
|
36 | } |
|
37 | ||
38 | /** |
|
39 | * An alias for the item. |
|
40 | * |
|
41 | * @param string|string[] $alternateName |
|
42 | * |
|
43 | * @return static |
|
44 | * |
|
45 | * @see http://schema.org/alternateName |
|
46 | */ |
|
47 | public function alternateName($alternateName) |
|
48 | { |
|
49 | return $this->setProperty('alternateName', $alternateName); |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * A description of the item. |
|
54 | * |
|
55 | * @param string|string[] $description |
|
56 | * |
|
57 | * @return static |
|
58 | * |
|
59 | * @see http://schema.org/description |
|
60 | */ |
|
61 | public function description($description) |
|
62 | { |
|
63 | return $this->setProperty('description', $description); |
|
64 | } |
|
65 | ||
66 | /** |
|
67 | * A director of e.g. tv, radio, movie, video gaming etc. content, or of an |
|
68 | * event. Directors can be associated with individual items or with a |
|
69 | * series, episode, clip. |
|
70 | * |
|
71 | * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $director |
|
72 | * |
|
73 | * @return static |
|
74 | * |
|
75 | * @see http://schema.org/director |
|
76 | */ |
|
77 | public function director($director) |
|
78 | { |
|
79 | return $this->setProperty('director', $director); |
|
80 | } |
|
81 | ||
82 | /** |
|
83 | * A sub property of description. A short description of the item used to |
|
84 | * disambiguate from other, similar items. Information from other properties |
|
85 | * (in particular, name) may be necessary for the description to be useful |
|
86 | * for disambiguation. |
|
87 | * |
|
88 | * @param string|string[] $disambiguatingDescription |
|
89 | * |
|
90 | * @return static |
|
91 | * |
|
92 | * @see http://schema.org/disambiguatingDescription |
|
93 | */ |
|
94 | public function disambiguatingDescription($disambiguatingDescription) |
|
95 | { |
|
96 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
97 | } |
|
98 | ||
99 | /** |
|
100 | * The identifier property represents any kind of identifier for any kind of |
|
101 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
102 | * dedicated properties for representing many of these, either as textual |
|
103 | * strings or as URL (URI) links. See [background |
|
104 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
105 | * |
|
106 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
107 | * |
|
108 | * @return static |
|
109 | * |
|
110 | * @see http://schema.org/identifier |
|
111 | */ |
|
112 | public function identifier($identifier) |
|
113 | { |
|
114 | return $this->setProperty('identifier', $identifier); |
|
115 | } |
|
116 | ||
117 | /** |
|
118 | * An image of the item. This can be a [[URL]] or a fully described |
|
119 | * [[ImageObject]]. |
|
120 | * |
|
121 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
122 | * |
|
123 | * @return static |
|
124 | * |
|
125 | * @see http://schema.org/image |
|
126 | */ |
|
127 | public function image($image) |
|
128 | { |
|
129 | return $this->setProperty('image', $image); |
|
130 | } |
|
131 | ||
132 | /** |
|
133 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
134 | * entity being described. See [background |
|
135 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
136 | * |
|
137 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
138 | * |
|
139 | * @return static |
|
140 | * |
|
141 | * @see http://schema.org/mainEntityOfPage |
|
142 | */ |
|
143 | public function mainEntityOfPage($mainEntityOfPage) |
|
144 | { |
|
145 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
146 | } |
|
147 | ||
148 | /** |
|
149 | * The name of the item. |
|
150 | * |
|
151 | * @param string|string[] $name |
|
152 | * |
|
153 | * @return static |
|
154 | * |
|
155 | * @see http://schema.org/name |
|
156 | */ |
|
157 | public function name($name) |
|
158 | { |
|
159 | return $this->setProperty('name', $name); |
|
160 | } |
|
161 | ||
162 | /** |
|
163 | * Indicates a potential Action, which describes an idealized action in |
|
164 | * which this thing would play an 'object' role. |
|
165 | * |
|
166 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
167 | * |
|
168 | * @return static |
|
169 | * |
|
170 | * @see http://schema.org/potentialAction |
|
171 | */ |
|
172 | public function potentialAction($potentialAction) |
|
173 | { |
|
174 | return $this->setProperty('potentialAction', $potentialAction); |
|
175 | } |
|
176 | ||
177 | /** |
|
178 | * URL of a reference Web page that unambiguously indicates the item's |
|
179 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
180 | * official website. |
|
181 | * |
|
182 | * @param string|string[] $sameAs |
|
183 | * |
|
184 | * @return static |
|
185 | * |
|
186 | * @see http://schema.org/sameAs |
|
187 | */ |
|
188 | public function sameAs($sameAs) |
|
189 | { |
|
190 | return $this->setProperty('sameAs', $sameAs); |
|
191 | } |
|
192 | ||
193 | /** |
|
194 | * A CreativeWork or Event about this Thing. |
|
195 | * |
|
196 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
197 | * |
|
198 | * @return static |
|
199 | * |
|
200 | * @see http://schema.org/subjectOf |
|
201 | */ |
|
202 | public function subjectOf($subjectOf) |
|
203 | { |
|
204 | return $this->setProperty('subjectOf', $subjectOf); |
|
205 | } |
|
206 | ||
207 | /** |
|
208 | * URL of the item. |
|
209 | * |
|
210 | * @param string|string[] $url |
|
211 | * |
|
212 | * @return static |
|
213 | * |
|
214 | * @see http://schema.org/url |
|
215 | */ |
|
216 | public function url($url) |
|
217 | { |
|
218 | return $this->setProperty('url', $url); |
|
219 | } |
|
220 | ||
221 | } |
|
222 |
@@ 18-235 (lines=218) @@ | ||
15 | * @see http://schema.org/WarrantyPromise |
|
16 | * |
|
17 | */ |
|
18 | class WarrantyPromise extends BaseType implements WarrantyPromiseContract, IntangibleContract, StructuredValueContract, ThingContract |
|
19 | { |
|
20 | /** |
|
21 | * An additional type for the item, typically used for adding more specific |
|
22 | * types from external vocabularies in microdata syntax. This is a |
|
23 | * relationship between something and a class that the thing is in. In RDFa |
|
24 | * syntax, it is better to use the native RDFa syntax - the 'typeof' |
|
25 | * attribute - for multiple types. Schema.org tools may have only weaker |
|
26 | * understanding of extra types, in particular those defined externally. |
|
27 | * |
|
28 | * @param string|string[] $additionalType |
|
29 | * |
|
30 | * @return static |
|
31 | * |
|
32 | * @see http://schema.org/additionalType |
|
33 | */ |
|
34 | public function additionalType($additionalType) |
|
35 | { |
|
36 | return $this->setProperty('additionalType', $additionalType); |
|
37 | } |
|
38 | ||
39 | /** |
|
40 | * An alias for the item. |
|
41 | * |
|
42 | * @param string|string[] $alternateName |
|
43 | * |
|
44 | * @return static |
|
45 | * |
|
46 | * @see http://schema.org/alternateName |
|
47 | */ |
|
48 | public function alternateName($alternateName) |
|
49 | { |
|
50 | return $this->setProperty('alternateName', $alternateName); |
|
51 | } |
|
52 | ||
53 | /** |
|
54 | * A description of the item. |
|
55 | * |
|
56 | * @param string|string[] $description |
|
57 | * |
|
58 | * @return static |
|
59 | * |
|
60 | * @see http://schema.org/description |
|
61 | */ |
|
62 | public function description($description) |
|
63 | { |
|
64 | return $this->setProperty('description', $description); |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * A sub property of description. A short description of the item used to |
|
69 | * disambiguate from other, similar items. Information from other properties |
|
70 | * (in particular, name) may be necessary for the description to be useful |
|
71 | * for disambiguation. |
|
72 | * |
|
73 | * @param string|string[] $disambiguatingDescription |
|
74 | * |
|
75 | * @return static |
|
76 | * |
|
77 | * @see http://schema.org/disambiguatingDescription |
|
78 | */ |
|
79 | public function disambiguatingDescription($disambiguatingDescription) |
|
80 | { |
|
81 | return $this->setProperty('disambiguatingDescription', $disambiguatingDescription); |
|
82 | } |
|
83 | ||
84 | /** |
|
85 | * The duration of the warranty promise. Common unitCode values are ANN for |
|
86 | * year, MON for months, or DAY for days. |
|
87 | * |
|
88 | * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $durationOfWarranty |
|
89 | * |
|
90 | * @return static |
|
91 | * |
|
92 | * @see http://schema.org/durationOfWarranty |
|
93 | */ |
|
94 | public function durationOfWarranty($durationOfWarranty) |
|
95 | { |
|
96 | return $this->setProperty('durationOfWarranty', $durationOfWarranty); |
|
97 | } |
|
98 | ||
99 | /** |
|
100 | * The identifier property represents any kind of identifier for any kind of |
|
101 | * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides |
|
102 | * dedicated properties for representing many of these, either as textual |
|
103 | * strings or as URL (URI) links. See [background |
|
104 | * notes](/docs/datamodel.html#identifierBg) for more details. |
|
105 | * |
|
106 | * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier |
|
107 | * |
|
108 | * @return static |
|
109 | * |
|
110 | * @see http://schema.org/identifier |
|
111 | */ |
|
112 | public function identifier($identifier) |
|
113 | { |
|
114 | return $this->setProperty('identifier', $identifier); |
|
115 | } |
|
116 | ||
117 | /** |
|
118 | * An image of the item. This can be a [[URL]] or a fully described |
|
119 | * [[ImageObject]]. |
|
120 | * |
|
121 | * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image |
|
122 | * |
|
123 | * @return static |
|
124 | * |
|
125 | * @see http://schema.org/image |
|
126 | */ |
|
127 | public function image($image) |
|
128 | { |
|
129 | return $this->setProperty('image', $image); |
|
130 | } |
|
131 | ||
132 | /** |
|
133 | * Indicates a page (or other CreativeWork) for which this thing is the main |
|
134 | * entity being described. See [background |
|
135 | * notes](/docs/datamodel.html#mainEntityBackground) for details. |
|
136 | * |
|
137 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage |
|
138 | * |
|
139 | * @return static |
|
140 | * |
|
141 | * @see http://schema.org/mainEntityOfPage |
|
142 | */ |
|
143 | public function mainEntityOfPage($mainEntityOfPage) |
|
144 | { |
|
145 | return $this->setProperty('mainEntityOfPage', $mainEntityOfPage); |
|
146 | } |
|
147 | ||
148 | /** |
|
149 | * The name of the item. |
|
150 | * |
|
151 | * @param string|string[] $name |
|
152 | * |
|
153 | * @return static |
|
154 | * |
|
155 | * @see http://schema.org/name |
|
156 | */ |
|
157 | public function name($name) |
|
158 | { |
|
159 | return $this->setProperty('name', $name); |
|
160 | } |
|
161 | ||
162 | /** |
|
163 | * Indicates a potential Action, which describes an idealized action in |
|
164 | * which this thing would play an 'object' role. |
|
165 | * |
|
166 | * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction |
|
167 | * |
|
168 | * @return static |
|
169 | * |
|
170 | * @see http://schema.org/potentialAction |
|
171 | */ |
|
172 | public function potentialAction($potentialAction) |
|
173 | { |
|
174 | return $this->setProperty('potentialAction', $potentialAction); |
|
175 | } |
|
176 | ||
177 | /** |
|
178 | * URL of a reference Web page that unambiguously indicates the item's |
|
179 | * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or |
|
180 | * official website. |
|
181 | * |
|
182 | * @param string|string[] $sameAs |
|
183 | * |
|
184 | * @return static |
|
185 | * |
|
186 | * @see http://schema.org/sameAs |
|
187 | */ |
|
188 | public function sameAs($sameAs) |
|
189 | { |
|
190 | return $this->setProperty('sameAs', $sameAs); |
|
191 | } |
|
192 | ||
193 | /** |
|
194 | * A CreativeWork or Event about this Thing. |
|
195 | * |
|
196 | * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf |
|
197 | * |
|
198 | * @return static |
|
199 | * |
|
200 | * @see http://schema.org/subjectOf |
|
201 | */ |
|
202 | public function subjectOf($subjectOf) |
|
203 | { |
|
204 | return $this->setProperty('subjectOf', $subjectOf); |
|
205 | } |
|
206 | ||
207 | /** |
|
208 | * URL of the item. |
|
209 | * |
|
210 | * @param string|string[] $url |
|
211 | * |
|
212 | * @return static |
|
213 | * |
|
214 | * @see http://schema.org/url |
|
215 | */ |
|
216 | public function url($url) |
|
217 | { |
|
218 | return $this->setProperty('url', $url); |
|
219 | } |
|
220 | ||
221 | /** |
|
222 | * The scope of the warranty promise. |
|
223 | * |
|
224 | * @param \Spatie\SchemaOrg\Contracts\WarrantyScopeContract|\Spatie\SchemaOrg\Contracts\WarrantyScopeContract[] $warrantyScope |
|
225 | * |
|
226 | * @return static |
|
227 | * |
|
228 | * @see http://schema.org/warrantyScope |
|
229 | */ |
|
230 | public function warrantyScope($warrantyScope) |
|
231 | { |
|
232 | return $this->setProperty('warrantyScope', $warrantyScope); |
|
233 | } |
|
234 | ||
235 | } |
|
236 |