Completed
Push — master ( 0fb5cf...c0af4f )
by Sebastian
03:59
created

CreativeWork::video()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
namespace Spatie\SchemaOrg;
4
5
/**
6
 * The most generic kind of creative work, including books, movies, photographs,
7
 * software programs, etc.
8
 *
9
 * @see http://schema.org/CreativeWork
10
 */
11
class CreativeWork extends Thing
12
{
13
    /**
14
     * Indicates (by URL or string) a particular version of a schema used in
15
     * some CreativeWork. For example, a document could declare a schemaVersion
16
     * using an URL such as http://schema.org/version/2.0/ if precise indication
17
     * of schema version was required by some application.
18
     *
19
     * @param string $schemaVersion
20
     *
21
     * @return static
22
     *
23
     * @see http://schema.org/schemaVersion
24
     */
25
    public function schemaVersion($schemaVersion)
26
    {
27
        return $this->setProperty('schemaVersion', $schemaVersion);
28
    }
29
30
    /**
31
     * The subject matter of the content.
32
     *
33
     * @param \Spatie\SchemaOrg\Thing $about
34
     *
35
     * @return static
36
     *
37
     * @see http://schema.org/about
38
     */
39
    public function about($about)
40
    {
41
        return $this->setProperty('about', $about);
42
    }
43
44
    /**
45
     * Indicates that the resource is compatible with the referenced
46
     * accessibility API ([WebSchemas wiki lists possible
47
     * values](http://www.w3.org/wiki/WebSchemas/Accessibility)).
48
     *
49
     * @param string $accessibilityAPI
50
     *
51
     * @return static
52
     *
53
     * @see http://schema.org/accessibilityAPI
54
     */
55
    public function accessibilityAPI($accessibilityAPI)
56
    {
57
        return $this->setProperty('accessibilityAPI', $accessibilityAPI);
58
    }
59
60
    /**
61
     * Identifies input methods that are sufficient to fully control the
62
     * described resource ([WebSchemas wiki lists possible
63
     * values](http://www.w3.org/wiki/WebSchemas/Accessibility)).
64
     *
65
     * @param string $accessibilityControl
66
     *
67
     * @return static
68
     *
69
     * @see http://schema.org/accessibilityControl
70
     */
71
    public function accessibilityControl($accessibilityControl)
72
    {
73
        return $this->setProperty('accessibilityControl', $accessibilityControl);
74
    }
75
76
    /**
77
     * Content features of the resource, such as accessible media, alternatives
78
     * and supported enhancements for accessibility ([WebSchemas wiki lists
79
     * possible values](http://www.w3.org/wiki/WebSchemas/Accessibility)).
80
     *
81
     * @param string $accessibilityFeature
82
     *
83
     * @return static
84
     *
85
     * @see http://schema.org/accessibilityFeature
86
     */
87
    public function accessibilityFeature($accessibilityFeature)
88
    {
89
        return $this->setProperty('accessibilityFeature', $accessibilityFeature);
90
    }
91
92
    /**
93
     * A characteristic of the described resource that is physiologically
94
     * dangerous to some users. Related to WCAG 2.0 guideline 2.3 ([WebSchemas
95
     * wiki lists possible
96
     * values](http://www.w3.org/wiki/WebSchemas/Accessibility)).
97
     *
98
     * @param string $accessibilityHazard
99
     *
100
     * @return static
101
     *
102
     * @see http://schema.org/accessibilityHazard
103
     */
104
    public function accessibilityHazard($accessibilityHazard)
105
    {
106
        return $this->setProperty('accessibilityHazard', $accessibilityHazard);
107
    }
108
109
    /**
110
     * Specifies the Person that is legally accountable for the CreativeWork.
111
     *
112
     * @param \Spatie\SchemaOrg\Person $accountablePerson
113
     *
114
     * @return static
115
     *
116
     * @see http://schema.org/accountablePerson
117
     */
118
    public function accountablePerson($accountablePerson)
119
    {
120
        return $this->setProperty('accountablePerson', $accountablePerson);
121
    }
122
123
    /**
124
     * The overall rating, based on a collection of reviews or ratings, of the
125
     * item.
126
     *
127
     * @param \Spatie\SchemaOrg\AggregateRating $aggregateRating
128
     *
129
     * @return static
130
     *
131
     * @see http://schema.org/aggregateRating
132
     */
133
    public function aggregateRating($aggregateRating)
134
    {
135
        return $this->setProperty('aggregateRating', $aggregateRating);
136
    }
137
138
    /**
139
     * A secondary title of the CreativeWork.
140
     *
141
     * @param string $alternativeHeadline
142
     *
143
     * @return static
144
     *
145
     * @see http://schema.org/alternativeHeadline
146
     */
147
    public function alternativeHeadline($alternativeHeadline)
148
    {
149
        return $this->setProperty('alternativeHeadline', $alternativeHeadline);
150
    }
151
152
    /**
153
     * A media object that encodes this CreativeWork. This property is a synonym
154
     * for encoding.
155
     *
156
     * @param \Spatie\SchemaOrg\MediaObject $associatedMedia
157
     *
158
     * @return static
159
     *
160
     * @see http://schema.org/associatedMedia
161
     */
162
    public function associatedMedia($associatedMedia)
163
    {
164
        return $this->setProperty('associatedMedia', $associatedMedia);
165
    }
166
167
    /**
168
     * An intended audience, i.e. a group for whom something was created.
169
     *
170
     * @param \Spatie\SchemaOrg\Audience $audience
171
     *
172
     * @return static
173
     *
174
     * @see http://schema.org/audience
175
     */
176
    public function audience($audience)
177
    {
178
        return $this->setProperty('audience', $audience);
179
    }
180
181
    /**
182
     * An embedded audio object.
183
     *
184
     * @param \Spatie\SchemaOrg\AudioObject $audio
185
     *
186
     * @return static
187
     *
188
     * @see http://schema.org/audio
189
     */
190
    public function audio($audio)
191
    {
192
        return $this->setProperty('audio', $audio);
193
    }
194
195
    /**
196
     * The author of this content or rating. Please note that author is special
197
     * in that HTML 5 provides a special mechanism for indicating authorship via
198
     * the rel tag. That is equivalent to this and may be used interchangeably.
199
     *
200
     * @param \Spatie\SchemaOrg\Organization|\Spatie\SchemaOrg\Person $author
201
     *
202
     * @return static
203
     *
204
     * @see http://schema.org/author
205
     */
206
    public function author($author)
207
    {
208
        return $this->setProperty('author', $author);
209
    }
210
211
    /**
212
     * An award won by or for this item.
213
     *
214
     * @param string $award
215
     *
216
     * @return static
217
     *
218
     * @see http://schema.org/award
219
     */
220
    public function award($award)
221
    {
222
        return $this->setProperty('award', $award);
223
    }
224
225
    /**
226
     * Awards won by or for this item.
227
     *
228
     * @param string $awards
229
     *
230
     * @return static
231
     *
232
     * @see http://schema.org/awards
233
     */
234
    public function awards($awards)
235
    {
236
        return $this->setProperty('awards', $awards);
237
    }
238
239
    /**
240
     * A citation or reference to another creative work, such as another
241
     * publication, web page, scholarly article, etc.
242
     *
243
     * @param \Spatie\SchemaOrg\CreativeWork|string $citation
244
     *
245
     * @return static
246
     *
247
     * @see http://schema.org/citation
248
     */
249
    public function citation($citation)
250
    {
251
        return $this->setProperty('citation', $citation);
252
    }
253
254
    /**
255
     * Comments, typically from users.
256
     *
257
     * @param \Spatie\SchemaOrg\Comment $comment
258
     *
259
     * @return static
260
     *
261
     * @see http://schema.org/comment
262
     */
263
    public function comment($comment)
264
    {
265
        return $this->setProperty('comment', $comment);
266
    }
267
268
    /**
269
     * The location depicted or described in the content. For example, the
270
     * location in a photograph or painting.
271
     *
272
     * @param \Spatie\SchemaOrg\Place $contentLocation
273
     *
274
     * @return static
275
     *
276
     * @see http://schema.org/contentLocation
277
     */
278
    public function contentLocation($contentLocation)
279
    {
280
        return $this->setProperty('contentLocation', $contentLocation);
281
    }
282
283
    /**
284
     * The location where the CreativeWork was created, which may not be the
285
     * same as the location depicted in the CreativeWork.
286
     *
287
     * @param \Spatie\SchemaOrg\Place $locationCreated
288
     *
289
     * @return static
290
     *
291
     * @see http://schema.org/locationCreated
292
     */
293
    public function locationCreated($locationCreated)
294
    {
295
        return $this->setProperty('locationCreated', $locationCreated);
296
    }
297
298
    /**
299
     * Official rating of a piece of content&#x2014;for example,'MPAA PG-13'.
300
     *
301
     * @param string $contentRating
302
     *
303
     * @return static
304
     *
305
     * @see http://schema.org/contentRating
306
     */
307
    public function contentRating($contentRating)
308
    {
309
        return $this->setProperty('contentRating', $contentRating);
310
    }
311
312
    /**
313
     * A secondary contributor to the CreativeWork or Event.
314
     *
315
     * @param \Spatie\SchemaOrg\Organization|\Spatie\SchemaOrg\Person $contributor
316
     *
317
     * @return static
318
     *
319
     * @see http://schema.org/contributor
320
     */
321
    public function contributor($contributor)
322
    {
323
        return $this->setProperty('contributor', $contributor);
324
    }
325
326
    /**
327
     * The party holding the legal copyright to the CreativeWork.
328
     *
329
     * @param \Spatie\SchemaOrg\Organization|\Spatie\SchemaOrg\Person $copyrightHolder
330
     *
331
     * @return static
332
     *
333
     * @see http://schema.org/copyrightHolder
334
     */
335
    public function copyrightHolder($copyrightHolder)
336
    {
337
        return $this->setProperty('copyrightHolder', $copyrightHolder);
338
    }
339
340
    /**
341
     * The year during which the claimed copyright for the CreativeWork was
342
     * first asserted.
343
     *
344
     * @param float|int $copyrightYear
345
     *
346
     * @return static
347
     *
348
     * @see http://schema.org/copyrightYear
349
     */
350
    public function copyrightYear($copyrightYear)
351
    {
352
        return $this->setProperty('copyrightYear', $copyrightYear);
353
    }
354
355
    /**
356
     * The creator/author of this CreativeWork. This is the same as the Author
357
     * property for CreativeWork.
358
     *
359
     * @param \Spatie\SchemaOrg\Organization|\Spatie\SchemaOrg\Person $creator
360
     *
361
     * @return static
362
     *
363
     * @see http://schema.org/creator
364
     */
365
    public function creator($creator)
366
    {
367
        return $this->setProperty('creator', $creator);
368
    }
369
370
    /**
371
     * The date on which the CreativeWork was created or the item was added to a
372
     * DataFeed.
373
     *
374
     * @param \DateTimeInterface $dateCreated
375
     *
376
     * @return static
377
     *
378
     * @see http://schema.org/dateCreated
379
     */
380
    public function dateCreated($dateCreated)
381
    {
382
        return $this->setProperty('dateCreated', $dateCreated);
383
    }
384
385
    /**
386
     * The date on which the CreativeWork was most recently modified or when the
387
     * item's entry was modified within a DataFeed.
388
     *
389
     * @param \DateTimeInterface $dateModified
390
     *
391
     * @return static
392
     *
393
     * @see http://schema.org/dateModified
394
     */
395
    public function dateModified($dateModified)
396
    {
397
        return $this->setProperty('dateModified', $dateModified);
398
    }
399
400
    /**
401
     * Date of first broadcast/publication.
402
     *
403
     * @param \DateTimeInterface $datePublished
404
     *
405
     * @return static
406
     *
407
     * @see http://schema.org/datePublished
408
     */
409
    public function datePublished($datePublished)
410
    {
411
        return $this->setProperty('datePublished', $datePublished);
412
    }
413
414
    /**
415
     * A link to the page containing the comments of the CreativeWork.
416
     *
417
     * @param string $discussionUrl
418
     *
419
     * @return static
420
     *
421
     * @see http://schema.org/discussionUrl
422
     */
423
    public function discussionUrl($discussionUrl)
424
    {
425
        return $this->setProperty('discussionUrl', $discussionUrl);
426
    }
427
428
    /**
429
     * Specifies the Person who edited the CreativeWork.
430
     *
431
     * @param \Spatie\SchemaOrg\Person $editor
432
     *
433
     * @return static
434
     *
435
     * @see http://schema.org/editor
436
     */
437
    public function editor($editor)
438
    {
439
        return $this->setProperty('editor', $editor);
440
    }
441
442
    /**
443
     * An alignment to an established educational framework.
444
     *
445
     * @param \Spatie\SchemaOrg\AlignmentObject $educationalAlignment
446
     *
447
     * @return static
448
     *
449
     * @see http://schema.org/educationalAlignment
450
     */
451
    public function educationalAlignment($educationalAlignment)
452
    {
453
        return $this->setProperty('educationalAlignment', $educationalAlignment);
454
    }
455
456
    /**
457
     * The purpose of a work in the context of education; for example,
458
     * 'assignment', 'group work'.
459
     *
460
     * @param string $educationalUse
461
     *
462
     * @return static
463
     *
464
     * @see http://schema.org/educationalUse
465
     */
466
    public function educationalUse($educationalUse)
467
    {
468
        return $this->setProperty('educationalUse', $educationalUse);
469
    }
470
471
    /**
472
     * A media object that encodes this CreativeWork. This property is a synonym
473
     * for associatedMedia.
474
     *
475
     * @param \Spatie\SchemaOrg\MediaObject $encoding
476
     *
477
     * @return static
478
     *
479
     * @see http://schema.org/encoding
480
     */
481
    public function encoding($encoding)
482
    {
483
        return $this->setProperty('encoding', $encoding);
484
    }
485
486
    /**
487
     * A media object that encodes this CreativeWork.
488
     *
489
     * @param \Spatie\SchemaOrg\MediaObject $encodings
490
     *
491
     * @return static
492
     *
493
     * @see http://schema.org/encodings
494
     */
495
    public function encodings($encodings)
496
    {
497
        return $this->setProperty('encodings', $encodings);
498
    }
499
500
    /**
501
     * Media type, typically MIME format (see [IANA
502
     * site](http://www.iana.org/assignments/media-types/media-types.xhtml)) of
503
     * the content e.g. application/zip of a SoftwareApplication binary. In
504
     * cases where a CreativeWork has several media type representations,
505
     * 'encoding' can be used to indicate each MediaObject alongside particular
506
     * fileFormat information. Unregistered or niche file formats can be
507
     * indicated instead via the most appropriate URL, e.g. defining Web page or
508
     * a Wikipedia entry.
509
     *
510
     * @param string $fileFormat
511
     *
512
     * @return static
513
     *
514
     * @see http://schema.org/fileFormat
515
     */
516
    public function fileFormat($fileFormat)
517
    {
518
        return $this->setProperty('fileFormat', $fileFormat);
519
    }
520
521
    /**
522
     * A flag to signal that the publication is accessible for free.
523
     *
524
     * @param bool $isAccessibleForFree
525
     *
526
     * @return static
527
     *
528
     * @see http://schema.org/isAccessibleForFree
529
     */
530
    public function isAccessibleForFree($isAccessibleForFree)
531
    {
532
        return $this->setProperty('isAccessibleForFree', $isAccessibleForFree);
533
    }
534
535
    /**
536
     * Genre of the creative work, broadcast channel or group.
537
     *
538
     * @param string $genre
539
     *
540
     * @return static
541
     *
542
     * @see http://schema.org/genre
543
     */
544
    public function genre($genre)
545
    {
546
        return $this->setProperty('genre', $genre);
547
    }
548
549
    /**
550
     * Headline of the article.
551
     *
552
     * @param string $headline
553
     *
554
     * @return static
555
     *
556
     * @see http://schema.org/headline
557
     */
558
    public function headline($headline)
559
    {
560
        return $this->setProperty('headline', $headline);
561
    }
562
563
    /**
564
     * The language of the content or performance or used in an action. Please
565
     * use one of the language codes from the [IETF BCP 47
566
     * standard](http://tools.ietf.org/html/bcp47). See also
567
     * [[availableLanguage]].
568
     *
569
     * @param string|\Spatie\SchemaOrg\Language $inLanguage
570
     *
571
     * @return static
572
     *
573
     * @see http://schema.org/inLanguage
574
     */
575
    public function inLanguage($inLanguage)
576
    {
577
        return $this->setProperty('inLanguage', $inLanguage);
578
    }
579
580
    /**
581
     * The predominant mode of learning supported by the learning resource.
582
     * Acceptable values are 'active', 'expositive', or 'mixed'.
583
     *
584
     * @param string $interactivityType
585
     *
586
     * @return static
587
     *
588
     * @see http://schema.org/interactivityType
589
     */
590
    public function interactivityType($interactivityType)
591
    {
592
        return $this->setProperty('interactivityType', $interactivityType);
593
    }
594
595
    /**
596
     * A resource that was used in the creation of this resource. This term can
597
     * be repeated for multiple sources. For example,
598
     * http://example.com/great-multiplication-intro.html.
599
     *
600
     * @param string|\Spatie\SchemaOrg\CreativeWork|\Spatie\SchemaOrg\Product $isBasedOnUrl
601
     *
602
     * @return static
603
     *
604
     * @see http://schema.org/isBasedOnUrl
605
     */
606
    public function isBasedOnUrl($isBasedOnUrl)
607
    {
608
        return $this->setProperty('isBasedOnUrl', $isBasedOnUrl);
609
    }
610
611
    /**
612
     * A resource that was used in the creation of this resource. This term can
613
     * be repeated for multiple sources. For example,
614
     * http://example.com/great-multiplication-intro.html.
615
     *
616
     * @param string|\Spatie\SchemaOrg\CreativeWork|\Spatie\SchemaOrg\Product $isBasedOn
617
     *
618
     * @return static
619
     *
620
     * @see http://schema.org/isBasedOn
621
     */
622
    public function isBasedOn($isBasedOn)
623
    {
624
        return $this->setProperty('isBasedOn', $isBasedOn);
625
    }
626
627
    /**
628
     * Indicates whether this content is family friendly.
629
     *
630
     * @param bool $isFamilyFriendly
631
     *
632
     * @return static
633
     *
634
     * @see http://schema.org/isFamilyFriendly
635
     */
636
    public function isFamilyFriendly($isFamilyFriendly)
637
    {
638
        return $this->setProperty('isFamilyFriendly', $isFamilyFriendly);
639
    }
640
641
    /**
642
     * Indicates a CreativeWork that this CreativeWork is (in some sense) part
643
     * of.
644
     *
645
     * @param \Spatie\SchemaOrg\CreativeWork $isPartOf
646
     *
647
     * @return static
648
     *
649
     * @see http://schema.org/isPartOf
650
     */
651
    public function isPartOf($isPartOf)
652
    {
653
        return $this->setProperty('isPartOf', $isPartOf);
654
    }
655
656
    /**
657
     * Keywords or tags used to describe this content. Multiple entries in a
658
     * keywords list are typically delimited by commas.
659
     *
660
     * @param string $keywords
661
     *
662
     * @return static
663
     *
664
     * @see http://schema.org/keywords
665
     */
666
    public function keywords($keywords)
667
    {
668
        return $this->setProperty('keywords', $keywords);
669
    }
670
671
    /**
672
     * A license document that applies to this content, typically indicated by
673
     * URL.
674
     *
675
     * @param \Spatie\SchemaOrg\CreativeWork|string $license
676
     *
677
     * @return static
678
     *
679
     * @see http://schema.org/license
680
     */
681
    public function license($license)
682
    {
683
        return $this->setProperty('license', $license);
684
    }
685
686
    /**
687
     * The predominant type or kind characterizing the learning resource. For
688
     * example, 'presentation', 'handout'.
689
     *
690
     * @param string $learningResourceType
691
     *
692
     * @return static
693
     *
694
     * @see http://schema.org/learningResourceType
695
     */
696
    public function learningResourceType($learningResourceType)
697
    {
698
        return $this->setProperty('learningResourceType', $learningResourceType);
699
    }
700
701
    /**
702
     * Indicates the primary entity described in some page or other
703
     * CreativeWork.
704
     *
705
     * @param \Spatie\SchemaOrg\Thing $mainEntity
706
     *
707
     * @return static
708
     *
709
     * @see http://schema.org/mainEntity
710
     */
711
    public function mainEntity($mainEntity)
712
    {
713
        return $this->setProperty('mainEntity', $mainEntity);
714
    }
715
716
    /**
717
     * Indicates that the CreativeWork contains a reference to, but is not
718
     * necessarily about a concept.
719
     *
720
     * @param \Spatie\SchemaOrg\Thing $mentions
721
     *
722
     * @return static
723
     *
724
     * @see http://schema.org/mentions
725
     */
726
    public function mentions($mentions)
727
    {
728
        return $this->setProperty('mentions', $mentions);
729
    }
730
731
    /**
732
     * An offer to provide this item&#x2014;for example, an offer to sell a
733
     * product, rent the DVD of a movie, perform a service, or give away tickets
734
     * to an event.
735
     *
736
     * @param \Spatie\SchemaOrg\Offer $offers
737
     *
738
     * @return static
739
     *
740
     * @see http://schema.org/offers
741
     */
742
    public function offers($offers)
743
    {
744
        return $this->setProperty('offers', $offers);
745
    }
746
747
    /**
748
     * The position of an item in a series or sequence of items.
749
     *
750
     * @param string|int $position
751
     *
752
     * @return static
753
     *
754
     * @see http://schema.org/position
755
     */
756
    public function position($position)
757
    {
758
        return $this->setProperty('position', $position);
759
    }
760
761
    /**
762
     * The person or organization who produced the work (e.g. music album,
763
     * movie, tv/radio series etc.).
764
     *
765
     * @param \Spatie\SchemaOrg\Person|\Spatie\SchemaOrg\Organization $producer
766
     *
767
     * @return static
768
     *
769
     * @see http://schema.org/producer
770
     */
771
    public function producer($producer)
772
    {
773
        return $this->setProperty('producer', $producer);
774
    }
775
776
    /**
777
     * A publication event associated with the item.
778
     *
779
     * @param \Spatie\SchemaOrg\PublicationEvent $publication
780
     *
781
     * @return static
782
     *
783
     * @see http://schema.org/publication
784
     */
785
    public function publication($publication)
786
    {
787
        return $this->setProperty('publication', $publication);
788
    }
789
790
    /**
791
     * The publisher of the creative work.
792
     *
793
     * @param \Spatie\SchemaOrg\Organization|\Spatie\SchemaOrg\Person $publisher
794
     *
795
     * @return static
796
     *
797
     * @see http://schema.org/publisher
798
     */
799
    public function publisher($publisher)
800
    {
801
        return $this->setProperty('publisher', $publisher);
802
    }
803
804
    /**
805
     * Link to page describing the editorial principles of the organization
806
     * primarily responsible for the creation of the CreativeWork.
807
     *
808
     * @param string $publishingPrinciples
809
     *
810
     * @return static
811
     *
812
     * @see http://schema.org/publishingPrinciples
813
     */
814
    public function publishingPrinciples($publishingPrinciples)
815
    {
816
        return $this->setProperty('publishingPrinciples', $publishingPrinciples);
817
    }
818
819
    /**
820
     * The Event where the CreativeWork was recorded. The CreativeWork may
821
     * capture all or part of the event.
822
     *
823
     * @param \Spatie\SchemaOrg\Event $recordedAt
824
     *
825
     * @return static
826
     *
827
     * @see http://schema.org/recordedAt
828
     */
829
    public function recordedAt($recordedAt)
830
    {
831
        return $this->setProperty('recordedAt', $recordedAt);
832
    }
833
834
    /**
835
     * A review of the item.
836
     *
837
     * @param \Spatie\SchemaOrg\Review $review
838
     *
839
     * @return static
840
     *
841
     * @see http://schema.org/review
842
     */
843
    public function review($review)
844
    {
845
        return $this->setProperty('review', $review);
846
    }
847
848
    /**
849
     * Review of the item.
850
     *
851
     * @param \Spatie\SchemaOrg\Review $reviews
852
     *
853
     * @return static
854
     *
855
     * @see http://schema.org/reviews
856
     */
857
    public function reviews($reviews)
858
    {
859
        return $this->setProperty('reviews', $reviews);
860
    }
861
862
    /**
863
     * The Organization on whose behalf the creator was working.
864
     *
865
     * @param \Spatie\SchemaOrg\Organization $sourceOrganization
866
     *
867
     * @return static
868
     *
869
     * @see http://schema.org/sourceOrganization
870
     */
871
    public function sourceOrganization($sourceOrganization)
872
    {
873
        return $this->setProperty('sourceOrganization', $sourceOrganization);
874
    }
875
876
    /**
877
     * The spatialCoverage of a CreativeWork indicates the place(s) which are
878
     * the focus of the content. It is a subproperty of
879
     *       contentLocation intended primarily for more technical and detailed
880
     * materials. For example with a Dataset, it indicates
881
     *       areas that the dataset describes: a dataset of New York weather
882
     * would have spatialCoverage which was the place: the state of New York.
883
     *
884
     * @param \Spatie\SchemaOrg\Place $spatialCoverage
885
     *
886
     * @return static
887
     *
888
     * @see http://schema.org/spatialCoverage
889
     */
890
    public function spatialCoverage($spatialCoverage)
891
    {
892
        return $this->setProperty('spatialCoverage', $spatialCoverage);
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\Organization|\Spatie\SchemaOrg\Person $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 person or organization that supports (sponsors) something through some
913
     * kind of financial contribution.
914
     *
915
     * @param \Spatie\SchemaOrg\Organization|\Spatie\SchemaOrg\Person $funder
916
     *
917
     * @return static
918
     *
919
     * @see http://schema.org/funder
920
     */
921
    public function funder($funder)
922
    {
923
        return $this->setProperty('funder', $funder);
924
    }
925
926
    /**
927
     * The temporalCoverage of a CreativeWork indicates the period that the
928
     * content applies to, i.e. that it describes, either as a DateTime or as a
929
     * textual string indicating a time period in [ISO 8601 time interval
930
     * format](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals). In
931
     *       the case of a Dataset it will typically indicate the relevant time
932
     * period in a precise notation (e.g. for a 2011 census dataset, the year
933
     * 2011 would be written "2011/2012"). Other forms of content e.g.
934
     * ScholarlyArticle, Book, TVSeries or TVEpisode may indicate their
935
     * temporalCoverage in broader terms - textually or via well-known URL.
936
     *       Written works such as books may sometimes have precise temporal
937
     * coverage too, e.g. a work set in 1939 - 1945 can be indicated in ISO 8601
938
     * interval format format via "1939/1945".
939
     *
940
     * @param \DateTimeInterface|string $temporalCoverage
941
     *
942
     * @return static
943
     *
944
     * @see http://schema.org/temporalCoverage
945
     */
946
    public function temporalCoverage($temporalCoverage)
947
    {
948
        return $this->setProperty('temporalCoverage', $temporalCoverage);
949
    }
950
951
    /**
952
     * The textual content of this CreativeWork.
953
     *
954
     * @param string $text
955
     *
956
     * @return static
957
     *
958
     * @see http://schema.org/text
959
     */
960
    public function text($text)
961
    {
962
        return $this->setProperty('text', $text);
963
    }
964
965
    /**
966
     * A thumbnail image relevant to the Thing.
967
     *
968
     * @param string $thumbnailUrl
969
     *
970
     * @return static
971
     *
972
     * @see http://schema.org/thumbnailUrl
973
     */
974
    public function thumbnailUrl($thumbnailUrl)
975
    {
976
        return $this->setProperty('thumbnailUrl', $thumbnailUrl);
977
    }
978
979
    /**
980
     * Approximate or typical time it takes to work with or through this
981
     * learning resource for the typical intended target audience, e.g. 'P30M',
982
     * 'P1H25M'.
983
     *
984
     * @param \Spatie\SchemaOrg\Duration $timeRequired
985
     *
986
     * @return static
987
     *
988
     * @see http://schema.org/timeRequired
989
     */
990
    public function timeRequired($timeRequired)
991
    {
992
        return $this->setProperty('timeRequired', $timeRequired);
993
    }
994
995
    /**
996
     * The typical expected age range, e.g. '7-9', '11-'.
997
     *
998
     * @param string $typicalAgeRange
999
     *
1000
     * @return static
1001
     *
1002
     * @see http://schema.org/typicalAgeRange
1003
     */
1004
    public function typicalAgeRange($typicalAgeRange)
1005
    {
1006
        return $this->setProperty('typicalAgeRange', $typicalAgeRange);
1007
    }
1008
1009
    /**
1010
     * The version of the CreativeWork embodied by a specified resource.
1011
     *
1012
     * @param float|int|string $version
1013
     *
1014
     * @return static
1015
     *
1016
     * @see http://schema.org/version
1017
     */
1018
    public function version($version)
1019
    {
1020
        return $this->setProperty('version', $version);
1021
    }
1022
1023
    /**
1024
     * An embedded video object.
1025
     *
1026
     * @param \Spatie\SchemaOrg\VideoObject $video
1027
     *
1028
     * @return static
1029
     *
1030
     * @see http://schema.org/video
1031
     */
1032
    public function video($video)
1033
    {
1034
        return $this->setProperty('video', $video);
1035
    }
1036
1037
    /**
1038
     * The service provider, service operator, or service performer; the goods
1039
     * producer. Another party (a seller) may offer those services or goods on
1040
     * behalf of the provider. A provider may also serve as the seller.
1041
     *
1042
     * @param \Spatie\SchemaOrg\Person|\Spatie\SchemaOrg\Organization $provider
1043
     *
1044
     * @return static
1045
     *
1046
     * @see http://schema.org/provider
1047
     */
1048
    public function provider($provider)
1049
    {
1050
        return $this->setProperty('provider', $provider);
1051
    }
1052
1053
    /**
1054
     * The number of comments this CreativeWork (e.g. Article, Question or
1055
     * Answer) has received. This is most applicable to works published in Web
1056
     * sites with commenting system; additional comments may exist elsewhere.
1057
     *
1058
     * @param int $commentCount
1059
     *
1060
     * @return static
1061
     *
1062
     * @see http://schema.org/commentCount
1063
     */
1064
    public function commentCount($commentCount)
1065
    {
1066
        return $this->setProperty('commentCount', $commentCount);
1067
    }
1068
1069
    /**
1070
     * Indicates a CreativeWork that is (in some sense) a part of this
1071
     * CreativeWork.
1072
     *
1073
     * @param \Spatie\SchemaOrg\CreativeWork $hasPart
1074
     *
1075
     * @return static
1076
     *
1077
     * @see http://schema.org/hasPart
1078
     */
1079
    public function hasPart($hasPart)
1080
    {
1081
        return $this->setProperty('hasPart', $hasPart);
1082
    }
1083
1084
    /**
1085
     * Example/instance/realization/derivation of the concept of this creative
1086
     * work. eg. The paperback edition, first edition, or eBook.
1087
     *
1088
     * @param \Spatie\SchemaOrg\CreativeWork $workExample
1089
     *
1090
     * @return static
1091
     *
1092
     * @see http://schema.org/workExample
1093
     */
1094
    public function workExample($workExample)
1095
    {
1096
        return $this->setProperty('workExample', $workExample);
1097
    }
1098
1099
    /**
1100
     * A creative work that this work is an
1101
     * example/instance/realization/derivation of.
1102
     *
1103
     * @param \Spatie\SchemaOrg\CreativeWork $exampleOfWork
1104
     *
1105
     * @return static
1106
     *
1107
     * @see http://schema.org/exampleOfWork
1108
     */
1109
    public function exampleOfWork($exampleOfWork)
1110
    {
1111
        return $this->setProperty('exampleOfWork', $exampleOfWork);
1112
    }
1113
1114
    /**
1115
     * Fictional person connected with a creative work.
1116
     *
1117
     * @param \Spatie\SchemaOrg\Person $character
1118
     *
1119
     * @return static
1120
     *
1121
     * @see http://schema.org/character
1122
     */
1123
    public function character($character)
1124
    {
1125
        return $this->setProperty('character', $character);
1126
    }
1127
1128
    /**
1129
     * Organization or person who adapts a creative work to different languages,
1130
     * regional differences and technical requirements of a target market, or
1131
     * that translates during some event.
1132
     *
1133
     * @param \Spatie\SchemaOrg\Person|\Spatie\SchemaOrg\Organization $translator
1134
     *
1135
     * @return static
1136
     *
1137
     * @see http://schema.org/translator
1138
     */
1139
    public function translator($translator)
1140
    {
1141
        return $this->setProperty('translator', $translator);
1142
    }
1143
1144
    /**
1145
     * The place and time the release was issued, expressed as a
1146
     * PublicationEvent.
1147
     *
1148
     * @param \Spatie\SchemaOrg\PublicationEvent $releasedEvent
1149
     *
1150
     * @return static
1151
     *
1152
     * @see http://schema.org/releasedEvent
1153
     */
1154
    public function releasedEvent($releasedEvent)
1155
    {
1156
        return $this->setProperty('releasedEvent', $releasedEvent);
1157
    }
1158
1159
    /**
1160
     * A material that something is made from, e.g. leather, wool, cotton,
1161
     * paper.
1162
     *
1163
     * @param string|\Spatie\SchemaOrg\Product $material
1164
     *
1165
     * @return static
1166
     *
1167
     * @see http://schema.org/material
1168
     */
1169
    public function material($material)
1170
    {
1171
        return $this->setProperty('material', $material);
1172
    }
1173
1174
    /**
1175
     * The number of interactions for the CreativeWork using the WebSite or
1176
     * SoftwareApplication. The most specific child type of InteractionCounter
1177
     * should be used.
1178
     *
1179
     * @param \Spatie\SchemaOrg\InteractionCounter $interactionStatistic
1180
     *
1181
     * @return static
1182
     *
1183
     * @see http://schema.org/interactionStatistic
1184
     */
1185
    public function interactionStatistic($interactionStatistic)
1186
    {
1187
        return $this->setProperty('interactionStatistic', $interactionStatistic);
1188
    }
1189
1190
    /**
1191
     * The human sensory perceptual system or cognitive faculty through which a
1192
     * person may process or perceive information. Expected values include:
1193
     * auditory, tactile, textual, visual, colorDependent, chartOnVisual,
1194
     * chemOnVisual, diagramOnVisual, mathOnVisual, musicOnVisual, textOnVisual.
1195
     *
1196
     * @param string $accessMode
1197
     *
1198
     * @return static
1199
     *
1200
     * @see http://schema.org/accessMode
1201
     */
1202
    public function accessMode($accessMode)
1203
    {
1204
        return $this->setProperty('accessMode', $accessMode);
1205
    }
1206
1207
    /**
1208
     * A list of single or combined accessModes that are sufficient to
1209
     * understand all the intellectual content of a resource. Expected values
1210
     * include:  auditory, tactile, textual, visual.
1211
     *
1212
     * @param string $accessModeSufficient
1213
     *
1214
     * @return static
1215
     *
1216
     * @see http://schema.org/accessModeSufficient
1217
     */
1218
    public function accessModeSufficient($accessModeSufficient)
1219
    {
1220
        return $this->setProperty('accessModeSufficient', $accessModeSufficient);
1221
    }
1222
1223
    /**
1224
     * A human-readable summary of specific accessibility features or
1225
     * deficiencies, consistent with the other accessibility metadata but
1226
     * expressing subtleties such as "short descriptions are present but long
1227
     * descriptions will be needed for non-visual users" or "short descriptions
1228
     * are present and no long descriptions are needed."
1229
     *
1230
     * @param string $accessibilitySummary
1231
     *
1232
     * @return static
1233
     *
1234
     * @see http://schema.org/accessibilitySummary
1235
     */
1236
    public function accessibilitySummary($accessibilitySummary)
1237
    {
1238
        return $this->setProperty('accessibilitySummary', $accessibilitySummary);
1239
    }
1240
1241
}
1242