Class: OryClient::AccountExperienceThemeVariables

Inherits:
Object
  • Object
show all
Defined in:
lib/ory-client/models/account_experience_theme_variables.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ AccountExperienceThemeVariables

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 407

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::AccountExperienceThemeVariables` initialize method"
  end

  # check to see if the attribute exists and convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h|
    if (!self.class.attribute_map.key?(k.to_sym))
      fail ArgumentError, "`#{k}` is not a valid attribute in `OryClient::AccountExperienceThemeVariables`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    end
    h[k.to_sym] = v
  }

  if attributes.key?(:'accent')
    self.accent = attributes[:'accent']
  end

  if attributes.key?(:'bg_default')
    self.bg_default = attributes[:'bg_default']
  end

  if attributes.key?(:'border_radius_branding')
    self.border_radius_branding = attributes[:'border_radius_branding']
  end

  if attributes.key?(:'border_radius_buttons')
    self.border_radius_buttons = attributes[:'border_radius_buttons']
  end

  if attributes.key?(:'border_radius_cards')
    self.border_radius_cards = attributes[:'border_radius_cards']
  end

  if attributes.key?(:'border_radius_forms')
    self.border_radius_forms = attributes[:'border_radius_forms']
  end

  if attributes.key?(:'border_radius_general')
    self.border_radius_general = attributes[:'border_radius_general']
  end

  if attributes.key?(:'button_primary_bg_default')
    self.button_primary_bg_default = attributes[:'button_primary_bg_default']
  end

  if attributes.key?(:'button_primary_bg_disabled')
    self.button_primary_bg_disabled = attributes[:'button_primary_bg_disabled']
  end

  if attributes.key?(:'button_primary_bg_hover')
    self.button_primary_bg_hover = attributes[:'button_primary_bg_hover']
  end

  if attributes.key?(:'button_primary_border_default')
    self.button_primary_border_default = attributes[:'button_primary_border_default']
  end

  if attributes.key?(:'button_primary_border_disabled')
    self.button_primary_border_disabled = attributes[:'button_primary_border_disabled']
  end

  if attributes.key?(:'button_primary_border_hover')
    self.button_primary_border_hover = attributes[:'button_primary_border_hover']
  end

  if attributes.key?(:'button_primary_fg_default')
    self.button_primary_fg_default = attributes[:'button_primary_fg_default']
  end

  if attributes.key?(:'button_primary_fg_disabled')
    self.button_primary_fg_disabled = attributes[:'button_primary_fg_disabled']
  end

  if attributes.key?(:'button_primary_fg_hover')
    self.button_primary_fg_hover = attributes[:'button_primary_fg_hover']
  end

  if attributes.key?(:'button_secondary_bg_default')
    self.button_secondary_bg_default = attributes[:'button_secondary_bg_default']
  end

  if attributes.key?(:'button_secondary_bg_disabled')
    self.button_secondary_bg_disabled = attributes[:'button_secondary_bg_disabled']
  end

  if attributes.key?(:'button_secondary_bg_hover')
    self.button_secondary_bg_hover = attributes[:'button_secondary_bg_hover']
  end

  if attributes.key?(:'button_secondary_border_default')
    self.button_secondary_border_default = attributes[:'button_secondary_border_default']
  end

  if attributes.key?(:'button_secondary_border_disabled')
    self.button_secondary_border_disabled = attributes[:'button_secondary_border_disabled']
  end

  if attributes.key?(:'button_secondary_border_hover')
    self.button_secondary_border_hover = attributes[:'button_secondary_border_hover']
  end

  if attributes.key?(:'button_secondary_fg_default')
    self.button_secondary_fg_default = attributes[:'button_secondary_fg_default']
  end

  if attributes.key?(:'button_secondary_fg_disabled')
    self.button_secondary_fg_disabled = attributes[:'button_secondary_fg_disabled']
  end

  if attributes.key?(:'button_secondary_fg_hover')
    self.button_secondary_fg_hover = attributes[:'button_secondary_fg_hover']
  end

  if attributes.key?(:'button_social_bg_default')
    self.button_social_bg_default = attributes[:'button_social_bg_default']
  end

  if attributes.key?(:'button_social_bg_disabled')
    self.button_social_bg_disabled = attributes[:'button_social_bg_disabled']
  end

  if attributes.key?(:'button_social_bg_hover')
    self.button_social_bg_hover = attributes[:'button_social_bg_hover']
  end

  if attributes.key?(:'button_social_bg_provider')
    self.button_social_bg_provider = attributes[:'button_social_bg_provider']
  end

  if attributes.key?(:'button_social_border_default')
    self.button_social_border_default = attributes[:'button_social_border_default']
  end

  if attributes.key?(:'button_social_border_disabled')
    self.button_social_border_disabled = attributes[:'button_social_border_disabled']
  end

  if attributes.key?(:'button_social_border_hover')
    self.button_social_border_hover = attributes[:'button_social_border_hover']
  end

  if attributes.key?(:'button_social_border_provider')
    self.button_social_border_provider = attributes[:'button_social_border_provider']
  end

  if attributes.key?(:'button_social_fg_default')
    self.button_social_fg_default = attributes[:'button_social_fg_default']
  end

  if attributes.key?(:'button_social_fg_disabled')
    self.button_social_fg_disabled = attributes[:'button_social_fg_disabled']
  end

  if attributes.key?(:'button_social_fg_hover')
    self.button_social_fg_hover = attributes[:'button_social_fg_hover']
  end

  if attributes.key?(:'button_social_fg_provider')
    self.button_social_fg_provider = attributes[:'button_social_fg_provider']
  end

  if attributes.key?(:'created_at')
    self.created_at = attributes[:'created_at']
  end

  if attributes.key?(:'dialog_bg_default')
    self.dialog_bg_default = attributes[:'dialog_bg_default']
  end

  if attributes.key?(:'dialog_bg_subtle')
    self.dialog_bg_subtle = attributes[:'dialog_bg_subtle']
  end

  if attributes.key?(:'dialog_border_default')
    self.dialog_border_default = attributes[:'dialog_border_default']
  end

  if attributes.key?(:'dialog_fg_default')
    self.dialog_fg_default = attributes[:'dialog_fg_default']
  end

  if attributes.key?(:'dialog_fg_mute')
    self.dialog_fg_mute = attributes[:'dialog_fg_mute']
  end

  if attributes.key?(:'dialog_fg_subtle')
    self.dialog_fg_subtle = attributes[:'dialog_fg_subtle']
  end

  if attributes.key?(:'forms_bg_default')
    self.forms_bg_default = attributes[:'forms_bg_default']
  end

  if attributes.key?(:'forms_bg_disabled')
    self.forms_bg_disabled = attributes[:'forms_bg_disabled']
  end

  if attributes.key?(:'forms_bg_hover')
    self.forms_bg_hover = attributes[:'forms_bg_hover']
  end

  if attributes.key?(:'forms_border_default')
    self.forms_border_default = attributes[:'forms_border_default']
  end

  if attributes.key?(:'forms_border_disabled')
    self.forms_border_disabled = attributes[:'forms_border_disabled']
  end

  if attributes.key?(:'forms_border_error')
    self.forms_border_error = attributes[:'forms_border_error']
  end

  if attributes.key?(:'forms_border_focus')
    self.forms_border_focus = attributes[:'forms_border_focus']
  end

  if attributes.key?(:'forms_border_hover')
    self.forms_border_hover = attributes[:'forms_border_hover']
  end

  if attributes.key?(:'forms_border_success')
    self.forms_border_success = attributes[:'forms_border_success']
  end

  if attributes.key?(:'forms_border_warn')
    self.forms_border_warn = attributes[:'forms_border_warn']
  end

  if attributes.key?(:'forms_checkbox_bg_checked')
    self.forms_checkbox_bg_checked = attributes[:'forms_checkbox_bg_checked']
  end

  if attributes.key?(:'forms_checkbox_bg_default')
    self.forms_checkbox_bg_default = attributes[:'forms_checkbox_bg_default']
  end

  if attributes.key?(:'forms_checkbox_border_checked')
    self.forms_checkbox_border_checked = attributes[:'forms_checkbox_border_checked']
  end

  if attributes.key?(:'forms_checkbox_border_default')
    self.forms_checkbox_border_default = attributes[:'forms_checkbox_border_default']
  end

  if attributes.key?(:'forms_checkbox_fg_checked')
    self.forms_checkbox_fg_checked = attributes[:'forms_checkbox_fg_checked']
  end

  if attributes.key?(:'forms_checkbox_fg_default')
    self.forms_checkbox_fg_default = attributes[:'forms_checkbox_fg_default']
  end

  if attributes.key?(:'forms_fg_default')
    self.forms_fg_default = attributes[:'forms_fg_default']
  end

  if attributes.key?(:'forms_fg_error')
    self.forms_fg_error = attributes[:'forms_fg_error']
  end

  if attributes.key?(:'forms_fg_mute')
    self.forms_fg_mute = attributes[:'forms_fg_mute']
  end

  if attributes.key?(:'forms_fg_subtle')
    self.forms_fg_subtle = attributes[:'forms_fg_subtle']
  end

  if attributes.key?(:'forms_fg_success')
    self.forms_fg_success = attributes[:'forms_fg_success']
  end

  if attributes.key?(:'forms_fg_warn')
    self.forms_fg_warn = attributes[:'forms_fg_warn']
  end

  if attributes.key?(:'forms_radio_bg_checked')
    self.forms_radio_bg_checked = attributes[:'forms_radio_bg_checked']
  end

  if attributes.key?(:'forms_radio_bg_default')
    self.forms_radio_bg_default = attributes[:'forms_radio_bg_default']
  end

  if attributes.key?(:'forms_radio_border_checked')
    self.forms_radio_border_checked = attributes[:'forms_radio_border_checked']
  end

  if attributes.key?(:'forms_radio_border_default')
    self.forms_radio_border_default = attributes[:'forms_radio_border_default']
  end

  if attributes.key?(:'forms_radio_fg_checked')
    self.forms_radio_fg_checked = attributes[:'forms_radio_fg_checked']
  end

  if attributes.key?(:'forms_radio_fg_default')
    self.forms_radio_fg_default = attributes[:'forms_radio_fg_default']
  end

  if attributes.key?(:'forms_toggle_bg_checked')
    self.forms_toggle_bg_checked = attributes[:'forms_toggle_bg_checked']
  end

  if attributes.key?(:'forms_toggle_bg_default')
    self.forms_toggle_bg_default = attributes[:'forms_toggle_bg_default']
  end

  if attributes.key?(:'forms_toggle_border_checked')
    self.forms_toggle_border_checked = attributes[:'forms_toggle_border_checked']
  end

  if attributes.key?(:'forms_toggle_border_default')
    self.forms_toggle_border_default = attributes[:'forms_toggle_border_default']
  end

  if attributes.key?(:'forms_toggle_fg_checked')
    self.forms_toggle_fg_checked = attributes[:'forms_toggle_fg_checked']
  end

  if attributes.key?(:'forms_toggle_fg_default')
    self.forms_toggle_fg_default = attributes[:'forms_toggle_fg_default']
  end

  if attributes.key?(:'id')
    self.id = attributes[:'id']
  end

  if attributes.key?(:'links_link_default')
    self.links_link_default = attributes[:'links_link_default']
  end

  if attributes.key?(:'links_link_disabled')
    self.links_link_disabled = attributes[:'links_link_disabled']
  end

  if attributes.key?(:'links_link_hover')
    self.links_link_hover = attributes[:'links_link_hover']
  end

  if attributes.key?(:'links_link_inverted_default')
    self.links_link_inverted_default = attributes[:'links_link_inverted_default']
  end

  if attributes.key?(:'links_link_inverted_hover')
    self.links_link_inverted_hover = attributes[:'links_link_inverted_hover']
  end

  if attributes.key?(:'links_link_mute_default')
    self.links_link_mute_default = attributes[:'links_link_mute_default']
  end

  if attributes.key?(:'links_link_mute_hover')
    self.links_link_mute_hover = attributes[:'links_link_mute_hover']
  end

  if attributes.key?(:'syntax_syntax')
    self.syntax_syntax = attributes[:'syntax_syntax']
  end

  if attributes.key?(:'syntax_syntax_key')
    self.syntax_syntax_key = attributes[:'syntax_syntax_key']
  end

  if attributes.key?(:'syntax_syntax_num')
    self.syntax_syntax_num = attributes[:'syntax_syntax_num']
  end

  if attributes.key?(:'syntax_syntax_value')
    self.syntax_syntax_value = attributes[:'syntax_syntax_value']
  end

  if attributes.key?(:'updated_at')
    self.updated_at = attributes[:'updated_at']
  end
