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

BroadcastChannel::broadcastFrequency()   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 unique instance of a BroadcastService on a CableOrSatelliteService lineup.
7
 *
8
 * @see http://schema.org/BroadcastChannel
9
 *
10
 * @mixin \Spatie\SchemaOrg\Intangible
11
 */
12
class BroadcastChannel extends BaseType
13
{
14
    /**
15
     * The unique address by which the BroadcastService can be identified in a
16
     * provider lineup. In US, this is typically a number.
17
     *
18
     * @param string|string[] $broadcastChannelId
19
     *
20
     * @return static
21
     *
22
     * @see http://schema.org/broadcastChannelId
23
     */
24
    public function broadcastChannelId($broadcastChannelId)
25
    {
26
        return $this->setProperty('broadcastChannelId', $broadcastChannelId);
27
    }
28
29
    /**
30
     * The frequency used for over-the-air broadcasts. Numeric values or simple
31
     * ranges e.g. 87-99. In addition a shortcut idiom is supported for
32
     * frequences of AM and FM radio channels, e.g. "87 FM".
33
     *
34
     * @param BroadcastFrequencySpecification|BroadcastFrequencySpecification[]|string|string[] $broadcastFrequency
35
     *
36
     * @return static
37
     *
38
     * @see http://schema.org/broadcastFrequency
39
     */
40
    public function broadcastFrequency($broadcastFrequency)
41
    {
42
        return $this->setProperty('broadcastFrequency', $broadcastFrequency);
43
    }
44
45
    /**
46
     * The type of service required to have access to the channel (e.g. Standard
47
     * or Premium).
48
     *
49
     * @param string|string[] $broadcastServiceTier
50
     *
51
     * @return static
52
     *
53
     * @see http://schema.org/broadcastServiceTier
54
     */
55
    public function broadcastServiceTier($broadcastServiceTier)
56
    {
57
        return $this->setProperty('broadcastServiceTier', $broadcastServiceTier);
58
    }
59
60
    /**
61
     * Genre of the creative work, broadcast channel or group.
62
     *
63
     * @param string|string[] $genre
64
     *
65
     * @return static
66
     *
67
     * @see http://schema.org/genre
68
     */
69
    public function genre($genre)
70
    {
71
        return $this->setProperty('genre', $genre);
72
    }
73
74
    /**
75
     * The CableOrSatelliteService offering the channel.
76
     *
77
     * @param CableOrSatelliteService|CableOrSatelliteService[] $inBroadcastLineup
78
     *
79
     * @return static
80
     *
81
     * @see http://schema.org/inBroadcastLineup
82
     */
83
    public function inBroadcastLineup($inBroadcastLineup)
84
    {
85
        return $this->setProperty('inBroadcastLineup', $inBroadcastLineup);
86
    }
87
88
    /**
89
     * The BroadcastService offered on this channel.
90
     *
91
     * @param BroadcastService|BroadcastService[] $providesBroadcastService
92
     *
93
     * @return static
94
     *
95
     * @see http://schema.org/providesBroadcastService
96
     */
97
    public function providesBroadcastService($providesBroadcastService)
98
    {
99
        return $this->setProperty('providesBroadcastService', $providesBroadcastService);
100
    }
101
102
}
103