Code Duplication    Length = 1011-1024 lines in 2 locations

src/MusicGroup.php 1 location

@@ 17-1027 (lines=1011) @@
14
 * @see http://schema.org/MusicGroup
15
 *
16
 */
17
class MusicGroup extends BaseType implements MusicGroupContract, OrganizationContract, PerformingGroupContract, 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
     * Physical address of the item.
40
     *
41
     * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address
42
     *
43
     * @return static
44
     *
45
     * @see http://schema.org/address
46
     */
47
    public function address($address)
48
    {
49
        return $this->setProperty('address', $address);
50
    }
51
52
    /**
53
     * The overall rating, based on a collection of reviews or ratings, of the
54
     * item.
55
     *
56
     * @param \Spatie\SchemaOrg\Contracts\AggregateRatingContract|\Spatie\SchemaOrg\Contracts\AggregateRatingContract[] $aggregateRating
57
     *
58
     * @return static
59
     *
60
     * @see http://schema.org/aggregateRating
61
     */
62
    public function aggregateRating($aggregateRating)
63
    {
64
        return $this->setProperty('aggregateRating', $aggregateRating);
65
    }
66
67
    /**
68
     * A music album.
69
     *
70
     * @param \Spatie\SchemaOrg\Contracts\MusicAlbumContract|\Spatie\SchemaOrg\Contracts\MusicAlbumContract[] $album
71
     *
72
     * @return static
73
     *
74
     * @see http://schema.org/album
75
     */
76
    public function album($album)
77
    {
78
        return $this->setProperty('album', $album);
79
    }
80
81
    /**
82
     * A collection of music albums.
83
     *
84
     * @param \Spatie\SchemaOrg\Contracts\MusicAlbumContract|\Spatie\SchemaOrg\Contracts\MusicAlbumContract[] $albums
85
     *
86
     * @return static
87
     *
88
     * @see http://schema.org/albums
89
     */
90
    public function albums($albums)
91
    {
92
        return $this->setProperty('albums', $albums);
93
    }
94
95
    /**
96
     * An alias for the item.
97
     *
98
     * @param string|string[] $alternateName
99
     *
100
     * @return static
101
     *
102
     * @see http://schema.org/alternateName
103
     */
104
    public function alternateName($alternateName)
105
    {
106
        return $this->setProperty('alternateName', $alternateName);
107
    }
108
109
    /**
110
     * The geographic area where a service or offered item is provided.
111
     *
112
     * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|string|string[] $areaServed
113
     *
114
     * @return static
115
     *
116
     * @see http://schema.org/areaServed
117
     */
118
    public function areaServed($areaServed)
119
    {
120
        return $this->setProperty('areaServed', $areaServed);
121
    }
122
123
    /**
124
     * An award won by or for this item.
125
     *
126
     * @param string|string[] $award
127
     *
128
     * @return static
129
     *
130
     * @see http://schema.org/award
131
     */
132
    public function award($award)
133
    {
134
        return $this->setProperty('award', $award);
135
    }
136
137
    /**
138
     * Awards won by or for this item.
139
     *
140
     * @param string|string[] $awards
141
     *
142
     * @return static
143
     *
144
     * @see http://schema.org/awards
145
     */
146
    public function awards($awards)
147
    {
148
        return $this->setProperty('awards', $awards);
149
    }
150
151
    /**
152
     * The brand(s) associated with a product or service, or the brand(s)
153
     * maintained by an organization or business person.
154
     *
155
     * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand
156
     *
157
     * @return static
158
     *
159
     * @see http://schema.org/brand
160
     */
161
    public function brand($brand)
162
    {
163
        return $this->setProperty('brand', $brand);
164
    }
165
166
    /**
167
     * A contact point for a person or organization.
168
     *
169
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint
170
     *
171
     * @return static
172
     *
173
     * @see http://schema.org/contactPoint
174
     */
175
    public function contactPoint($contactPoint)
176
    {
177
        return $this->setProperty('contactPoint', $contactPoint);
178
    }
179
180
    /**
181
     * A contact point for a person or organization.
182
     *
183
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints
184
     *
185
     * @return static
186
     *
187
     * @see http://schema.org/contactPoints
188
     */
189
    public function contactPoints($contactPoints)
190
    {
191
        return $this->setProperty('contactPoints', $contactPoints);
192
    }
193
194
    /**
195
     * A relationship between an organization and a department of that
196
     * organization, also described as an organization (allowing different urls,
197
     * logos, opening hours). For example: a store with a pharmacy, or a bakery
198
     * with a cafe.
199
     *
200
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $department
201
     *
202
     * @return static
203
     *
204
     * @see http://schema.org/department
205
     */
206
    public function department($department)
207
    {
208
        return $this->setProperty('department', $department);
209
    }
210
211
    /**
212
     * A description of the item.
213
     *
214
     * @param string|string[] $description
215
     *
216
     * @return static
217
     *
218
     * @see http://schema.org/description
219
     */
220
    public function description($description)
221
    {
222
        return $this->setProperty('description', $description);
223
    }
224
225
    /**
226
     * A sub property of description. A short description of the item used to
227
     * disambiguate from other, similar items. Information from other properties
228
     * (in particular, name) may be necessary for the description to be useful
229
     * for disambiguation.
230
     *
231
     * @param string|string[] $disambiguatingDescription
232
     *
233
     * @return static
234
     *
235
     * @see http://schema.org/disambiguatingDescription
236
     */
237
    public function disambiguatingDescription($disambiguatingDescription)
238
    {
239
        return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
240
    }
241
242
    /**
243
     * The date that this organization was dissolved.
244
     *
245
     * @param \DateTimeInterface|\DateTimeInterface[] $dissolutionDate
246
     *
247
     * @return static
248
     *
249
     * @see http://schema.org/dissolutionDate
250
     */
251
    public function dissolutionDate($dissolutionDate)
252
    {
253
        return $this->setProperty('dissolutionDate', $dissolutionDate);
254
    }
255
256
    /**
257
     * The Dun & Bradstreet DUNS number for identifying an organization or
258
     * business person.
259
     *
260
     * @param string|string[] $duns
261
     *
262
     * @return static
263
     *
264
     * @see http://schema.org/duns
265
     */
266
    public function duns($duns)
267
    {
268
        return $this->setProperty('duns', $duns);
269
    }
270
271
    /**
272
     * Email address.
273
     *
274
     * @param string|string[] $email
275
     *
276
     * @return static
277
     *
278
     * @see http://schema.org/email
279
     */
280
    public function email($email)
281
    {
282
        return $this->setProperty('email', $email);
283
    }
284
285
    /**
286
     * Someone working for this organization.
287
     *
288
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employee
289
     *
290
     * @return static
291
     *
292
     * @see http://schema.org/employee
293
     */
294
    public function employee($employee)
295
    {
296
        return $this->setProperty('employee', $employee);
297
    }
