brand.dev 0.1.0.pre.alpha.8 → 0.1.0.pre.alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/README.md +1 -1
  4. data/lib/brand_dev/errors.rb +22 -0
  5. data/lib/brand_dev/internal/type/array_of.rb +6 -1
  6. data/lib/brand_dev/internal/type/base_model.rb +77 -25
  7. data/lib/brand_dev/internal/type/boolean.rb +7 -1
  8. data/lib/brand_dev/internal/type/converter.rb +42 -34
  9. data/lib/brand_dev/internal/type/enum.rb +10 -2
  10. data/lib/brand_dev/internal/type/file_input.rb +6 -1
  11. data/lib/brand_dev/internal/type/hash_of.rb +6 -1
  12. data/lib/brand_dev/internal/type/union.rb +12 -7
  13. data/lib/brand_dev/internal/type/unknown.rb +7 -1
  14. data/lib/brand_dev/models/brand_retrieve_simplified_params.rb +35 -0
  15. data/lib/brand_dev/models/brand_retrieve_simplified_response.rb +280 -0
  16. data/lib/brand_dev/models/brand_screenshot_params.rb +49 -0
  17. data/lib/brand_dev/models/brand_screenshot_response.rb +64 -0
  18. data/lib/brand_dev/models/brand_styleguide_params.rb +36 -0
  19. data/lib/brand_dev/models/brand_styleguide_response.rb +769 -0
  20. data/lib/brand_dev/models.rb +6 -0
  21. data/lib/brand_dev/resources/brand.rb +87 -0
  22. data/lib/brand_dev/version.rb +1 -1
  23. data/lib/brand_dev.rb +6 -0
  24. data/rbi/brand_dev/errors.rbi +16 -0
  25. data/rbi/brand_dev/internal/type/boolean.rbi +2 -0
  26. data/rbi/brand_dev/internal/type/converter.rbi +15 -15
  27. data/rbi/brand_dev/internal/type/union.rbi +5 -0
  28. data/rbi/brand_dev/internal/type/unknown.rbi +2 -0
  29. data/rbi/brand_dev/models/brand_retrieve_simplified_params.rbi +61 -0
  30. data/rbi/brand_dev/models/brand_retrieve_simplified_response.rbi +667 -0
  31. data/rbi/brand_dev/models/brand_screenshot_params.rbi +105 -0
  32. data/rbi/brand_dev/models/brand_screenshot_response.rbi +135 -0
  33. data/rbi/brand_dev/models/brand_styleguide_params.rbi +60 -0
  34. data/rbi/brand_dev/models/brand_styleguide_response.rbi +1648 -0
  35. data/rbi/brand_dev/models.rbi +7 -0
  36. data/rbi/brand_dev/resources/brand.rbi +66 -0
  37. data/sig/brand_dev/errors.rbs +9 -0
  38. data/sig/brand_dev/internal/type/converter.rbs +7 -1
  39. data/sig/brand_dev/models/brand_retrieve_simplified_params.rbs +30 -0
  40. data/sig/brand_dev/models/brand_retrieve_simplified_response.rbs +292 -0
  41. data/sig/brand_dev/models/brand_screenshot_params.rbs +46 -0
  42. data/sig/brand_dev/models/brand_screenshot_response.rbs +63 -0
  43. data/sig/brand_dev/models/brand_styleguide_params.rbs +30 -0
  44. data/sig/brand_dev/models/brand_styleguide_response.rbs +925 -0
  45. data/sig/brand_dev/models.rbs +6 -0
  46. data/sig/brand_dev/resources/brand.rbs +18 -0
  47. metadata +20 -2