end

Instance Attribute Details

#accentObject

Returns the value of attribute accent.



18
19
20
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 18

def accent
  @accent
end

#bg_defaultObject

Returns the value of attribute bg_default.



20
21
22
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 20

def bg_default
  @bg_default
end

#border_radius_brandingObject

Returns the value of attribute border_radius_branding.



22
23
24
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 22

def border_radius_branding
  @border_radius_branding
end

#border_radius_buttonsObject

Returns the value of attribute border_radius_buttons.



24
25
26
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 24

def border_radius_buttons
  @border_radius_buttons
end

#border_radius_cardsObject

Returns the value of attribute border_radius_cards.



26
27
28
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 26

def border_radius_cards
  @border_radius_cards
end

#border_radius_formsObject

Returns the value of attribute border_radius_forms.



28
29
30
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 28

def border_radius_forms
  @border_radius_forms
end

#border_radius_generalObject

Returns the value of attribute border_radius_general.



30
31
32
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 30

def border_radius_general
  @border_radius_general
end

#button_primary_bg_defaultObject

Returns the value of attribute button_primary_bg_default.



32
33
34
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 32

def button_primary_bg_default
  @button_primary_bg_default
end

#button_primary_bg_disabledObject

Returns the value of attribute button_primary_bg_disabled.



