1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
/* |
6
|
|
|
* This file is part of the Superdesk Web Publisher Core Bundle. |
7
|
|
|
* |
8
|
|
|
* Copyright 2020 Sourcefabric z.ú. and contributors. |
9
|
|
|
* |
10
|
|
|
* For the full copyright and license information, please see the |
11
|
|
|
* AUTHORS and LICENSE files distributed with this source code. |
12
|
|
|
* |
13
|
|
|
* @copyright 2020 Sourcefabric z.ú |
14
|
|
|
* @license http://www.superdesk.org/license |
15
|
|
|
*/ |
16
|
|
|
|
17
|
|
|
namespace SWP\Bundle\CoreBundle\AppleNews\Document; |
18
|
|
|
|
19
|
|
|
use Symfony\Component\Serializer\Annotation\SerializedName; |
20
|
|
|
|
21
|
|
|
class ComponentTextStyles |
22
|
|
|
{ |
23
|
|
|
/** @var ComponentTextStyle */ |
24
|
|
|
private $default; |
25
|
|
|
|
26
|
|
|
/** |
27
|
|
|
* @SerializedName("default-body") |
28
|
|
|
* |
29
|
|
|
* @var ComponentTextStyle |
30
|
|
|
*/ |
31
|
|
|
private $defaultBody; |
32
|
|
|
|
33
|
|
|
/** |
34
|
|
|
* @SerializedName("default-title") |
35
|
|
|
* |
36
|
|
|
* @var ComponentTextStyle |
37
|
|
|
*/ |
38
|
|
|
private $defaultTitle; |
39
|
|
|
|
40
|
|
|
/** |
41
|
|
|
* @SerializedName("default-intro") |
42
|
|
|
* |
43
|
|
|
* @var ComponentTextStyle |
44
|
|
|
*/ |
45
|
|
|
private $defaultIntro; |
46
|
|
|
|
47
|
|
|
/** |
48
|
|
|
* @SerializedName("default-byline") |
49
|
|
|
* |
50
|
|
|
* @var ComponentTextStyle |
51
|
|
|
*/ |
52
|
|
|
private $defaultByline; |
53
|
|
|
|
54
|
|
|
/** |
55
|
|
|
* @SerializedName("default-quote") |
56
|
|
|
* |
57
|
|
|
* @var ComponentTextStyle|null |
58
|
|
|
*/ |
59
|
|
|
private $defaultQuote; |
60
|
|
|
|
61
|
|
|
/** |
62
|
|
|
* @SerializedName("default-caption") |
63
|
|
|
* |
64
|
|
|
* @var ComponentTextStyle|null |
65
|
|
|
*/ |
66
|
|
|
private $defaultCaption; |
67
|
|
|
|
68
|
|
|
public function getDefault(): ComponentTextStyle |
69
|
|
|
{ |
70
|
|
|
return $this->default; |
71
|
|
|
} |
72
|
|
|
|
73
|
|
|
public function setDefault(ComponentTextStyle $default): void |
74
|
|
|
{ |
75
|
|
|
$this->default = $default; |
76
|
|
|
} |
77
|
|
|
|
78
|
|
|
public function getDefaultBody(): ComponentTextStyle |
79
|
|
|
{ |
80
|
|
|
return $this->defaultBody; |
81
|
|
|
} |
82
|
|
|
|
83
|
|
|
public function setDefaultBody(ComponentTextStyle $defaultBody): void |
84
|
|
|
{ |
85
|
|
|
$this->defaultBody = $defaultBody; |
86
|
|
|
} |
87
|
|
|
|
88
|
|
|
public function getDefaultTitle(): ?ComponentTextStyle |
89
|
|
|
{ |
90
|
|
|
return $this->defaultTitle; |
91
|
|
|
} |
92
|
|
|
|
93
|
|
|
public function setDefaultTitle(ComponentTextStyle $defaultTitle): void |
94
|
|
|
{ |
95
|
|
|
$this->defaultTitle = $defaultTitle; |
96
|
|
|
} |
97
|
|
|
|
98
|
|
|
public function getDefaultIntro(): ?ComponentTextStyle |
99
|
|
|
{ |
100
|
|
|
return $this->defaultIntro; |
101
|
|
|
} |
102
|
|
|
|
103
|
|
|
public function setDefaultIntro(ComponentTextStyle $defaultIntro): void |
104
|
|
|
{ |
105
|
|
|
$this->defaultIntro = $defaultIntro; |
106
|
|
|
} |
107
|
|
|
|
108
|
|
|
public function getDefaultByline(): ?ComponentTextStyle |
109
|
|
|
{ |
110
|
|
|
return $this->defaultByline; |
111
|
|
|
} |
112
|
|
|
|
113
|
|
|
public function setDefaultByline(ComponentTextStyle $defaultByline): void |
114
|
|
|
{ |
115
|
|
|
$this->defaultByline = $defaultByline; |
116
|
|
|
} |
117
|
|
|
|
118
|
|
|
public function getDefaultQuote(): ?ComponentTextStyle |
119
|
|
|
{ |
120
|
|
|
return $this->defaultQuote; |
121
|
|
|
} |
122
|
|
|
|
123
|
|
|
public function setDefaultQuote(?ComponentTextStyle $defaultQuote): void |
124
|
|
|
{ |
125
|
|
|
$this->defaultQuote = $defaultQuote; |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
public function getDefaultCaption(): ?ComponentTextStyle |
129
|
|
|
{ |
130
|
|
|
return $this->defaultCaption; |
131
|
|
|
} |
132
|
|
|
|
133
|
|
|
public function setDefaultCaption(?ComponentTextStyle $defaultCaption): void |
134
|
|
|
{ |
135
|
|
|
$this->defaultCaption = $defaultCaption; |
136
|
|
|
} |
137
|
|
|
} |
138
|
|
|
|