298
299
    /**
300
     * People working for this organization.
301
     *
302
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $employees
303
     *
304
     * @return static
305
     *
306
     * @see http://schema.org/employees
307
     */
308
    public function employees($employees)
309
    {
310
        return $this->setProperty('employees', $employees);
311
    }
312
313
    /**
314
     * Upcoming or past event associated with this place, organization, or
315
     * action.
316
     *
317
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $event
318
     *
319
     * @return static
320
     *
321
     * @see http://schema.org/event
322
     */
323
    public function event($event)
324
    {
325
        return $this->setProperty('event', $event);
326
    }
327
328
    /**
329
     * Upcoming or past events associated with this place or organization.
330
     *
331
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $events
332
     *
333
     * @return static
334
     *
335
     * @see http://schema.org/events
336
     */
337
    public function events($events)
338
    {
339
        return $this->setProperty('events', $events);
340
    }
341
342
    /**
343
     * The fax number.
344
     *
345
     * @param string|string[] $faxNumber
346
     *
347
     * @return static
348
     *
349
     * @see http://schema.org/faxNumber
350
     */
351
    public function faxNumber($faxNumber)
352
    {
353
        return $this->setProperty('faxNumber', $faxNumber);
354
    }
355
356
    /**
357
     * A person who founded this organization.
358
     *
359
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founder
360
     *
361
     * @return static
362
     *
363
     * @see http://schema.org/founder
364
     */
365
    public function founder($founder)
366
    {
367
        return $this->setProperty('founder', $founder);
368
    }
369
370
    /**
371
     * A person who founded this organization.
372
     *
373
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $founders
374
     *
375
     * @return static
376
     *
377
     * @see http://schema.org/founders
378
     */
379
    public function founders($founders)
380
    {
381
        return $this->setProperty('founders', $founders);
382
    }
383
384
    /**
385
     * The date that this organization was founded.
386
     *
387
     * @param \DateTimeInterface|\DateTimeInterface[] $foundingDate
388
     *
389
     * @return static
390
     *
391
     * @see http://schema.org/foundingDate
392
     */
393
    public function foundingDate($foundingDate)
394
    {
395
        return $this->setProperty('foundingDate', $foundingDate);
396
    }
397
398
    /**
399
     * The place where the Organization was founded.
400
     *
401
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $foundingLocation
402
     *
403
     * @return static
404
     *
405
     * @see http://schema.org/foundingLocation
406
     */
407
    public function foundingLocation($foundingLocation)
408
    {
409
        return $this->setProperty('foundingLocation', $foundingLocation);
410
    }
411
412
    /**
413
     * A person or organization that supports (sponsors) something through some
414
     * kind of financial contribution.
415
     *
416
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder
417
     *
418
     * @return static
419
     *
420
     * @see http://schema.org/funder
421
     */
422
    public function funder($funder)
423
    {
424
        return $this->setProperty('funder', $funder);
425
    }
426
427
    /**
428
     * Genre of the creative work, broadcast channel or group.
429
     *
430
     * @param string|string[] $genre
431
     *
432
     * @return static
433
     *
434
     * @see http://schema.org/genre
435
     */
436
    public function genre($genre)
437
    {
438
        return $this->setProperty('genre', $genre);
439
    }
440
441
    /**
442
     * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also
443
     * referred to as International Location Number or ILN) of the respective
444
     * organization, person, or place. The GLN is a 13-digit number used to
445
     * identify parties and physical locations.
446
     *
447
     * @param string|string[] $globalLocationNumber
448
     *
449
     * @return static
450
     *
451
     * @see http://schema.org/globalLocationNumber
452
     */
453
    public function globalLocationNumber($globalLocationNumber)
454
    {
455
        return $this->setProperty('globalLocationNumber', $globalLocationNumber);
456
    }
457
458
    /**
459
     * Indicates an OfferCatalog listing for this Organization, Person, or
460
     * Service.
461
     *
462
     * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog
463
     *
464
     * @return static
465
     *
466
     * @see http://schema.org/hasOfferCatalog
467
     */
468
    public function hasOfferCatalog($hasOfferCatalog)
469
    {
470
        return $this->setProperty('hasOfferCatalog', $hasOfferCatalog);
471
    }
472
473
    /**
474
     * Points-of-Sales operated by the organization or person.
475
     *
476
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS
477
     *
478
     * @return static
479
     *
480
     * @see http://schema.org/hasPOS
481
     */
482
    public function hasPOS($hasPOS)
483
    {
484
        return $this->setProperty('hasPOS', $hasPOS);
485
    }
486
487
    /**
488
     * The identifier property represents any kind of identifier for any kind of
489
     * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
490
     * dedicated properties for representing many of these, either as textual
491
     * strings or as URL (URI) links. See [background
492
     * notes](/docs/datamodel.html#identifierBg) for more details.
493
     *
494
     * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
495
     *
496
     * @return static
497
     *
498
     * @see http://schema.org/identifier
499
     */
500
    public function identifier($identifier)
501
    {
502
        return $this->setProperty('identifier', $identifier);
503
    }
504
505
    /**
506
     * An image of the item. This can be a [[URL]] or a fully described
507
     * [[ImageObject]].
508
     *
509
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
510
     *
511
     * @return static
512
     *
513
     * @see http://schema.org/image
514
     */
515
    public function image($image)
516
    {
517
        return $this->setProperty('image', $image);
518
    }
519
520
    /**
521
     * The International Standard of Industrial Classification of All Economic
522
     * Activities (ISIC), Revision 4 code for a particular organization,
523
     * business person, or place.
524
     *
525
     * @param string|string[] $isicV4
526
     *
527
     * @return static
528
     *
529
     * @see http://schema.org/isicV4
530
     */
531
    public function isicV4($isicV4)
532
    {
533
        return $this->setProperty('isicV4', $isicV4);
534
    }
535
536
    /**
537
     * The official name of the organization, e.g. the registered company name.
538
     *
539
     * @param string|string[] $legalName
540
     *
541
     * @return static
542
     *
543
     * @see http://schema.org/legalName
544
     */
545
    public function legalName($legalName)
546
    {
547
        return $this->setProperty('legalName', $legalName);
548
    }
549
550
    /**
551
     * An organization identifier that uniquely identifies a legal entity as
552
     * defined in ISO 17442.
553
     *
554
     * @param string|string[] $leiCode
555
     *
556
     * @return static
557
     *
558
     * @see http://schema.org/leiCode
559
     */
560
    public function leiCode($leiCode)
561
    {
562
        return $this->setProperty('leiCode', $leiCode);
563
    }
564
565
    /**
566
     * The location of for example where the event is happening, an organization
567
     * is located, or where an action takes place.
568
     *
569
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[]|\Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $location
570
     *
571
     * @return static
572
     *
573
     * @see http://schema.org/location
574
     */
575
    public function location($location)
576
    {
577
        return $this->setProperty('location', $location);
578
    }
579
580
    /**
581
     * An associated logo.
582
     *
583
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $logo
584
     *
585
     * @return static
586
     *
587
     * @see http://schema.org/logo
588
     */
