Class: VericredClient::RateRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/vericred_client/models/rate_request.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ RateRequest

Initializes the object

Parameters:

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

    Model attributes in the form of hash



1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
# File 'lib/vericred_client/models/rate_request.rb', line 1714

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}

  if attributes.has_key?(:'age_0')
    self.age_0 = attributes[:'age_0']
  end

  if attributes.has_key?(:'age_0_tobacco')
    self.age_0_tobacco = attributes[:'age_0_tobacco']
  end

  if attributes.has_key?(:'age_1')
    self.age_1 = attributes[:'age_1']
  end

  if attributes.has_key?(:'age_10')
    self.age_10 = attributes[:'age_10']
  end

  if attributes.has_key?(:'age_10_tobacco')
    self.age_10_tobacco = attributes[:'age_10_tobacco']
  end

  if attributes.has_key?(:'age_11')
    self.age_11 = attributes[:'age_11']
  end

  if attributes.has_key?(:'age_11_tobacco')
    self.age_11_tobacco = attributes[:'age_11_tobacco']
  end

  if attributes.has_key?(:'age_12')
    self.age_12 = attributes[:'age_12']
  end

  if attributes.has_key?(:'age_12_tobacco')
    self.age_12_tobacco = attributes[:'age_12_tobacco']
  end

  if attributes.has_key?(:'age_13')
    self.age_13 = attributes[:'age_13']
  end

  if attributes.has_key?(:'age_13_tobacco')
    self.age_13_tobacco = attributes[:'age_13_tobacco']
  end

  if attributes.has_key?(:'age_14')
    self.age_14 = attributes[:'age_14']
  end

  if attributes.has_key?(:'age_14_tobacco')
    self.age_14_tobacco = attributes[:'age_14_tobacco']
  end

  if attributes.has_key?(:'age_15')
    self.age_15 = attributes[:'age_15']
  end

  if attributes.has_key?(:'age_15_tobacco')
    self.age_15_tobacco = attributes[:'age_15_tobacco']
  end

  if attributes.has_key?(:'age_16')
    self.age_16 = attributes[:'age_16']
  end

  if attributes.has_key?(:'age_16_tobacco')
    self.age_16_tobacco = attributes[:'age_16_tobacco']
  end

  if attributes.has_key?(:'age_17')
    self.age_17 = attributes[:'age_17']
  end

  if attributes.has_key?(:'age_17_tobacco')
    self.age_17_tobacco = attributes[:'age_17_tobacco']
  end

  if attributes.has_key?(:'age_18')
    self.age_18 = attributes[:'age_18']
  end

  if attributes.has_key?(:'age_18_tobacco')
    self.age_18_tobacco = attributes[:'age_18_tobacco']
  end

  if attributes.has_key?(:'age_19')
    self.age_19 = attributes[:'age_19']
  end

  if attributes.has_key?(:'age_19_tobacco')
    self.age_19_tobacco = attributes[:'age_19_tobacco']
  end

  if attributes.has_key?(:'age_1_tobacco')
    self.age_1_tobacco = attributes[:'age_1_tobacco']
  end

  if attributes.has_key?(:'age_2')
    self.age_2 = attributes[:'age_2']
  end

  if attributes.has_key?(:'age_20')
    self.age_20 = attributes[:'age_20']
  end

  if attributes.has_key?(:'age_20_tobacco')
    self.age_20_tobacco = attributes[:'age_20_tobacco']
  end

  if attributes.has_key?(:'age_21')
    self.age_21 = attributes[:'age_21']
  end

  if attributes.has_key?(:'age_21_tobacco')
    self.age_21_tobacco = attributes[:'age_21_tobacco']
  end

  if attributes.has_key?(:'age_22')
    self.age_22 = attributes[:'age_22']
  end

  if attributes.has_key?(:'age_22_tobacco')
    self.age_22_tobacco = attributes[:'age_22_tobacco']
  end

  if attributes.has_key?(:'age_23')
    self.age_23 = attributes[:'age_23']
  end

  if attributes.has_key?(:'age_23_tobacco')
    self.age_23_tobacco = attributes[:'age_23_tobacco']
  end

  if attributes.has_key?(:'age_24')
    self.age_24 = attributes[:'age_24']
  end

  if attributes.has_key?(:'age_24_tobacco')
    self.age_24_tobacco = attributes[:'age_24_tobacco']
  end

  if attributes.has_key?(:'age_25')
    self.age_25 = attributes[:'age_25']
  end

  if attributes.has_key?(:'age_25_tobacco')
    self.age_25_tobacco = attributes[:'age_25_tobacco']
  end

  if attributes.has_key?(:'age_26')
    self.age_26 = attributes[:'age_26']
  end

  if attributes.has_key?(:'age_26_tobacco')
    self.age_26_tobacco = attributes[:'age_26_tobacco']
  end

  if attributes.has_key?(:'age_27')
    self.age_27 = attributes[:'age_27']
  end

  if attributes.has_key?(:'age_27_tobacco')
    self.age_27_tobacco = attributes[:'age_27_tobacco']
  end

  if attributes.has_key?(:'age_28')
    self.age_28 = attributes[:'age_28']
  end

  if attributes.has_key?(:'age_28_tobacco')
    self.age_28_tobacco = attributes[:'age_28_tobacco']
  end

  if attributes.has_key?(:'age_29')
    self.age_29 = attributes[:'age_29']
  end

  if attributes.has_key?(:'age_29_tobacco')
    self.age_29_tobacco = attributes[:'age_29_tobacco']
  end

  if attributes.has_key?(:'age_2_tobacco')
    self.age_2_tobacco = attributes[:'age_2_tobacco']
  end

  if attributes.has_key?(:'age_3')
    self.age_3 = attributes[:'age_3']
  end

  if attributes.has_key?(:'age_30')
    self.age_30 = attributes[:'age_30']
  end

  if attributes.has_key?(:'age_30_tobacco')
    self.age_30_tobacco = attributes[:'age_30_tobacco']
  end

  if attributes.has_key?(:'age_31')
    self.age_31 = attributes[:'age_31']
  end

  if attributes.has_key?(:'age_31_tobacco')
    self.age_31_tobacco = attributes[:'age_31_tobacco']
  end

  if attributes.has_key?(:'age_32')
    self.age_32 = attributes[:'age_32']
  end

  if attributes.has_key?(:'age_32_tobacco')
    self.age_32_tobacco = attributes[:'age_32_tobacco']
  end

  if attributes.has_key?(:'age_33')
    self.age_33 = attributes[:'age_33']
  end

  if attributes.has_key?(:'age_33_tobacco')
    self.age_33_tobacco = attributes[:'age_33_tobacco']
  end

  if attributes.has_key?(:'age_34')
    self.age_34 = attributes[:'age_34']
  end

  if attributes.has_key?(:'age_34_tobacco')
    self.age_34_tobacco = attributes[:'age_34_tobacco']
  end

  if attributes.has_key?(:'age_35')
    self.age_35 = attributes[:'age_35']
  end

  if attributes.has_key?(:'age_35_tobacco')
    self.age_35_tobacco = attributes[:'age_35_tobacco']
  end

  if attributes.has_key?(:'age_36')
    self.age_36 = attributes[:'age_36']
  end

  if attributes.has_key?(:'age_36_tobacco')
    self.age_36_tobacco = attributes[:'age_36_tobacco']
  end

  if attributes.has_key?(:'age_37')
    self.age_37 = attributes[:'age_37']
  end

  if attributes.has_key?(:'age_37_tobacco')
    self.age_37_tobacco = attributes[:'age_37_tobacco']
  end

  if attributes.has_key?(:'age_38')
    self.age_38 = attributes[:'age_38']
  end

  if attributes.has_key?(:'age_38_tobacco')
    self.age_38_tobacco = attributes[:'age_38_tobacco']
  end

  if attributes.has_key?(:'age_39')
    self.age_39 = attributes[:'age_39']
  end

  if attributes.has_key?(:'age_39_tobacco')
    self.age_39_tobacco = attributes[:'age_39_tobacco']
  end

  if attributes.has_key?(:'age_3_tobacco')
    self.age_3_tobacco = attributes[:'age_3_tobacco']
  end

  if attributes.has_key?(:'age_4')
    self.age_4 = attributes[:'age_4']
  end

  if attributes.has_key?(:'age_40')
    self.age_40 = attributes[:'age_40']
  end

  if attributes.has_key?(:'age_40_tobacco')
    self.age_40_tobacco = attributes[:'age_40_tobacco']
  end

  if attributes.has_key?(:'age_41')
    self.age_41 = attributes[:'age_41']
  end

  if attributes.has_key?(:'age_41_tobacco')
    self.age_41_tobacco = attributes[:'age_41_tobacco']
  end

  if attributes.has_key?(:'age_42')
    self.age_42 = attributes[:'age_42']
  end

  if attributes.has_key?(:'age_42_tobacco')
    self.age_42_tobacco = attributes[:'age_42_tobacco']
  end

  if attributes.has_key?(:'age_43')
    self.age_43 = attributes[:'age_43']
  end

  if attributes.has_key?(:'age_43_tobacco')
    self.age_43_tobacco = attributes[:'age_43_tobacco']
  end

  if attributes.has_key?(:'age_44')
    self.age_44 = attributes[:'age_44']
  end

  if attributes.has_key?(:'age_44_tobacco')
    self.age_44_tobacco = attributes[:'age_44_tobacco']
  end

  if attributes.has_key?(:'age_45')
    self.age_45 = attributes[:'age_45']
  end

  if attributes.has_key?(:'age_45_tobacco')
    self.age_45_tobacco = attributes[:'age_45_tobacco']
  end

  if attributes.has_key?(:'age_46')
    self.age_46 = attributes[:'age_46']
  end

  if attributes.has_key?(:'age_46_tobacco')
    self.age_46_tobacco = attributes[:'age_46_tobacco']
  end

  if attributes.has_key?(:'age_47')
    self.age_47 = attributes[:'age_47']
  end

  if attributes.has_key?(:'age_47_tobacco')
    self.age_47_tobacco = attributes[:'age_47_tobacco']
  end

  if attributes.has_key?(:'age_48')
    self.age_48 = attributes[:'age_48']
  end

  if attributes.has_key?(:'age_48_tobacco')
    self.age_48_tobacco = attributes[:'age_48_tobacco']
  end

  if attributes.has_key?(:'age_49')
    self.age_49 = attributes[:'age_49']
  end

  if attributes.has_key?(:'age_49_tobacco')
    self.age_49_tobacco = attributes[:'age_49_tobacco']
  end

  if attributes.has_key?(:'age_4_tobacco')
    self.age_4_tobacco = attributes[:'age_4_tobacco']
  end

  if attributes.has_key?(:'age_5')
    self.age_5 = attributes[:'age_5']
  end

  if attributes.has_key?(:'age_50')
    self.age_50 = attributes[:'age_50']
  end

  if attributes.has_key?(:'age_50_tobacco')
    self.age_50_tobacco = attributes[:'age_50_tobacco']
  end

  if attributes.has_key?(:'age_51')
    self.age_51 = attributes[:'age_51']
  end

  if attributes.has_key?(:'age_51_tobacco')
    self.age_51_tobacco = attributes[:'age_51_tobacco']
  end

  if attributes.has_key?(:'age_52')
    self.age_52 = attributes[:'age_52']
  end

  if attributes.has_key?(:'age_52_tobacco')
    self.age_52_tobacco = attributes[:'age_52_tobacco']
  end

  if attributes.has_key?(:'age_53')
    self.age_53 = attributes[:'age_53']
  end

  if attributes.has_key?(:'age_53_tobacco')
    self.age_53_tobacco = attributes[:'age_53_tobacco']
  end

  if attributes.has_key?(:'age_54')
    self.age_54 = attributes[:'age_54']
  end

  if attributes.has_key?(:'age_54_tobacco')
    self.age_54_tobacco = attributes[:'age_54_tobacco']
  end

  if attributes.has_key?(:'age_55')
    self.age_55 = attributes[:'age_55']
  end

  if attributes.has_key?(:'age_55_tobacco')
    self.age_55_tobacco = attributes[:'age_55_tobacco']
  end

  if attributes.has_key?(:'age_56')
    self.age_56 = attributes[:'age_56']
  end

  if attributes.has_key?(:'age_56_tobacco')
    self.age_56_tobacco = attributes[:'age_56_tobacco']
  end

  if attributes.has_key?(:'age_57')
    self.age_57 = attributes[:'age_57']
  end

  if attributes.has_key?(:'age_57_tobacco')
    self.age_57_tobacco = attributes[:'age_57_tobacco']
  end

  if attributes.has_key?(:'age_58')
    self.age_58 = attributes[:'age_58']
  end

  if attributes.has_key?(:'age_58_tobacco')
    self.age_58_tobacco = attributes[:'age_58_tobacco']
  end

  if attributes.has_key?(:'age_59')
    self.age_59 = attributes[:'age_59']
  end

  if attributes.has_key?(:'age_59_tobacco')
    self.age_59_tobacco = attributes[:'age_59_tobacco']
  end

  if attributes.has_key?(:'age_5_tobacco')
    self.age_5_tobacco = attributes[:'age_5_tobacco']
  end

  if attributes.has_key?(:'age_6')
    self.age_6 = attributes[:'age_6']
  end

  if attributes.has_key?(:'age_60')
    self.age_60 = attributes[:'age_60']
  end

  if attributes.has_key?(:'age_60_tobacco')
    self.age_60_tobacco = attributes[:'age_60_tobacco']
  end

  if attributes.has_key?(:'age_61')
    self.age_61 = attributes[:'age_61']
  end

  if attributes.has_key?(:'age_61_tobacco')
    self.age_61_tobacco = attributes[:'age_61_tobacco']
  end

  if attributes.has_key?(:'age_62')
    self.age_62 = attributes[:'age_62']
  end

  if attributes.has_key?(:'age_62_tobacco')
    self.age_62_tobacco = attributes[:'age_62_tobacco']
  end

  if attributes.has_key?(:'age_63')
    self.age_63 = attributes[:'age_63']
  end

  if attributes.has_key?(:'age_63_tobacco')
    self.age_63_tobacco = attributes[:'age_63_tobacco']
  end

  if attributes.has_key?(:'age_64')
    self.age_64 = attributes[:'age_64']
  end

  if attributes.has_key?(:'age_64_tobacco')
    self.age_64_tobacco = attributes[:'age_64_tobacco']
  end

  if attributes.has_key?(:'age_65')
    self.age_65 = attributes[:'age_65']
  end

  if attributes.has_key?(:'age_65_tobacco')
    self.age_65_tobacco = attributes[:'age_65_tobacco']
  end

  if attributes.has_key?(:'age_6_tobacco')
    self.age_6_tobacco = attributes[:'age_6_tobacco']
  end

  if attributes.has_key?(:'age_7')
    self.age_7 = attributes[:'age_7']
  end

  if attributes.has_key?(:'age_7_tobacco')
    self.age_7_tobacco = attributes[:'age_7_tobacco']
  end

  if attributes.has_key?(:'age_8')
    self.age_8 = attributes[:'age_8']
  end

  if attributes.has_key?(:'age_8_tobacco')
    self.age_8_tobacco = attributes[:'age_8_tobacco']
  end

  if attributes.has_key?(:'age_9')
    self.age_9 = attributes[:'age_9']
  end

  if attributes.has_key?(:'age_9_tobacco')
    self.age_9_tobacco = attributes[:'age_9_tobacco']
  end

  if attributes.has_key?(:'child_only')
    self.child_only = attributes[:'child_only']
  end

  if attributes.has_key?(:'effective_date')
    self.effective_date = attributes[:'effective_date']
  end

  if attributes.has_key?(:'expiration_date')
    self.expiration_date = attributes[:'expiration_date']
  end

  if attributes.has_key?(:'external_id')
    self.external_id = attributes[:'external_id']
  end

  if attributes.has_key?(:'family')
    self.family = attributes[:'family']
  end

  if attributes.has_key?(:'rating_area_natural_key')
    self.rating_area_natural_key = attributes[:'rating_area_natural_key']
  end

  if attributes.has_key?(:'single')
    self.single = attributes[:'single']
  end

  if attributes.has_key?(:'single_and_children')
    self.single_and_children = attributes[:'single_and_children']
  end

  if attributes.has_key?(:'single_and_spouse')
    self.single_and_spouse = attributes[:'single_and_spouse']
  end

  if attributes.has_key?(:'source')
    self.source = attributes[:'source']
  end

