@@ -38,10 +38,35 @@ class Bundle extends BaseModel
38
38
protected $ exportPattern ;
39
39
40
40
/**
41
- * @var string[]
41
+ * @var bool
42
+ */
43
+ protected $ isMultilingual ;
44
+
45
+ /**
46
+ * @var bool
47
+ */
48
+ protected $ includeProjectSourceLanguage ;
49
+
50
+ /**
51
+ * @var bool
52
+ */
53
+ protected $ includeInContextPseudoLanguage ;
54
+
55
+ /**
56
+ * @var int[]
42
57
*/
43
58
protected $ labelIds ;
44
59
60
+ /**
61
+ * @var int[]
62
+ */
63
+ protected $ excludeLabelIds ;
64
+
65
+ /**
66
+ * @var string
67
+ */
68
+ protected $ webUrl ;
69
+
45
70
/**
46
71
* @var string
47
72
*/
@@ -62,126 +87,155 @@ public function __construct(array $data = [])
62
87
$ this ->sourcePatterns = (array )$ this ->getDataProperty ('sourcePatterns ' );
63
88
$ this ->ignorePatterns = (array )$ this ->getDataProperty ('ignorePatterns ' );
64
89
$ this ->exportPattern = (string )$ this ->getDataProperty ('exportPattern ' );
90
+ $ this ->isMultilingual = (bool )$ this ->getDataProperty ('isMultilingual ' );
91
+ $ this ->includeProjectSourceLanguage = (bool )$ this ->getDataProperty ('includeProjectSourceLanguage ' );
92
+ $ this ->includeInContextPseudoLanguage = (bool )$ this ->getDataProperty ('includeInContextPseudoLanguage ' );
65
93
$ this ->labelIds = (array )$ this ->getDataProperty ('labelIds ' );
94
+ $ this ->excludeLabelIds = (array )$ this ->getDataProperty ('excludeLabelIds ' );
95
+ $ this ->webUrl = (string )$ this ->getDataProperty ('webUrl ' );
66
96
$ this ->createdAt = (string )$ this ->getDataProperty ('createdAt ' );
67
97
$ this ->updatedAt = (string )$ this ->getDataProperty ('updatedAt ' );
68
98
}
69
99
70
- /**
71
- * @return int
72
- */
73
100
public function getId (): int
74
101
{
75
102
return $ this ->id ;
76
103
}
77
104
78
- /**
79
- * @return string
80
- */
81
105
public function getName (): string
82
106
{
83
107
return $ this ->name ;
84
108
}
85
109
86
- /**
87
- * @param string $name
88
- */
89
110
public function setName (string $ name ): void
90
111
{
91
112
$ this ->name = $ name ;
92
113
}
93
114
94
- /**
95
- * @return string
96
- */
97
115
public function getFormat (): string
98
116
{
99
117
return $ this ->format ;
100
118
}
101
119
102
- /**
103
- * @param string $format
104
- */
105
120
public function setFormat (string $ format ): void
106
121
{
107
122
$ this ->format = $ format ;
108
123
}
109
124
110
125
/**
111
- * @return array| string[]
126
+ * @return string[]
112
127
*/
113
128
public function getSourcePatterns (): array
114
129
{
115
130
return $ this ->sourcePatterns ;
116
131
}
117
132
118
133
/**
119
- * @param array| string[] $sourcePatterns
134
+ * @param string[] $sourcePatterns
120
135
*/
121
136
public function setSourcePatterns (array $ sourcePatterns ): void
122
137
{
123
138
$ this ->sourcePatterns = $ sourcePatterns ;
124
139
}
125
140
126
141
/**
127
- * @return array| string[]
142
+ * @return string[]
128
143
*/
129
144
public function getIgnorePatterns (): array
130
145
{
131
146
return $ this ->ignorePatterns ;
132
147
}
133
148
134
149
/**
135
- * @param array| string[] $ignorePatterns
150
+ * @param string[] $ignorePatterns
136
151
*/
137
152
public function setIgnorePatterns (array $ ignorePatterns ): void
138
153
{
139
154
$ this ->ignorePatterns = $ ignorePatterns ;
140
155
}
141
156
142
- /**
143
- * @return string
144
- */
145
157
public function getExportPattern (): string
146
158
{
147
159
return $ this ->exportPattern ;
148
160
}
149
161
150
- /**
151
- * @param string $exportPattern
152
- */
153
162
public function setExportPattern (string $ exportPattern ): void
154
163
{
155
164
$ this ->exportPattern = $ exportPattern ;
156
165
}
157
166
167
+ public function getIsMultilingual (): bool
168
+ {
169
+ return $ this ->isMultilingual ;
170
+ }
171
+
172
+ public function setIsMultilingual (bool $ isMultilingual ): void
173
+ {
174
+ $ this ->isMultilingual = $ isMultilingual ;
175
+ }
176
+
177
+ public function getIncludeProjectSourceLanguage (): bool
178
+ {
179
+ return $ this ->includeProjectSourceLanguage ;
180
+ }
181
+
182
+ public function setIncludeProjectSourceLanguage (bool $ includeProjectSourceLanguage ): void
183
+ {
184
+ $ this ->includeProjectSourceLanguage = $ includeProjectSourceLanguage ;
185
+ }
186
+
187
+ public function getIncludeInContextPseudoLanguage (): bool
188
+ {
189
+ return $ this ->includeInContextPseudoLanguage ;
190
+ }
191
+
192
+ public function setIncludeInContextPseudoLanguage (bool $ includeInContextPseudoLanguage ): void
193
+ {
194
+ $ this ->includeInContextPseudoLanguage = $ includeInContextPseudoLanguage ;
195
+ }
196
+
158
197
/**
159
- * @return array|string []
198
+ * @return int []
160
199
*/
161
200
public function getLabelIds (): array
162
201
{
163
202
return $ this ->labelIds ;
164
203
}
165
204
166
205
/**
167
- * @param array|string [] $labelIds
206
+ * @param int [] $labelIds
168
207
*/
169
208
public function setLabelIds (array $ labelIds ): void
170
209
{
171
210
$ this ->labelIds = $ labelIds ;
172
211
}
173
212
174
213
/**
175
- * @return string
214
+ * @return int[]
176
215
*/
177
- public function getCreatedAt (): string
216
+ public function getExcludeLabelIds (): array
178
217
{
179
- return $ this ->createdAt ;
218
+ return $ this ->excludeLabelIds ;
180
219
}
181
220
182
221
/**
183
- * @return string
222
+ * @param int[] $excludeLabelIds
184
223
*/
224
+ public function setExcludeLabelIds (array $ excludeLabelIds ): void
225
+ {
226
+ $ this ->excludeLabelIds = $ excludeLabelIds ;
227
+ }
228
+
229
+ public function getWebUrl (): string
230
+ {
231
+ return $ this ->webUrl ;
232
+ }
233
+
234
+ public function getCreatedAt (): string
235
+ {
236
+ return $ this ->createdAt ;
237
+ }
238
+
185
239
public function getUpdatedAt (): string
186
240
{
187
241
return $ this ->updatedAt ;
0 commit comments