589
    public function logo($logo)
590
    {
591
        return $this->setProperty('logo', $logo);
592
    }
593
594
    /**
595
     * Indicates a page (or other CreativeWork) for which this thing is the main
596
     * entity being described. See [background
597
     * notes](/docs/datamodel.html#mainEntityBackground) for details.
598
     *
599
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
600
     *
601
     * @return static
602
     *
603
     * @see http://schema.org/mainEntityOfPage
604
     */
605
    public function mainEntityOfPage($mainEntityOfPage)
606
    {
607
        return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
608
    }
609
610
    /**
611
     * A pointer to products or services offered by the organization or person.
612
     *
613
     * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer
614
     *
615
     * @return static
616
     *
617
     * @see http://schema.org/makesOffer
618
     */
619
    public function makesOffer($makesOffer)
620
    {
621
        return $this->setProperty('makesOffer', $makesOffer);
622
    }
623
624
    /**
625
     * A member of an Organization or a ProgramMembership. Organizations can be
626
     * members of organizations; ProgramMembership is typically for individuals.
627
     *
628
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $member
629
     *
630
     * @return static
631
     *
632
     * @see http://schema.org/member
633
     */
634
    public function member($member)
635
    {
636
        return $this->setProperty('member', $member);
637
    }
638
639
    /**
640
     * An Organization (or ProgramMembership) to which this Person or
641
     * Organization belongs.
642
     *
643
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf
644
     *
645
     * @return static
646
     *
647
     * @see http://schema.org/memberOf
648
     */
649
    public function memberOf($memberOf)
650
    {
651
        return $this->setProperty('memberOf', $memberOf);
652
    }
653
654
    /**
655
     * A member of this organization.
656
     *
657
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $members
658
     *
659
     * @return static
660
     *
661
     * @see http://schema.org/members
662
     */
663
    public function members($members)
664
    {
665
        return $this->setProperty('members', $members);
666
    }
667
668
    /**
669
     * A member of a music group—for example, John, Paul, George, or
670
     * Ringo.
671
     *
672
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $musicGroupMember
673
     *
674
     * @return static
675
     *
676
     * @see http://schema.org/musicGroupMember
677
     */
678
    public function musicGroupMember($musicGroupMember)
679
    {
680
        return $this->setProperty('musicGroupMember', $musicGroupMember);
681
    }
682
683
    /**
684
     * The North American Industry Classification System (NAICS) code for a
685
     * particular organization or business person.
686
     *
687
     * @param string|string[] $naics
688
     *
689
     * @return static
690
     *
691
     * @see http://schema.org/naics
692
     */
693
    public function naics($naics)
694
    {
695
        return $this->setProperty('naics', $naics);
696
    }
697
698
    /**
699
     * The name of the item.
700
     *
701
     * @param string|string[] $name
702
     *
703
     * @return static
704
     *
705
     * @see http://schema.org/name
706
     */
707
    public function name($name)
708
    {
709
        return $this->setProperty('name', $name);
710
    }
711
712
    /**
713
     * The number of employees in an organization e.g. business.
714
     *
715
     * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $numberOfEmployees
716
     *
717
     * @return static
718
     *
719
     * @see http://schema.org/numberOfEmployees
720
     */
721
    public function numberOfEmployees($numberOfEmployees)
722
    {
723
        return $this->setProperty('numberOfEmployees', $numberOfEmployees);
724
    }
725
726
    /**
727
     * A pointer to the organization or person making the offer.
728
     *
729
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $offeredBy
730
     *
731
     * @return static
732
     *
733
     * @see http://schema.org/offeredBy
734
     */
735
    public function offeredBy($offeredBy)
736
    {
737
        return $this->setProperty('offeredBy', $offeredBy);
738
    }
739
740
    /**
741
     * Products owned by the organization or person.
742
     *
743
     * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns
744
     *
745
     * @return static
746
     *
747
     * @see http://schema.org/owns
748
     */
749
    public function owns($owns)
750
    {
751
        return $this->setProperty('owns', $owns);
752
    }
753
754
    /**
755
     * The larger organization that this organization is a [[subOrganization]]
756
     * of, if any.
757
     *
758
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $parentOrganization
759
     *
760
     * @return static
761
     *
762
     * @see http://schema.org/parentOrganization
763
     */
764
    public function parentOrganization($parentOrganization)
765
    {
766
        return $this->setProperty('parentOrganization', $parentOrganization);
767
    }
768
769
    /**
770
     * Indicates a potential Action, which describes an idealized action in
771
     * which this thing would play an 'object' role.
772
     *
773
     * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
774
     *
775
     * @return static
776
     *
777
     * @see http://schema.org/potentialAction
778
     */
779
    public function potentialAction($potentialAction)
780
    {
781
        return $this->setProperty('potentialAction', $potentialAction);
782
    }
783
784
    /**
785
     * The publishingPrinciples property indicates (typically via [[URL]]) a
786
     * document describing the editorial principles of an [[Organization]] (or
787
     * individual e.g. a [[Person]] writing a blog) that relate to their
788
     * activities as a publisher, e.g. ethics or diversity policies. When
789
     * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are
790
     * those of the party primarily responsible for the creation of the
791
     * [[CreativeWork]].
792
     * 
793
     * While such policies are most typically expressed in natural language,
794
     * sometimes related information (e.g. indicating a [[funder]]) can be
795
     * expressed using schema.org terminology.
796
     *
797
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples
798
     *
799
     * @return static
800
     *
801
     * @see http://schema.org/publishingPrinciples
802
     */
803
    public function publishingPrinciples($publishingPrinciples)
804
    {
805
        return $this->setProperty('publishingPrinciples', $publishingPrinciples);
806
    }
807
808
    /**
809
     * A review of the item.
810
     *
811
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $review
812
     *
813
     * @return static
814
     *
815
     * @see http://schema.org/review
816
     */
817
    public function review($review)
818
    {
819
        return $this->setProperty('review', $review);
820
    }
821
822
    /**
823
     * Review of the item.
824
     *
825
     * @param \Spatie\SchemaOrg\Contracts\ReviewContract|\Spatie\SchemaOrg\Contracts\ReviewContract[] $reviews
826
     *
827
     * @return static
828
     *
829
     * @see http://schema.org/reviews
830
     */
831
    public function reviews($reviews)
832
    {
833
        return $this->setProperty('reviews', $reviews);
834
    }
835
836
    /**
837
     * URL of a reference Web page that unambiguously indicates the item's
838
     * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
839
     * official website.
840
     *
841
     * @param string|string[] $sameAs
842
     *
843
     * @return static
844
     *
845
     * @see http://schema.org/sameAs
846
     */
847
    public function sameAs($sameAs)
848
    {
849
        return $this->setProperty('sameAs', $sameAs);
850
    }
851
852
    /**
853
     * A pointer to products or services sought by the organization or person
854
     * (demand).
855
     *
856
     * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks
857
     *
858
     * @return static
859
     *
860
     * @see http://schema.org/seeks
861
     */