end

Instance Attribute Details

#age_0Object

The age 0 non-tobacco rate for the plan



990
991
992
# File 'lib/vericred_client/models/rate_request.rb', line 990

def age_0
  @age_0
end

#age_0_tobaccoObject

The age 0 tobacco rate for the plan



993
994
995
# File 'lib/vericred_client/models/rate_request.rb', line 993

def age_0_tobacco
  @age_0_tobacco
end

#age_1Object

The age 1 non-tobacco rate for the plan



996
997
998
# File 'lib/vericred_client/models/rate_request.rb', line 996

def age_1
  @age_1
end

#age_10Object

The age 10 non-tobacco rate for the plan



999
1000
1001
# File 'lib/vericred_client/models/rate_request.rb', line 999

def age_10
  @age_10
end

#age_10_tobaccoObject

The age 10 tobacco rate for the plan



1002
1003
1004
# File 'lib/vericred_client/models/rate_request.rb', line 1002

def age_10_tobacco
  @age_10_tobacco
end

#age_11Object

The age 11 non-tobacco rate for the plan



1005
1006
1007
# File 'lib/vericred_client/models/rate_request.rb', line 1005

def age_11
  @age_11
end

#age_11_tobaccoObject

The age 11 tobacco rate for the plan



1008
1009
1010
# File 'lib/vericred_client/models/rate_request.rb', line 1008