34
35
36
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 34

def button_primary_bg_disabled
  @button_primary_bg_disabled
end

#button_primary_bg_hoverObject

Returns the value of attribute button_primary_bg_hover.



36
37
38
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 36

def button_primary_bg_hover
  @button_primary_bg_hover
end

#button_primary_border_defaultObject

Returns the value of attribute button_primary_border_default.



38
39
40
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 38

def button_primary_border_default
  @button_primary_border_default
end

#button_primary_border_disabledObject

Returns the value of attribute button_primary_border_disabled.



40
41
42
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 40

def button_primary_border_disabled
  @button_primary_border_disabled
end

#button_primary_border_hoverObject

Returns the value of attribute button_primary_border_hover.



42
43
44
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 42

def button_primary_border_hover
  @button_primary_border_hover
end

#button_primary_fg_defaultObject

Returns the value of attribute button_primary_fg_default.



44
45
46
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 44

def button_primary_fg_default
  @button_primary_fg_default
end

#button_primary_fg_disabledObject

Returns the value of attribute button_primary_fg_disabled.



46
47
48
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 46

def button_primary_fg_disabled
  @button_primary_fg_disabled
end

#button_primary_fg_hoverObject

Returns the value of attribute button_primary_fg_hover.



48
49
50
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 48

def button_primary_fg_hover
  @button_primary_fg_hover
end

#button_secondary_bg_defaultObject

Returns the value of attribute button_secondary_bg_default.



50
51
52
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 50

def button_secondary_bg_default
  @button_secondary_bg_default
end

#button_secondary_bg_disabledObject

Returns the value of attribute button_secondary_bg_disabled.



52
53
54
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 52

def button_secondary_bg_disabled
  @button_secondary_bg_disabled
end

#button_secondary_bg_hoverObject

Returns the value of attribute button_secondary_bg_hover.



54
55
56
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 54

def button_secondary_bg_hover
  @button_secondary_bg_hover
end

#button_secondary_border_defaultObject

Returns the value of attribute button_secondary_border_default.



56
57
58
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 56

def button_secondary_border_default
  @button_secondary_border_default
end

#button_secondary_border_disabledObject

Returns the value of attribute button_secondary_border_disabled.



58
59
60
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 58

def button_secondary_border_disabled
  @button_secondary_border_disabled
end

#button_secondary_border_hoverObject

Returns the value of attribute button_secondary_border_hover.



60
61
62
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 60

def button_secondary_border_hover
  @button_secondary_border_hover
end

#button_secondary_fg_defaultObject

Returns the value of attribute button_secondary_fg_default.



62
63
64
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 62

def button_secondary_fg_default
  @button_secondary_fg_default
end

#button_secondary_fg_disabledObject

Returns the value of attribute button_secondary_fg_disabled.



64
65
66
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 64

def button_secondary_fg_disabled
  @button_secondary_fg_disabled
end

#button_secondary_fg_hoverObject

Returns the value of attribute button_secondary_fg_hover.



66
67
68
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 66

def button_secondary_fg_hover
  @button_secondary_fg_hover
end

#button_social_bg_defaultObject

Returns the value of attribute button_social_bg_default.



68
69
70
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 68

def button_social_bg_default
  @button_social_bg_default
end

#button_social_bg_disabledObject

Returns the value of attribute button_social_bg_disabled.



70
71
72
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 70

def button_social_bg_disabled
  @button_social_bg_disabled
end

#button_social_bg_hoverObject

Returns the value of attribute button_social_bg_hover.



72
73
74
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 72

def button_social_bg_hover
  @button_social_bg_hover
end

#button_social_bg_providerObject

Returns the value of attribute button_social_bg_provider.



74
75
76
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 74

def button_social_bg_provider
  @button_social_bg_provider
end

#button_social_border_defaultObject

