1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Spatie\SchemaOrg; |
4
|
|
|
|
5
|
|
|
/** |
6
|
|
|
* A set of requirements that a must be fulfilled in order to perform an Action. |
7
|
|
|
* |
8
|
|
|
* @see http://schema.org/ActionAccessSpecification |
9
|
|
|
* |
10
|
|
|
* @mixin \Spatie\SchemaOrg\Intangible |
11
|
|
|
*/ |
12
|
|
|
class ActionAccessSpecification extends BaseType |
13
|
|
|
{ |
14
|
|
|
/** |
15
|
|
|
* |
16
|
|
|
* |
17
|
|
|
* @param $availabilityEnds |
18
|
|
|
* |
19
|
|
|
* @return static |
20
|
|
|
* |
21
|
|
|
* @see http://schema.org/availabilityEnds |
22
|
|
|
*/ |
23
|
|
|
public function availabilityEnds($availabilityEnds) |
24
|
|
|
{ |
25
|
|
|
return $this->setProperty('availabilityEnds', $availabilityEnds); |
26
|
|
|
} |
27
|
|
|
|
28
|
|
|
/** |
29
|
|
|
* |
30
|
|
|
* |
31
|
|
|
* @param $availabilityStarts |
32
|
|
|
* |
33
|
|
|
* @return static |
34
|
|
|
* |
35
|
|
|
* @see http://schema.org/availabilityStarts |
36
|
|
|
*/ |
37
|
|
|
public function availabilityStarts($availabilityStarts) |
38
|
|
|
{ |
39
|
|
|
return $this->setProperty('availabilityStarts', $availabilityStarts); |
40
|
|
|
} |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* |
44
|
|
|
* |
45
|
|
|
* @param $category |
46
|
|
|
* |
47
|
|
|
* @return static |
48
|
|
|
* |
49
|
|
|
* @see http://schema.org/category |
50
|
|
|
*/ |
51
|
|
|
public function category($category) |
52
|
|
|
{ |
53
|
|
|
return $this->setProperty('category', $category); |
54
|
|
|
} |
55
|
|
|
|
56
|
|
|
/** |
57
|
|
|
* |
58
|
|
|
* |
59
|
|
|
* @param $eligibleRegion |
60
|
|
|
* |
61
|
|
|
* @return static |
62
|
|
|
* |
63
|
|
|
* @see http://schema.org/eligibleRegion |
64
|
|
|
*/ |
65
|
|
|
public function eligibleRegion($eligibleRegion) |
66
|
|
|
{ |
67
|
|
|
return $this->setProperty('eligibleRegion', $eligibleRegion); |
68
|
|
|
} |
69
|
|
|
|
70
|
|
|
/** |
71
|
|
|
* |
72
|
|
|
* |
73
|
|
|
* @param $expectsAcceptanceOf |
74
|
|
|
* |
75
|
|
|
* @return static |
76
|
|
|
* |
77
|
|
|
* @see http://schema.org/expectsAcceptanceOf |
78
|
|
|
*/ |
79
|
|
|
public function expectsAcceptanceOf($expectsAcceptanceOf) |
80
|
|
|
{ |
81
|
|
|
return $this->setProperty('expectsAcceptanceOf', $expectsAcceptanceOf); |
82
|
|
|
} |
83
|
|
|
|
84
|
|
|
/** |
85
|
|
|
* |
86
|
|
|
* |
87
|
|
|
* @param MediaSubscription|MediaSubscription[] $requiresSubscription |
88
|
|
|
* |
89
|
|
|
* @return static |
90
|
|
|
* |
91
|
|
|
* @see http://schema.org/requiresSubscription |
92
|
|
|
*/ |
93
|
|
|
public function requiresSubscription($requiresSubscription) |
94
|
|
|
{ |
95
|
|
|
return $this->setProperty('requiresSubscription', $requiresSubscription); |
96
|
|
|
} |
97
|
|
|
|
98
|
|
|
} |
99
|
|
|
|