def age_11_tobacco
  @age_11_tobacco
end

#age_12Object

The age 12 non-tobacco rate for the plan



1011
1012
1013
# File 'lib/vericred_client/models/rate_request.rb', line 1011

def age_12
  @age_12
end

#age_12_tobaccoObject

The age 12 tobacco rate for the plan



1014
1015
1016
# File 'lib/vericred_client/models/rate_request.rb', line 1014

def age_12_tobacco
  @age_12_tobacco
end

#age_13Object

The age 13 non-tobacco rate for the plan



1017
1018
1019
# File 'lib/vericred_client/models/rate_request.rb', line 1017

def age_13
  @age_13
end

#age_13_tobaccoObject

The age 13 tobacco rate for the plan



1020
1021
1022
# File 'lib/vericred_client/models/rate_request.rb', line 1020

def age_13_tobacco
  @age_13_tobacco
end

#age_14Object

The age 14 non-tobacco rate for the plan



1023
1024
1025
# File 'lib/vericred_client/models/rate_request.rb', line 1023

def age_14
  @age_14
end

#age_14_tobaccoObject

The age 14 tobacco rate for the plan



1026
1027
1028
# File 'lib/vericred_client/models/rate_request.rb', line 1026

def age_14_tobacco
  @age_14_tobacco
end

#age_15Object

The age 15 non-tobacco rate for the plan



1029
1030
1031
# File 'lib/vericred_client/models/rate_request.rb', line 1029

def age_15
  @age_15
end

#age_15_tobaccoObject

The age 15 tobacco rate for the plan



1032
1033
1034
# File 'lib/vericred_client/models/rate_request.rb', line 1032

def age_15_tobacco
  @age_15_tobacco
end

#age_16Object

The age 16 non-tobacco rate for the plan



1035
1036
1037
# File 'lib/vericred_client/models/rate_request.rb', line 1035

def age_16
  @age_16
end

#age_16_tobaccoObject

The age 16 tobacco rate for the plan



1038
1039
1040
# File 'lib/vericred_client/models/rate_request.rb', line 1038

def age_16_tobacco
  @age_16_tobacco
end

#age_17Object

The age 17 non-tobacco rate for the plan



1041
1042
1043
# File 'lib/vericred_client/models/rate_request.rb', line 1041

def age_17
  @age_17
end

#age_17_tobaccoObject

The age 17 tobacco rate for the plan



1044
1045
1046
# File 'lib/vericred_client/models/rate_request.rb', line 1044

def age_17_tobacco
  @age_17_tobacco
end

#age_18Object

The age 18 non-tobacco rate for the plan



1047
1048
1049
# File 'lib/vericred_client/models/rate_request.rb', line 1047

def age_18
  @age_18
end

#age_18_tobaccoObject

The age 18 tobacco rate for the plan



1050
1051
1052
# File 'lib/vericred_client/models/rate_request.rb', line 1050

def age_18_tobacco
  @age_18_tobacco
end

#age_19Object

The age 19 non-tobacco rate for the plan



1053
1054
1055
# File 'lib/vericred_client/models/rate_request.rb', line 1053

def age_19
  @age_19
end

#age_19_tobaccoObject

The age 19 tobacco rate for the plan



1056
1057
1058
# File 'lib/vericred_client/models/rate_request.rb', line 1056

def age_19_tobacco
  @age_19_tobacco
end

#age_1_tobaccoObject

The age 1 tobacco rate for the plan



1059
1060
1061
# File 'lib/vericred_client/models/rate_request.rb', line 1059

def age_1_tobacco
  @age_1_tobacco
end

#age_2Object

The age 2 non-tobacco rate for the plan



1062
1063
1064
# File 'lib/vericred_client/models/rate_request.rb', line 1062

def age_2
  @age_2
end

#age_20Object

The age 20 non-tobacco rate for the plan



1065
1066
1067
# File 'lib/vericred_client/models/rate_request.rb', line 1065

def age_20
  @age_20
end

#age_20_tobaccoObject

The age 20 tobacco rate for the plan



1068
1069
1070
# File 'lib/vericred_client/models/rate_request.rb', line 1068

def age_20_tobacco
  @age_20_tobacco
end

#age_21Object

The age 21 non-tobacco rate for the plan



1071
1072
1073
# File 'lib/vericred_client/models/rate_request.rb', line 1071

def age_21
  @age_21
end

#age_21_tobaccoObject

The age 21 tobacco rate for the plan



1074
1075
1076
# File 'lib/vericred_client/models/rate_request.rb', line 1074

def age_21_tobacco
  @age_21_tobacco
end

#age_22Object

The age 22 non-tobacco rate for the plan



1077
1078
1079
# File 'lib/vericred_client/models/rate_request.rb', line 1077

def age_22
  @age_22
end

#age_22_tobaccoObject

The age 22 tobacco rate for the plan



1080
1081
1082
# File 'lib/vericred_client/models/rate_request.rb', line 1080

def age_22_tobacco
  @age_22_tobacco
end

#age_23Object

The age 23 non-tobacco rate for the plan



1083
1084
1085
# File 'lib/vericred_client/models/rate_request.rb', line 1083

def age_23
  @age_23
end

#age_23_tobaccoObject

The age 23 tobacco rate for the plan



1086
1087
1088
# File 'lib/vericred_client/models/rate_request.rb', line 1086

def age_23_tobacco
  @age_23_tobacco
end

#age_24Object

The age 24 non-tobacco rate for the plan



1089
1090
1091
# File 'lib/vericred_client/models/rate_request.rb', line 1089

def age_24
  @age_24
end

#age_24_tobaccoObject

The age 24 tobacco rate for the plan



1092
1093
1094
# File 'lib/vericred_client/models/rate_request.rb', line 1092

def age_24_tobacco
  @age_24_tobacco
end

#age_25Object

The age 25 non-tobacco rate for the plan



1095
1096
1097
# File 'lib/vericred_client/models/rate_request.rb', line 1095

def age_25
  @age_25
end

#age_25_tobaccoObject

The age 25 tobacco rate for the plan



1098
1099
1100
# File 'lib/vericred_client/models/rate_request.rb', line 1098

def age_25_tobacco
  @age_25_tobacco
end

#age_26Object

The age 26 non-tobacco rate for the plan



1101
1102
1103
# File 'lib/vericred_client/models/rate_request.rb', line 1101

def age_26
  @age_26
end

#age_26_tobaccoObject

The age 26 tobacco rate for the plan



1104
1105
1106
# File 'lib/vericred_client/models/rate_request.rb', line 1104

def age_26_tobacco
  @age_26_tobacco
end

#age_27Object

The age 27 non-tobacco rate for the plan



1107
1108
1109
# File 'lib/vericred_client/models/rate_request.rb', line 1107

def age_27
  @age_27
end

#age_27_tobaccoObject

The age 27 tobacco rate for the plan



1110
1111
1112
# File 'lib/vericred_client/models/rate_request.rb', line 1110

def age_27_tobacco
  @age_27_tobacco
end

#age_28Object

The age 28 non-tobacco rate for the plan



1113
1114
1115
# File 'lib/vericred_client/models/rate_request.rb', line 1113

def age_28
  @age_28
end

#age_28_tobaccoObject

The age 28 tobacco rate for the plan



1116
1117
1118
# File 'lib/vericred_client/models/rate_request.rb', line 1116

def age_28_tobacco
  @age_28_tobacco
end

#age_29Object

The age 29 non-tobacco rate for the plan



1119
1120
1121
# File 'lib/vericred_client/models/rate_request.rb', line 1119

def age_29
  @age_29
end

#age_29_tobaccoObject

The age 29 tobacco rate for the plan



1122
1123
1124
# File 'lib/vericred_client/models/rate_request.rb', line 1122