862
    public function seeks($seeks)
863
    {
864
        return $this->setProperty('seeks', $seeks);
865
    }
866
867
    /**
868
     * The geographic area where the service is provided.
869
     *
870
     * @param \Spatie\SchemaOrg\Contracts\AdministrativeAreaContract|\Spatie\SchemaOrg\Contracts\AdministrativeAreaContract[]|\Spatie\SchemaOrg\Contracts\GeoShapeContract|\Spatie\SchemaOrg\Contracts\GeoShapeContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $serviceArea
871
     *
872
     * @return static
873
     *
874
     * @see http://schema.org/serviceArea
875
     */
876
    public function serviceArea($serviceArea)
877
    {
878
        return $this->setProperty('serviceArea', $serviceArea);
879
    }
880
881
    /**
882
     * A slogan or motto associated with the item.
883
     *
884
     * @param string|string[] $slogan
885
     *
886
     * @return static
887
     *
888
     * @see http://schema.org/slogan
889
     */
890
    public function slogan($slogan)
891
    {
892
        return $this->setProperty('slogan', $slogan);
893
    }
894
895
    /**
896
     * A person or organization that supports a thing through a pledge, promise,
897
     * or financial contribution. e.g. a sponsor of a Medical Study or a
898
     * corporate sponsor of an event.
899
     *
900
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor
901
     *
902
     * @return static
903
     *
904
     * @see http://schema.org/sponsor
905
     */
906
    public function sponsor($sponsor)
907
    {
908
        return $this->setProperty('sponsor', $sponsor);
909
    }
910
911
    /**
912
     * A relationship between two organizations where the first includes the
913
     * second, e.g., as a subsidiary. See also: the more specific 'department'
914
     * property.
915
     *
916
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $subOrganization
917
     *
918
     * @return static
919
     *
920
     * @see http://schema.org/subOrganization
921
     */
922
    public function subOrganization($subOrganization)
923
    {
924
        return $this->setProperty('subOrganization', $subOrganization);
925
    }
926
927
    /**
928
     * A CreativeWork or Event about this Thing.
929
     *
930
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
931
     *
932
     * @return static
933
     *
934
     * @see http://schema.org/subjectOf
935
     */
936
    public function subjectOf($subjectOf)
937
    {
938
        return $this->setProperty('subjectOf', $subjectOf);
939
    }
940
941
    /**
942
     * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US
943
     * or the CIF/NIF in Spain.
944
     *
945
     * @param string|string[] $taxID
946
     *
947
     * @return static
948
     *
949
     * @see http://schema.org/taxID
950
     */
951
    public function taxID($taxID)
952
    {
953
        return $this->setProperty('taxID', $taxID);
954
    }
955
956
    /**
957
     * The telephone number.
958
     *
959
     * @param string|string[] $telephone
960
     *
961
     * @return static
962
     *
963
     * @see http://schema.org/telephone
964
     */
965
    public function telephone($telephone)
966
    {
967
        return $this->setProperty('telephone', $telephone);
968
    }
969
970
    /**
971
     * A music recording (track)—usually a single song. If an ItemList is
972
     * given, the list should contain items of type MusicRecording.
973
     *
974
     * @param \Spatie\SchemaOrg\Contracts\ItemListContract|\Spatie\SchemaOrg\Contracts\ItemListContract[]|\Spatie\SchemaOrg\Contracts\MusicRecordingContract|\Spatie\SchemaOrg\Contracts\MusicRecordingContract[] $track
975
     *
976
     * @return static
977
     *
978
     * @see http://schema.org/track
979
     */
980
    public function track($track)
981
    {
982
        return $this->setProperty('track', $track);
983
    }
984
985
    /**
986
     * A music recording (track)—usually a single song.
987
     *
988
     * @param \Spatie\SchemaOrg\Contracts\MusicRecordingContract|\Spatie\SchemaOrg\Contracts\MusicRecordingContract[] $tracks
989
     *
990
     * @return static
991
     *
992
     * @see http://schema.org/tracks
993
     */
994
    public function tracks($tracks)
995
    {
996
        return $this->setProperty('tracks', $tracks);
997
    }
998
999
    /**
1000
     * URL of the item.
1001
     *
1002
     * @param string|string[] $url
1003
     *
1004
     * @return static
1005
     *
1006
     * @see http://schema.org/url
1007
     */
1008
    public function url($url)
1009
    {
1010
        return $this->setProperty('url', $url);
1011
    }
1012
1013
    /**
1014
     * The Value-added Tax ID of the organization or person.
1015
     *
1016
     * @param string|string[] $vatID
1017
     *
1018
     * @return static
1019
     *
1020
     * @see http://schema.org/vatID
1021
     */
1022
    public function vatID($vatID)
1023
    {
1024
        return $this->setProperty('vatID', $vatID);
1025
    }
1026
1027
}
1028

src/Person.php 1 location

@@ 14-1037 (lines=1024) @@
11
 * @see http://schema.org/Person
12
 *
13
 */