Returns the value of attribute button_social_border_default.



76
77
78
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 76

def button_social_border_default
  @button_social_border_default
end

#button_social_border_disabledObject

Returns the value of attribute button_social_border_disabled.



78
79
80
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 78

def button_social_border_disabled
  @button_social_border_disabled
end

#button_social_border_hoverObject

Returns the value of attribute button_social_border_hover.



80
81
82
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 80

def button_social_border_hover
  @button_social_border_hover
end

#button_social_border_providerObject

Returns the value of attribute button_social_border_provider.



82
83
84
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 82

def button_social_border_provider
  @button_social_border_provider
end

#button_social_fg_defaultObject

Returns the value of attribute button_social_fg_default.



84
85
86
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 84

def button_social_fg_default
  @button_social_fg_default
end

#button_social_fg_disabledObject

Returns the value of attribute button_social_fg_disabled.



86
87
88
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 86

def button_social_fg_disabled
  @button_social_fg_disabled
end

#button_social_fg_hoverObject

Returns the value of attribute button_social_fg_hover.



88
89
90
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 88

def button_social_fg_hover
  @button_social_fg_hover
end

#button_social_fg_providerObject

Returns the value of attribute button_social_fg_provider.



90
91
92
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 90

def button_social_fg_provider
  @button_social_fg_provider
end

#created_atObject

Returns the value of attribute created_at.



92
93
94
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 92

def created_at
  @created_at
end

#dialog_bg_defaultObject

Returns the value of attribute dialog_bg_default.



94
95
96
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 94

def dialog_bg_default
  @dialog_bg_default
end

#dialog_bg_subtleObject

Returns the value of attribute dialog_bg_subtle.



96
97
98
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 96

def dialog_bg_subtle
  @dialog_bg_subtle
end

#dialog_border_defaultObject

Returns the value of attribute dialog_border_default.



98
99
100
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 98

def dialog_border_default
  @dialog_border_default
end

#dialog_fg_defaultObject

Returns the value of attribute dialog_fg_default.



100
101
102
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 100

def dialog_fg_default
  @dialog_fg_default
end

#dialog_fg_muteObject

Returns the value of attribute dialog_fg_mute.



102
103
104
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 102

def dialog_fg_mute
  @dialog_fg_mute
end

#dialog_fg_subtleObject

Returns the value of attribute dialog_fg_subtle.



104
105
106
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 104

def dialog_fg_subtle
  @dialog_fg_subtle
end

#forms_bg_defaultObject

Returns the value of attribute forms_bg_default.



106
107
108
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 106

def forms_bg_default
  @forms_bg_default
end

#forms_bg_disabledObject

Returns the value of attribute forms_bg_disabled.



108
109
110
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 108

def forms_bg_disabled
  @forms_bg_disabled
end

#forms_bg_hoverObject

Returns the value of attribute forms_bg_hover.



110
111
112
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 110

def forms_bg_hover
  @forms_bg_hover
end

#forms_border_defaultObject

Returns the value of attribute forms_border_default.



112
113
114
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 112

def forms_border_default
  @forms_border_default
end

#forms_border_disabledObject

Returns the value of attribute forms_border_disabled.



114
115
116
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 114

def forms_border_disabled
  @forms_border_disabled
end

#forms_border_errorObject

Returns the value of attribute forms_border_error.



116
117
118
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 116

def forms_border_error
  @forms_border_error
end

#forms_border_focusObject

Returns the value of attribute forms_border_focus.



118
119
120
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 118

def forms_border_focus
  @forms_border_focus
end

#forms_border_hoverObject

Returns the value of attribute forms_border_hover.



120
121
122
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 120

def forms_border_hover
  @forms_border_hover
end

#forms_border_successObject

Returns the value of attribute forms_border_success.



122
123
124
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 122

def forms_border_success
  @forms_border_success
end

#forms_border_warnObject

Returns the value of attribute forms_border_warn.



124
125
126
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 124

def forms_border_warn
  @forms_border_warn
end

#forms_checkbox_bg_checkedObject

Returns the value of attribute forms_checkbox_bg_checked.



126
127
128
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 126

def forms_checkbox_bg_checked
  @forms_checkbox_bg_checked
end

#forms_checkbox_bg_defaultObject

Returns the value of attribute forms_checkbox_bg_default.



128
129
130
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 128

def forms_checkbox_bg_default
  @forms_checkbox_bg_default
end

#forms_checkbox_border_checkedObject

Returns the value of attribute forms_checkbox_border_checked.



130
131
132
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 130

def forms_checkbox_border_checked
  @forms_checkbox_border_checked
end

#forms_checkbox_border_defaultObject

Returns the value of attribute forms_checkbox_border_default.



132
133
134
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 132

def forms_checkbox_border_default
  @forms_checkbox_border_default
end

#forms_checkbox_fg_checkedObject

Returns the value of attribute forms_checkbox_fg_checked.



134
135
136
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 134

def forms_checkbox_fg_checked
  @forms_checkbox_fg_checked
end

#forms_checkbox_fg_defaultObject

Returns the value of attribute forms_checkbox_fg_default.



136
137
138
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 136

def forms_checkbox_fg_default
  @forms_checkbox_fg_default
end

#forms_fg_defaultObject

Returns the value of attribute forms_fg_default.



138
139
140
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 138

def forms_fg_default
  @forms_fg_default
end

#forms_fg_errorObject

Returns the value of attribute forms_fg_error.



140
141
142
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 140

def forms_fg_error
  @forms_fg_error
end

#forms_fg_muteObject

Returns the value of attribute forms_fg_mute.



142
143
144
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 142

def forms_fg_mute
  @forms_fg_mute
end

#forms_fg_subtleObject

Returns the value of attribute forms_fg_subtle.



144
145
146
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 144

def forms_fg_subtle
  @forms_fg_subtle
end

#forms_fg_successObject

Returns the value of attribute forms_fg_success.



146
147
148
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 146

def forms_fg_success
  @forms_fg_success
end

#forms_fg_warnObject