def age_29_tobacco
  @age_29_tobacco
end

#age_2_tobaccoObject

The age 2 tobacco rate for the plan



1125
1126
1127
# File 'lib/vericred_client/models/rate_request.rb', line 1125

def age_2_tobacco
  @age_2_tobacco
end

#age_3Object

The age 3 non-tobacco rate for the plan



1128
1129
1130
# File 'lib/vericred_client/models/rate_request.rb', line 1128

def age_3
  @age_3
end

#age_30Object

The age 30 non-tobacco rate for the plan



1131
1132
1133
# File 'lib/vericred_client/models/rate_request.rb', line 1131

def age_30
  @age_30
end

#age_30_tobaccoObject

The age 30 tobacco rate for the plan



1134
1135
1136
# File 'lib/vericred_client/models/rate_request.rb', line 1134

def age_30_tobacco
  @age_30_tobacco
end

#age_31Object

The age 31 non-tobacco rate for the plan



1137
1138
1139
# File 'lib/vericred_client/models/rate_request.rb', line 1137

def age_31
  @age_31
end

#age_31_tobaccoObject

The age 31 tobacco rate for the plan



1140
1141
1142
# File 'lib/vericred_client/models/rate_request.rb', line 1140

def age_31_tobacco
  @age_31_tobacco
end

#age_32Object

The age 32 non-tobacco rate for the plan



1143
1144
1145
# File 'lib/vericred_client/models/rate_request.rb', line 1143

def age_32
  @age_32
end

#age_32_tobaccoObject

The age 32 tobacco rate for the plan



1146
1147
1148
# File 'lib/vericred_client/models/rate_request.rb', line 1146

def age_32_tobacco
  @age_32_tobacco
end

#age_33Object

The age 33 non-tobacco rate for the plan



1149
1150
1151
# File 'lib/vericred_client/models/rate_request.rb', line 1149

def age_33
  @age_33
end

#age_33_tobaccoObject

The age 33 tobacco rate for the plan



1152
1153
1154
# File 'lib/vericred_client/models/rate_request.rb', line 1152

def age_33_tobacco
  @age_33_tobacco
end

#age_34Object

The age 34 non-tobacco rate for the plan



1155
1156
1157
# File 'lib/vericred_client/models/rate_request.rb', line 1155

def age_34
  @age_34
end

#age_34_tobaccoObject

The age 34 tobacco rate for the plan



1158
1159
1160
# File 'lib/vericred_client/models/rate_request.rb', line 1158

def age_34_tobacco
  @age_34_tobacco
end

#age_35Object

The age 35 non-tobacco rate for the plan



1161
1162
1163
# File 'lib/vericred_client/models/rate_request.rb', line 1161

def age_35
  @age_35
end

#age_35_tobaccoObject

The age 35 tobacco rate for the plan



1164
1165
1166
# File 'lib/vericred_client/models/rate_request.rb', line 1164

def age_35_tobacco
  @age_35_tobacco
end

#age_36Object

The age 36 non-tobacco rate for the plan



1167
1168
1169
# File 'lib/vericred_client/models/rate_request.rb', line 1167

def age_36
  @age_36
end

#age_36_tobaccoObject

The age 36 tobacco rate for the plan



1170
1171
1172
# File 'lib/vericred_client/models/rate_request.rb', line 1170

def age_36_tobacco
  @age_36_tobacco
end

#age_37Object

The age 37 non-tobacco rate for the plan



1173
1174
1175
# File 'lib/vericred_client/models/rate_request.rb', line 1173

def age_37
  @age_37
end

#age_37_tobaccoObject

The age 37 tobacco rate for the plan



1176
1177
1178
# File 'lib/vericred_client/models/rate_request.rb', line 1176

def age_37_tobacco
  @age_37_tobacco
end

#age_38Object

The age 38 non-tobacco rate for the plan



1179
1180
1181
# File 'lib/vericred_client/models/rate_request.rb', line 1179

def age_38
  @age_38
end

#age_38_tobaccoObject

The age 38 tobacco rate for the plan



1182
1183
1184
# File 'lib/vericred_client/models/rate_request.rb', line 1182

def age_38_tobacco
  @age_38_tobacco
end

#age_39Object

The age 39 non-tobacco rate for the plan



1185
1186
1187
# File 'lib/vericred_client/models/rate_request.rb', line 1185

def age_39
  @age_39
end

#age_39_tobaccoObject

The age 39 tobacco rate for the plan



1188
1189
1190
# File 'lib/vericred_client/models/rate_request.rb', line 1188

def age_39_tobacco
  @age_39_tobacco
end

#age_3_tobaccoObject

The age 3 tobacco rate for the plan



1191
1192
1193
# File 'lib/vericred_client/models/rate_request.rb', line 1191

def age_3_tobacco
  @age_3_tobacco
end

#age_4Object

The age 4 non-tobacco rate for the plan



1194
1195
1196
# File 'lib/vericred_client/models/rate_request.rb', line 1194

def age_4
  @age_4
end

#age_40Object

The age 40 non-tobacco rate for the plan



1197
1198
1199
# File 'lib/vericred_client/models/rate_request.rb', line 1197

def age_40
  @age_40
end

#age_40_tobaccoObject

The age 40 tobacco rate for the plan



1200
1201
1202
# File 'lib/vericred_client/models/rate_request.rb', line 1200

def age_40_tobacco
  @age_40_tobacco
end

#age_41Object

The age 41 non-tobacco rate for the plan



1203
1204
1205
# File 'lib/vericred_client/models/rate_request.rb', line 1203

def age_41
  @age_41
end

#age_41_tobaccoObject

The age 41 tobacco rate for the plan



1206
1207
1208
# File 'lib/vericred_client/models/rate_request.rb', line 1206

def age_41_tobacco
  @age_41_tobacco
end

#age_42Object

The age 42 non-tobacco rate for the plan



1209
1210
1211
# File 'lib/vericred_client/models/rate_request.rb', line 1209

def age_42
  @age_42
end

#age_42_tobaccoObject

The age 42 tobacco rate for the plan



1212
1213
1214
# File 'lib/vericred_client/models/rate_request.rb', line 1212

def age_42_tobacco
  @age_42_tobacco
end

#age_43Object

The age 43 non-tobacco rate for the plan



1215
1216
1217
# File 'lib/vericred_client/models/rate_request.rb', line 1215

def age_43
  @age_43
end

#age_43_tobaccoObject

The age 43 tobacco rate for the plan



1218
1219
1220
# File 'lib/vericred_client/models/rate_request.rb', line 1218

def age_43_tobacco
  @age_43_tobacco
end

#age_44Object

The age 44 non-tobacco rate for the plan



1221
1222
1223
# File 'lib/vericred_client/models/rate_request.rb', line 1221

def age_44
  @age_44
end

#age_44_tobaccoObject

The age 44 tobacco rate for the plan



1224
1225
1226
# File 'lib/vericred_client/models/rate_request.rb', line 1224

def age_44_tobacco
  @age_44_tobacco
end

#age_45Object

The age 45 non-tobacco rate for the plan



1227
1228
1229
# File 'lib/vericred_client/models/rate_request.rb', line 1227

def age_45
  @age_45
end

#age_45_tobaccoObject

The age 45 tobacco rate for the plan



1230
1231
1232
# File 'lib/vericred_client/models/rate_request.rb', line 1230

def age_45_tobacco
  @age_45_tobacco
end

#age_46Object

The age 46 non-tobacco rate for the plan



1233
1234
1235
# File 'lib/vericred_client/models/rate_request.rb', line 1233

def age_46
  @age_46
end

#age_46_tobaccoObject

The age 46 tobacco rate for the plan



1236
1237
1238
# File 'lib/vericred_client/models/rate_request.rb', line 1236

def age_46_tobacco
  @age_46_tobacco
end

#age_47Object

The age 47 non-tobacco rate for the plan



1239
1240
1241
# File 'lib/vericred_client/models/rate_request.rb', line 1239

def age_47
  @age_47
end

#age_47_tobaccoObject

The age 47 tobacco rate for the plan



1242
1243
1244
# File 'lib/vericred_client/models/rate_request.rb', line 1242

def age_47_tobacco
  @age_47_tobacco
end

#age_48Object

The age 48 non-tobacco rate for the plan



1245
1246
1247
# File 'lib/vericred_client/models/rate_request.rb', line 1245

def age_48
  @age_48
end

#age_48_tobaccoObject

The age 48 tobacco rate for the plan



1248
1249
1250
# File 'lib/vericred_client/models/rate_request.rb', line 1248

def age_48_tobacco
  @age_48_tobacco