14
class Person extends BaseType implements PersonContract, ThingContract
15
{
16
    /**
17
     * An additional name for a Person, can be used for a middle name.
18
     *
19
     * @param string|string[] $additionalName
20
     *
21
     * @return static
22
     *
23
     * @see http://schema.org/additionalName
24
     */
25
    public function additionalName($additionalName)
26
    {
27
        return $this->setProperty('additionalName', $additionalName);
28
    }
29
30
    /**
31
     * An additional type for the item, typically used for adding more specific
32
     * types from external vocabularies in microdata syntax. This is a
33
     * relationship between something and a class that the thing is in. In RDFa
34
     * syntax, it is better to use the native RDFa syntax - the 'typeof'
35
     * attribute - for multiple types. Schema.org tools may have only weaker
36
     * understanding of extra types, in particular those defined externally.
37
     *
38
     * @param string|string[] $additionalType
39
     *
40
     * @return static
41
     *
42
     * @see http://schema.org/additionalType
43
     */
44
    public function additionalType($additionalType)
45
    {
46
        return $this->setProperty('additionalType', $additionalType);
47
    }
48
49
    /**
50
     * Physical address of the item.
51
     *
52
     * @param \Spatie\SchemaOrg\Contracts\PostalAddressContract|\Spatie\SchemaOrg\Contracts\PostalAddressContract[]|string|string[] $address
53
     *
54
     * @return static
55
     *
56
     * @see http://schema.org/address
57
     */
58
    public function address($address)
59
    {
60
        return $this->setProperty('address', $address);
61
    }
62
63
    /**
64
     * An organization that this person is affiliated with. For example, a
65
     * school/university, a club, or a team.
66
     *
67
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $affiliation
68
     *
69
     * @return static
70
     *
71
     * @see http://schema.org/affiliation
72
     */
73
    public function affiliation($affiliation)
74
    {
75
        return $this->setProperty('affiliation', $affiliation);
76
    }
77
78
    /**
79
     * An alias for the item.
80
     *
81
     * @param string|string[] $alternateName
82
     *
83
     * @return static
84
     *
85
     * @see http://schema.org/alternateName
86
     */
87
    public function alternateName($alternateName)
88
    {
89
        return $this->setProperty('alternateName', $alternateName);
90
    }
91
92
    /**
93
     * An organization that the person is an alumni of.
94
     *
95
     * @param \Spatie\SchemaOrg\Contracts\EducationalOrganizationContract|\Spatie\SchemaOrg\Contracts\EducationalOrganizationContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $alumniOf
96
     *
97
     * @return static
98
     *
99
     * @see http://schema.org/alumniOf
100
     */
101
    public function alumniOf($alumniOf)
102
    {
103
        return $this->setProperty('alumniOf', $alumniOf);
104
    }
105
106
    /**
107
     * An award won by or for this item.
108
     *
109
     * @param string|string[] $award
110
     *
111
     * @return static
112
     *
113
     * @see http://schema.org/award
114
     */
115
    public function award($award)
116
    {
117
        return $this->setProperty('award', $award);
118
    }
119
120
    /**
121
     * Awards won by or for this item.
122
     *
123
     * @param string|string[] $awards
124
     *
125
     * @return static
126
     *
127
     * @see http://schema.org/awards
128
     */
129
    public function awards($awards)
130
    {
131
        return $this->setProperty('awards', $awards);
132
    }
133
134
    /**
135
     * Date of birth.
136
     *
137
     * @param \DateTimeInterface|\DateTimeInterface[] $birthDate
138
     *
139
     * @return static
140
     *
141
     * @see http://schema.org/birthDate
142
     */
143
    public function birthDate($birthDate)
144
    {
145
        return $this->setProperty('birthDate', $birthDate);
146
    }
147
148
    /**
149
     * The place where the person was born.
150
     *
151
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $birthPlace
152
     *
153
     * @return static
154
     *
155
     * @see http://schema.org/birthPlace
156
     */
157
    public function birthPlace($birthPlace)
158
    {
159
        return $this->setProperty('birthPlace', $birthPlace);
160
    }
161
162
    /**
163
     * The brand(s) associated with a product or service, or the brand(s)
164
     * maintained by an organization or business person.
165
     *
166
     * @param \Spatie\SchemaOrg\Contracts\BrandContract|\Spatie\SchemaOrg\Contracts\BrandContract[]|\Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $brand
167
     *
168
     * @return static
169
     *
170
     * @see http://schema.org/brand
171
     */
172
    public function brand($brand)
173
    {
174
        return $this->setProperty('brand', $brand);
175
    }
176
177
    /**
178
     * A child of the person.
179
     *
180
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $children
181
     *
182
     * @return static
183
     *
184
     * @see http://schema.org/children
185
     */
186
    public function children($children)
187
    {
188
        return $this->setProperty('children', $children);
189
    }
190
191
    /**
192
     * A colleague of the person.
193
     *
194
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[]|string|string[] $colleague
195
     *
196
     * @return static
197
     *
198
     * @see http://schema.org/colleague
199
     */
200
    public function colleague($colleague)
201
    {
202
        return $this->setProperty('colleague', $colleague);
203
    }
204
205
    /**
206
     * A colleague of the person.
207
     *
208
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $colleagues
209
     *
210
     * @return static
211
     *
212
     * @see http://schema.org/colleagues
213
     */
214
    public function colleagues($colleagues)
215
    {
216
        return $this->setProperty('colleagues', $colleagues);
217
    }
218
219
    /**
220
     * A contact point for a person or organization.
221
     *
222
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoint
223
     *
224
     * @return static
225
     *
226
     * @see http://schema.org/contactPoint
227
     */
228
    public function contactPoint($contactPoint)
229
    {
230
        return $this->setProperty('contactPoint', $contactPoint);
231
    }
232
233
    /**
234
     * A contact point for a person or organization.
235
     *
236
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[] $contactPoints
237
     *
238
     * @return static
239
     *
240
     * @see http://schema.org/contactPoints
241
     */
242
    public function contactPoints($contactPoints)
243
    {
244
        return $this->setProperty('contactPoints', $contactPoints);
245
    }
246
247
    /**
248
     * Date of death.
249
     *
250
     * @param \DateTimeInterface|\DateTimeInterface[] $deathDate
251
     *
252
     * @return static
253
     *
254
     * @see http://schema.org/deathDate
255
     */
256
    public function deathDate($deathDate)
257
    {
258
        return $this->setProperty('deathDate', $deathDate);
259
    }
260
261
    /**
262
     * The place where the person died.
263
     *
264
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $deathPlace
265
     *
266
     * @return static
267
     *
268
     * @see http://schema.org/deathPlace
269
     */
270
    public function deathPlace($deathPlace)
271
    {
272
        return $this->setProperty('deathPlace', $deathPlace);
273
    }
274
275
    /**
276
     * A description of the item.
277
     *
278
     * @param string|string[] $description
279
     *
280
     * @return static
281
     *
282
     * @see http://schema.org/description
283
     */
284
    public function description($description)
285
    {
286
        return $this->setProperty('description', $description);
287
    }
288
289
    /**
290
     * A sub property of description. A short description of the item used to
291
     * disambiguate from other, similar items. Information from other properties
292
     * (in particular, name) may be necessary for the description to be useful
293
     * for disambiguation.
294
     *
295
     * @param string|string[] $disambiguatingDescription
296
     *
297
     * @return static
298
     *
299
     * @see http://schema.org/disambiguatingDescription
300
     */
301
    public function disambiguatingDescription($disambiguatingDescription)
302
    {
303
        return $this->setProperty('disambiguatingDescription', $disambiguatingDescription);
304
    }
305
306
    /**
307
     * The Dun & Bradstreet DUNS number for identifying an organization or
308
     * business person.
309
     *
310
     * @param string|string[] $duns
311
     *
312
     * @return static
313
     *
314
     * @see http://schema.org/duns
315
     */
316
    public function duns($duns)
317
    {
318
        return $this->setProperty('duns', $duns);
319
    }
320
321
    /**
322
     * Email address.
323
     *
324
     * @param string|string[] $email
325
     *
326
     * @return static
327
     *
328
     * @see http://schema.org/email
329
     */
330
    public function email($email)
331
    {
332
        return $this->setProperty('email', $email);
333
    }
334
335
    /**
336
     * Family name. In the U.S., the last name of an Person. This can be used
337
     * along with givenName instead of the name property.
338
     *
339
     * @param string|string[] $familyName
340
     *
341
     * @return static
342
     *
343
     * @see http://schema.org/familyName
344
     */
345
    public function familyName($familyName)
346
    {
347
        return $this->setProperty('familyName', $familyName);
348
    }
349
350
    /**
351
     * The fax number.
352
     *
353
     * @param string|string[] $faxNumber
354
     *
355
     * @return static
356
     *
357
     * @see http://schema.org/faxNumber
358
     */
359
    public function faxNumber($faxNumber)
360
    {
361
        return $this->setProperty('faxNumber', $faxNumber);
362
    }
363
364
    /**
365
     * The most generic uni-directional social relation.
366
     *
367
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $follows
368
     *
369
     * @return static
370
     *
371
     * @see http://schema.org/follows
372
     */
373
    public function follows($follows)
374
    {
375
        return $this->setProperty('follows', $follows);
376
    }
377
378
    /**
379
     * A person or organization that supports (sponsors) something through some
380
     * kind of financial contribution.
381
     *
382
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $funder
383
     *
384
     * @return static
385
     *
386
     * @see http://schema.org/funder
387
     */
388
    public function funder($funder)
389
    {
390
        return $this->setProperty('funder', $funder);
391
    }
392
393
    /**
394
     * Gender of something, typically a [[Person]], but possibly also fictional
395
     * characters, animals, etc. While http://schema.org/Male and
396
     * http://schema.org/Female may be used, text strings are also acceptable
397
     * for people who do not identify as a binary gender. The [[gender]]
398
     * property can also be used in an extended sense to cover e.g. the gender
399
     * of sports teams. As with the gender of individuals, we do not try to
400
     * enumerate all possibilities. A mixed-gender [[SportsTeam]] can be
401
     * indicated with a text value of "Mixed".
402
     *
403
     * @param \Spatie\SchemaOrg\Contracts\GenderTypeContract|\Spatie\SchemaOrg\Contracts\GenderTypeContract[]|string|string[] $gender
404
     *
405
     * @return static
406
     *
407
     * @see http://schema.org/gender
408
     */
409
    public function gender($gender)
410
    {
411
        return $this->setProperty('gender', $gender);
412
    }
413
414
    /**
415
     * Given name. In the U.S., the first name of a Person. This can be used
416
     * along with familyName instead of the name property.
417
     *
418
     * @param string|string[] $givenName
419
     *
420
     * @return static
421
     *
422
     * @see http://schema.org/givenName
423
     */
424
    public function givenName($givenName)
425
    {
426
        return $this->setProperty('givenName', $givenName);
427
    }
428
429
    /**
430
     * The [Global Location Number](http://www.gs1.org/gln) (GLN, sometimes also
431
     * referred to as International Location Number or ILN) of the respective
432
     * organization, person, or place. The GLN is a 13-digit number used to
433
     * identify parties and physical locations.
434
     *
435
     * @param string|string[] $globalLocationNumber
436
     *
437
     * @return static
438
     *
439
     * @see http://schema.org/globalLocationNumber
440
     */
441
    public function globalLocationNumber($globalLocationNumber)
442
    {
443
        return $this->setProperty('globalLocationNumber', $globalLocationNumber);
444
    }
445
446
    /**
447
     * The Person's occupation. For past professions, use Role for expressing
448
     * dates.
449
     *
450
     * @param \Spatie\SchemaOrg\Contracts\OccupationContract|\Spatie\SchemaOrg\Contracts\OccupationContract[] $hasOccupation
451
     *
452
     * @return static
453
     *
454
     * @see http://schema.org/hasOccupation
455
     */
456
    public function hasOccupation($hasOccupation)
457
    {
458
        return $this->setProperty('hasOccupation', $hasOccupation);
459
    }
460
461
    /**
462
     * Indicates an OfferCatalog listing for this Organization, Person, or
463
     * Service.
464
     *
465
     * @param \Spatie\SchemaOrg\Contracts\OfferCatalogContract|\Spatie\SchemaOrg\Contracts\OfferCatalogContract[] $hasOfferCatalog
466
     *
467
     * @return static
468
     *
469
     * @see http://schema.org/hasOfferCatalog
470
     */
471
    public function hasOfferCatalog($hasOfferCatalog)
472
    {
473
        return $this->setProperty('hasOfferCatalog', $hasOfferCatalog);
474
    }
475
476
    /**
477
     * Points-of-Sales operated by the organization or person.
478
     *
479
     * @param \Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $hasPOS
480
     *
481
     * @return static
482
     *
483
     * @see http://schema.org/hasPOS
484
     */
485
    public function hasPOS($hasPOS)
486
    {
487
        return $this->setProperty('hasPOS', $hasPOS);
488
    }
489
490
    /**
491
     * The height of the item.
492
     *
493
     * @param \Spatie\SchemaOrg\Contracts\DistanceContract|\Spatie\SchemaOrg\Contracts\DistanceContract[]|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $height
494
     *
495
     * @return static
496
     *
497
     * @see http://schema.org/height
498
     */
499
    public function height($height)
500
    {
501
        return $this->setProperty('height', $height);
502
    }
503
504
    /**
505
     * A contact location for a person's residence.
506
     *
507
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $homeLocation
508
     *
509
     * @return static
510
     *
511
     * @see http://schema.org/homeLocation
512
     */
513
    public function homeLocation($homeLocation)
514
    {
515
        return $this->setProperty('homeLocation', $homeLocation);
516
    }
517
518
    /**
519
     * An honorific prefix preceding a Person's name such as Dr/Mrs/Mr.
520
     *
521
     * @param string|string[] $honorificPrefix
522
     *
523
     * @return static
524
     *
525
     * @see http://schema.org/honorificPrefix
526
     */
527
    public function honorificPrefix($honorificPrefix)
528
    {
529
        return $this->setProperty('honorificPrefix', $honorificPrefix);
530
    }
531
532
    /**
533
     * An honorific suffix preceding a Person's name such as M.D. /PhD/MSCSW.
534
     *
535
     * @param string|string[] $honorificSuffix
536
     *
537
     * @return static
538
     *
539
     * @see http://schema.org/honorificSuffix
540
     */
541
    public function honorificSuffix($honorificSuffix)
542
    {
543
        return $this->setProperty('honorificSuffix', $honorificSuffix);
544
    }
545
546
    /**
547
     * The identifier property represents any kind of identifier for any kind of
548
     * [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides
549
     * dedicated properties for representing many of these, either as textual
550
     * strings or as URL (URI) links. See [background
551
     * notes](/docs/datamodel.html#identifierBg) for more details.
552
     *
553
     * @param \Spatie\SchemaOrg\Contracts\PropertyValueContract|\Spatie\SchemaOrg\Contracts\PropertyValueContract[]|string|string[] $identifier
554
     *
555
     * @return static
556
     *
557
     * @see http://schema.org/identifier
558
     */
559
    public function identifier($identifier)
560
    {
561
        return $this->setProperty('identifier', $identifier);
562
    }
563
564
    /**
565
     * An image of the item. This can be a [[URL]] or a fully described
566
     * [[ImageObject]].
567
     *
568
     * @param \Spatie\SchemaOrg\Contracts\ImageObjectContract|\Spatie\SchemaOrg\Contracts\ImageObjectContract[]|string|string[] $image
569
     *
570
     * @return static
571
     *
572
     * @see http://schema.org/image
573
     */
574
    public function image($image)
575
    {
576
        return $this->setProperty('image', $image);
577
    }
578
579
    /**
580
     * The International Standard of Industrial Classification of All Economic
581
     * Activities (ISIC), Revision 4 code for a particular organization,
582
     * business person, or place.
583
     *
584
     * @param string|string[] $isicV4
585
     *
586
     * @return static
587
     *
588
     * @see http://schema.org/isicV4
589
     */
590
    public function isicV4($isicV4)
591
    {
592
        return $this->setProperty('isicV4', $isicV4);
593
    }
594
595
    /**
596
     * The job title of the person (for example, Financial Manager).
597
     *
598
     * @param string|string[] $jobTitle
599
     *
600
     * @return static
601
     *
602
     * @see http://schema.org/jobTitle
603
     */
604
    public function jobTitle($jobTitle)
605
    {
606
        return $this->setProperty('jobTitle', $jobTitle);
607
    }
608
609
    /**
610
     * The most generic bi-directional social/work relation.
611
     *
612
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $knows
613
     *
614
     * @return static
615
     *
616
     * @see http://schema.org/knows
617
     */
618
    public function knows($knows)
619
    {
620
        return $this->setProperty('knows', $knows);
621
    }
622
623
    /**
624
     * Indicates a page (or other CreativeWork) for which this thing is the main
625
     * entity being described. See [background
626
     * notes](/docs/datamodel.html#mainEntityBackground) for details.
627
     *
628
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $mainEntityOfPage
629
     *
630
     * @return static
631
     *
632
     * @see http://schema.org/mainEntityOfPage
633
     */
634
    public function mainEntityOfPage($mainEntityOfPage)
635
    {
636
        return $this->setProperty('mainEntityOfPage', $mainEntityOfPage);
637
    }
638
639
    /**
640
     * A pointer to products or services offered by the organization or person.
641
     *
642
     * @param \Spatie\SchemaOrg\Contracts\OfferContract|\Spatie\SchemaOrg\Contracts\OfferContract[] $makesOffer
643
     *
644
     * @return static
645
     *
646
     * @see http://schema.org/makesOffer
647
     */
648
    public function makesOffer($makesOffer)
649
    {
650
        return $this->setProperty('makesOffer', $makesOffer);
651
    }
652
653
    /**
654
     * An Organization (or ProgramMembership) to which this Person or
655
     * Organization belongs.
656
     *
657
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract|\Spatie\SchemaOrg\Contracts\ProgramMembershipContract[] $memberOf
658
     *
659
     * @return static
660
     *
661
     * @see http://schema.org/memberOf
662
     */
663
    public function memberOf($memberOf)
664
    {
665
        return $this->setProperty('memberOf', $memberOf);
666
    }
667
668
    /**
669
     * The North American Industry Classification System (NAICS) code for a
670
     * particular organization or business person.
671
     *
672
     * @param string|string[] $naics
673
     *
674
     * @return static
675
     *
676
     * @see http://schema.org/naics
677
     */
678
    public function naics($naics)
679
    {
680
        return $this->setProperty('naics', $naics);
681
    }
682
683
    /**
684
     * The name of the item.
685
     *
686
     * @param string|string[] $name
687
     *
688
     * @return static
689
     *
690
     * @see http://schema.org/name
691
     */
692
    public function name($name)
693
    {
694
        return $this->setProperty('name', $name);
695
    }
696
697
    /**
698
     * Nationality of the person.
699
     *
700
     * @param \Spatie\SchemaOrg\Contracts\CountryContract|\Spatie\SchemaOrg\Contracts\CountryContract[] $nationality
701
     *
702
     * @return static
703
     *
704
     * @see http://schema.org/nationality
705
     */
706
    public function nationality($nationality)
707
    {
708
        return $this->setProperty('nationality', $nationality);
709
    }
710
711
    /**
712
     * The total financial value of the person as calculated by subtracting
713
     * assets from liabilities.
714
     *
715
     * @param \Spatie\SchemaOrg\Contracts\MonetaryAmountContract|\Spatie\SchemaOrg\Contracts\MonetaryAmountContract[]|\Spatie\SchemaOrg\Contracts\PriceSpecificationContract|\Spatie\SchemaOrg\Contracts\PriceSpecificationContract[] $netWorth
716
     *
717
     * @return static
718
     *
719
     * @see http://schema.org/netWorth
720
     */
721
    public function netWorth($netWorth)
722
    {
723
        return $this->setProperty('netWorth', $netWorth);
724
    }
725
726
    /**
727
     * Products owned by the organization or person.
728
     *
729
     * @param \Spatie\SchemaOrg\Contracts\OwnershipInfoContract|\Spatie\SchemaOrg\Contracts\OwnershipInfoContract[]|\Spatie\SchemaOrg\Contracts\ProductContract|\Spatie\SchemaOrg\Contracts\ProductContract[] $owns
730
     *
731
     * @return static
732
     *
733
     * @see http://schema.org/owns
734
     */
735
    public function owns($owns)
736
    {
737
        return $this->setProperty('owns', $owns);
738
    }
739
740
    /**
741
     * A parent of this person.
742
     *
743
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $parent
744
     *
745
     * @return static
746
     *
747
     * @see http://schema.org/parent
748
     */
749
    public function parent($parent)
750
    {
751
        return $this->setProperty('parent', $parent);
752
    }
753
754
    /**
755
     * A parents of the person.
756
     *
757
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $parents
758
     *
759
     * @return static
760
     *
761
     * @see http://schema.org/parents
762
     */
763
    public function parents($parents)
764
    {
765
        return $this->setProperty('parents', $parents);
766
    }
767
768
    /**
769
     * Event that this person is a performer or participant in.
770
     *
771
     * @param \Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $performerIn
772
     *
773
     * @return static
774
     *
775
     * @see http://schema.org/performerIn
776
     */
777
    public function performerIn($performerIn)
778
    {
779
        return $this->setProperty('performerIn', $performerIn);
780
    }
781
782
    /**
783
     * Indicates a potential Action, which describes an idealized action in
784
     * which this thing would play an 'object' role.
785
     *
786
     * @param \Spatie\SchemaOrg\Contracts\ActionContract|\Spatie\SchemaOrg\Contracts\ActionContract[] $potentialAction
787
     *
788
     * @return static
789
     *
790
     * @see http://schema.org/potentialAction
791
     */
792
    public function potentialAction($potentialAction)
793
    {
794
        return $this->setProperty('potentialAction', $potentialAction);
795
    }
796
797
    /**
798
     * The publishingPrinciples property indicates (typically via [[URL]]) a
799
     * document describing the editorial principles of an [[Organization]] (or
800
     * individual e.g. a [[Person]] writing a blog) that relate to their
801
     * activities as a publisher, e.g. ethics or diversity policies. When
802
     * applied to a [[CreativeWork]] (e.g. [[NewsArticle]]) the principles are
803
     * those of the party primarily responsible for the creation of the
804
     * [[CreativeWork]].
805
     * 
806
     * While such policies are most typically expressed in natural language,
807
     * sometimes related information (e.g. indicating a [[funder]]) can be
808
     * expressed using schema.org terminology.
809
     *
810
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|string|string[] $publishingPrinciples
811
     *
812
     * @return static
813
     *
814
     * @see http://schema.org/publishingPrinciples
815
     */
816
    public function publishingPrinciples($publishingPrinciples)
817
    {
818
        return $this->setProperty('publishingPrinciples', $publishingPrinciples);
819
    }
820
821
    /**
822
     * The most generic familial relation.
823
     *
824
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $relatedTo
825
     *
826
     * @return static
827
     *
828
     * @see http://schema.org/relatedTo
829
     */
830
    public function relatedTo($relatedTo)
831
    {
832
        return $this->setProperty('relatedTo', $relatedTo);
833
    }
834
835
    /**
836
     * URL of a reference Web page that unambiguously indicates the item's
837
     * identity. E.g. the URL of the item's Wikipedia page, Wikidata entry, or
838
     * official website.
839
     *
840
     * @param string|string[] $sameAs
841
     *
842
     * @return static
843
     *
844
     * @see http://schema.org/sameAs
845
     */
846
    public function sameAs($sameAs)
847
    {
848
        return $this->setProperty('sameAs', $sameAs);
849
    }
850
851
    /**
852
     * A pointer to products or services sought by the organization or person
853
     * (demand).
854
     *
855
     * @param \Spatie\SchemaOrg\Contracts\DemandContract|\Spatie\SchemaOrg\Contracts\DemandContract[] $seeks
856
     *
857
     * @return static
858
     *
859
     * @see http://schema.org/seeks
860
     */
861
    public function seeks($seeks)
862
    {
863
        return $this->setProperty('seeks', $seeks);
864
    }
865
866
    /**
867
     * A sibling of the person.
868
     *
869
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sibling
870
     *
871
     * @return static
872
     *
873
     * @see http://schema.org/sibling
874
     */
875
    public function sibling($sibling)
876
    {
877
        return $this->setProperty('sibling', $sibling);
878
    }
879
880
    /**
881
     * A sibling of the person.
882
     *
883
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $siblings
884
     *
885
     * @return static
886
     *
887
     * @see http://schema.org/siblings
888
     */
889
    public function siblings($siblings)
890
    {
891
        return $this->setProperty('siblings', $siblings);
892
    }
893
894
    /**
895
     * A person or organization that supports a thing through a pledge, promise,
896
     * or financial contribution. e.g. a sponsor of a Medical Study or a
897
     * corporate sponsor of an event.
898
     *
899
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[]|\Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $sponsor
900
     *
901
     * @return static
902
     *
903
     * @see http://schema.org/sponsor
904
     */
905
    public function sponsor($sponsor)
906
    {
907
        return $this->setProperty('sponsor', $sponsor);
908
    }
909
910
    /**
911
     * The person's spouse.
912
     *
913
     * @param \Spatie\SchemaOrg\Contracts\PersonContract|\Spatie\SchemaOrg\Contracts\PersonContract[] $spouse
914
     *
915
     * @return static
916
     *
917
     * @see http://schema.org/spouse
918
     */
919
    public function spouse($spouse)
920
    {
921
        return $this->setProperty('spouse', $spouse);
922
    }
923
924
    /**
925
     * A CreativeWork or Event about this Thing.
926
     *
927
     * @param \Spatie\SchemaOrg\Contracts\CreativeWorkContract|\Spatie\SchemaOrg\Contracts\CreativeWorkContract[]|\Spatie\SchemaOrg\Contracts\EventContract|\Spatie\SchemaOrg\Contracts\EventContract[] $subjectOf
928
     *
929
     * @return static
930
     *
931
     * @see http://schema.org/subjectOf
932
     */
933
    public function subjectOf($subjectOf)
934
    {
935
        return $this->setProperty('subjectOf', $subjectOf);
936
    }
937
938
    /**
939
     * The Tax / Fiscal ID of the organization or person, e.g. the TIN in the US
940
     * or the CIF/NIF in Spain.
941
     *
942
     * @param string|string[] $taxID
943
     *
944
     * @return static
945
     *
946
     * @see http://schema.org/taxID
947
     */
948
    public function taxID($taxID)
949
    {
950
        return $this->setProperty('taxID', $taxID);
951
    }
952
953
    /**
954
     * The telephone number.
955
     *
956
     * @param string|string[] $telephone
957
     *
958
     * @return static
959
     *
960
     * @see http://schema.org/telephone
961
     */
962
    public function telephone($telephone)
963
    {
964
        return $this->setProperty('telephone', $telephone);
965
    }
966
967
    /**
968
     * URL of the item.
969
     *
970
     * @param string|string[] $url
971
     *
972
     * @return static
973
     *
974
     * @see http://schema.org/url
975
     */
976
    public function url($url)
977
    {
978
        return $this->setProperty('url', $url);
979
    }
980
981
    /**
982
     * The Value-added Tax ID of the organization or person.
983
     *
984
     * @param string|string[] $vatID
985
     *
986
     * @return static
987
     *
988
     * @see http://schema.org/vatID
989
     */
990
    public function vatID($vatID)
991
    {
992
        return $this->setProperty('vatID', $vatID);
993
    }
994
995
    /**
996
     * The weight of the product or person.
997
     *
998
     * @param \Spatie\SchemaOrg\Contracts\QuantitativeValueContract|\Spatie\SchemaOrg\Contracts\QuantitativeValueContract[] $weight
999
     *
1000
     * @return static
1001
     *
1002
     * @see http://schema.org/weight
1003
     */
1004
    public function weight($weight)
1005
    {
1006
        return $this->setProperty('weight', $weight);
1007
    }
1008
1009
    /**
1010
     * A contact location for a person's place of work.
1011
     *
1012
     * @param \Spatie\SchemaOrg\Contracts\ContactPointContract|\Spatie\SchemaOrg\Contracts\ContactPointContract[]|\Spatie\SchemaOrg\Contracts\PlaceContract|\Spatie\SchemaOrg\Contracts\PlaceContract[] $workLocation
1013
     *
1014
     * @return static
1015
     *
1016
     * @see http://schema.org/workLocation
1017
     */
1018
    public function workLocation($workLocation)
1019
    {
1020
        return $this->setProperty('workLocation', $workLocation);
1021
    }
1022
1023
    /**
1024
     * Organizations that the person works for.
1025
     *
1026
     * @param \Spatie\SchemaOrg\Contracts\OrganizationContract|\Spatie\SchemaOrg\Contracts\OrganizationContract[] $worksFor
1027
     *
1028
     * @return static
1029
     *
1030
     * @see http://schema.org/worksFor
1031
     */
1032
    public function worksFor($worksFor)
1033
    {
1034
        return $this->setProperty('worksFor', $worksFor);
1035
    }
1036
1037
}
1038