Returns the value of attribute forms_fg_warn.



148
149
150
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 148

def forms_fg_warn
  @forms_fg_warn
end

#forms_radio_bg_checkedObject

Returns the value of attribute forms_radio_bg_checked.



150
151
152
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 150

def forms_radio_bg_checked
  @forms_radio_bg_checked
end

#forms_radio_bg_defaultObject

Returns the value of attribute forms_radio_bg_default.



152
153
154
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 152

def forms_radio_bg_default
  @forms_radio_bg_default
end

#forms_radio_border_checkedObject

Returns the value of attribute forms_radio_border_checked.



154
155
156
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 154

def forms_radio_border_checked
  @forms_radio_border_checked
end

#forms_radio_border_defaultObject

Returns the value of attribute forms_radio_border_default.



156
157
158
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 156

def forms_radio_border_default
  @forms_radio_border_default
end

#forms_radio_fg_checkedObject

Returns the value of attribute forms_radio_fg_checked.



158
159
160
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 158

def forms_radio_fg_checked
  @forms_radio_fg_checked
end

#forms_radio_fg_defaultObject

Returns the value of attribute forms_radio_fg_default.



160
161
162
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 160

def forms_radio_fg_default
  @forms_radio_fg_default
end

#forms_toggle_bg_checkedObject

Returns the value of attribute forms_toggle_bg_checked.



162
163
164
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 162

def forms_toggle_bg_checked
  @forms_toggle_bg_checked
end

#forms_toggle_bg_defaultObject

Returns the value of attribute forms_toggle_bg_default.



164
165
166
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 164

def forms_toggle_bg_default
  @forms_toggle_bg_default
end

#forms_toggle_border_checkedObject

Returns the value of attribute forms_toggle_border_checked.



166
167
168
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 166

def forms_toggle_border_checked
  @forms_toggle_border_checked
end

#forms_toggle_border_defaultObject

Returns the value of attribute forms_toggle_border_default.



168
169
170
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 168

def forms_toggle_border_default
  @forms_toggle_border_default
end

#forms_toggle_fg_checkedObject

Returns the value of attribute forms_toggle_fg_checked.



170
171
172
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 170

def forms_toggle_fg_checked
  @forms_toggle_fg_checked
end

#forms_toggle_fg_defaultObject

Returns the value of attribute forms_toggle_fg_default.



172
173
174
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 172

def forms_toggle_fg_default
  @forms_toggle_fg_default
end

#idObject

Returns the value of attribute id.



174
175
176
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 174

def id
  @id
end

Returns the value of attribute links_link_default.



176
177
178
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 176

def links_link_default
  @links_link_default
end

Returns the value of attribute links_link_disabled.



178
179
180
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 178

def links_link_disabled
  @links_link_disabled
end

Returns the value of attribute links_link_hover.



180
181
182
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 180

def links_link_hover
  @links_link_hover
end

Returns the value of attribute links_link_inverted_default.



182
183
184
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 182

def links_link_inverted_default
  @links_link_inverted_default
end

Returns the value of attribute links_link_inverted_hover.



184
185
186
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 184

def links_link_inverted_hover
  @links_link_inverted_hover
end

Returns the value of attribute links_link_mute_default.



186
187
188
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 186

def links_link_mute_default
  @links_link_mute_default
end

Returns the value of attribute links_link_mute_hover.



188
189
190
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 188

def links_link_mute_hover
  @links_link_mute_hover
end

#syntax_syntaxObject

Returns the value of attribute syntax_syntax.



190
191
192
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 190

def syntax_syntax
  @syntax_syntax
end

#syntax_syntax_keyObject

Returns the value of attribute syntax_syntax_key.



192
193
194
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 192

def syntax_syntax_key
  @syntax_syntax_key
end

#syntax_syntax_numObject

Returns the value of attribute syntax_syntax_num.



194
195
196
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 194

def syntax_syntax_num
  @syntax_syntax_num
end

#syntax_syntax_valueObject

Returns the value of attribute syntax_syntax_value.



196
197
198
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 196

def syntax_syntax_value
  @syntax_syntax_value
end

#updated_atObject

Returns the value of attribute updated_at.



198
199
200
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 198

def updated_at
  @updated_at
end

Class Method Details

._deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 937

def self._deserialize(type, value)
  case type.to_sym
  when :Time
    Time.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :Boolean
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    # models (e.g. Pet) or oneOf
    klass = OryClient.const_get(type)
    klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
  end
end

.acceptable_attributesObject

Returns all the JSON keys this model knows about



298
299
300
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 298

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 201