end

#age_49Object

The age 49 non-tobacco rate for the plan



1251
1252
1253
# File 'lib/vericred_client/models/rate_request.rb', line 1251

def age_49
  @age_49
end

#age_49_tobaccoObject

The age 49 tobacco rate for the plan



1254
1255
1256
# File 'lib/vericred_client/models/rate_request.rb', line 1254

def age_49_tobacco
  @age_49_tobacco
end

#age_4_tobaccoObject

The age 4 tobacco rate for the plan



1257
1258
1259
# File 'lib/vericred_client/models/rate_request.rb', line 1257

def age_4_tobacco
  @age_4_tobacco
end

#age_5Object

The age 5 non-tobacco rate for the plan



1260
1261
1262
# File 'lib/vericred_client/models/rate_request.rb', line 1260

def age_5
  @age_5
end

#age_50Object

The age 50 non-tobacco rate for the plan



1263
1264
1265
# File 'lib/vericred_client/models/rate_request.rb', line 1263

def age_50
  @age_50
end

#age_50_tobaccoObject

The age 50 tobacco rate for the plan



1266
1267
1268
# File 'lib/vericred_client/models/rate_request.rb', line 1266

def age_50_tobacco
  @age_50_tobacco
end

#age_51Object

The age 51 non-tobacco rate for the plan



1269
1270
1271
# File 'lib/vericred_client/models/rate_request.rb', line 1269

def age_51
  @age_51
end

#age_51_tobaccoObject

The age 51 tobacco rate for the plan



1272
1273
1274
# File 'lib/vericred_client/models/rate_request.rb', line 1272

def age_51_tobacco
  @age_51_tobacco
end

#age_52Object

The age 52 non-tobacco rate for the plan



1275
1276
1277
# File 'lib/vericred_client/models/rate_request.rb', line 1275

def age_52
  @age_52
end

#age_52_tobaccoObject

The age 52 tobacco rate for the plan



1278
1279
1280
# File 'lib/vericred_client/models/rate_request.rb', line 1278

def age_52_tobacco
  @age_52_tobacco
end

#age_53Object

The age 53 non-tobacco rate for the plan



1281
1282
1283
# File 'lib/vericred_client/models/rate_request.rb', line 1281

def age_53
  @age_53
end

#age_53_tobaccoObject

The age 53 tobacco rate for the plan



1284
1285
1286
# File 'lib/vericred_client/models/rate_request.rb', line 1284

def age_53_tobacco
  @age_53_tobacco
end

#age_54Object

The age 54 non-tobacco rate for the plan



1287
1288
1289
# File 'lib/vericred_client/models/rate_request.rb', line 1287

def age_54
  @age_54
end

#age_54_tobaccoObject

The age 54 tobacco rate for the plan



1290
1291
1292
# File 'lib/vericred_client/models/rate_request.rb', line 1290

def age_54_tobacco
  @age_54_tobacco
end

#age_55Object

The age 55 non-tobacco rate for the plan



1293
1294
1295
# File 'lib/vericred_client/models/rate_request.rb', line 1293

def age_55
  @age_55
end

#age_55_tobaccoObject

The age 55 tobacco rate for the plan



1296
1297
1298
# File 'lib/vericred_client/models/rate_request.rb', line 1296

def age_55_tobacco
  @age_55_tobacco
end

#age_56Object

The age 56 non-tobacco rate for the plan



1299
1300
1301
# File 'lib/vericred_client/models/rate_request.rb', line 1299

def age_56
  @age_56
end

#age_56_tobaccoObject

The age 56 tobacco rate for the plan



1302
1303
1304
# File 'lib/vericred_client/models/rate_request.rb', line 1302

def age_56_tobacco
  @age_56_tobacco
end

#age_57Object

The age 57 non-tobacco rate for the plan



1305
1306
1307
# File 'lib/vericred_client/models/rate_request.rb', line 1305

def age_57
  @age_57
end

#age_57_tobaccoObject

The age 57 tobacco rate for the plan



1308
1309
1310
# File 'lib/vericred_client/models/rate_request.rb', line 1308

def age_57_tobacco
  @age_57_tobacco
end

#age_58Object

The age 58 non-tobacco rate for the plan



1311
1312
1313
# File 'lib/vericred_client/models/rate_request.rb', line 1311

def age_58
  @age_58
end

#age_58_tobaccoObject

The age 58 tobacco rate for the plan



1314
1315
1316
# File 'lib/vericred_client/models/rate_request.rb', line 1314

def age_58_tobacco
  @age_58_tobacco
end

#age_59Object

The age 59 non-tobacco rate for the plan



1317
1318
1319
# File 'lib/vericred_client/models/rate_request.rb', line 1317

def age_59
  @age_59
end

#age_59_tobaccoObject

The age 59 tobacco rate for the plan



1320
1321
1322
# File 'lib/vericred_client/models/rate_request.rb', line 1320

def age_59_tobacco
  @age_59_tobacco
end

#age_5_tobaccoObject

The age 5 tobacco rate for the plan



1323
1324
1325
# File 'lib/vericred_client/models/rate_request.rb', line 1323

def age_5_tobacco
  @age_5_tobacco
end

#age_6Object

The age 6 non-tobacco rate for the plan



1326
1327
1328
# File 'lib/vericred_client/models/rate_request.rb', line 1326

def age_6
  @age_6
end

#age_60Object

The age 60 non-tobacco rate for the plan



1329
1330
1331
# File 'lib/vericred_client/models/rate_request.rb', line 1329

def age_60
  @age_60
end

#age_60_tobaccoObject

The age 60 tobacco rate for the plan



1332
1333
1334
# File 'lib/vericred_client/models/rate_request.rb', line 1332

def age_60_tobacco
  @age_60_tobacco
end

#age_61Object

The age 61 non-tobacco rate for the plan



1335
1336
1337
# File 'lib/vericred_client/models/rate_request.rb', line 1335

def age_61
  @age_61
end

#age_61_tobaccoObject

The age 61 tobacco rate for the plan



1338
1339
1340
# File 'lib/vericred_client/models/rate_request.rb', line 1338

def age_61_tobacco
  @age_61_tobacco
end

#age_62Object

The age 62 non-tobacco rate for the plan



1341
1342
1343
# File 'lib/vericred_client/models/rate_request.rb', line 1341

def age_62
  @age_62
end

#age_62_tobaccoObject

The age 62 tobacco rate for the plan



1344
1345
1346
# File 'lib/vericred_client/models/rate_request.rb', line 1344

def age_62_tobacco
  @age_62_tobacco
end

#age_63Object

The age 63 non-tobacco rate for the plan



1347
1348
1349
# File 'lib/vericred_client/models/rate_request.rb', line 1347

def age_63
  @age_63
end

#age_63_tobaccoObject

The age 63 tobacco rate for the plan



1350
1351
1352
# File 'lib/vericred_client/models/rate_request.rb', line 1350

def age_63_tobacco
  @age_63_tobacco
end

#age_64Object

The age 64 non-tobacco rate for the plan



1353
1354
1355
# File 'lib/vericred_client/models/rate_request.rb', line 1353

def age_64
  @age_64
end

#age_64_tobaccoObject

The age 64 tobacco rate for the plan



1356
1357
1358
# File 'lib/vericred_client/models/rate_request.rb', line 1356

def age_64_tobacco
  @age_64_tobacco
end

#age_65Object

The age 65 non-tobacco rate for the plan



1359
1360
1361
# File 'lib/vericred_client/models/rate_request.rb', line 1359

def age_65
  @age_65
end

#age_65_tobaccoObject

The age 65 tobacco rate for the plan



1362
1363
1364
# File 'lib/vericred_client/models/rate_request.rb', line 1362

def age_65_tobacco
  @age_65_tobacco
end

#age_6_tobaccoObject

The age 6 tobacco rate for the plan



1365
1366
1367
# File 'lib/vericred_client/models/rate_request.rb', line 1365

def age_6_tobacco
  @age_6_tobacco
end

#age_7Object

The age 7 non-tobacco rate for the plan



1368
1369
1370
# File 'lib/vericred_client/models/rate_request.rb', line 1368

def age_7
  @age_7
end

#age_7_tobaccoObject

The age 7 tobacco rate for the plan



1371
1372
1373
# File 'lib/vericred_client/models/rate_request.rb', line 1371

def age_7_tobacco
  @age_7_tobacco
end

#age_8Object

The age 8 non-tobacco rate for the plan



1374
1375
1376
# File 'lib/vericred_client/models/rate_request.rb', line 1374

def age_8
  @age_8
end

