Completed
Push — master ( fd0635...f2796c )
by Tom
06:08
created

BroadcastService::broadcastAffiliateOf()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Spatie\SchemaOrg;
4
5
/**
6
 * A delivery service through which content is provided via broadcast over the
7
 * air or online.
8
 *
9
 * @see http://schema.org/BroadcastService
10
 *
11
 * @mixin \Spatie\SchemaOrg\Service
12
 */
13
class BroadcastService extends BaseType
14
{
15
    /**
16
     * The area within which users can expect to reach the broadcast service.
17
     *
18
     * @param Place|Place[] $area
19
     *
20
     * @return static
21
     *
22
     * @see http://schema.org/area
23
     */
24
    public function area($area)
25
    {
26
        return $this->setProperty('area', $area);
27
    }
28
29
    /**
30
     * The media network(s) whose content is broadcast on this station.
31
     *
32
     * @param Organization|Organization[] $broadcastAffiliateOf
33
     *
34
     * @return static
35
     *
36
     * @see http://schema.org/broadcastAffiliateOf
37
     */
38
    public function broadcastAffiliateOf($broadcastAffiliateOf)
39
    {
40
        return $this->setProperty('broadcastAffiliateOf', $broadcastAffiliateOf);
41
    }
42
43
    /**
44
     * The name displayed in the channel guide. For many US affiliates, it is
45
     * the network name.
46
     *
47
     * @param string|string[] $broadcastDisplayName
48
     *
49
     * @return static
50
     *
51
     * @see http://schema.org/broadcastDisplayName
52
     */
53
    public function broadcastDisplayName($broadcastDisplayName)
54
    {
55
        return $this->setProperty('broadcastDisplayName', $broadcastDisplayName);
56
    }
57
58
    /**
59
     * The frequency used for over-the-air broadcasts. Numeric values or simple
60
     * ranges e.g. 87-99. In addition a shortcut idiom is supported for
61
     * frequences of AM and FM radio channels, e.g. "87 FM".
62
     *
63
     * @param BroadcastFrequencySpecification|BroadcastFrequencySpecification[]|string|string[] $broadcastFrequency
64
     *
65
     * @return static
66
     *
67
     * @see http://schema.org/broadcastFrequency
68
     */
69
    public function broadcastFrequency($broadcastFrequency)
70
    {
71
        return $this->setProperty('broadcastFrequency', $broadcastFrequency);
72
    }
73
74
    /**
75
     * The timezone in [ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)
76
     * for which the service bases its broadcasts
77
     *
78
     * @param string|string[] $broadcastTimezone
79
     *
80
     * @return static
81
     *
82
     * @see http://schema.org/broadcastTimezone
83
     */
84
    public function broadcastTimezone($broadcastTimezone)
85
    {
86
        return $this->setProperty('broadcastTimezone', $broadcastTimezone);
87
    }
88
89
    /**
90
     * The organization owning or operating the broadcast service.
91
     *
92
     * @param Organization|Organization[] $broadcaster
93
     *
94
     * @return static
95
     *
96
     * @see http://schema.org/broadcaster
97
     */
98
    public function broadcaster($broadcaster)
99
    {
100
        return $this->setProperty('broadcaster', $broadcaster);
101
    }
102
103
    /**
104
     * A broadcast channel of a broadcast service.
105
     *
106
     * @param BroadcastChannel|BroadcastChannel[] $hasBroadcastChannel
107
     *
108
     * @return static
109
     *
110
     * @see http://schema.org/hasBroadcastChannel
111
     */
112
    public function hasBroadcastChannel($hasBroadcastChannel)
113
    {
114
        return $this->setProperty('hasBroadcastChannel', $hasBroadcastChannel);
115
    }
116
117
    /**
118
     * A broadcast service to which the broadcast service may belong to such as
119
     * regional variations of a national channel.
120
     *
121
     * @param BroadcastService|BroadcastService[] $parentService
122
     *
123
     * @return static
124
     *
125
     * @see http://schema.org/parentService
126
     */
127
    public function parentService($parentService)
128
    {
129
        return $this->setProperty('parentService', $parentService);
130
    }
131
132
    /**
133
     * The type of screening or video broadcast used (e.g. IMAX, 3D, SD, HD,
134
     * etc.).
135
     *
136
     * @param string|string[] $videoFormat
137
     *
138
     * @return static
139
     *
140
     * @see http://schema.org/videoFormat
141
     */
142
    public function videoFormat($videoFormat)
143
    {
144
        return $this->setProperty('videoFormat', $videoFormat);
145
    }
146
147
}
148