def self.attribute_map
  {
    :'accent' => :'accent',
    :'bg_default' => :'bg-default',
    :'border_radius_branding' => :'border-radius-branding',
    :'border_radius_buttons' => :'border-radius-buttons',
    :'border_radius_cards' => :'border-radius-cards',
    :'border_radius_forms' => :'border-radius-forms',
    :'border_radius_general' => :'border-radius-general',
    :'button_primary_bg_default' => :'button-primary-bg-default',
    :'button_primary_bg_disabled' => :'button-primary-bg-disabled',
    :'button_primary_bg_hover' => :'button-primary-bg-hover',
    :'button_primary_border_default' => :'button-primary-border-default',
    :'button_primary_border_disabled' => :'button-primary-border-disabled',
    :'button_primary_border_hover' => :'button-primary-border-hover',
    :'button_primary_fg_default' => :'button-primary-fg-default',
    :'button_primary_fg_disabled' => :'button-primary-fg-disabled',
    :'button_primary_fg_hover' => :'button-primary-fg-hover',
    :'button_secondary_bg_default' => :'button-secondary-bg-default',
    :'button_secondary_bg_disabled' => :'button-secondary-bg-disabled',
    :'button_secondary_bg_hover' => :'button-secondary-bg-hover',
    :'button_secondary_border_default' => :'button-secondary-border-default',
    :'button_secondary_border_disabled' => :'button-secondary-border-disabled',
    :'button_secondary_border_hover' => :'button-secondary-border-hover',
    :'button_secondary_fg_default' => :'button-secondary-fg-default',
    :'button_secondary_fg_disabled' => :'button-secondary-fg-disabled',
    :'button_secondary_fg_hover' => :'button-secondary-fg-hover',
    :'button_social_bg_default' => :'button-social-bg-default',
    :'button_social_bg_disabled' => :'button-social-bg-disabled',
    :'button_social_bg_hover' => :'button-social-bg-hover',
    :'button_social_bg_provider' => :'button-social-bg-provider',
    :'button_social_border_default' => :'button-social-border-default',
    :'button_social_border_disabled' => :'button-social-border-disabled',
    :'button_social_border_hover' => :'button-social-border-hover',
    :'button_social_border_provider' => :'button-social-border-provider',
    :'button_social_fg_default' => :'button-social-fg-default',
    :'button_social_fg_disabled' => :'button-social-fg-disabled',
    :'button_social_fg_hover' => :'button-social-fg-hover',
    :'button_social_fg_provider' => :'button-social-fg-provider',
    :'created_at' => :'created_at',
    :'dialog_bg_default' => :'dialog-bg-default',
    :'dialog_bg_subtle' => :'dialog-bg-subtle',
    :'dialog_border_default' => :'dialog-border-default',
    :'dialog_fg_default' => :'dialog-fg-default',
    :'dialog_fg_mute' => :'dialog-fg-mute',
    :'dialog_fg_subtle' => :'dialog-fg-subtle',
    :'forms_bg_default' => :'forms-bg-default',
    :'forms_bg_disabled' => :'forms-bg-disabled',
    :'forms_bg_hover' => :'forms-bg-hover',
    :'forms_border_default' => :'forms-border-default',
    :'forms_border_disabled' => :'forms-border-disabled',
    :'forms_border_error' => :'forms-border-error',
    :'forms_border_focus' => :'forms-border-focus',
    :'forms_border_hover' => :'forms-border-hover',
    :'forms_border_success' => :'forms-border-success',
    :'forms_border_warn' => :'forms-border-warn',
    :'forms_checkbox_bg_checked' => :'forms-checkbox-bg-checked',
    :'forms_checkbox_bg_default' => :'forms-checkbox-bg-default',
    :'forms_checkbox_border_checked' => :'forms-checkbox-border-checked',
    :'forms_checkbox_border_default' => :'forms-checkbox-border-default',
    :'forms_checkbox_fg_checked' => :'forms-checkbox-fg-checked',
    :'forms_checkbox_fg_default' => :'forms-checkbox-fg-default',
    :'forms_fg_default' => :'forms-fg-default',
    :'forms_fg_error' => :'forms-fg-error',
    :'forms_fg_mute' => :'forms-fg-mute',
    :'forms_fg_subtle' => :'forms-fg-subtle',
    :'forms_fg_success' => :'forms-fg-success',
    :'forms_fg_warn' => :'forms-fg-warn',
    :'forms_radio_bg_checked' => :'forms-radio-bg-checked',
    :'forms_radio_bg_default' => :'forms-radio-bg-default',
    :'forms_radio_border_checked' => :'forms-radio-border-checked',
    :'forms_radio_border_default' => :'forms-radio-border-default',
    :'forms_radio_fg_checked' => :'forms-radio-fg-checked',
    :'forms_radio_fg_default' => :'forms-radio-fg-default',
    :'forms_toggle_bg_checked' => :'forms-toggle-bg-checked',
    :'forms_toggle_bg_default' => :'forms-toggle-bg-default',
    :'forms_toggle_border_checked' => :'forms-toggle-border-checked',
    :'forms_toggle_border_default' => :'forms-toggle-border-default',
    :'forms_toggle_fg_checked' => :'forms-toggle-fg-checked',
    :'forms_toggle_fg_default' => :'forms-toggle-fg-default',
    :'id' => :'id',
    :'links_link_default' => :'links-link-default',
    :'links_link_disabled' => :'links-link-disabled',
    :'links_link_hover' => :'links-link-hover',
    :'links_link_inverted_default' => :'links-link-inverted-default',
    :'links_link_inverted_hover' => :'links-link-inverted-hover',
    :'links_link_mute_default' => :'links-link-mute-default',
    :'links_link_mute_hover' => :'links-link-mute-hover',
    :'syntax_syntax' => :'syntax-syntax',
    :'syntax_syntax_key' => :'syntax-syntax-key',
    :'syntax_syntax_num' => :'syntax-syntax-num',
    :'syntax_syntax_value' => :'syntax-syntax-value',
    :'updated_at' => :'updated_at'
  }
end

.build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 913

def self.build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  attributes = attributes.transform_keys(&:to_sym)
  transformed_hash = {}
  openapi_types.each_pair do |key, type|
    if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
      transformed_hash["#{key}"] = nil
    elsif type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the attribute
      # is documented as an array but the input is not
      if attributes[attribute_map[key]].is_a?(Array)
        transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
      end
    elsif !attributes[attribute_map[key]].nil?
      transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
    end
  end
  new(transformed_hash)
end

.openapi_nullableObject

List of attributes with nullable: true



400
401
402
403
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 400

def self.openapi_nullable
  Set.new([
  ])
end

.openapi_typesObject

Attribute type mapping.



303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 303