#age_8_tobaccoObject

The age 8 tobacco rate for the plan



1377
1378
1379
# File 'lib/vericred_client/models/rate_request.rb', line 1377

def age_8_tobacco
  @age_8_tobacco
end

#age_9Object

The age 9 non-tobacco rate for the plan



1380
1381
1382
# File 'lib/vericred_client/models/rate_request.rb', line 1380

def age_9
  @age_9
end

#age_9_tobaccoObject

The age 9 tobacco rate for the plan



1383
1384
1385
# File 'lib/vericred_client/models/rate_request.rb', line 1383

def age_9_tobacco
  @age_9_tobacco
end

#child_onlyObject

The tier child_only rate for the plan



1386
1387
1388
# File 'lib/vericred_client/models/rate_request.rb', line 1386

def child_only
  @child_only
end

#effective_dateObject

The effective date of the rate



1389
1390
1391
# File 'lib/vericred_client/models/rate_request.rb', line 1389

def effective_date
  @effective_date
end

#expiration_dateObject

The expiration date of the rate



1392
1393
1394
# File 'lib/vericred_client/models/rate_request.rb', line 1392

def expiration_date
  @expiration_date
end

#external_idObject

The external id of the plan



1395
1396
1397
# File 'lib/vericred_client/models/rate_request.rb', line 1395

def external_id
  @external_id
end

#familyObject

The tier family rate for the plan



1398
1399
1400
# File 'lib/vericred_client/models/rate_request.rb', line 1398

def family
  @family
end

#rating_area_natural_keyObject

The natural key for the rating area of the rate



1401
1402
1403
# File 'lib/vericred_client/models/rate_request.rb', line 1401

def rating_area_natural_key
  @rating_area_natural_key
end

#singleObject

The tier single rate for the plan



1404
1405
1406
# File 'lib/vericred_client/models/rate_request.rb', line 1404

def single
  @single
end

#single_and_childrenObject

The tier single_and_children rate for the plan



1407
1408
1409
# File 'lib/vericred_client/models/rate_request.rb', line 1407

def single_and_children
  @single_and_children
end

#single_and_spouseObject

The tier single_and_spouse rate for the plan



1410
1411
1412
# File 'lib/vericred_client/models/rate_request.rb', line 1410

def single_and_spouse
  @single_and_spouse
end

#sourceObject

The document source type of the rate



1413
1414
1415
# File 'lib/vericred_client/models/rate_request.rb', line 1413

def source
  @source
end

Class Method Details

.attribute_mapObject

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



1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
# File 'lib/vericred_client/models/rate_request.rb', line 1417

def self.attribute_map
  {
    :'age_0' => :'age_0',
    :'age_0_tobacco' => :'age_0_tobacco',
    :'age_1' => :'age_1',
    :'age_10' => :'age_10',
    :'age_10_tobacco' => :'age_10_tobacco',
    :'age_11' => :'age_11',
    :'age_11_tobacco' => :'age_11_tobacco',
    :'age_12' => :'age_12',
    :'age_12_tobacco' => :'age_12_tobacco',
    :'age_13' => :'age_13',
    :'age_13_tobacco' => :'age_13_tobacco',
    :'age_14' => :'age_14',
    :'age_14_tobacco' => :'age_14_tobacco',
    :'age_15' => :'age_15',
    :'age_15_tobacco' => :'age_15_tobacco',
    :'age_16' => :'age_16',
    :'age_16_tobacco' => :'age_16_tobacco',
    :'age_17' => :'age_17',
    :'age_17_tobacco' => :'age_17_tobacco',
    :'age_18' => :'age_18',
    :'age_18_tobacco' => :'age_18_tobacco',
    :'age_19' => :'age_19',
    :'age_19_tobacco' => :'age_19_tobacco',
    :'age_1_tobacco' => :'age_1_tobacco',
    :'age_2' => :'age_2',
    :'age_20' => :'age_20',
    :'age_20_tobacco' => :'age_20_tobacco',
    :'age_21' => :'age_21',
    :'age_21_tobacco' => :'age_21_tobacco',
    :'age_22' => :'age_22',
    :'age_22_tobacco' => :'age_22_tobacco',
    :'age_23' => :'age_23',
    :'age_23_tobacco' => :'age_23_tobacco',
    :'age_24' => :'age_24',
    :'age_24_tobacco' => :'age_24_tobacco',
    :'age_25' => :'age_25',
    :'age_25_tobacco' => :'age_25_tobacco',
    :'age_26' => :'age_26',
    :'age_26_tobacco' => :'age_26_tobacco',
    :'age_27' => :'age_27',
    :'age_27_tobacco' => :'age_27_tobacco',
    :'age_28' => :'age_28',
    :'age_28_tobacco' => :'age_28_tobacco',
    :'age_29' => :'age_29',
    :'age_29_tobacco' => :'age_29_tobacco',
    :'age_2_tobacco' => :'age_2_tobacco',
    :'age_3' => :'age_3',
    :'age_30' => :'age_30',
    :'age_30_tobacco' => :'age_30_tobacco',
    :'age_31' => :'age_31',
    :'age_31_tobacco' => :'age_31_tobacco',
    :'age_32' => :'age_32',
    :'age_32_tobacco' => :'age_32_tobacco',
    :'age_33' => :'age_33',
    :'age_33_tobacco' => :'age_33_tobacco',
    :'age_34' => :'age_34',
    :'age_34_tobacco' => :'age_34_tobacco',
    :'age_35' => :'age_35',
    :'age_35_tobacco' => :'age_35_tobacco',
    :'age_36' => :'age_36',
    :'age_36_tobacco' => :'age_36_tobacco',
    :'age_37' => :'age_37',
    :'age_37_tobacco' => :'age_37_tobacco',
    :'age_38' => :'age_38',
    :'age_38_tobacco' => :'age_38_tobacco',
    :'age_39' => :'age_39',
    :'age_39_tobacco' => :'age_39_tobacco',
    :'age_3_tobacco' => :'age_3_tobacco',
    :'age_4' => :'age_4',
    :'age_40' => :'age_40',
    :'age_40_tobacco' => :'age_40_tobacco',
    :'age_41' => :'age_41',
    :'age_41_tobacco' => :'age_41_tobacco',
    :'age_42' => :'age_42',
    :'age_42_tobacco' => :'age_42_tobacco',
    :'age_43' => :'age_43',
    :'age_43_tobacco' => :'age_43_tobacco',
    :'age_44' => :'age_44',
    :'age_44_tobacco' => :'age_44_tobacco',
    :'age_45' => :'age_45',
    :'age_45_tobacco' => :'age_45_tobacco',
    :'age_46' => :'age_46',
    :'age_46_tobacco' => :'age_46_tobacco',
    :'age_47' => :'age_47',
    :'age_47_tobacco' => :'age_47_tobacco',
    :'age_48' => :'age_48',
    :'age_48_tobacco' => :'age_48_tobacco',
    :'age_49' => :'age_49',
    :'age_49_tobacco' => :'age_49_tobacco',
    :'age_4_tobacco' => :'age_4_tobacco',
    :'age_5' => :'age_5',
    :'age_50' => :'age_50',
    :'age_50_tobacco' => :'age_50_tobacco',
    :'age_51' => :'age_51',
    :'age_51_tobacco' => :'age_51_tobacco',
    :'age_52' => :'age_52',
    :'age_52_tobacco' => :'age_52_tobacco',
    :'age_53' => :'age_53',
    :'age_53_tobacco' => :'age_53_tobacco',
    :'age_54' => :'age_54',
    :'age_54_tobacco' => :'age_54_tobacco',
    :'age_55' => :'age_55',
    :'age_55_tobacco' => :'age_55_tobacco',
    :'age_56' => :'age_56',
    :'age_56_tobacco' => :'age_56_tobacco',
    :'age_57' => :'age_57',
    :'age_57_tobacco' => :'age_57_tobacco',
    :'age_58' => :'age_58',
    :'age_58_tobacco' => :'age_58_tobacco',
    :'age_59' => :'age_59',
    :'age_59_tobacco' => :'age_59_tobacco',
    :'age_5_tobacco' => :'age_5_tobacco',
    :'age_6' => :'age_6',
    :'age_60' => :'age_60',
    :'age_60_tobacco' => :'age_60_tobacco',
    :'age_61' => :'age_61',
    :'age_61_tobacco' => :'age_61_tobacco',
    :'age_62' => :'age_62',
    :'age_62_tobacco' => :'age_62_tobacco',
    :'age_63' => :'age_63',
    :'age_63_tobacco' => :'age_63_tobacco',
    :'age_64' => :'age_64',
    :'age_64_tobacco' => :'age_64_tobacco',
    :'age_65' => :'age_65',
    :'age_65_tobacco' => :'age_65_tobacco',
    :'age_6_tobacco' => :'age_6_tobacco',
    :'age_7' => :'age_7',
    :'age_7_tobacco' => :'age_7_tobacco',
    :'age_8' => :'age_8',
    :'age_8_tobacco' => :'age_8_tobacco',
    :'age_9' => :'age_9',
    :'age_9_tobacco' => :'age_9_tobacco',
    :'child_only' => :'child_only',
    :'effective_date' => :'effective_date',
    :'expiration_date' => :'expiration_date',
    :'external_id' => :'external_id',
    :'family' => :'family',
    :'rating_area_natural_key' => :'rating_area_natural_key',
    :'single' => :'single',
    :'single_and_children' => :'single_and_children',
    :'single_and_spouse' => :'single_and_spouse',
    :'source' => :'source'
  }
