Class: VericredClient::MedicalPlanBenefits
- Inherits:
-
Object
- Object
- VericredClient::MedicalPlanBenefits
- Defined in:
- lib/vericred_client/models/medical_plan_benefits.rb
Instance Attribute Summary collapse
-
#ambulance ⇒ Object
Ambulance benefits string.
-
#child_dental ⇒ Object
Child Dental benefits string.
-
#child_eye_exam ⇒ Object
Child Eye Exam benefits string.
-
#child_eyewear ⇒ Object
Child Eyewear benefits string.
-
#chiropractic_services ⇒ Object
Chiropractic Services benefits string.
-
#diagnostic_test ⇒ Object
Diagnostic Test benefits string.
-
#durable_medical_equipment ⇒ Object
Durable Medical Equipment benefits string.
-
#emergency_room ⇒ Object
Emergency Room benefits string.
-
#family_drug_deductible ⇒ Object
Family Drug Deductible benefits string.
-
#family_drug_moop ⇒ Object
Family Drug Moop benefits string.
-
#family_medical_deductible ⇒ Object
Family Medical Deductible benefits string.
-
#family_medical_moop ⇒ Object
Family Medical Moop benefits string.
-
#generic_drugs ⇒ Object
Generic Drugs benefits string.
-
#habilitation_services ⇒ Object
Habilitation Services benefits string.
-
#home_health_care ⇒ Object
Home Health Care benefits string.
-
#hospice_service ⇒ Object
Hospice Service benefits string.
-
#imaging_center ⇒ Object
Imaging Center benefits string.
-
#imaging_physician ⇒ Object
Imaging PHysician benefits string.
-
#individual_drug_deductible ⇒ Object
Individual Drug Deductible benefits string.
-
#individual_drug_moop ⇒ Object
Individual Drug Moop benefits string.
-
#individual_medical_deductible ⇒ Object
Individual Medical Deductible benefits string.
-
#individual_medical_moop ⇒ Object
Individual Medical Moop benefits string.
-
#inpatient_birth ⇒ Object
Inpatient Birth benefits string.
-
#inpatient_birth_physician ⇒ Object
Inpatient Birth Physician benefits string.
-
#inpatient_facility ⇒ Object
Inpatient Facility benefits string.
-
#inpatient_mental_health ⇒ Object
Inpatient Mental Health benefits string.
-
#inpatient_physician ⇒ Object
Inpatient Physician benefits string.
-
#inpatient_substance ⇒ Object
Inpatient Substance benefits string.
-
#lab_test ⇒ Object
Lab Test benefits string.
-
#non_preferred_brand_drugs ⇒ Object
Non Preferred Brand_drugs benefits string.
-
#nonpreferred_generic_drug_share ⇒ Object
Non Preferred Generic_drug_share benefits string.
-
#nonpreferred_specialty_drug_share ⇒ Object
Non Preferred Specialty Drug Share benefits string.
-
#outpatient_ambulatory_care_center ⇒ Object
Outpatient Ambulatory Care Center benefits string.
-
#outpatient_facility ⇒ Object
Outpatient Hospital benefits string.
-
#outpatient_mental_health ⇒ Object
Outpatient Mental Health benefits string.
-
#outpatient_physician ⇒ Object
outpatient Physician benefits string.
-
#outpatient_substance ⇒ Object
Outpatient Substance benefits string.
-
#plan_coinsurance ⇒ Object
Plan Coinsurance benefits string.
-
#postnatal_care ⇒ Object
Postnatal Care benefits string.
-
#preferred_brand_drugs ⇒ Object
Preferred Brand Drugs benefits string.
-
#prenatal_care ⇒ Object
Prenatal Care benefits string.
-
#preventative_care ⇒ Object
Preventative Care benefits string.
-
#primary_care_physician ⇒ Object
Primary Care Physician benefits string.
-
#rehabilitation_services ⇒ Object
Rehabilitation Services benefits string.
-
#skilled_nursing ⇒ Object
Skilled Nursing benefits string.
-
#specialist ⇒ Object
Specialist benefits string.
-
#specialty_drugs ⇒ Object
Specialty Drugs benefits string.
-
#urgent_care ⇒ Object
Urgent Care benefits string.
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ MedicalPlanBenefits
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ MedicalPlanBenefits
Initializes the object
1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 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 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1272 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?(:'ambulance') self.ambulance = attributes[:'ambulance'] end if attributes.has_key?(:'child_dental') self.child_dental = attributes[:'child_dental'] end if attributes.has_key?(:'child_eye_exam') self.child_eye_exam = attributes[:'child_eye_exam'] end if attributes.has_key?(:'child_eyewear') self.child_eyewear = attributes[:'child_eyewear'] end if attributes.has_key?(:'chiropractic_services') self.chiropractic_services = attributes[:'chiropractic_services'] end if attributes.has_key?(:'diagnostic_test') self.diagnostic_test = attributes[:'diagnostic_test'] end if attributes.has_key?(:'durable_medical_equipment') self.durable_medical_equipment = attributes[:'durable_medical_equipment'] end if attributes.has_key?(:'emergency_room') self.emergency_room = attributes[:'emergency_room'] end if attributes.has_key?(:'family_drug_deductible') self.family_drug_deductible = attributes[:'family_drug_deductible'] end if attributes.has_key?(:'family_drug_moop') self.family_drug_moop = attributes[:'family_drug_moop'] end if attributes.has_key?(:'family_medical_deductible') self.family_medical_deductible = attributes[:'family_medical_deductible'] end if attributes.has_key?(:'family_medical_moop') self.family_medical_moop = attributes[:'family_medical_moop'] end if attributes.has_key?(:'generic_drugs') self.generic_drugs = attributes[:'generic_drugs'] end if attributes.has_key?(:'habilitation_services') self.habilitation_services = attributes[:'habilitation_services'] end if attributes.has_key?(:'home_health_care') self.home_health_care = attributes[:'home_health_care'] end if attributes.has_key?(:'hospice_service') self.hospice_service = attributes[:'hospice_service'] end if attributes.has_key?(:'imaging_center') self.imaging_center = attributes[:'imaging_center'] end if attributes.has_key?(:'imaging_physician') self.imaging_physician = attributes[:'imaging_physician'] end if attributes.has_key?(:'individual_drug_deductible') self.individual_drug_deductible = attributes[:'individual_drug_deductible'] end if attributes.has_key?(:'individual_drug_moop') self.individual_drug_moop = attributes[:'individual_drug_moop'] end if attributes.has_key?(:'individual_medical_deductible') self.individual_medical_deductible = attributes[:'individual_medical_deductible'] end if attributes.has_key?(:'individual_medical_moop') self.individual_medical_moop = attributes[:'individual_medical_moop'] end if attributes.has_key?(:'inpatient_birth') self.inpatient_birth = attributes[:'inpatient_birth'] end if attributes.has_key?(:'inpatient_birth_physician') self.inpatient_birth_physician = attributes[:'inpatient_birth_physician'] end if attributes.has_key?(:'inpatient_facility') self.inpatient_facility = attributes[:'inpatient_facility'] end if attributes.has_key?(:'inpatient_mental_health') self.inpatient_mental_health = attributes[:'inpatient_mental_health'] end if attributes.has_key?(:'inpatient_physician') self.inpatient_physician = attributes[:'inpatient_physician'] end if attributes.has_key?(:'inpatient_substance') self.inpatient_substance = attributes[:'inpatient_substance'] end if attributes.has_key?(:'lab_test') self.lab_test = attributes[:'lab_test'] end if attributes.has_key?(:'non_preferred_brand_drugs') self.non_preferred_brand_drugs = attributes[:'non_preferred_brand_drugs'] end if attributes.has_key?(:'nonpreferred_generic_drug_share') self.nonpreferred_generic_drug_share = attributes[:'nonpreferred_generic_drug_share'] end if attributes.has_key?(:'nonpreferred_specialty_drug_share') self.nonpreferred_specialty_drug_share = attributes[:'nonpreferred_specialty_drug_share'] end if attributes.has_key?(:'outpatient_ambulatory_care_center') self.outpatient_ambulatory_care_center = attributes[:'outpatient_ambulatory_care_center'] end if attributes.has_key?(:'outpatient_facility') self.outpatient_facility = attributes[:'outpatient_facility'] end if attributes.has_key?(:'outpatient_mental_health') self.outpatient_mental_health = attributes[:'outpatient_mental_health'] end if attributes.has_key?(:'outpatient_physician') self.outpatient_physician = attributes[:'outpatient_physician'] end if attributes.has_key?(:'outpatient_substance') self.outpatient_substance = attributes[:'outpatient_substance'] end if attributes.has_key?(:'plan_coinsurance') self.plan_coinsurance = attributes[:'plan_coinsurance'] end if attributes.has_key?(:'postnatal_care') self.postnatal_care = attributes[:'postnatal_care'] end if attributes.has_key?(:'preferred_brand_drugs') self.preferred_brand_drugs = attributes[:'preferred_brand_drugs'] end if attributes.has_key?(:'prenatal_care') self.prenatal_care = attributes[:'prenatal_care'] end if attributes.has_key?(:'preventative_care') self.preventative_care = attributes[:'preventative_care'] end if attributes.has_key?(:'primary_care_physician') self.primary_care_physician = attributes[:'primary_care_physician'] end if attributes.has_key?(:'rehabilitation_services') self.rehabilitation_services = attributes[:'rehabilitation_services'] end if attributes.has_key?(:'skilled_nursing') self.skilled_nursing = attributes[:'skilled_nursing'] end if attributes.has_key?(:'specialist') self.specialist = attributes[:'specialist'] end if attributes.has_key?(:'specialty_drugs') self.specialty_drugs = attributes[:'specialty_drugs'] end if attributes.has_key?(:'urgent_care') self.urgent_care = attributes[:'urgent_care'] end end |
Instance Attribute Details
#ambulance ⇒ Object
Ambulance benefits string
1018 1019 1020 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1018 def ambulance @ambulance end |
#child_dental ⇒ Object
Child Dental benefits string
1021 1022 1023 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1021 def child_dental @child_dental end |
#child_eye_exam ⇒ Object
Child Eye Exam benefits string
1024 1025 1026 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1024 def child_eye_exam @child_eye_exam end |
#child_eyewear ⇒ Object
Child Eyewear benefits string
1027 1028 1029 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1027 def child_eyewear @child_eyewear end |
#chiropractic_services ⇒ Object
Chiropractic Services benefits string
1030 1031 1032 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1030 def chiropractic_services @chiropractic_services end |
#diagnostic_test ⇒ Object
Diagnostic Test benefits string
1033 1034 1035 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1033 def diagnostic_test @diagnostic_test end |
#durable_medical_equipment ⇒ Object
Durable Medical Equipment benefits string
1036 1037 1038 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1036 def durable_medical_equipment @durable_medical_equipment end |
#emergency_room ⇒ Object
Emergency Room benefits string
1039 1040 1041 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1039 def emergency_room @emergency_room end |
#family_drug_deductible ⇒ Object
Family Drug Deductible benefits string
1042 1043 1044 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1042 def family_drug_deductible @family_drug_deductible end |
#family_drug_moop ⇒ Object
Family Drug Moop benefits string
1045 1046 1047 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1045 def family_drug_moop @family_drug_moop end |
#family_medical_deductible ⇒ Object
Family Medical Deductible benefits string
1048 1049 1050 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1048 def family_medical_deductible @family_medical_deductible end |
#family_medical_moop ⇒ Object
Family Medical Moop benefits string
1051 1052 1053 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1051 def family_medical_moop @family_medical_moop end |
#generic_drugs ⇒ Object
Generic Drugs benefits string
1054 1055 1056 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1054 def generic_drugs @generic_drugs end |
#habilitation_services ⇒ Object
Habilitation Services benefits string
1057 1058 1059 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1057 def habilitation_services @habilitation_services end |
#home_health_care ⇒ Object
Home Health Care benefits string
1060 1061 1062 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1060 def home_health_care @home_health_care end |
#hospice_service ⇒ Object
Hospice Service benefits string
1063 1064 1065 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1063 def hospice_service @hospice_service end |
#imaging_center ⇒ Object
Imaging Center benefits string
1066 1067 1068 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1066 def imaging_center @imaging_center end |
#imaging_physician ⇒ Object
Imaging PHysician benefits string
1069 1070 1071 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1069 def imaging_physician @imaging_physician end |
#individual_drug_deductible ⇒ Object
Individual Drug Deductible benefits string
1072 1073 1074 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1072 def individual_drug_deductible @individual_drug_deductible end |
#individual_drug_moop ⇒ Object
Individual Drug Moop benefits string
1075 1076 1077 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1075 def individual_drug_moop @individual_drug_moop end |
#individual_medical_deductible ⇒ Object
Individual Medical Deductible benefits string
1078 1079 1080 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1078 def individual_medical_deductible @individual_medical_deductible end |
#individual_medical_moop ⇒ Object
Individual Medical Moop benefits string
1081 1082 1083 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1081 def individual_medical_moop @individual_medical_moop end |
#inpatient_birth ⇒ Object
Inpatient Birth benefits string
1084 1085 1086 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1084 def inpatient_birth @inpatient_birth end |
#inpatient_birth_physician ⇒ Object
Inpatient Birth Physician benefits string
1087 1088 1089 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1087 def inpatient_birth_physician @inpatient_birth_physician end |
#inpatient_facility ⇒ Object
Inpatient Facility benefits string
1090 1091 1092 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1090 def inpatient_facility @inpatient_facility end |
#inpatient_mental_health ⇒ Object
Inpatient Mental Health benefits string
1093 1094 1095 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1093 def inpatient_mental_health @inpatient_mental_health end |
#inpatient_physician ⇒ Object
Inpatient Physician benefits string
1096 1097 1098 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1096 def inpatient_physician @inpatient_physician end |
#inpatient_substance ⇒ Object
Inpatient Substance benefits string
1099 1100 1101 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1099 def inpatient_substance @inpatient_substance end |
#lab_test ⇒ Object
Lab Test benefits string
1102 1103 1104 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1102 def lab_test @lab_test end |
#non_preferred_brand_drugs ⇒ Object
Non Preferred Brand_drugs benefits string
1105 1106 1107 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1105 def non_preferred_brand_drugs @non_preferred_brand_drugs end |
#nonpreferred_generic_drug_share ⇒ Object
Non Preferred Generic_drug_share benefits string
1108 1109 1110 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1108 def nonpreferred_generic_drug_share @nonpreferred_generic_drug_share end |
#nonpreferred_specialty_drug_share ⇒ Object
Non Preferred Specialty Drug Share benefits string
1111 1112 1113 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1111 def nonpreferred_specialty_drug_share @nonpreferred_specialty_drug_share end |
#outpatient_ambulatory_care_center ⇒ Object
Outpatient Ambulatory Care Center benefits string
1114 1115 1116 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1114 def outpatient_ambulatory_care_center @outpatient_ambulatory_care_center end |
#outpatient_facility ⇒ Object
Outpatient Hospital benefits string
1117 1118 1119 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1117 def outpatient_facility @outpatient_facility end |
#outpatient_mental_health ⇒ Object
Outpatient Mental Health benefits string
1120 1121 1122 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1120 def outpatient_mental_health @outpatient_mental_health end |
#outpatient_physician ⇒ Object
outpatient Physician benefits string
1123 1124 1125 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1123 def outpatient_physician @outpatient_physician end |
#outpatient_substance ⇒ Object
Outpatient Substance benefits string
1126 1127 1128 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1126 def outpatient_substance @outpatient_substance end |
#plan_coinsurance ⇒ Object
Plan Coinsurance benefits string
1129 1130 1131 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1129 def plan_coinsurance @plan_coinsurance end |
#postnatal_care ⇒ Object
Postnatal Care benefits string
1132 1133 1134 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1132 def postnatal_care @postnatal_care end |
#preferred_brand_drugs ⇒ Object
Preferred Brand Drugs benefits string
1135 1136 1137 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1135 def preferred_brand_drugs @preferred_brand_drugs end |
#prenatal_care ⇒ Object
Prenatal Care benefits string
1138 1139 1140 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1138 def prenatal_care @prenatal_care end |
#preventative_care ⇒ Object
Preventative Care benefits string
1141 1142 1143 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1141 def preventative_care @preventative_care end |
#primary_care_physician ⇒ Object
Primary Care Physician benefits string
1144 1145 1146 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1144 def primary_care_physician @primary_care_physician end |
#rehabilitation_services ⇒ Object
Rehabilitation Services benefits string
1147 1148 1149 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1147 def rehabilitation_services @rehabilitation_services end |
#skilled_nursing ⇒ Object
Skilled Nursing benefits string
1150 1151 1152 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1150 def skilled_nursing @skilled_nursing end |
#specialist ⇒ Object
Specialist benefits string
1153 1154 1155 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1153 def specialist @specialist end |
#specialty_drugs ⇒ Object
Specialty Drugs benefits string
1156 1157 1158 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1156 def specialty_drugs @specialty_drugs end |
#urgent_care ⇒ Object
Urgent Care benefits string
1159 1160 1161 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1159 def urgent_care @urgent_care end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
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 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1163 def self.attribute_map { :'ambulance' => :'ambulance', :'child_dental' => :'child_dental', :'child_eye_exam' => :'child_eye_exam', :'child_eyewear' => :'child_eyewear', :'chiropractic_services' => :'chiropractic_services', :'diagnostic_test' => :'diagnostic_test', :'durable_medical_equipment' => :'durable_medical_equipment', :'emergency_room' => :'emergency_room', :'family_drug_deductible' => :'family_drug_deductible', :'family_drug_moop' => :'family_drug_moop', :'family_medical_deductible' => :'family_medical_deductible', :'family_medical_moop' => :'family_medical_moop', :'generic_drugs' => :'generic_drugs', :'habilitation_services' => :'habilitation_services', :'home_health_care' => :'home_health_care', :'hospice_service' => :'hospice_service', :'imaging_center' => :'imaging_center', :'imaging_physician' => :'imaging_physician', :'individual_drug_deductible' => :'individual_drug_deductible', :'individual_drug_moop' => :'individual_drug_moop', :'individual_medical_deductible' => :'individual_medical_deductible', :'individual_medical_moop' => :'individual_medical_moop', :'inpatient_birth' => :'inpatient_birth', :'inpatient_birth_physician' => :'inpatient_birth_physician', :'inpatient_facility' => :'inpatient_facility', :'inpatient_mental_health' => :'inpatient_mental_health', :'inpatient_physician' => :'inpatient_physician', :'inpatient_substance' => :'inpatient_substance', :'lab_test' => :'lab_test', :'non_preferred_brand_drugs' => :'non_preferred_brand_drugs', :'nonpreferred_generic_drug_share' => :'nonpreferred_generic_drug_share', :'nonpreferred_specialty_drug_share' => :'nonpreferred_specialty_drug_share', :'outpatient_ambulatory_care_center' => :'outpatient_ambulatory_care_center', :'outpatient_facility' => :'outpatient_facility', :'outpatient_mental_health' => :'outpatient_mental_health', :'outpatient_physician' => :'outpatient_physician', :'outpatient_substance' => :'outpatient_substance', :'plan_coinsurance' => :'plan_coinsurance', :'postnatal_care' => :'postnatal_care', :'preferred_brand_drugs' => :'preferred_brand_drugs', :'prenatal_care' => :'prenatal_care', :'preventative_care' => :'preventative_care', :'primary_care_physician' => :'primary_care_physician', :'rehabilitation_services' => :'rehabilitation_services', :'skilled_nursing' => :'skilled_nursing', :'specialist' => :'specialist', :'specialty_drugs' => :'specialty_drugs', :'urgent_care' => :'urgent_care' } end |
.swagger_types ⇒ Object
Attribute type mapping.
1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1217 def self.swagger_types { :'ambulance' => :'String', :'child_dental' => :'String', :'child_eye_exam' => :'String', :'child_eyewear' => :'String', :'chiropractic_services' => :'String', :'diagnostic_test' => :'String', :'durable_medical_equipment' => :'String', :'emergency_room' => :'String', :'family_drug_deductible' => :'String', :'family_drug_moop' => :'String', :'family_medical_deductible' => :'String', :'family_medical_moop' => :'String', :'generic_drugs' => :'String', :'habilitation_services' => :'String', :'home_health_care' => :'String', :'hospice_service' => :'String', :'imaging_center' => :'String', :'imaging_physician' => :'String', :'individual_drug_deductible' => :'String', :'individual_drug_moop' => :'String', :'individual_medical_deductible' => :'String', :'individual_medical_moop' => :'String', :'inpatient_birth' => :'String', :'inpatient_birth_physician' => :'String', :'inpatient_facility' => :'String', :'inpatient_mental_health' => :'String', :'inpatient_physician' => :'String', :'inpatient_substance' => :'String', :'lab_test' => :'String', :'non_preferred_brand_drugs' => :'String', :'nonpreferred_generic_drug_share' => :'String', :'nonpreferred_specialty_drug_share' => :'String', :'outpatient_ambulatory_care_center' => :'String', :'outpatient_facility' => :'String', :'outpatient_mental_health' => :'String', :'outpatient_physician' => :'String', :'outpatient_substance' => :'String', :'plan_coinsurance' => :'String', :'postnatal_care' => :'String', :'preferred_brand_drugs' => :'String', :'prenatal_care' => :'String', :'preventative_care' => :'String', :'primary_care_physician' => :'String', :'rehabilitation_services' => :'String', :'skilled_nursing' => :'String', :'specialist' => :'String', :'specialty_drugs' => :'String', :'urgent_care' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
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 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1487 def ==(o) return true if self.equal?(o) self.class == o.class && ambulance == o.ambulance && child_dental == o.child_dental && child_eye_exam == o.child_eye_exam && child_eyewear == o.child_eyewear && chiropractic_services == o.chiropractic_services && diagnostic_test == o.diagnostic_test && durable_medical_equipment == o.durable_medical_equipment && emergency_room == o.emergency_room && family_drug_deductible == o.family_drug_deductible && family_drug_moop == o.family_drug_moop && family_medical_deductible == o.family_medical_deductible && family_medical_moop == o.family_medical_moop && generic_drugs == o.generic_drugs && habilitation_services == o.habilitation_services && home_health_care == o.home_health_care && hospice_service == o.hospice_service && imaging_center == o.imaging_center && imaging_physician == o.imaging_physician && individual_drug_deductible == o.individual_drug_deductible && individual_drug_moop == o.individual_drug_moop && individual_medical_deductible == o.individual_medical_deductible && individual_medical_moop == o.individual_medical_moop && inpatient_birth == o.inpatient_birth && inpatient_birth_physician == o.inpatient_birth_physician && inpatient_facility == o.inpatient_facility && inpatient_mental_health == o.inpatient_mental_health && inpatient_physician == o.inpatient_physician && inpatient_substance == o.inpatient_substance && lab_test == o.lab_test && non_preferred_brand_drugs == o.non_preferred_brand_drugs && nonpreferred_generic_drug_share == o.nonpreferred_generic_drug_share && nonpreferred_specialty_drug_share == o.nonpreferred_specialty_drug_share && outpatient_ambulatory_care_center == o.outpatient_ambulatory_care_center && outpatient_facility == o.outpatient_facility && outpatient_mental_health == o.outpatient_mental_health && outpatient_physician == o.outpatient_physician && outpatient_substance == o.outpatient_substance && plan_coinsurance == o.plan_coinsurance && postnatal_care == o.postnatal_care && preferred_brand_drugs == o.preferred_brand_drugs && prenatal_care == o.prenatal_care && preventative_care == o.preventative_care && primary_care_physician == o.primary_care_physician && rehabilitation_services == o.rehabilitation_services && skilled_nursing == o.skilled_nursing && specialist == o.specialist && specialty_drugs == o.specialty_drugs && urgent_care == o.urgent_care end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
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 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1576 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
1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1642 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
1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1555 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
1542 1543 1544 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1542 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
1548 1549 1550 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1548 def hash [ambulance, child_dental, child_eye_exam, child_eyewear, chiropractic_services, diagnostic_test, durable_medical_equipment, emergency_room, family_drug_deductible, family_drug_moop, family_medical_deductible, family_medical_moop, generic_drugs, habilitation_services, home_health_care, hospice_service, imaging_center, imaging_physician, individual_drug_deductible, individual_drug_moop, individual_medical_deductible, individual_medical_moop, inpatient_birth, inpatient_birth_physician, inpatient_facility, inpatient_mental_health, inpatient_physician, inpatient_substance, lab_test, non_preferred_brand_drugs, nonpreferred_generic_drug_share, nonpreferred_specialty_drug_share, outpatient_ambulatory_care_center, outpatient_facility, outpatient_mental_health, outpatient_physician, outpatient_substance, plan_coinsurance, postnatal_care, preferred_brand_drugs, prenatal_care, preventative_care, primary_care_physician, rehabilitation_services, skilled_nursing, specialist, specialty_drugs, urgent_care].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
1474 1475 1476 1477 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1474 def list_invalid_properties invalid_properties = Array.new return invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
1622 1623 1624 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1622 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
1628 1629 1630 1631 1632 1633 1634 1635 1636 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1628 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_s ⇒ String
Returns the string representation of the object
1616 1617 1618 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1616 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
1481 1482 1483 |
# File 'lib/vericred_client/models/medical_plan_benefits.rb', line 1481 def valid? return true end |