Class: OryClient::AccountExperienceColors

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ AccountExperienceColors

Initializes the object

Parameters:

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

    Model attributes in the form of hash



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
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
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
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
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
975
# File 'lib/ory-client/models/account_experience_colors.rb', line 503

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `OryClient::AccountExperienceColors` 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::AccountExperienceColors`. 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?(:'button_identifier_background_default')
    self.button_identifier_background_default = attributes[:'button_identifier_background_default']
  end

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  if attributes.key?(:'button_primary_background_hover')
    self.button_primary_background_hover = attributes[:'button_primary_background_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_foreground_default')
    self.button_primary_foreground_default = attributes[:'button_primary_foreground_default']
  end

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

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

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

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

  if attributes.key?(:'button_secondary_background_hover')
    self.button_secondary_background_hover = attributes[:'button_secondary_background_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_foreground_default')
    self.button_secondary_foreground_default = attributes[:'button_secondary_foreground_default']
  end

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

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

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

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

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

  if attributes.key?(:'button_social_background_hover')
    self.button_social_background_hover = attributes[:'button_social_background_hover']
  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_generic_provider')
    self.button_social_border_generic_provider = attributes[:'button_social_border_generic_provider']
  end

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Instance Attribute Details

#button_identifier_background_defaultObject

Returns the value of attribute button_identifier_background_default.



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

def button_identifier_background_default
  @button_identifier_background_default
end

#button_identifier_background_hoverObject

Returns the value of attribute button_identifier_background_hover.



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

def button_identifier_background_hover
  @button_identifier_background_hover
end

#button_identifier_border_border_defaultObject

Returns the value of attribute button_identifier_border_border_default.



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

def button_identifier_border_border_default
  @button_identifier_border_border_default
end

#button_identifier_border_border_hoverObject

Returns the value of attribute button_identifier_border_border_hover.



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

def button_identifier_border_border_hover
  @button_identifier_border_border_hover
end

#button_identifier_foreground_defaultObject

Returns the value of attribute button_identifier_foreground_default.



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

def button_identifier_foreground_default
  @button_identifier_foreground_default
end

#button_identifier_foreground_hoverObject

Returns the value of attribute button_identifier_foreground_hover.



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

def button_identifier_foreground_hover
  @button_identifier_foreground_hover
end

Returns the value of attribute button_link_brand_brand.



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

def button_link_brand_brand
  @button_link_brand_brand
end

Returns the value of attribute button_link_brand_brand_hover.



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

def button_link_brand_brand_hover
  @button_link_brand_brand_hover
end

Returns the value of attribute button_link_default_primary.



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

def button_link_default_primary
  @button_link_default_primary
end

Returns the value of attribute button_link_default_primary_hover.



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

def button_link_default_primary_hover
  @button_link_default_primary_hover
end

Returns the value of attribute button_link_default_secondary.



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

def button_link_default_secondary
  @button_link_default_secondary
end

Returns the value of attribute button_link_default_secondary_hover.



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

def button_link_default_secondary_hover
  @button_link_default_secondary_hover
end

Returns the value of attribute button_link_disabled_disabled.



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

def button_link_disabled_disabled
  @button_link_disabled_disabled
end

#button_primary_background_defaultObject

Returns the value of attribute button_primary_background_default.



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

def button_primary_background_default
  @button_primary_background_default
end

#button_primary_background_disabledObject

Returns the value of attribute button_primary_background_disabled.



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

def button_primary_background_disabled
  @button_primary_background_disabled
end

#button_primary_background_hoverObject

Returns the value of attribute button_primary_background_hover.



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

def button_primary_background_hover
  @button_primary_background_hover
end

#button_primary_border_defaultObject

Returns the value of attribute button_primary_border_default.



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

def button_primary_border_default
  @button_primary_border_default
end

#button_primary_border_disabledObject

Returns the value of attribute button_primary_border_disabled.



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

def button_primary_border_disabled
  @button_primary_border_disabled
end

#button_primary_border_hoverObject

Returns the value of attribute button_primary_border_hover.



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

def button_primary_border_hover
  @button_primary_border_hover
end

#button_primary_foreground_defaultObject

Returns the value of attribute button_primary_foreground_default.



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

def button_primary_foreground_default
  @button_primary_foreground_default
end

#button_primary_foreground_disabledObject

Returns the value of attribute button_primary_foreground_disabled.



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

def button_primary_foreground_disabled
  @button_primary_foreground_disabled
end

#button_primary_foreground_hoverObject

Returns the value of attribute button_primary_foreground_hover.



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

def button_primary_foreground_hover
  @button_primary_foreground_hover
end

#button_secondary_background_defaultObject

Returns the value of attribute button_secondary_background_default.



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

def button_secondary_background_default
  @button_secondary_background_default
end

#button_secondary_background_disabledObject

Returns the value of attribute button_secondary_background_disabled.



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

def button_secondary_background_disabled
  @button_secondary_background_disabled
end

#button_secondary_background_hoverObject

Returns the value of attribute button_secondary_background_hover.



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

def button_secondary_background_hover
  @button_secondary_background_hover
end

#button_secondary_border_defaultObject

Returns the value of attribute button_secondary_border_default.



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

def button_secondary_border_default
  @button_secondary_border_default
end

#button_secondary_border_disabledObject

Returns the value of attribute button_secondary_border_disabled.



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

def button_secondary_border_disabled
  @button_secondary_border_disabled
end

#button_secondary_border_hoverObject

Returns the value of attribute button_secondary_border_hover.



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

def button_secondary_border_hover
  @button_secondary_border_hover
end

#button_secondary_foreground_defaultObject

Returns the value of attribute button_secondary_foreground_default.



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

def button_secondary_foreground_default
  @button_secondary_foreground_default
end

#button_secondary_foreground_disabledObject

Returns the value of attribute button_secondary_foreground_disabled.



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

def button_secondary_foreground_disabled
  @button_secondary_foreground_disabled
end

#button_secondary_foreground_hoverObject

Returns the value of attribute button_secondary_foreground_hover.



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

def button_secondary_foreground_hover
  @button_secondary_foreground_hover
end

#button_social_background_defaultObject

Returns the value of attribute button_social_background_default.



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

def button_social_background_default
  @button_social_background_default
end

#button_social_background_disabledObject

Returns the value of attribute button_social_background_disabled.



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

def button_social_background_disabled
  @button_social_background_disabled
end

#button_social_background_generic_providerObject

Returns the value of attribute button_social_background_generic_provider.



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

def button_social_background_generic_provider
  @button_social_background_generic_provider
end

#button_social_background_hoverObject

Returns the value of attribute button_social_background_hover.



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

def button_social_background_hover
  @button_social_background_hover
end

#button_social_border_defaultObject

Returns the value of attribute button_social_border_default.



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

def button_social_border_default
  @button_social_border_default
end

#button_social_border_disabledObject

Returns the value of attribute button_social_border_disabled.



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

def button_social_border_disabled
  @button_social_border_disabled
end

#button_social_border_generic_providerObject

Returns the value of attribute button_social_border_generic_provider.



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

def button_social_border_generic_provider
  @button_social_border_generic_provider
end

#button_social_border_hoverObject

Returns the value of attribute button_social_border_hover.



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

def button_social_border_hover
  @button_social_border_hover
end

#button_social_foreground_defaultObject

Returns the value of attribute button_social_foreground_default.



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

def button_social_foreground_default
  @button_social_foreground_default
end

#button_social_foreground_disabledObject

Returns the value of attribute button_social_foreground_disabled.



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

def button_social_foreground_disabled
  @button_social_foreground_disabled
end

#button_social_foreground_generic_providerObject

Returns the value of attribute button_social_foreground_generic_provider.



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

def button_social_foreground_generic_provider
  @button_social_foreground_generic_provider
end

#button_social_foreground_hoverObject

Returns the value of attribute button_social_foreground_hover.



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

def button_social_foreground_hover
  @button_social_foreground_hover
end

#checkbox_background_checkedObject

Returns the value of attribute checkbox_background_checked.



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

def checkbox_background_checked
  @checkbox_background_checked
end

#checkbox_background_defaultObject

Returns the value of attribute checkbox_background_default.



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

def checkbox_background_default
  @checkbox_background_default
end

#checkbox_border_checkbox_border_checkedObject

Returns the value of attribute checkbox_border_checkbox_border_checked.



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

def checkbox_border_checkbox_border_checked
  @checkbox_border_checkbox_border_checked
end

#checkbox_border_checkbox_border_defaultObject

Returns the value of attribute checkbox_border_checkbox_border_default.



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

def checkbox_border_checkbox_border_default
  @checkbox_border_checkbox_border_default
end

#checkbox_foreground_checkedObject

Returns the value of attribute checkbox_foreground_checked.



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

def checkbox_foreground_checked
  @checkbox_foreground_checked
end

#checkbox_foreground_defaultObject

Returns the value of attribute checkbox_foreground_default.



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

def checkbox_foreground_default
  @checkbox_foreground_default
end

#form_background_defaultObject

Returns the value of attribute form_background_default.



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

def form_background_default
  @form_background_default
end

#form_border_defaultObject

Returns the value of attribute form_border_default.



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

def form_border_default
  @form_border_default
end

#input_background_defaultObject

Returns the value of attribute input_background_default.



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

def input_background_default
  @input_background_default
end

#input_background_disabledObject

Returns the value of attribute input_background_disabled.



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

def input_background_disabled
  @input_background_disabled
end

#input_background_hoverObject

Returns the value of attribute input_background_hover.



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

def input_background_hover
  @input_background_hover
end

#input_border_defaultObject

Returns the value of attribute input_border_default.



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

def input_border_default
  @input_border_default
end

#input_border_disabledObject

Returns the value of attribute input_border_disabled.



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

def input_border_disabled
  @input_border_disabled
end

#input_border_focusObject

Returns the value of attribute input_border_focus.



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

def input_border_focus
  @input_border_focus
end

#input_border_hoverObject

Returns the value of attribute input_border_hover.



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

def input_border_hover
  @input_border_hover
end

#input_foreground_disabledObject

Returns the value of attribute input_foreground_disabled.



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

def input_foreground_disabled
  @input_foreground_disabled
end

#input_foreground_primaryObject

Returns the value of attribute input_foreground_primary.



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

def input_foreground_primary
  @input_foreground_primary
end

#input_foreground_secondaryObject

Returns the value of attribute input_foreground_secondary.



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

def input_foreground_secondary
  @input_foreground_secondary
end

#input_foreground_tertiaryObject

Returns the value of attribute input_foreground_tertiary.



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

def input_foreground_tertiary
  @input_foreground_tertiary
end

#interface_background_brand_primaryObject

Returns the value of attribute interface_background_brand_primary.



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

def interface_background_brand_primary
  @interface_background_brand_primary
end

#interface_background_brand_primary_hoverObject

Returns the value of attribute interface_background_brand_primary_hover.



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

def interface_background_brand_primary_hover
  @interface_background_brand_primary_hover
end

#interface_background_brand_secondaryObject

Returns the value of attribute interface_background_brand_secondary.



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

def interface_background_brand_secondary
  @interface_background_brand_secondary
end

#interface_background_brand_secondary_hoverObject

Returns the value of attribute interface_background_brand_secondary_hover.



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

def interface_background_brand_secondary_hover
  @interface_background_brand_secondary_hover
end

#interface_background_default_invertedObject

Returns the value of attribute interface_background_default_inverted.



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

def interface_background_default_inverted
  @interface_background_default_inverted
end

#interface_background_default_inverted_hoverObject

Returns the value of attribute interface_background_default_inverted_hover.



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

def interface_background_default_inverted_hover
  @interface_background_default_inverted_hover
end

#interface_background_default_noneObject

Returns the value of attribute interface_background_default_none.



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

def interface_background_default_none
  @interface_background_default_none
end

#interface_background_default_primaryObject

Returns the value of attribute interface_background_default_primary.



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

def interface_background_default_primary
  @interface_background_default_primary
end

#interface_background_default_primary_hoverObject

Returns the value of attribute interface_background_default_primary_hover.



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

def interface_background_default_primary_hover
  @interface_background_default_primary_hover
end

#interface_background_default_secondaryObject

Returns the value of attribute interface_background_default_secondary.



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

def interface_background_default_secondary
  @interface_background_default_secondary
end

#interface_background_default_secondary_hoverObject

Returns the value of attribute interface_background_default_secondary_hover.



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

def interface_background_default_secondary_hover
  @interface_background_default_secondary_hover
end

#interface_background_default_tertiaryObject

Returns the value of attribute interface_background_default_tertiary.



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

def interface_background_default_tertiary
  @interface_background_default_tertiary
end

#interface_background_default_tertiary_hoverObject

Returns the value of attribute interface_background_default_tertiary_hover.



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

def interface_background_default_tertiary_hover
  @interface_background_default_tertiary_hover
end

#interface_background_disabled_disabledObject

Returns the value of attribute interface_background_disabled_disabled.



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

def interface_background_disabled_disabled
  @interface_background_disabled_disabled
end

#interface_background_validation_dangerObject

Returns the value of attribute interface_background_validation_danger.



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

def interface_background_validation_danger
  @interface_background_validation_danger
end

#interface_background_validation_successObject

Returns the value of attribute interface_background_validation_success.



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

def interface_background_validation_success
  @interface_background_validation_success
end

#interface_background_validation_warningObject

Returns the value of attribute interface_background_validation_warning.



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

def interface_background_validation_warning
  @interface_background_validation_warning
end

#interface_border_brand_brandObject

Returns the value of attribute interface_border_brand_brand.



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

def interface_border_brand_brand
  @interface_border_brand_brand
end

#interface_border_default_invertedObject

Returns the value of attribute interface_border_default_inverted.



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

def interface_border_default_inverted
  @interface_border_default_inverted
end

#interface_border_default_noneObject

Returns the value of attribute interface_border_default_none.



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

def interface_border_default_none
  @interface_border_default_none
end

#interface_border_default_primaryObject

Returns the value of attribute interface_border_default_primary.



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

def interface_border_default_primary
  @interface_border_default_primary
end

#interface_border_disabled_disabledObject

Returns the value of attribute interface_border_disabled_disabled.



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

def interface_border_disabled_disabled
  @interface_border_disabled_disabled
end

#interface_border_validation_dangerObject

Returns the value of attribute interface_border_validation_danger.



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

def interface_border_validation_danger
  @interface_border_validation_danger
end

#interface_border_validation_successObject

Returns the value of attribute interface_border_validation_success.



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

def interface_border_validation_success
  @interface_border_validation_success
end

#interface_border_validation_warningObject

Returns the value of attribute interface_border_validation_warning.



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

def interface_border_validation_warning
  @interface_border_validation_warning
end

#interface_foreground_brand_on_primaryObject

Returns the value of attribute interface_foreground_brand_on_primary.



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

def interface_foreground_brand_on_primary
  @interface_foreground_brand_on_primary
end

#interface_foreground_brand_on_secondaryObject

Returns the value of attribute interface_foreground_brand_on_secondary.



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

def interface_foreground_brand_on_secondary
  @interface_foreground_brand_on_secondary
end

#interface_foreground_brand_primaryObject

Returns the value of attribute interface_foreground_brand_primary.



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

def interface_foreground_brand_primary
  @interface_foreground_brand_primary
end

#interface_foreground_brand_secondaryObject

Returns the value of attribute interface_foreground_brand_secondary.



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

def interface_foreground_brand_secondary
  @interface_foreground_brand_secondary
end

#interface_foreground_default_invertedObject

Returns the value of attribute interface_foreground_default_inverted.



200
201
202
# File 'lib/ory-client/models/account_experience_colors.rb', line 200

def interface_foreground_default_inverted
  @interface_foreground_default_inverted
end

#interface_foreground_default_primaryObject

Returns the value of attribute interface_foreground_default_primary.



202
203
204
# File 'lib/ory-client/models/account_experience_colors.rb', line 202

def interface_foreground_default_primary
  @interface_foreground_default_primary
end

#interface_foreground_default_secondaryObject

Returns the value of attribute interface_foreground_default_secondary.



204
205
206
# File 'lib/ory-client/models/account_experience_colors.rb', line 204

def interface_foreground_default_secondary
  @interface_foreground_default_secondary
end

#interface_foreground_default_tertiaryObject

Returns the value of attribute interface_foreground_default_tertiary.



206
207
208
# File 'lib/ory-client/models/account_experience_colors.rb', line 206

def interface_foreground_default_tertiary
  @interface_foreground_default_tertiary
end

#interface_foreground_disabled_disabledObject

Returns the value of attribute interface_foreground_disabled_disabled.



208
209
210
# File 'lib/ory-client/models/account_experience_colors.rb', line 208

def interface_foreground_disabled_disabled
  @interface_foreground_disabled_disabled
end

#interface_foreground_disabled_on_disabledObject

Returns the value of attribute interface_foreground_disabled_on_disabled.



210
211
212
# File 'lib/ory-client/models/account_experience_colors.rb', line 210

def interface_foreground_disabled_on_disabled
  @interface_foreground_disabled_on_disabled
end

#interface_foreground_validation_dangerObject

Returns the value of attribute interface_foreground_validation_danger.



212
213
214
# File 'lib/ory-client/models/account_experience_colors.rb', line 212

def interface_foreground_validation_danger
  @interface_foreground_validation_danger
end

#interface_foreground_validation_successObject

Returns the value of attribute interface_foreground_validation_success.



214
215
216
# File 'lib/ory-client/models/account_experience_colors.rb', line 214

def interface_foreground_validation_success
  @interface_foreground_validation_success
end

#interface_foreground_validation_warningObject

Returns the value of attribute interface_foreground_validation_warning.



216
217
218
# File 'lib/ory-client/models/account_experience_colors.rb', line 216

def interface_foreground_validation_warning
  @interface_foreground_validation_warning
end

#ory_background_defaultObject

Returns the value of attribute ory_background_default.



218
219
220
# File 'lib/ory-client/models/account_experience_colors.rb', line 218

def ory_background_default
  @ory_background_default
end

#ory_border_defaultObject

Returns the value of attribute ory_border_default.



220
221
222
# File 'lib/ory-client/models/account_experience_colors.rb', line 220

def ory_border_default
  @ory_border_default
end

#ory_foreground_defaultObject

Returns the value of attribute ory_foreground_default.



222
223
224
# File 'lib/ory-client/models/account_experience_colors.rb', line 222

def ory_foreground_default
  @ory_foreground_default
end

#radio_background_checkedObject

Returns the value of attribute radio_background_checked.



224
225
226
# File 'lib/ory-client/models/account_experience_colors.rb', line 224

def radio_background_checked
  @radio_background_checked
end

#radio_background_defaultObject

Returns the value of attribute radio_background_default.



226
227
228
# File 'lib/ory-client/models/account_experience_colors.rb', line 226

def radio_background_default
  @radio_background_default
end

#radio_border_checkedObject

Returns the value of attribute radio_border_checked.



228
229
230
# File 'lib/ory-client/models/account_experience_colors.rb', line 228

def radio_border_checked
  @radio_border_checked
end

#radio_border_defaultObject

Returns the value of attribute radio_border_default.



230
231
232
# File 'lib/ory-client/models/account_experience_colors.rb', line 230

def radio_border_default
  @radio_border_default
end

#radio_foreground_checkedObject

Returns the value of attribute radio_foreground_checked.



232
233
234
# File 'lib/ory-client/models/account_experience_colors.rb', line 232

def radio_foreground_checked
  @radio_foreground_checked
end

#radio_foreground_defaultObject

Returns the value of attribute radio_foreground_default.



234
235
236
# File 'lib/ory-client/models/account_experience_colors.rb', line 234

def radio_foreground_default
  @radio_foreground_default
end

#toggle_background_checkedObject

Returns the value of attribute toggle_background_checked.



236
237
238
# File 'lib/ory-client/models/account_experience_colors.rb', line 236

def toggle_background_checked
  @toggle_background_checked
end

#toggle_background_defaultObject

Returns the value of attribute toggle_background_default.



238
239
240
# File 'lib/ory-client/models/account_experience_colors.rb', line 238

def toggle_background_default
  @toggle_background_default
end

#toggle_border_checkedObject

Returns the value of attribute toggle_border_checked.



240
241
242
# File 'lib/ory-client/models/account_experience_colors.rb', line 240

def toggle_border_checked
  @toggle_border_checked
end

#toggle_border_defaultObject

Returns the value of attribute toggle_border_default.



242
243
244
# File 'lib/ory-client/models/account_experience_colors.rb', line 242

def toggle_border_default
  @toggle_border_default
end

#toggle_foreground_checkedObject

Returns the value of attribute toggle_foreground_checked.



244
245
246
# File 'lib/ory-client/models/account_experience_colors.rb', line 244

def toggle_foreground_checked
  @toggle_foreground_checked
end

#toggle_foreground_defaultObject

Returns the value of attribute toggle_foreground_default.



246
247
248
# File 'lib/ory-client/models/account_experience_colors.rb', line 246

def toggle_foreground_default
  @toggle_foreground_default
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



1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
# File 'lib/ory-client/models/account_experience_colors.rb', line 1153

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



370
371
372
# File 'lib/ory-client/models/account_experience_colors.rb', line 370

def self.acceptable_attributes
  attribute_map.values
end

.attribute_mapObject

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



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
296
297
298
299
300
301
302
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
# File 'lib/ory-client/models/account_experience_colors.rb', line 249

def self.attribute_map
  {
    :'button_identifier_background_default' => :'button-identifier-background-default',
    :'button_identifier_background_hover' => :'button-identifier-background-hover',
    :'button_identifier_border_border_default' => :'button-identifier-border-border-default',
    :'button_identifier_border_border_hover' => :'button-identifier-border-border-hover',
    :'button_identifier_foreground_default' => :'button-identifier-foreground-default',
    :'button_identifier_foreground_hover' => :'button-identifier-foreground-hover',
    :'button_link_brand_brand' => :'button-link-brand-brand',
    :'button_link_brand_brand_hover' => :'button-link-brand-brand-hover',
    :'button_link_default_primary' => :'button-link-default-primary',
    :'button_link_default_primary_hover' => :'button-link-default-primary-hover',
    :'button_link_default_secondary' => :'button-link-default-secondary',
    :'button_link_default_secondary_hover' => :'button-link-default-secondary-hover',
    :'button_link_disabled_disabled' => :'button-link-disabled-disabled',
    :'button_primary_background_default' => :'button-primary-background-default',
    :'button_primary_background_disabled' => :'button-primary-background-disabled',
    :'button_primary_background_hover' => :'button-primary-background-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_foreground_default' => :'button-primary-foreground-default',
    :'button_primary_foreground_disabled' => :'button-primary-foreground-disabled',
    :'button_primary_foreground_hover' => :'button-primary-foreground-hover',
    :'button_secondary_background_default' => :'button-secondary-background-default',
    :'button_secondary_background_disabled' => :'button-secondary-background-disabled',
    :'button_secondary_background_hover' => :'button-secondary-background-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_foreground_default' => :'button-secondary-foreground-default',
    :'button_secondary_foreground_disabled' => :'button-secondary-foreground-disabled',
    :'button_secondary_foreground_hover' => :'button-secondary-foreground-hover',
    :'button_social_background_default' => :'button-social-background-default',
    :'button_social_background_disabled' => :'button-social-background-disabled',
    :'button_social_background_generic_provider' => :'button-social-background-generic-provider',
    :'button_social_background_hover' => :'button-social-background-hover',
    :'button_social_border_default' => :'button-social-border-default',
    :'button_social_border_disabled' => :'button-social-border-disabled',
    :'button_social_border_generic_provider' => :'button-social-border-generic-provider',
    :'button_social_border_hover' => :'button-social-border-hover',
    :'button_social_foreground_default' => :'button-social-foreground-default',
    :'button_social_foreground_disabled' => :'button-social-foreground-disabled',
    :'button_social_foreground_generic_provider' => :'button-social-foreground-generic-provider',
    :'button_social_foreground_hover' => :'button-social-foreground-hover',
    :'checkbox_background_checked' => :'checkbox-background-checked',
    :'checkbox_background_default' => :'checkbox-background-default',
    :'checkbox_border_checkbox_border_checked' => :'checkbox-border-checkbox-border-checked',
    :'checkbox_border_checkbox_border_default' => :'checkbox-border-checkbox-border-default',
    :'checkbox_foreground_checked' => :'checkbox-foreground-checked',
    :'checkbox_foreground_default' => :'checkbox-foreground-default',
    :'form_background_default' => :'form-background-default',
    :'form_border_default' => :'form-border-default',
    :'input_background_default' => :'input-background-default',
    :'input_background_disabled' => :'input-background-disabled',
    :'input_background_hover' => :'input-background-hover',
    :'input_border_default' => :'input-border-default',
    :'input_border_disabled' => :'input-border-disabled',
    :'input_border_focus' => :'input-border-focus',
    :'input_border_hover' => :'input-border-hover',
    :'input_foreground_disabled' => :'input-foreground-disabled',
    :'input_foreground_primary' => :'input-foreground-primary',
    :'input_foreground_secondary' => :'input-foreground-secondary',
    :'input_foreground_tertiary' => :'input-foreground-tertiary',
    :'interface_background_brand_primary' => :'interface-background-brand-primary',
    :'interface_background_brand_primary_hover' => :'interface-background-brand-primary-hover',
    :'interface_background_brand_secondary' => :'interface-background-brand-secondary',
    :'interface_background_brand_secondary_hover' => :'interface-background-brand-secondary-hover',
    :'interface_background_default_inverted' => :'interface-background-default-inverted',
    :'interface_background_default_inverted_hover' => :'interface-background-default-inverted-hover',
    :'interface_background_default_none' => :'interface-background-default-none',
    :'interface_background_default_primary' => :'interface-background-default-primary',
    :'interface_background_default_primary_hover' => :'interface-background-default-primary-hover',
    :'interface_background_default_secondary' => :'interface-background-default-secondary',
    :'interface_background_default_secondary_hover' => :'interface-background-default-secondary-hover',
    :'interface_background_default_tertiary' => :'interface-background-default-tertiary',
    :'interface_background_default_tertiary_hover' => :'interface-background-default-tertiary-hover',
    :'interface_background_disabled_disabled' => :'interface-background-disabled-disabled',
    :'interface_background_validation_danger' => :'interface-background-validation-danger',
    :'interface_background_validation_success' => :'interface-background-validation-success',
    :'interface_background_validation_warning' => :'interface-background-validation-warning',
    :'interface_border_brand_brand' => :'interface-border-brand-brand',
    :'interface_border_default_inverted' => :'interface-border-default-inverted',
    :'interface_border_default_none' => :'interface-border-default-none',
    :'interface_border_default_primary' => :'interface-border-default-primary',
    :'interface_border_disabled_disabled' => :'interface-border-disabled-disabled',
    :'interface_border_validation_danger' => :'interface-border-validation-danger',
    :'interface_border_validation_success' => :'interface-border-validation-success',
    :'interface_border_validation_warning' => :'interface-border-validation-warning',
    :'interface_foreground_brand_on_primary' => :'interface-foreground-brand-on-primary',
    :'interface_foreground_brand_on_secondary' => :'interface-foreground-brand-on-secondary',
    :'interface_foreground_brand_primary' => :'interface-foreground-brand-primary',
    :'interface_foreground_brand_secondary' => :'interface-foreground-brand-secondary',
    :'interface_foreground_default_inverted' => :'interface-foreground-default-inverted',
    :'interface_foreground_default_primary' => :'interface-foreground-default-primary',
    :'interface_foreground_default_secondary' => :'interface-foreground-default-secondary',
    :'interface_foreground_default_tertiary' => :'interface-foreground-default-tertiary',
    :'interface_foreground_disabled_disabled' => :'interface-foreground-disabled-disabled',
    :'interface_foreground_disabled_on_disabled' => :'interface-foreground-disabled-on-disabled',
    :'interface_foreground_validation_danger' => :'interface-foreground-validation-danger',
    :'interface_foreground_validation_success' => :'interface-foreground-validation-success',
    :'interface_foreground_validation_warning' => :'interface-foreground-validation-warning',
    :'ory_background_default' => :'ory-background-default',
    :'ory_border_default' => :'ory-border-default',
    :'ory_foreground_default' => :'ory-foreground-default',
    :'radio_background_checked' => :'radio-background-checked',
    :'radio_background_default' => :'radio-background-default',
    :'radio_border_checked' => :'radio-border-checked',
    :'radio_border_default' => :'radio-border-default',
    :'radio_foreground_checked' => :'radio-foreground-checked',
    :'radio_foreground_default' => :'radio-foreground-default',
    :'toggle_background_checked' => :'toggle-background-checked',
    :'toggle_background_default' => :'toggle-background-default',
    :'toggle_border_checked' => :'toggle-border-checked',
    :'toggle_border_default' => :'toggle-border-default',
    :'toggle_foreground_checked' => :'toggle-foreground-checked',
    :'toggle_foreground_default' => :'toggle-foreground-default'
  }
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



1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
# File 'lib/ory-client/models/account_experience_colors.rb', line 1129

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



496
497
498
499
# File 'lib/ory-client/models/account_experience_colors.rb', line 496

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

.openapi_typesObject

Attribute type mapping.



375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
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
# File 'lib/ory-client/models/account_experience_colors.rb', line 375

def self.openapi_types
  {
    :'button_identifier_background_default' => :'String',
    :'button_identifier_background_hover' => :'String',
    :'button_identifier_border_border_default' => :'String',
    :'button_identifier_border_border_hover' => :'String',
    :'button_identifier_foreground_default' => :'String',
    :'button_identifier_foreground_hover' => :'String',
    :'button_link_brand_brand' => :'String',
    :'button_link_brand_brand_hover' => :'String',
    :'button_link_default_primary' => :'String',
    :'button_link_default_primary_hover' => :'String',
    :'button_link_default_secondary' => :'String',
    :'button_link_default_secondary_hover' => :'String',
    :'button_link_disabled_disabled' => :'String',
    :'button_primary_background_default' => :'String',
    :'button_primary_background_disabled' => :'String',
    :'button_primary_background_hover' => :'String',
    :'button_primary_border_default' => :'String',
    :'button_primary_border_disabled' => :'String',
    :'button_primary_border_hover' => :'String',
    :'button_primary_foreground_default' => :'String',
    :'button_primary_foreground_disabled' => :'String',
    :'button_primary_foreground_hover' => :'String',
    :'button_secondary_background_default' => :'String',
    :'button_secondary_background_disabled' => :'String',
    :'button_secondary_background_hover' => :'String',
    :'button_secondary_border_default' => :'String',
    :'button_secondary_border_disabled' => :'String',
    :'button_secondary_border_hover' => :'String',
    :'button_secondary_foreground_default' => :'String',
    :'button_secondary_foreground_disabled' => :'String',
    :'button_secondary_foreground_hover' => :'String',
    :'button_social_background_default' => :'String',
    :'button_social_background_disabled' => :'String',
    :'button_social_background_generic_provider' => :'String',
    :'button_social_background_hover' => :'String',
    :'button_social_border_default' => :'String',
    :'button_social_border_disabled' => :'String',
    :'button_social_border_generic_provider' => :'String',
    :'button_social_border_hover' => :'String',
    :'button_social_foreground_default' => :'String',
    :'button_social_foreground_disabled' => :'String',
    :'button_social_foreground_generic_provider' => :'String',
    :'button_social_foreground_hover' => :'String',
    :'checkbox_background_checked' => :'String',
    :'checkbox_background_default' => :'String',
    :'checkbox_border_checkbox_border_checked' => :'String',
    :'checkbox_border_checkbox_border_default' => :'String',
    :'checkbox_foreground_checked' => :'String',
    :'checkbox_foreground_default' => :'String',
    :'form_background_default' => :'String',
    :'form_border_default' => :'String',
    :'input_background_default' => :'String',
    :'input_background_disabled' => :'String',
    :'input_background_hover' => :'String',
    :'input_border_default' => :'String',
    :'input_border_disabled' => :'String',
    :'input_border_focus' => :'String',
    :'input_border_hover' => :'String',
    :'input_foreground_disabled' => :'String',
    :'input_foreground_primary' => :'String',
    :'input_foreground_secondary' => :'String',
    :'input_foreground_tertiary' => :'String',
    :'interface_background_brand_primary' => :'String',
    :'interface_background_brand_primary_hover' => :'String',
    :'interface_background_brand_secondary' => :'String',
    :'interface_background_brand_secondary_hover' => :'String',
    :'interface_background_default_inverted' => :'String',
    :'interface_background_default_inverted_hover' => :'String',
    :'interface_background_default_none' => :'String',
    :'interface_background_default_primary' => :'String',
    :'interface_background_default_primary_hover' => :'String',
    :'interface_background_default_secondary' => :'String',
    :'interface_background_default_secondary_hover' => :'String',
    :'interface_background_default_tertiary' => :'String',
    :'interface_background_default_tertiary_hover' => :'String',
    :'interface_background_disabled_disabled' => :'String',
    :'interface_background_validation_danger' => :'String',
    :'interface_background_validation_success' => :'String',
    :'interface_background_validation_warning' => :'String',
    :'interface_border_brand_brand' => :'String',
    :'interface_border_default_inverted' => :'String',
    :'interface_border_default_none' => :'String',
    :'interface_border_default_primary' => :'String',
    :'interface_border_disabled_disabled' => :'String',
    :'interface_border_validation_danger' => :'String',
    :'interface_border_validation_success' => :'String',
    :'interface_border_validation_warning' => :'String',
    :'interface_foreground_brand_on_primary' => :'String',
    :'interface_foreground_brand_on_secondary' => :'String',
    :'interface_foreground_brand_primary' => :'String',
    :'interface_foreground_brand_secondary' => :'String',
    :'interface_foreground_default_inverted' => :'String',
    :'interface_foreground_default_primary' => :'String',
    :'interface_foreground_default_secondary' => :'String',
    :'interface_foreground_default_tertiary' => :'String',
    :'interface_foreground_disabled_disabled' => :'String',
    :'interface_foreground_disabled_on_disabled' => :'String',
    :'interface_foreground_validation_danger' => :'String',
    :'interface_foreground_validation_success' => :'String',
    :'interface_foreground_validation_warning' => :'String',
    :'ory_background_default' => :'String',
    :'ory_border_default' => :'String',
    :'ory_foreground_default' => :'String',
    :'radio_background_checked' => :'String',
    :'radio_background_default' => :'String',
    :'radio_border_checked' => :'String',
    :'radio_border_default' => :'String',
    :'radio_foreground_checked' => :'String',
    :'radio_foreground_default' => :'String',
    :'toggle_background_checked' => :'String',
    :'toggle_background_default' => :'String',
    :'toggle_border_checked' => :'String',
    :'toggle_border_default' => :'String',
    :'toggle_foreground_checked' => :'String',
    :'toggle_foreground_default' => :'String'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
# File 'lib/ory-client/models/account_experience_colors.rb', line 994

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      button_identifier_background_default == o.button_identifier_background_default &&
      button_identifier_background_hover == o.button_identifier_background_hover &&
      button_identifier_border_border_default == o.button_identifier_border_border_default &&
      button_identifier_border_border_hover == o.button_identifier_border_border_hover &&
      button_identifier_foreground_default == o.button_identifier_foreground_default &&
      button_identifier_foreground_hover == o.button_identifier_foreground_hover &&
      button_link_brand_brand == o.button_link_brand_brand &&
      button_link_brand_brand_hover == o.button_link_brand_brand_hover &&
      button_link_default_primary == o.button_link_default_primary &&
      button_link_default_primary_hover == o.button_link_default_primary_hover &&
      button_link_default_secondary == o.button_link_default_secondary &&
      button_link_default_secondary_hover == o.button_link_default_secondary_hover &&
      button_link_disabled_disabled == o.button_link_disabled_disabled &&
      button_primary_background_default == o.button_primary_background_default &&
      button_primary_background_disabled == o.button_primary_background_disabled &&
      button_primary_background_hover == o.button_primary_background_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_foreground_default == o.button_primary_foreground_default &&
      button_primary_foreground_disabled == o.button_primary_foreground_disabled &&
      button_primary_foreground_hover == o.button_primary_foreground_hover &&
      button_secondary_background_default == o.button_secondary_background_default &&
      button_secondary_background_disabled == o.button_secondary_background_disabled &&
      button_secondary_background_hover == o.button_secondary_background_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_foreground_default == o.button_secondary_foreground_default &&
      button_secondary_foreground_disabled == o.button_secondary_foreground_disabled &&
      button_secondary_foreground_hover == o.button_secondary_foreground_hover &&
      button_social_background_default == o.button_social_background_default &&
      button_social_background_disabled == o.button_social_background_disabled &&
      button_social_background_generic_provider == o.button_social_background_generic_provider &&
      button_social_background_hover == o.button_social_background_hover &&
      button_social_border_default == o.button_social_border_default &&
      button_social_border_disabled == o.button_social_border_disabled &&
      button_social_border_generic_provider == o.button_social_border_generic_provider &&
      button_social_border_hover == o.button_social_border_hover &&
      button_social_foreground_default == o.button_social_foreground_default &&
      button_social_foreground_disabled == o.button_social_foreground_disabled &&
      button_social_foreground_generic_provider == o.button_social_foreground_generic_provider &&
      button_social_foreground_hover == o.button_social_foreground_hover &&
      checkbox_background_checked == o.checkbox_background_checked &&
      checkbox_background_default == o.checkbox_background_default &&
      checkbox_border_checkbox_border_checked == o.checkbox_border_checkbox_border_checked &&
      checkbox_border_checkbox_border_default == o.checkbox_border_checkbox_border_default &&
      checkbox_foreground_checked == o.checkbox_foreground_checked &&
      checkbox_foreground_default == o.checkbox_foreground_default &&
      form_background_default == o.form_background_default &&
      form_border_default == o.form_border_default &&
      input_background_default == o.input_background_default &&
      input_background_disabled == o.input_background_disabled &&
      input_background_hover == o.input_background_hover &&
      input_border_default == o.input_border_default &&
      input_border_disabled == o.input_border_disabled &&
      input_border_focus == o.input_border_focus &&
      input_border_hover == o.input_border_hover &&
      input_foreground_disabled == o.input_foreground_disabled &&
      input_foreground_primary == o.input_foreground_primary &&
      input_foreground_secondary == o.input_foreground_secondary &&
      input_foreground_tertiary == o.input_foreground_tertiary &&
      interface_background_brand_primary == o.interface_background_brand_primary &&
      interface_background_brand_primary_hover == o.interface_background_brand_primary_hover &&
      interface_background_brand_secondary == o.interface_background_brand_secondary &&
      interface_background_brand_secondary_hover == o.interface_background_brand_secondary_hover &&
      interface_background_default_inverted == o.interface_background_default_inverted &&
      interface_background_default_inverted_hover == o.interface_background_default_inverted_hover &&
      interface_background_default_none == o.interface_background_default_none &&
      interface_background_default_primary == o.interface_background_default_primary &&
      interface_background_default_primary_hover == o.interface_background_default_primary_hover &&
      interface_background_default_secondary == o.interface_background_default_secondary &&
      interface_background_default_secondary_hover == o.interface_background_default_secondary_hover &&
      interface_background_default_tertiary == o.interface_background_default_tertiary &&
      interface_background_default_tertiary_hover == o.interface_background_default_tertiary_hover &&
      interface_background_disabled_disabled == o.interface_background_disabled_disabled &&
      interface_background_validation_danger == o.interface_background_validation_danger &&
      interface_background_validation_success == o.interface_background_validation_success &&
      interface_background_validation_warning == o.interface_background_validation_warning &&
      interface_border_brand_brand == o.interface_border_brand_brand &&
      interface_border_default_inverted == o.interface_border_default_inverted &&
      interface_border_default_none == o.interface_border_default_none &&
      interface_border_default_primary == o.interface_border_default_primary &&
      interface_border_disabled_disabled == o.interface_border_disabled_disabled &&
      interface_border_validation_danger == o.interface_border_validation_danger &&
      interface_border_validation_success == o.interface_border_validation_success &&
      interface_border_validation_warning == o.interface_border_validation_warning &&
      interface_foreground_brand_on_primary == o.interface_foreground_brand_on_primary &&
      interface_foreground_brand_on_secondary == o.interface_foreground_brand_on_secondary &&
      interface_foreground_brand_primary == o.interface_foreground_brand_primary &&
      interface_foreground_brand_secondary == o.interface_foreground_brand_secondary &&
      interface_foreground_default_inverted == o.interface_foreground_default_inverted &&
      interface_foreground_default_primary == o.interface_foreground_default_primary &&
      interface_foreground_default_secondary == o.interface_foreground_default_secondary &&
      interface_foreground_default_tertiary == o.interface_foreground_default_tertiary &&
      interface_foreground_disabled_disabled == o.interface_foreground_disabled_disabled &&
      interface_foreground_disabled_on_disabled == o.interface_foreground_disabled_on_disabled &&
      interface_foreground_validation_danger == o.interface_foreground_validation_danger &&
      interface_foreground_validation_success == o.interface_foreground_validation_success &&
      interface_foreground_validation_warning == o.interface_foreground_validation_warning &&
      ory_background_default == o.ory_background_default &&
      ory_border_default == o.ory_border_default &&
      ory_foreground_default == o.ory_foreground_default &&
      radio_background_checked == o.radio_background_checked &&
      radio_background_default == o.radio_background_default &&
      radio_border_checked == o.radio_border_checked &&
      radio_border_default == o.radio_border_default &&
      radio_foreground_checked == o.radio_foreground_checked &&
      radio_foreground_default == o.radio_foreground_default &&
      toggle_background_checked == o.toggle_background_checked &&
      toggle_background_default == o.toggle_background_default &&
      toggle_border_checked == o.toggle_border_checked &&
      toggle_border_default == o.toggle_border_default &&
      toggle_foreground_checked == o.toggle_foreground_checked &&
      toggle_foreground_default == o.toggle_foreground_default
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



1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
# File 'lib/ory-client/models/account_experience_colors.rb', line 1224

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


1116
1117
1118
# File 'lib/ory-client/models/account_experience_colors.rb', line 1116

def eql?(o)
  self == o
end

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



1122
1123
1124
# File 'lib/ory-client/models/account_experience_colors.rb', line 1122

def hash
  [button_identifier_background_default, button_identifier_background_hover, button_identifier_border_border_default, button_identifier_border_border_hover, button_identifier_foreground_default, button_identifier_foreground_hover, button_link_brand_brand, button_link_brand_brand_hover, button_link_default_primary, button_link_default_primary_hover, button_link_default_secondary, button_link_default_secondary_hover, button_link_disabled_disabled, button_primary_background_default, button_primary_background_disabled, button_primary_background_hover, button_primary_border_default, button_primary_border_disabled, button_primary_border_hover, button_primary_foreground_default, button_primary_foreground_disabled, button_primary_foreground_hover, button_secondary_background_default, button_secondary_background_disabled, button_secondary_background_hover, button_secondary_border_default, button_secondary_border_disabled, button_secondary_border_hover, button_secondary_foreground_default, button_secondary_foreground_disabled, button_secondary_foreground_hover, button_social_background_default, button_social_background_disabled, button_social_background_generic_provider, button_social_background_hover, button_social_border_default, button_social_border_disabled, button_social_border_generic_provider, button_social_border_hover, button_social_foreground_default, button_social_foreground_disabled, button_social_foreground_generic_provider, button_social_foreground_hover, checkbox_background_checked, checkbox_background_default, checkbox_border_checkbox_border_checked, checkbox_border_checkbox_border_default, checkbox_foreground_checked, checkbox_foreground_default, form_background_default, form_border_default, input_background_default, input_background_disabled, input_background_hover, input_border_default, input_border_disabled, input_border_focus, input_border_hover, input_foreground_disabled, input_foreground_primary, input_foreground_secondary, input_foreground_tertiary, interface_background_brand_primary, interface_background_brand_primary_hover, interface_background_brand_secondary, interface_background_brand_secondary_hover, interface_background_default_inverted, interface_background_default_inverted_hover, interface_background_default_none, interface_background_default_primary, interface_background_default_primary_hover, interface_background_default_secondary, interface_background_default_secondary_hover, interface_background_default_tertiary, interface_background_default_tertiary_hover, interface_background_disabled_disabled, interface_background_validation_danger, interface_background_validation_success, interface_background_validation_warning, interface_border_brand_brand, interface_border_default_inverted, interface_border_default_none, interface_border_default_primary, interface_border_disabled_disabled, interface_border_validation_danger, interface_border_validation_success, interface_border_validation_warning, interface_foreground_brand_on_primary, interface_foreground_brand_on_secondary, interface_foreground_brand_primary, interface_foreground_brand_secondary, interface_foreground_default_inverted, interface_foreground_default_primary, interface_foreground_default_secondary, interface_foreground_default_tertiary, interface_foreground_disabled_disabled, interface_foreground_disabled_on_disabled, interface_foreground_validation_danger, interface_foreground_validation_success, interface_foreground_validation_warning, ory_background_default, ory_border_default, ory_foreground_default, radio_background_checked, radio_background_default, radio_border_checked, radio_border_default, radio_foreground_checked, radio_foreground_default, toggle_background_checked, toggle_background_default, toggle_border_checked, toggle_border_default, toggle_foreground_checked, toggle_foreground_default].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



979
980
981
982
983
# File 'lib/ory-client/models/account_experience_colors.rb', line 979

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



1200
1201
1202
# File 'lib/ory-client/models/account_experience_colors.rb', line 1200

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



1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
# File 'lib/ory-client/models/account_experience_colors.rb', line 1206

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



1194
1195
1196
# File 'lib/ory-client/models/account_experience_colors.rb', line 1194

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



987
988
989
990
# File 'lib/ory-client/models/account_experience_colors.rb', line 987

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