end

.swagger_typesObject

Attribute type mapping.



1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
# File 'lib/vericred_client/models/rate_request.rb', line 1565

def self.swagger_types
  {
    :'age_0' => :'Float',
    :'age_0_tobacco' => :'Float',
    :'age_1' => :'Float',
    :'age_10' => :'Float',
    :'age_10_tobacco' => :'Float',
    :'age_11' => :'Float',
    :'age_11_tobacco' => :'Float',
    :'age_12' => :'Float',
    :'age_12_tobacco' => :'Float',
    :'age_13' => :'Float',
    :'age_13_tobacco' => :'Float',
    :'age_14' => :'Float',
    :'age_14_tobacco' => :'Float',
    :'age_15' => :'Float',
    :'age_15_tobacco' => :'Float',
    :'age_16' => :'Float',
    :'age_16_tobacco' => :'Float',
    :'age_17' => :'Float',
    :'age_17_tobacco' => :'Float',
    :'age_18' => :'Float',
    :'age_18_tobacco' => :'Float',
    :'age_19' => :'Float',
    :'age_19_tobacco' => :'Float',
    :'age_1_tobacco' => :'Float',
    :'age_2' => :'Float',
    :'age_20' => :'Float',
    :'age_20_tobacco' => :'Float',
    :'age_21' => :'Float',
    :'age_21_tobacco' => :'Float',
    :'age_22' => :'Float',
    :'age_22_tobacco' => :'Float',
    :'age_23' => :'Float',
    :'age_23_tobacco' => :'Float',
    :'age_24' => :'Float',
    :'age_24_tobacco' => :'Float',
    :'age_25' => :'Float',
    :'age_25_tobacco' => :'Float',
    :'age_26' => :'Float',
    :'age_26_tobacco' => :'Float',
    :'age_27' => :'Float',
    :'age_27_tobacco' => :'Float',
    :'age_28' => :'Float',
    :'age_28_tobacco' => :'Float',
    :'age_29' => :'Float',
    :'age_29_tobacco' => :'Float',
    :'age_2_tobacco' => :'Float',
    :'age_3' => :'Float',
    :'age_30' => :'Float',
    :'age_30_tobacco' => :'Float',
    :'age_31' => :'Float',
    :'age_31_tobacco' => :'Float',
    :'age_32' => :'Float',
    :'age_32_tobacco' => :'Float',
    :'age_33' => :'Float',
    :'age_33_tobacco' => :'Float',
    :'age_34' => :'Float',
    :'age_34_tobacco' => :'Float',
    :'age_35' => :'Float',
    :'age_35_tobacco' => :'Float',
    :'age_36' => :'Float',
    :'age_36_tobacco' => :'Float',
    :'age_37' => :'Float',
    :'age_37_tobacco' => :'Float',
    :'age_38' => :'Float',
    :'age_38_tobacco' => :'Float',
    :'age_39' => :'Float',
    :'age_39_tobacco' => :'Float',
    :'age_3_tobacco' => :'Float',
    :'age_4' => :'Float',
    :'age_40' => :'Float',
    :'age_40_tobacco' => :'Float',
    :'age_41' => :'Float',
    :'age_41_tobacco' => :'Float',
    :'age_42' => :'Float',
    :'age_42_tobacco' => :'Float',
    :'age_43' => :'Float',
    :'age_43_tobacco' => :'Float',
    :'age_44' => :'Float',
    :'age_44_tobacco' => :'Float',
    :'age_45' => :'Float',
    :'age_45_tobacco' => :'Float',
    :'age_46' => :'Float',
    :'age_46_tobacco' => :'Float',
    :'age_47' => :'Float',
    :'age_47_tobacco' => :'Float',
    :'age_48' => :'Float',
    :'age_48_tobacco' => :'Float',
    :'age_49' => :'Float',
    :'age_49_tobacco' => :'Float',
    :'age_4_tobacco' => :'Float',
    :'age_5' => :'Float',
    :'age_50' => :'Float',
    :'age_50_tobacco' => :'Float',
    :'age_51' => :'Float',
    :'age_51_tobacco' => :'Float',
    :'age_52' => :'Float',
    :'age_52_tobacco' => :'Float',
    :'age_53' => :'Float',
    :'age_53_tobacco' => :'Float',
    :'age_54' => :'Float',
    :'age_54_tobacco' => :'Float',
    :'age_55' => :'Float',
    :'age_55_tobacco' => :'Float',
    :'age_56' => :'Float',
    :'age_56_tobacco' => :'Float',
    :'age_57' => :'Float',
    :'age_57_tobacco' => :'Float',
    :'age_58' => :'Float',
    :'age_58_tobacco' => :'Float',
    :'age_59' => :'Float',
    :'age_59_tobacco' => :'Float',
    :'age_5_tobacco' => :'Float',
    :'age_6' => :'Float',
    :'age_60' => :'Float',
    :'age_60_tobacco' => :'Float',
    :'age_61' => :'Float',
    :'age_61_tobacco' => :'Float',
    :'age_62' => :'Float',
    :'age_62_tobacco' => :'Float',
    :'age_63' => :'Float',
    :'age_63_tobacco' => :'Float',
    :'age_64' => :'Float',
    :'age_64_tobacco' => :'Float',
    :'age_65' => :'Float',
    :'age_65_tobacco' => :'Float',
    :'age_6_tobacco' => :'Float',
    :'age_7' => :'Float',
    :'age_7_tobacco' => :'Float',
    :'age_8' => :'Float',
    :'age_8_tobacco' => :'Float',
    :'age_9' => :'Float',
    :'age_9_tobacco' => :'Float',
    :'child_only' => :'Float',
    :'effective_date' => :'String',
    :'expiration_date' => :'String',
    :'external_id' => :'String',
    :'family' => :'Float',
    :'rating_area_natural_key' => :'String',
    :'single' => :'Float',
    :'single_and_children' => :'Float',
    :'single_and_spouse' => :'Float',
    :'source' => :'String'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
# File 'lib/vericred_client/models/rate_request.rb', line 2305

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      age_0 == o.age_0 &&
      age_0_tobacco == o.age_0_tobacco &&
      age_1 == o.age_1 &&
      age_10 == o.age_10 &&
      age_10_tobacco == o.age_10_tobacco &&
      age_11 == o.age_11 &&
      age_11_tobacco == o.age_11_tobacco &&
      age_12 == o.age_12 &&
      age_12_tobacco == o.age_12_tobacco &&
      age_13 == o.age_13 &&
      age_13_tobacco == o.age_13_tobacco &&
      age_14 == o.age_14 &&
      age_14_tobacco == o.age_14_tobacco &&
      age_15 == o.age_15 &&
      age_15_tobacco == o.age_15_tobacco &&
      age_16 == o.age_16 &&
      age_16_tobacco == o.age_16_tobacco &&
      age_17 == o.age_17 &&
      age_17_tobacco == o.age_17_tobacco &&
      age_18 == o.age_18 &&
      age_18_tobacco == o.age_18_tobacco &&
      age_19 == o.age_19 &&
      age_19_tobacco == o.age_19_tobacco &&
      age_1_tobacco == o.age_1_tobacco &&
      age_2 == o.age_2 &&
      age_20 == o.age_20 &&
      age_20_tobacco == o.age_20_tobacco &&
      age_21 == o.age_21 &&
      age_21_tobacco == o.age_21_tobacco &&
      age_22 == o.age_22 &&
      age_22_tobacco == o.age_22_tobacco &&
      age_23 == o.age_23 &&
      age_23_tobacco == o.age_23_tobacco &&
      age_24 == o.age_24 &&
      age_24_tobacco == o.age_24_tobacco &&
      age_25 == o.age_25 &&
      age_25_tobacco == o.age_25_tobacco &&
      age_26 == o.age_26 &&
      age_26_tobacco == o.age_26_tobacco &&
      age_27 == o.age_27 &&
      age_27_tobacco == o.age_27_tobacco &&
      age_28 == o.age_28 &&
      age_28_tobacco == o.age_28_tobacco &&
      age_29 == o.age_29 &&
      age_29_tobacco == o.age_29_tobacco &&
      age_2_tobacco == o.age_2_tobacco &&
      age_3 == o.age_3 &&
      age_30 == o.age_30 &&
      age_30_tobacco == o.age_30_tobacco &&
      age_31 == o.age_31 &&
      age_31_tobacco == o.age_31_tobacco &&
      age_32 == o.age_32 &&
      age_32_tobacco == o.age_32_tobacco &&
      age_33 == o.age_33 &&
      age_33_tobacco == o.age_33_tobacco &&
      age_34 == o.age_34 &&
      age_34_tobacco == o.age_34_tobacco &&
      age_35 == o.age_35 &&
      age_35_tobacco == o.age_35_tobacco &&
      age_36 == o.age_36 &&
      age_36_tobacco == o.age_36_tobacco &&
      age_37 == o.age_37 &&
      age_37_tobacco == o.age_37_tobacco &&
      age_38 == o.age_38 &&
      age_38_tobacco == o.age_38_tobacco &&
      age_39 == o.age_39 &&
      age_39_tobacco == o.age_39_tobacco &&
      age_3_tobacco == o.age_3_tobacco &&
      age_4 == o.age_4 &&
      age_40 == o.age_40 &&
      age_40_tobacco == o.age_40_tobacco &&
      age_41 == o.age_41 &&
      age_41_tobacco == o.age_41_tobacco &&
      age_42 == o.age_42 &&
      age_42_tobacco == o.age_42_tobacco &&
      age_43 == o.age_43 &&
      age_43_tobacco == o.age_43_tobacco &&
      age_44 == o.age_44 &&
      age_44_tobacco == o.age_44_tobacco &&
      age_45 == o.age_45 &&
      age_45_tobacco == o.age_45_tobacco &&
      age_46 == o.age_46 &&
      age_46_tobacco == o.age_46_tobacco &&
      age_47 == o.age_47 &&
      age_47_tobacco == o.age_47_tobacco &&
      age_48 == o.age_48 &&
      age_48_tobacco == o.age_48_tobacco &&
      age_49 == o.age_49 &&
      age_49_tobacco == o.age_49_tobacco &&
      age_4_tobacco == o.age_4_tobacco &&
      age_5 == o.age_5 &&
      age_50 == o.age_50 &&
      age_50_tobacco == o.age_50_tobacco &&
      age_51 == o.age_51 &&
      age_51_tobacco == o.age_51_tobacco &&
      age_52 == o.age_52 &&
      age_52_tobacco == o.age_52_tobacco &&
      age_53 == o.age_53 &&
      age_53_tobacco == o.age_53_tobacco &&
      age_54 == o.age_54 &&
      age_54_tobacco == o.age_54_tobacco &&
      age_55 == o.age_55 &&
      age_55_tobacco == o.age_55_tobacco &&
      age_56 == o.age_56 &&
      age_56_tobacco == o.age_56_tobacco &&
      age_57 == o.age_57 &&
      age_57_tobacco == o.age_57_tobacco &&
      age_58 == o.age_58 &&
      age_58_tobacco == o.age_58_tobacco &&
      age_59 == o.age_59 &&
      age_59_tobacco == o.age_59_tobacco &&
      age_5_tobacco == o.age_5_tobacco &&
      age_6 == o.age_6 &&
      age_60 == o.age_60 &&
      age_60_tobacco == o.age_60_tobacco &&
      age_61 == o.age_61 &&
      age_61_tobacco == o.age_61_tobacco &&
      age_62 == o.age_62 &&
      age_62_tobacco == o.age_62_tobacco &&
      age_63 == o.age_63 &&
      age_63_tobacco == o.age_63_tobacco &&
      age_64 == o.age_64 &&
      age_64_tobacco == o.age_64_tobacco &&
      age_65 == o.age_65 &&
      age_65_tobacco == o.age_65_tobacco &&
      age_6_tobacco == o.age_6_tobacco &&
      age_7 == o.age_7 &&
      age_7_tobacco == o.age_7_tobacco &&
      age_8 == o.age_8 &&
      age_8_tobacco == o.age_8_tobacco &&
      age_9 == o.age_9 &&
      age_9_tobacco == o.age_9_tobacco &&
      child_only == o.child_only &&
      effective_date == o.effective_date &&
      expiration_date == o.expiration_date &&
      external_id == o.external_id &&
      family == o.family &&
      rating_area_natural_key == o.rating_area_natural_key &&
      single == o.single &&
      single_and_children == o.single_and_children &&
      single_and_spouse == o.single_and_spouse &&
      source == o.source
end

#_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



2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
# File 'lib/vericred_client/models/rate_request.rb', line 2488

def _deserialize(type, value)
  case type.to_sym
  when :DateTime
    DateTime.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
    temp_model = VericredClient.const_get(type).new
    temp_model.build_from_hash(value)
  end
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



2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
# File 'lib/vericred_client/models/rate_request.rb', line 2554

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

#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



2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
# File 'lib/vericred_client/models/rate_request.rb', line 2467

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.swagger_types.each_pair do |key, type|
    if type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


2454
2455
2456
# File 'lib/vericred_client/models/rate_request.rb', line 2454

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



2460
2461
2462
# File 'lib/vericred_client/models/rate_request.rb', line 2460

def hash
  [age_0, age_0_tobacco, age_1, age_10, age_10_tobacco, age_11, age_11_tobacco, age_12, age_12_tobacco, age_13, age_13_tobacco, age_14, age_14_tobacco, age_15, age_15_tobacco, age_16, age_16_tobacco, age_17, age_17_tobacco, age_18, age_18_tobacco, age_19, age_19_tobacco, age_1_tobacco, age_2, age_20, age_20_tobacco, age_21, age_21_tobacco, age_22, age_22_tobacco, age_23, age_23_tobacco, age_24, age_24_tobacco, age_25, age_25_tobacco, age_26, age_26_tobacco, age_27, age_27_tobacco, age_28, age_28_tobacco, age_29, age_29_tobacco, age_2_tobacco, age_3, age_30, age_30_tobacco, age_31, age_31_tobacco, age_32, age_32_tobacco, age_33, age_33_tobacco, age_34, age_34_tobacco, age_35, age_35_tobacco, age_36, age_36_tobacco, age_37, age_37_tobacco, age_38, age_38_tobacco, age_39, age_39_tobacco, age_3_tobacco, age_4, age_40, age_40_tobacco, age_41, age_41_tobacco, age_42, age_42_tobacco, age_43, age_43_tobacco, age_44, age_44_tobacco, age_45, age_45_tobacco, age_46, age_46_tobacco, age_47, age_47_tobacco, age_48, age_48_tobacco, age_49, age_49_tobacco, age_4_tobacco, age_5, age_50, age_50_tobacco, age_51, age_51_tobacco, age_52, age_52_tobacco, age_53, age_53_tobacco, age_54, age_54_tobacco, age_55, age_55_tobacco, age_56, age_56_tobacco, age_57, age_57_tobacco, age_58, age_58_tobacco, age_59, age_59_tobacco, age_5_tobacco, age_6, age_60, age_60_tobacco, age_61, age_61_tobacco, age_62, age_62_tobacco, age_63, age_63_tobacco, age_64, age_64_tobacco, age_65, age_65_tobacco, age_6_tobacco, age_7, age_7_tobacco, age_8, age_8_tobacco, age_9, age_9_tobacco, child_only, effective_date, expiration_date, external_id, family, rating_area_natural_key, single, single_and_children, single_and_spouse, source].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properies with the reasons



2292
2293
2294
2295
# File 'lib/vericred_client/models/rate_request.rb', line 2292

def list_invalid_properties
  invalid_properties = Array.new
  return 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



2534
2535
2536
# File 'lib/vericred_client/models/rate_request.rb', line 2534

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



2540
2541
2542
2543
2544
2545
2546
2547
2548
# File 'lib/vericred_client/models/rate_request.rb', line 2540

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



2528
2529
2530
# File 'lib/vericred_client/models/rate_request.rb', line 2528

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



2299
2300
2301
# File 'lib/vericred_client/models/rate_request.rb', line 2299

def valid?
  return true
end