@@ -0,0 +1,925 @@
1
+ module BrandDev
2
+ module Models
3
+ type brand_styleguide_response =
4
+ {
5
+ code: Integer,
6
+ domain: String,
7
+ status: String,
8
+ styleguide: BrandDev::Models::BrandStyleguideResponse::Styleguide
9
+ }
10
+
11
+ class BrandStyleguideResponse < BrandDev::Internal::Type::BaseModel
12
+ attr_reader code: Integer?
13
+
14
+ def code=: (Integer) -> Integer
15
+
16
+ attr_reader domain: String?
17
+
18
+ def domain=: (String) -> String
19
+
20
+ attr_reader status: String?
21
+
22
+ def status=: (String) -> String
23
+
24
+ attr_reader styleguide: BrandDev::Models::BrandStyleguideResponse::Styleguide?
25
+
26
+ def styleguide=: (
27
+ BrandDev::Models::BrandStyleguideResponse::Styleguide
28
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide
29
+
30
+ def initialize: (
31
+ ?code: Integer,
32
+ ?domain: String,
33
+ ?status: String,
34
+ ?styleguide: BrandDev::Models::BrandStyleguideResponse::Styleguide
35
+ ) -> void
36
+
37
+ def to_hash: -> {
38
+ code: Integer,
39
+ domain: String,
40
+ status: String,
41
+ styleguide: BrandDev::Models::BrandStyleguideResponse::Styleguide
42
+ }
43
+
44
+ type styleguide =
45
+ {
46
+ colors: BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors,
47
+ components: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components,
48
+ element_spacing: BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing,
49
+ shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows,
50
+ typography: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
51
+ }
52
+
53
+ class Styleguide < BrandDev::Internal::Type::BaseModel
54
+ attr_reader colors: BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors?
55
+
56
+ def colors=: (
57
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors
58
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors
59
+
60
+ attr_reader components: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components?
61
+
62
+ def components=: (
63
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Components
64
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Components
65
+
66
+ attr_reader element_spacing: BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing?
67
+
68
+ def element_spacing=: (
69
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing
70
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing
71
+
72
+ attr_reader shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows?
73
+
74
+ def shadows=: (
75
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows
76
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows
77
+
78
+ attr_reader typography: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography?
79
+
80
+ def typography=: (
81
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
82
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
83
+
84
+ def initialize: (
85
+ ?colors: BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors,
86
+ ?components: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components,
87
+ ?element_spacing: BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing,
88
+ ?shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows,
89
+ ?typography: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
90
+ ) -> void
91
+
92
+ def to_hash: -> {
93
+ colors: BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors,
94
+ components: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components,
95
+ element_spacing: BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing,
96
+ shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows,
97
+ typography: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
98
+ }
99
+
100
+ type colors = { accent: String, background: String, text: String }
101
+
102
+ class Colors < BrandDev::Internal::Type::BaseModel
103
+ attr_reader accent: String?
104
+
105
+ def accent=: (String) -> String
106
+
107
+ attr_reader background: String?
108
+
109
+ def background=: (String) -> String
110
+
111
+ attr_reader text: String?
112
+
113
+ def text=: (String) -> String
114
+
115
+ def initialize: (
116
+ ?accent: String,
117
+ ?background: String,
118
+ ?text: String
119
+ ) -> void
120
+
121
+ def to_hash: -> { accent: String, background: String, text: String }
122
+ end
123
+
124
+ type components =
125
+ {
126
+ button: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button,
127
+ card: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Card
128
+ }
129
+
130
+ class Components < BrandDev::Internal::Type::BaseModel
131
+ attr_reader button: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button?
132
+
133
+ def button=: (
134
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button
135
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button
136
+
137
+ attr_reader card: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Card?
138
+
139
+ def card=: (
140
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Card
141
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Card
142
+
143
+ def initialize: (
144
+ ?button: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button,
145
+ ?card: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Card
146
+ ) -> void
147
+
148
+ def to_hash: -> {
149
+ button: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button,
150
+ card: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Card
151
+ }
152
+
153
+ type button =
154
+ {
155
+ link: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Link,
156
+ primary: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Primary,
157
+ secondary: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Secondary
158
+ }
159
+
160
+ class Button < BrandDev::Internal::Type::BaseModel
161
+ attr_reader link: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Link?
162
+
163
+ def link=: (
164
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Link
165
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Link
166
+
167
+ attr_reader primary: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Primary?
168
+
169
+ def primary=: (
170
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Primary
171
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Primary
172
+
173
+ attr_reader secondary: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Secondary?
174
+
175
+ def secondary=: (
176
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Secondary
177
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Secondary
178
+
179
+ def initialize: (
180
+ ?link: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Link,
181
+ ?primary: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Primary,
182
+ ?secondary: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Secondary
183
+ ) -> void
184
+
185
+ def to_hash: -> {
186
+ link: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Link,
187
+ primary: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Primary,
188
+ secondary: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::Button::Secondary
189
+ }
190
+
191
+ type link =
192
+ {
193
+ background_color: String,
194
+ border_color: String,
195
+ border_radius: String,
196
+ border_style: String,
197
+ border_width: String,
198
+ box_shadow: String,
199
+ color: String,
200
+ font_size: String,
201
+ font_weight: Float,
202
+ padding: String,
203
+ text_decoration: String
204
+ }
205
+
206
+ class Link < BrandDev::Internal::Type::BaseModel
207
+ attr_reader background_color: String?
208
+
209
+ def background_color=: (String) -> String
210
+
211
+ attr_reader border_color: String?
212
+
213
+ def border_color=: (String) -> String
214
+
215
+ attr_reader border_radius: String?
216
+
217
+ def border_radius=: (String) -> String
218
+
219
+ attr_reader border_style: String?
220
+
221
+ def border_style=: (String) -> String
222
+
223
+ attr_reader border_width: String?
224
+
225
+ def border_width=: (String) -> String
226
+
227
+ attr_reader box_shadow: String?
228
+
229
+ def box_shadow=: (String) -> String
230
+
231
+ attr_reader color: String?
232
+
233
+ def color=: (String) -> String
234
+
235
+ attr_reader font_size: String?
236
+
237
+ def font_size=: (String) -> String
238
+
239
+ attr_reader font_weight: Float?
240
+
241
+ def font_weight=: (Float) -> Float
242
+
243
+ attr_reader padding: String?
244
+
245
+ def padding=: (String) -> String
246
+
247
+ attr_reader text_decoration: String?
248
+
249
+ def text_decoration=: (String) -> String
250
+
251
+ def initialize: (
252
+ ?background_color: String,
253
+ ?border_color: String,
254
+ ?border_radius: String,
255
+ ?border_style: String,
256
+ ?border_width: String,
257
+ ?box_shadow: String,
258
+ ?color: String,
259
+ ?font_size: String,
260
+ ?font_weight: Float,
261
+ ?padding: String,
262
+ ?text_decoration: String
263
+ ) -> void
264
+
265
+ def to_hash: -> {
266
+ background_color: String,
267
+ border_color: String,
268
+ border_radius: String,
269
+ border_style: String,
270
+ border_width: String,
271
+ box_shadow: String,
272
+ color: String,
273
+ font_size: String,
274
+ font_weight: Float,
275
+ padding: String,
276
+ text_decoration: String
277
+ }
278
+ end
279
+
280
+ type primary =
281
+ {
282
+ background_color: String,
283
+ border_color: String,
284
+ border_radius: String,
285
+ border_style: String,
286
+ border_width: String,
287
+ box_shadow: String,
288
+ color: String,
289
+ font_size: String,
290
+ font_weight: Float,
291
+ padding: String,
292
+ text_decoration: String
293
+ }
294
+
295
+ class Primary < BrandDev::Internal::Type::BaseModel
296
+ attr_reader background_color: String?
297
+
298
+ def background_color=: (String) -> String
299
+
300
+ attr_reader border_color: String?
301
+
302
+ def border_color=: (String) -> String
303
+
304
+ attr_reader border_radius: String?
305
+
306
+ def border_radius=: (String) -> String
307
+
308
+ attr_reader border_style: String?
309
+
310
+ def border_style=: (String) -> String
311
+
312
+ attr_reader border_width: String?
313
+
314
+ def border_width=: (String) -> String
315
+
316
+ attr_reader box_shadow: String?
317
+
318
+ def box_shadow=: (String) -> String
319
+
320
+ attr_reader color: String?
321
+
322
+ def color=: (String) -> String
323
+
324
+ attr_reader font_size: String?
325
+
326
+ def font_size=: (String) -> String
327
+
328
+ attr_reader font_weight: Float?
329
+
330
+ def font_weight=: (Float) -> Float
331
+
332
+ attr_reader padding: String?
333
+
334
+ def padding=: (String) -> String
335
+
336
+ attr_reader text_decoration: String?
337
+
338
+ def text_decoration=: (String) -> String
339
+
340
+ def initialize: (
341
+ ?background_color: String,
342
+ ?border_color: String,
343
+ ?border_radius: String,
344
+ ?border_style: String,
345
+ ?border_width: String,
346
+ ?box_shadow: String,
347
+ ?color: String,
348
+ ?font_size: String,
349
+ ?font_weight: Float,
350
+ ?padding: String,
351
+ ?text_decoration: String
352
+ ) -> void
353
+
354
+ def to_hash: -> {
355
+ background_color: String,
356
+ border_color: String,
357
+ border_radius: String,
358
+ border_style: String,
359
+ border_width: String,
360
+ box_shadow: String,
361
+ color: String,
362
+ font_size: String,
363
+ font_weight: Float,
364
+ padding: String,
365
+ text_decoration: String
366
+ }
367
+ end
368
+
369
+ type secondary =
370
+ {
371
+ background_color: String,
372
+ border_color: String,
373
+ border_radius: String,
374
+ border_style: String,
375
+ border_width: String,
376
+ box_shadow: String,
377
+ color: String,
378
+ font_size: String,
379
+ font_weight: Float,
380
+ padding: String,
381
+ text_decoration: String
382
+ }
383
+
384
+ class Secondary < BrandDev::Internal::Type::BaseModel
385
+ attr_reader background_color: String?
386
+
387
+ def background_color=: (String) -> String
388
+
389
+ attr_reader border_color: String?
390
+
391
+ def border_color=: (String) -> String
392
+
393
+ attr_reader border_radius: String?
394
+
395
+ def border_radius=: (String) -> String
396
+
397
+ attr_reader border_style: String?
398
+
399
+ def border_style=: (String) -> String
400
+
401
+ attr_reader border_width: String?
402
+
403
+ def border_width=: (String) -> String
404
+
405
+ attr_reader box_shadow: String?
406
+
407
+ def box_shadow=: (String) -> String
408
+
409
+ attr_reader color: String?
410
+
411
+ def color=: (String) -> String
412
+
413
+ attr_reader font_size: String?
414
+
415
+ def font_size=: (String) -> String
416
+
417
+ attr_reader font_weight: Float?
418
+
419
+ def font_weight=: (Float) -> Float
420
+
421
+ attr_reader padding: String?
422
+
423
+ def padding=: (String) -> String
424
+
425
+ attr_reader text_decoration: String?
426
+
427
+ def text_decoration=: (String) -> String
428
+
429
+ def initialize: (
430
+ ?background_color: String,
431
+ ?border_color: String,
432
+ ?border_radius: String,
433
+ ?border_style: String,
434
+ ?border_width: String,
435
+ ?box_shadow: String,
436
+ ?color: String,
437
+ ?font_size: String,
438
+ ?font_weight: Float,
439
+ ?padding: String,
440
+ ?text_decoration: String
441
+ ) -> void
442
+
443
+ def to_hash: -> {
444
+ background_color: String,
445
+ border_color: String,
446
+ border_radius: String,
447
+ border_style: String,
448
+ border_width: String,
449
+ box_shadow: String,
450
+ color: String,
451
+ font_size: String,
452
+ font_weight: Float,
453
+ padding: String,
454
+ text_decoration: String
455
+ }
456
+ end
457
+ end
458
+
459
+ type card =
460
+ {
461
+ background_color: String,
462
+ border_color: String,
463
+ border_radius: String,
464
+ border_style: String,
465
+ border_width: String,
466
+ box_shadow: String,
467
+ padding: String,
468
+ text_color: String
469
+ }
470
+
471
+ class Card < BrandDev::Internal::Type::BaseModel
472
+ attr_reader background_color: String?
473
+
474
+ def background_color=: (String) -> String
475
+
476
+ attr_reader border_color: String?
477
+
478
+ def border_color=: (String) -> String
479
+
480
+ attr_reader border_radius: String?
481
+
482
+ def border_radius=: (String) -> String
483
+
484
+ attr_reader border_style: String?
485
+
486
+ def border_style=: (String) -> String
487
+
488
+ attr_reader border_width: String?
489
+
490
+ def border_width=: (String) -> String
491
+
492
+ attr_reader box_shadow: String?
493
+
494
+ def box_shadow=: (String) -> String
495
+
496
+ attr_reader padding: String?
497
+
498
+ def padding=: (String) -> String
499
+
500
+ attr_reader text_color: String?
501
+
502
+ def text_color=: (String) -> String
503
+
504
+ def initialize: (
505
+ ?background_color: String,
506
+ ?border_color: String,
507
+ ?border_radius: String,
508
+ ?border_style: String,
509
+ ?border_width: String,
510
+ ?box_shadow: String,
511
+ ?padding: String,
512
+ ?text_color: String
513
+ ) -> void
514
+
515
+ def to_hash: -> {
516
+ background_color: String,
517
+ border_color: String,
518
+ border_radius: String,
519
+ border_style: String,
520
+ border_width: String,
521
+ box_shadow: String,
522
+ padding: String,
523
+ text_color: String
524
+ }
525
+ end
526
+ end
527
+
528
+ type element_spacing =
529
+ { lg: String, md: String, sm: String, xl: String, xs: String }
530
+
531
+ class ElementSpacing < BrandDev::Internal::Type::BaseModel
532
+ attr_reader lg: String?
533
+
534
+ def lg=: (String) -> String
535
+
536
+ attr_reader md: String?
537
+
538
+ def md=: (String) -> String
539
+
540
+ attr_reader sm: String?
541
+
542
+ def sm=: (String) -> String
543
+
544
+ attr_reader xl: String?
545
+
546
+ def xl=: (String) -> String
547
+
548
+ attr_reader xs: String?
549
+
550
+ def xs=: (String) -> String
551
+
552
+ def initialize: (
553
+ ?lg: String,
554
+ ?md: String,
555
+ ?sm: String,
556
+ ?xl: String,
557
+ ?xs: String
558
+ ) -> void
559
+
560
+ def to_hash: -> {
561
+ lg: String,
562
+ md: String,
563
+ sm: String,
564
+ xl: String,
565
+ xs: String
566
+ }
567
+ end
568
+
569
+ type shadows =
570
+ { inner: String, lg: String, md: String, sm: String, xl: String }
571
+
572
+ class Shadows < BrandDev::Internal::Type::BaseModel
573
+ attr_reader inner: String?
574
+
575
+ def inner=: (String) -> String
576
+
577
+ attr_reader lg: String?
578
+
579
+ def lg=: (String) -> String
580
+
581
+ attr_reader md: String?
582
+
583
+ def md=: (String) -> String
584
+
585
+ attr_reader sm: String?
586
+
587
+ def sm=: (String) -> String
588
+
589
+ attr_reader xl: String?
590
+
591
+ def xl=: (String) -> String
592
+
593
+ def initialize: (
594
+ ?inner: String,
595
+ ?lg: String,
596
+ ?md: String,
597
+ ?sm: String,
598
+ ?xl: String
599
+ ) -> void
600
+
601
+ def to_hash: -> {
602
+ inner: String,
603
+ lg: String,
604
+ md: String,
605
+ sm: String,
606
+ xl: String
607
+ }
608
+ end
609
+
610
+ type typography =
611
+ {
612
+ headings: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings,
613
+ p_: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::P
614
+ }
615
+
616
+ class Typography < BrandDev::Internal::Type::BaseModel
617
+ attr_reader headings: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings?
618
+
619
+ def headings=: (
620
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings
621
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings
622
+
623
+ attr_reader p_: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::P?
624
+
625
+ def p_=: (
626
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::P
627
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::P
628
+
629
+ def initialize: (
630
+ ?headings: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings,
631
+ ?p_: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::P
632
+ ) -> void
633
+
634
+ def to_hash: -> {
635
+ headings: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings,
636
+ p_: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::P
637
+ }
638
+
639
+ type headings =
640
+ {
641
+ :h1 => BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H1,
642
+ :h2 => BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H2,
643
+ :h3 => BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H3,
644
+ :h4 => BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H4
645
+ }
646
+
647
+ class Headings < BrandDev::Internal::Type::BaseModel
648
+ attr_reader h1: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H1?
649
+
650
+ def h1=: (
651
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H1
652
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H1
653
+
654
+ attr_reader h2: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H2?
655
+
656
+ def h2=: (
657
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H2
658
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H2
659
+
660
+ attr_reader h3: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H3?
661
+
662
+ def h3=: (
663
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H3
664
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H3
665
+
666
+ attr_reader h4: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H4?
667
+
668
+ def h4=: (
669
+ BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H4
670
+ ) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H4
671
+
672
+ def initialize: (
673
+ ?h1: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H1,
674
+ ?h2: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H2,
675
+ ?h3: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H3,
676
+ ?h4: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H4
677
+ ) -> void
678
+
679
+ def to_hash: -> {
680
+ :h1 => BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H1,
681
+ :h2 => BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H2,
682
+ :h3 => BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H3,
683
+ :h4 => BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography::Headings::H4
684
+ }
685
+
686
+ type h1 =
687
+ {
688
+ font_family: String,
689
+ font_size: String,
690
+ font_weight: Float,
691
+ letter_spacing: String,
692
+ line_height: String
693
+ }
694
+
695
+ class H1 < BrandDev::Internal::Type::BaseModel
696
+ attr_reader font_family: String?
697
+
698
+ def font_family=: (String) -> String
699
+
700
+ attr_reader font_size: String?
701
+
702
+ def font_size=: (String) -> String
703
+
704
+ attr_reader font_weight: Float?
705
+
706
+ def font_weight=: (Float) -> Float
707
+
708
+ attr_reader letter_spacing: String?
709
+
710
+ def letter_spacing=: (String) -> String
711
+
712
+ attr_reader line_height: String?
713
+
714
+ def line_height=: (String) -> String
715
+
716
+ def initialize: (
717
+ ?font_family: String,
718
+ ?font_size: String,
719
+ ?font_weight: Float,
720
+ ?letter_spacing: String,
721
+ ?line_height: String
722
+ ) -> void
723
+
724
+ def to_hash: -> {
725
+ font_family: String,
726
+ font_size: String,
727
+ font_weight: Float,
728
+ letter_spacing: String,
729
+ line_height: String
730
+ }
731
+ end
732
+
733
+ type h2 =
734
+ {
735
+ font_family: String,
736
+ font_size: String,
737
+ font_weight: Float,
738
+ letter_spacing: String,
739
+ line_height: String
740
+ }
741
+
742
+ class H2 < BrandDev::Internal::Type::BaseModel
743
+ attr_reader font_family: String?
744
+
745
+ def font_family=: (String) -> String
746
+
747
+ attr_reader font_size: String?
748
+
749
+ def font_size=: (String) -> String
750
+
751
+ attr_reader font_weight: Float?
752
+
753
+ def font_weight=: (Float) -> Float
754
+
755
+ attr_reader letter_spacing: String?
756
+
757
+ def letter_spacing=: (String) -> String
758
+
759
+ attr_reader line_height: String?
760
+
761
+ def line_height=: (String) -> String
762
+
763
+ def initialize: (
764
+ ?font_family: String,
765
+ ?font_size: String,
766
+ ?font_weight: Float,
767
+ ?letter_spacing: String,
768
+ ?line_height: String
769
+ ) -> void
770
+
771
+ def to_hash: -> {
772
+ font_family: String,
773
+ font_size: String,
774
+ font_weight: Float,
775
+ letter_spacing: String,
776
+ line_height: String
777
+ }
778
+ end
779
+
780
+ type h3 =
781
+ {
782
+ font_family: String,
783
+ font_size: String,
784
+ font_weight: Float,
785
+ letter_spacing: String,
786
+ line_height: String
787
+ }
788
+
789
+ class H3 < BrandDev::Internal::Type::BaseModel
790
+ attr_reader font_family: String?
791
+
792
+ def font_family=: (String) -> String
793
+
794
+ attr_reader font_size: String?
795
+
796
+ def font_size=: (String) -> String
797
+
798
+ attr_reader font_weight: Float?
799
+
800
+ def font_weight=: (Float) -> Float
801
+
802
+ attr_reader letter_spacing: String?
803
+
804
+ def letter_spacing=: (String) -> String
805
+
806
+ attr_reader line_height: String?
807
+
808
+ def line_height=: (String) -> String
809
+
810
+ def initialize: (
811
+ ?font_family: String,
812
+ ?font_size: String,
813
+ ?font_weight: Float,
814
+ ?letter_spacing: String,
815
+ ?line_height: String
816
+ ) -> void
817
+
818
+ def to_hash: -> {
819
+ font_family: String,
820
+ font_size: String,
821
+ font_weight: Float,
822
+ letter_spacing: String,
823
+ line_height: String
824
+ }
825
+ end
826
+
827
+ type h4 =
828
+ {
829
+ font_family: String,
830
+ font_size: String,
831
+ font_weight: Float,
832
+ letter_spacing: String,
833
+ line_height: String
834
+ }
835
+
836
+ class H4 < BrandDev::Internal::Type::BaseModel
837
+ attr_reader font_family: String?
838
+
839
+ def font_family=: (String) -> String
840
+
841
+ attr_reader font_size: String?
842
+
843
+ def font_size=: (String) -> String
844
+
845
+ attr_reader font_weight: Float?
846
+
847
+ def font_weight=: (Float) -> Float
848
+
849
+ attr_reader letter_spacing: String?
850
+
851
+ def letter_spacing=: (String) -> String
852
+
853
+ attr_reader line_height: String?
854
+
855
+ def line_height=: (String) -> String
856
+
857
+ def initialize: (
858
+ ?font_family: String,
859
+ ?font_size: String,
860
+ ?font_weight: Float,
861
+ ?letter_spacing: String,
862
+ ?line_height: String
863
+ ) -> void
864
+
865
+ def to_hash: -> {
866
+ font_family: String,
867
+ font_size: String,
868
+ font_weight: Float,
869
+ letter_spacing: String,
870
+ line_height: String
871
+ }
872
+ end
873
+ end
874
+
875
+ type p_ =
876
+ {
877
+ font_family: String,
878
+ font_size: String,
879
+ font_weight: Float,
880
+ letter_spacing: String,
881
+ line_height: String
882
+ }
883
+
884
+ class P < BrandDev::Internal::Type::BaseModel
885
+ attr_reader font_family: String?
886
+
887
+ def font_family=: (String) -> String
888
+
889
+ attr_reader font_size: String?
890
+
891
+ def font_size=: (String) -> String
892
+
893
+ attr_reader font_weight: Float?
894
+
895
+ def font_weight=: (Float) -> Float
896
+
897
+ attr_reader letter_spacing: String?
898
+
899
+ def letter_spacing=: (String) -> String
900
+
901
+ attr_reader line_height: String?
902
+
903
+ def line_height=: (String) -> String
904
+
905
+ def initialize: (
906
+ ?font_family: String,
907
+ ?font_size: String,
908
+ ?font_weight: Float,
909
+ ?letter_spacing: String,
910
+ ?line_height: String
911
+ ) -> void
912
+
913
+ def to_hash: -> {
914
+ font_family: String,
915
+ font_size: String,
916
+ font_weight: Float,
917
+ letter_spacing: String,
918
+ line_height: String
919
+ }
920
+ end
921
+ end
922
+ end
923
+ end
924
+ end
925
+ end