def self.openapi_types
  {
    :'accent' => :'String',
    :'bg_default' => :'String',
    :'border_radius_branding' => :'String',
    :'border_radius_buttons' => :'String',
    :'border_radius_cards' => :'String',
    :'border_radius_forms' => :'String',
    :'border_radius_general' => :'String',
    :'button_primary_bg_default' => :'String',
    :'button_primary_bg_disabled' => :'String',
    :'button_primary_bg_hover' => :'String',
    :'button_primary_border_default' => :'String',
    :'button_primary_border_disabled' => :'String',
    :'button_primary_border_hover' => :'String',
    :'button_primary_fg_default' => :'String',
    :'button_primary_fg_disabled' => :'String',
    :'button_primary_fg_hover' => :'String',
    :'button_secondary_bg_default' => :'String',
    :'button_secondary_bg_disabled' => :'String',
    :'button_secondary_bg_hover' => :'String',
    :'button_secondary_border_default' => :'String',
    :'button_secondary_border_disabled' => :'String',
    :'button_secondary_border_hover' => :'String',
    :'button_secondary_fg_default' => :'String',
    :'button_secondary_fg_disabled' => :'String',
    :'button_secondary_fg_hover' => :'String',
    :'button_social_bg_default' => :'String',
    :'button_social_bg_disabled' => :'String',
    :'button_social_bg_hover' => :'String',
    :'button_social_bg_provider' => :'String',
    :'button_social_border_default' => :'String',
    :'button_social_border_disabled' => :'String',
    :'button_social_border_hover' => :'String',
    :'button_social_border_provider' => :'String',
    :'button_social_fg_default' => :'String',
    :'button_social_fg_disabled' => :'String',
    :'button_social_fg_hover' => :'String',
    :'button_social_fg_provider' => :'String',
    :'created_at' => :'Time',
    :'dialog_bg_default' => :'String',
    :'dialog_bg_subtle' => :'String',
    :'dialog_border_default' => :'String',
    :'dialog_fg_default' => :'String',
    :'dialog_fg_mute' => :'String',
    :'dialog_fg_subtle' => :'String',
    :'forms_bg_default' => :'String',
    :'forms_bg_disabled' => :'String',
    :'forms_bg_hover' => :'String',
    :'forms_border_default' => :'String',
    :'forms_border_disabled' => :'String',
    :'forms_border_error' => :'String',
    :'forms_border_focus' => :'String',
    :'forms_border_hover' => :'String',
    :'forms_border_success' => :'String',
    :'forms_border_warn' => :'String',
    :'forms_checkbox_bg_checked' => :'String',
    :'forms_checkbox_bg_default' => :'String',
    :'forms_checkbox_border_checked' => :'String',
    :'forms_checkbox_border_default' => :'String',
    :'forms_checkbox_fg_checked' => :'String',
    :'forms_checkbox_fg_default' => :'String',
    :'forms_fg_default' => :'String',
    :'forms_fg_error' => :'String',
    :'forms_fg_mute' => :'String',
    :'forms_fg_subtle' => :'String',
    :'forms_fg_success' => :'String',
    :'forms_fg_warn' => :'String',
    :'forms_radio_bg_checked' => :'String',
    :'forms_radio_bg_default' => :'String',
    :'forms_radio_border_checked' => :'String',
    :'forms_radio_border_default' => :'String',
    :'forms_radio_fg_checked' => :'String',
    :'forms_radio_fg_default' => :'String',
    :'forms_toggle_bg_checked' => :'String',
    :'forms_toggle_bg_default' => :'String',
    :'forms_toggle_border_checked' => :'String',
    :'forms_toggle_border_default' => :'String',
    :'forms_toggle_fg_checked' => :'String',
    :'forms_toggle_fg_default' => :'String',
    :'id' => :'String',
    :'links_link_default' => :'String',
    :'links_link_disabled' => :'String',
    :'links_link_hover' => :'String',
    :'links_link_inverted_default' => :'String',
    :'links_link_inverted_hover' => :'String',
    :'links_link_mute_default' => :'String',
    :'links_link_mute_hover' => :'String',
    :'syntax_syntax' => :'String',
    :'syntax_syntax_key' => :'String',
    :'syntax_syntax_num' => :'String',
    :'syntax_syntax_value' => :'String',
    :'updated_at' => :'Time'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 802

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      accent == o.accent &&
      bg_default == o.bg_default &&
      border_radius_branding == o.border_radius_branding &&
      border_radius_buttons == o.border_radius_buttons &&
      border_radius_cards == o.border_radius_cards &&
      border_radius_forms == o.border_radius_forms &&
      border_radius_general == o.border_radius_general &&
      button_primary_bg_default == o.button_primary_bg_default &&
      button_primary_bg_disabled == o.button_primary_bg_disabled &&
      button_primary_bg_hover == o.button_primary_bg_hover &&
      button_primary_border_default == o.button_primary_border_default &&
      button_primary_border_disabled == o.button_primary_border_disabled &&
      button_primary_border_hover == o.button_primary_border_hover &&
      button_primary_fg_default == o.button_primary_fg_default &&
      button_primary_fg_disabled == o.button_primary_fg_disabled &&
      button_primary_fg_hover == o.button_primary_fg_hover &&
      button_secondary_bg_default == o.button_secondary_bg_default &&
      button_secondary_bg_disabled == o.button_secondary_bg_disabled &&
      button_secondary_bg_hover == o.button_secondary_bg_hover &&
      button_secondary_border_default == o.button_secondary_border_default &&
      button_secondary_border_disabled == o.button_secondary_border_disabled &&
      button_secondary_border_hover == o.button_secondary_border_hover &&
      button_secondary_fg_default == o.button_secondary_fg_default &&
      button_secondary_fg_disabled == o.button_secondary_fg_disabled &&
      button_secondary_fg_hover == o.button_secondary_fg_hover &&
      button_social_bg_default == o.button_social_bg_default &&
      button_social_bg_disabled == o.button_social_bg_disabled &&
      button_social_bg_hover == o.button_social_bg_hover &&
      button_social_bg_provider == o.button_social_bg_provider &&
      button_social_border_default == o.button_social_border_default &&
      button_social_border_disabled == o.button_social_border_disabled &&
      button_social_border_hover == o.button_social_border_hover &&
      button_social_border_provider == o.button_social_border_provider &&
      button_social_fg_default == o.button_social_fg_default &&
      button_social_fg_disabled == o.button_social_fg_disabled &&
      button_social_fg_hover == o.button_social_fg_hover &&
      button_social_fg_provider == o.button_social_fg_provider &&
      created_at == o.created_at &&
      dialog_bg_default == o.dialog_bg_default &&
      dialog_bg_subtle == o.dialog_bg_subtle &&
      dialog_border_default == o.dialog_border_default &&
      dialog_fg_default == o.dialog_fg_default &&
      dialog_fg_mute == o.dialog_fg_mute &&
      dialog_fg_subtle == o.dialog_fg_subtle &&
      forms_bg_default == o.forms_bg_default &&
      forms_bg_disabled == o.forms_bg_disabled &&
      forms_bg_hover == o.forms_bg_hover &&
      forms_border_default == o.forms_border_default &&
      forms_border_disabled == o.forms_border_disabled &&
      forms_border_error == o.forms_border_error &&
      forms_border_focus == o.forms_border_focus &&
      forms_border_hover == o.forms_border_hover &&
      forms_border_success == o.forms_border_success &&
      forms_border_warn == o.forms_border_warn &&
      forms_checkbox_bg_checked == o.forms_checkbox_bg_checked &&
      forms_checkbox_bg_default == o.forms_checkbox_bg_default &&
      forms_checkbox_border_checked == o.forms_checkbox_border_checked &&
      forms_checkbox_border_default == o.forms_checkbox_border_default &&
      forms_checkbox_fg_checked == o.forms_checkbox_fg_checked &&
      forms_checkbox_fg_default == o.forms_checkbox_fg_default &&
      forms_fg_default == o.forms_fg_default &&
      forms_fg_error == o.forms_fg_error &&
      forms_fg_mute == o.forms_fg_mute &&
      forms_fg_subtle == o.forms_fg_subtle &&
      forms_fg_success == o.forms_fg_success &&
      forms_fg_warn == o.forms_fg_warn &&
      forms_radio_bg_checked == o.forms_radio_bg_checked &&
      forms_radio_bg_default == o.forms_radio_bg_default &&
      forms_radio_border_checked == o.forms_radio_border_checked &&
      forms_radio_border_default == o.forms_radio_border_default &&
      forms_radio_fg_checked == o.forms_radio_fg_checked &&
      forms_radio_fg_default == o.forms_radio_fg_default &&
      forms_toggle_bg_checked == o.forms_toggle_bg_checked &&
      forms_toggle_bg_default == o.forms_toggle_bg_default &&
      forms_toggle_border_checked == o.forms_toggle_border_checked &&
      forms_toggle_border_default == o.forms_toggle_border_default &&
      forms_toggle_fg_checked == o.forms_toggle_fg_checked &&
      forms_toggle_fg_default == o.forms_toggle_fg_default &&
      id == o.id &&
      links_link_default == o.links_link_default &&
      links_link_disabled == o.links_link_disabled &&
      links_link_hover == o.links_link_hover &&
      links_link_inverted_default == o.links_link_inverted_default &&
      links_link_inverted_hover == o.links_link_inverted_hover &&
      links_link_mute_default == o.links_link_mute_default &&
      links_link_mute_hover == o.links_link_mute_hover &&
      syntax_syntax == o.syntax_syntax &&
      syntax_syntax_key == o.syntax_syntax_key &&
      syntax_syntax_num == o.syntax_syntax_num &&
      syntax_syntax_value == o.syntax_syntax_value &&
      updated_at == o.updated_at
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 1008

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


900
901
902
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 900

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



906
907
908
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 906

def hash
  [accent, bg_default, border_radius_branding, border_radius_buttons, border_radius_cards, border_radius_forms, border_radius_general, button_primary_bg_default, button_primary_bg_disabled, button_primary_bg_hover, button_primary_border_default, button_primary_border_disabled, button_primary_border_hover, button_primary_fg_default, button_primary_fg_disabled, button_primary_fg_hover, button_secondary_bg_default, button_secondary_bg_disabled, button_secondary_bg_hover, button_secondary_border_default, button_secondary_border_disabled, button_secondary_border_hover, button_secondary_fg_default, button_secondary_fg_disabled, button_secondary_fg_hover, button_social_bg_default, button_social_bg_disabled, button_social_bg_hover, button_social_bg_provider, button_social_border_default, button_social_border_disabled, button_social_border_hover, button_social_border_provider, button_social_fg_default, button_social_fg_disabled, button_social_fg_hover, button_social_fg_provider, created_at, dialog_bg_default, dialog_bg_subtle, dialog_border_default, dialog_fg_default, dialog_fg_mute, dialog_fg_subtle, forms_bg_default, forms_bg_disabled, forms_bg_hover, forms_border_default, forms_border_disabled, forms_border_error, forms_border_focus, forms_border_hover, forms_border_success, forms_border_warn, forms_checkbox_bg_checked, forms_checkbox_bg_default, forms_checkbox_border_checked, forms_checkbox_border_default, forms_checkbox_fg_checked, forms_checkbox_fg_default, forms_fg_default, forms_fg_error, forms_fg_mute, forms_fg_subtle, forms_fg_success, forms_fg_warn, forms_radio_bg_checked, forms_radio_bg_default, forms_radio_border_checked, forms_radio_border_default, forms_radio_fg_checked, forms_radio_fg_default, forms_toggle_bg_checked, forms_toggle_bg_default, forms_toggle_border_checked, forms_toggle_border_default, forms_toggle_fg_checked, forms_toggle_fg_default, id, links_link_default, links_link_disabled, links_link_hover, links_link_inverted_default, links_link_inverted_hover, links_link_mute_default, links_link_mute_hover, syntax_syntax, syntax_syntax_key, syntax_syntax_num, syntax_syntax_value, updated_at].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



787
788
789
790
791
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 787

def list_invalid_properties
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
  invalid_properties = Array.new
  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



984
985
986
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 984

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



990
991
992
993
994
995
996
997
998
999
1000
1001
1002
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 990

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    if value.nil?
      is_nullable = self.class.openapi_nullable.include?(attr)
      next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
    end

    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



978
979
980
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 978

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



795
796
797
798
# File 'lib/ory-client/models/account_experience_theme_variables.rb', line 795

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  true
end