Class: VericredClient::MedicalPlanUpdate
- Inherits:
-
Object
- Object
- VericredClient::MedicalPlanUpdate
- Defined in:
- lib/vericred_client/models/medical_plan_update.rb
Instance Attribute Summary collapse
-
#actively_marketed ⇒ Object
Indicates whether this plan is being actively marketed by the carrier.
-
#actuarial_value ⇒ Object
Percentage of total average costs for covered benefits that a plan will cover.
-
#age29_rider ⇒ Object
True if the plan allows dependents up to age 29.
-
#audience ⇒ Object
The medical plan audience.
-
#benefits ⇒ Object
Medical Plan Benefits.
-
#benefits_summary_url ⇒ Object
Link to the summary of benefits and coverage (SBC) document.
-
#buy_link ⇒ Object
Link to a location to purchase the plan.
-
#coinsurance ⇒ Object
Standard cost share for most benefits.
-
#covered_ages ⇒ Object
allowed ages on the plan, possible values: allows adult-only, allows child-only, allows adult and child-only, child29, requires adult.
-
#dp_rider ⇒ Object
True if plan does not cover domestic partners.
-
#drug_formulary_url ⇒ Object
Link to the summary of drug benefits for the plan.
-
#embedded_deductible ⇒ Object
Is the individual deductible for each covered person, embedded in the family deductible.
-
#essential_health_benefits_percentage ⇒ Object
Percentage of essential plan benefits.
-
#external_id ⇒ Object
Medical Plan External Identifier.
-
#external_ids ⇒ Object
Medical Plan External Identifiers.
-
#family_tier ⇒ Object
True if plan is in a fixed family tier state.
-
#fp_rider ⇒ Object
True if plan does not cover family planning.
-
#gated ⇒ Object
Does the plan’s network require a physician referral?.
-
#hsa_eligible ⇒ Object
Is the plan HSA eligible?.
-
#issuer_vericred_id ⇒ Object
The issuer vericred id.
-
#key_benefits_complete ⇒ Object
Indicates whether the plan has meaningful descriptions for these benefits: individual_medical_deductible, family_medical_deductible, individual_medical_moop, family_medical_moop, primary_care_physician.
-
#level ⇒ Object
Plan metal grouping (e.g. platinum, gold, silver, etc).
-
#mail_order_rx ⇒ Object
Multiple of the standard Rx cost share for orders filled via mail order.
-
#market ⇒ Object
Market for plan.
-
#name ⇒ Object
The medical plan name.
-
#plan_calendar ⇒ Object
Are deductibles and MOOPs reset on Dec-31 ("calendar year"), 365 days after enrollment date ("plan year"), or are both options available ("both")?.
-
#plan_market ⇒ Object
Market in which the plan is offered (on_marketplace, shop, etc).
-
#plan_type ⇒ Object
Category of the plan (e.g. EPO, HMO, PPO, POS, Indemnity, PACE, Medicare-Medicaid, HMO w/POS, Cost, FFS, MSA).
-
#private_exchange ⇒ Object
Plan private exchange.
-
#privileged_data ⇒ Object
TRUE if plan data is Privileged.
-
#sbc_name ⇒ Object
Name of the SBC.
-
#skilled_nursing_facility_365 ⇒ Object
Does the plan cover full-time, year-round, nursing facilities?.
-
#source ⇒ Object
Source of the plan benefit data.
-
#state_code ⇒ Object
State code.
-
#year ⇒ Object
Plan year.
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 = {}) ⇒ MedicalPlanUpdate
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 = {}) ⇒ MedicalPlanUpdate
Initializes the object
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 208 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?(:'name') self.name = attributes[:'name'] end if attributes.has_key?(:'issuer_vericred_id') self.issuer_vericred_id = attributes[:'issuer_vericred_id'] end if attributes.has_key?(:'audience') self.audience = attributes[:'audience'] end if attributes.has_key?(:'plan_type') self.plan_type = attributes[:'plan_type'] end if attributes.has_key?(:'actuarial_value') self.actuarial_value = attributes[:'actuarial_value'] end if attributes.has_key?(:'age29_rider') self.age29_rider = attributes[:'age29_rider'] end if attributes.has_key?(:'privileged_data') self.privileged_data = attributes[:'privileged_data'] end if attributes.has_key?(:'benefits_summary_url') self.benefits_summary_url = attributes[:'benefits_summary_url'] end if attributes.has_key?(:'coinsurance') self.coinsurance = attributes[:'coinsurance'] end if attributes.has_key?(:'dp_rider') self.dp_rider = attributes[:'dp_rider'] end if attributes.has_key?(:'family_tier') self.family_tier = attributes[:'family_tier'] end if attributes.has_key?(:'drug_formulary_url') self.drug_formulary_url = attributes[:'drug_formulary_url'] end if attributes.has_key?(:'essential_health_benefits_percentage') self.essential_health_benefits_percentage = attributes[:'essential_health_benefits_percentage'] end if attributes.has_key?(:'embedded_deductible') self. = attributes[:'embedded_deductible'] end if attributes.has_key?(:'fp_rider') self.fp_rider = attributes[:'fp_rider'] end if attributes.has_key?(:'gated') self.gated = attributes[:'gated'] end if attributes.has_key?(:'hsa_eligible') self.hsa_eligible = attributes[:'hsa_eligible'] end if attributes.has_key?(:'level') self.level = attributes[:'level'] end if attributes.has_key?(:'mail_order_rx') self.mail_order_rx = attributes[:'mail_order_rx'] end if attributes.has_key?(:'plan_calendar') self.plan_calendar = attributes[:'plan_calendar'] end if attributes.has_key?(:'plan_market') self.plan_market = attributes[:'plan_market'] end if attributes.has_key?(:'market') self.market = attributes[:'market'] end if attributes.has_key?(:'key_benefits_complete') self.key_benefits_complete = attributes[:'key_benefits_complete'] end if attributes.has_key?(:'buy_link') self.buy_link = attributes[:'buy_link'] end if attributes.has_key?(:'skilled_nursing_facility_365') self.skilled_nursing_facility_365 = attributes[:'skilled_nursing_facility_365'] end if attributes.has_key?(:'covered_ages') self.covered_ages = attributes[:'covered_ages'] end if attributes.has_key?(:'year') self.year = attributes[:'year'] end if attributes.has_key?(:'state_code') self.state_code = attributes[:'state_code'] end if attributes.has_key?(:'source') self.source = attributes[:'source'] end if attributes.has_key?(:'sbc_name') self.sbc_name = attributes[:'sbc_name'] end if attributes.has_key?(:'actively_marketed') self.actively_marketed = attributes[:'actively_marketed'] end if attributes.has_key?(:'private_exchange') self.private_exchange = attributes[:'private_exchange'] end if attributes.has_key?(:'external_ids') if (value = attributes[:'external_ids']).is_a?(Array) self.external_ids = value end end if attributes.has_key?(:'external_id') self.external_id = attributes[:'external_id'] end if attributes.has_key?(:'benefits') self.benefits = attributes[:'benefits'] end end |
Instance Attribute Details
#actively_marketed ⇒ Object
Indicates whether this plan is being actively marketed by the carrier.
109 110 111 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 109 def actively_marketed @actively_marketed end |
#actuarial_value ⇒ Object
Percentage of total average costs for covered benefits that a plan will cover.
31 32 33 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 31 def actuarial_value @actuarial_value end |
#age29_rider ⇒ Object
True if the plan allows dependents up to age 29
34 35 36 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 34 def age29_rider @age29_rider end |
#audience ⇒ Object
The medical plan audience
25 26 27 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 25 def audience @audience end |
#benefits ⇒ Object
Medical Plan Benefits
121 122 123 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 121 def benefits @benefits end |
#benefits_summary_url ⇒ Object
Link to the summary of benefits and coverage (SBC) document.
40 41 42 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 40 def benefits_summary_url @benefits_summary_url end |
#buy_link ⇒ Object
Link to a location to purchase the plan.
88 89 90 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 88 def buy_link @buy_link end |
#coinsurance ⇒ Object
Standard cost share for most benefits
43 44 45 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 43 def coinsurance @coinsurance end |
#covered_ages ⇒ Object
allowed ages on the plan, possible values: allows adult-only, allows child-only, allows adult and child-only, child29, requires adult
94 95 96 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 94 def covered_ages @covered_ages end |
#dp_rider ⇒ Object
True if plan does not cover domestic partners
46 47 48 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 46 def dp_rider @dp_rider end |
#drug_formulary_url ⇒ Object
Link to the summary of drug benefits for the plan
52 53 54 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 52 def drug_formulary_url @drug_formulary_url end |
#embedded_deductible ⇒ Object
Is the individual deductible for each covered person, embedded in the family deductible
58 59 60 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 58 def @embedded_deductible end |
#essential_health_benefits_percentage ⇒ Object
Percentage of essential plan benefits
55 56 57 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 55 def essential_health_benefits_percentage @essential_health_benefits_percentage end |
#external_id ⇒ Object
Medical Plan External Identifier
118 119 120 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 118 def external_id @external_id end |
#external_ids ⇒ Object
Medical Plan External Identifiers
115 116 117 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 115 def external_ids @external_ids end |
#family_tier ⇒ Object
True if plan is in a fixed family tier state
49 50 51 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 49 def family_tier @family_tier end |
#fp_rider ⇒ Object
True if plan does not cover family planning
61 62 63 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 61 def fp_rider @fp_rider end |
#gated ⇒ Object
Does the plan’s network require a physician referral?
64 65 66 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 64 def gated @gated end |
#hsa_eligible ⇒ Object
Is the plan HSA eligible?
67 68 69 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 67 def hsa_eligible @hsa_eligible end |
#issuer_vericred_id ⇒ Object
The issuer vericred id
22 23 24 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 22 def issuer_vericred_id @issuer_vericred_id end |
#key_benefits_complete ⇒ Object
Indicates whether the plan has meaningful descriptions for these benefits: individual_medical_deductible, family_medical_deductible, individual_medical_moop, family_medical_moop, primary_care_physician.
85 86 87 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 85 def key_benefits_complete @key_benefits_complete end |
#level ⇒ Object
Plan metal grouping (e.g. platinum, gold, silver, etc)
70 71 72 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 70 def level @level end |
#mail_order_rx ⇒ Object
Multiple of the standard Rx cost share for orders filled via mail order
73 74 75 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 73 def mail_order_rx @mail_order_rx end |
#market ⇒ Object
Market for plan
82 83 84 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 82 def market @market end |
#name ⇒ Object
The medical plan name
19 20 21 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 19 def name @name end |
#plan_calendar ⇒ Object
Are deductibles and MOOPs reset on Dec-31 ("calendar year"), 365 days after enrollment date ("plan year"), or are both options available ("both")?
76 77 78 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 76 def plan_calendar @plan_calendar end |
#plan_market ⇒ Object
Market in which the plan is offered (on_marketplace, shop, etc)
79 80 81 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 79 def plan_market @plan_market end |
#plan_type ⇒ Object
Category of the plan (e.g. EPO, HMO, PPO, POS, Indemnity, PACE, Medicare-Medicaid, HMO w/POS, Cost, FFS, MSA)
28 29 30 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 28 def plan_type @plan_type end |
#private_exchange ⇒ Object
Plan private exchange
112 113 114 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 112 def private_exchange @private_exchange end |
#privileged_data ⇒ Object
TRUE if plan data is Privileged
37 38 39 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 37 def privileged_data @privileged_data end |
#sbc_name ⇒ Object
Name of the SBC
106 107 108 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 106 def sbc_name @sbc_name end |
#skilled_nursing_facility_365 ⇒ Object
Does the plan cover full-time, year-round, nursing facilities?
91 92 93 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 91 def skilled_nursing_facility_365 @skilled_nursing_facility_365 end |
#source ⇒ Object
Source of the plan benefit data
103 104 105 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 103 def source @source end |
#state_code ⇒ Object
State code
100 101 102 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 100 def state_code @state_code end |
#year ⇒ Object
Plan year
97 98 99 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 97 def year @year end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 125 def self.attribute_map { :'name' => :'name', :'issuer_vericred_id' => :'issuer_vericred_id', :'audience' => :'audience', :'plan_type' => :'plan_type', :'actuarial_value' => :'actuarial_value', :'age29_rider' => :'age29_rider', :'privileged_data' => :'privileged_data', :'benefits_summary_url' => :'benefits_summary_url', :'coinsurance' => :'coinsurance', :'dp_rider' => :'dp_rider', :'family_tier' => :'family_tier', :'drug_formulary_url' => :'drug_formulary_url', :'essential_health_benefits_percentage' => :'essential_health_benefits_percentage', :'embedded_deductible' => :'embedded_deductible', :'fp_rider' => :'fp_rider', :'gated' => :'gated', :'hsa_eligible' => :'hsa_eligible', :'level' => :'level', :'mail_order_rx' => :'mail_order_rx', :'plan_calendar' => :'plan_calendar', :'plan_market' => :'plan_market', :'market' => :'market', :'key_benefits_complete' => :'key_benefits_complete', :'buy_link' => :'buy_link', :'skilled_nursing_facility_365' => :'skilled_nursing_facility_365', :'covered_ages' => :'covered_ages', :'year' => :'year', :'state_code' => :'state_code', :'source' => :'source', :'sbc_name' => :'sbc_name', :'actively_marketed' => :'actively_marketed', :'private_exchange' => :'private_exchange', :'external_ids' => :'external_ids', :'external_id' => :'external_id', :'benefits' => :'benefits' } end |
.swagger_types ⇒ Object
Attribute type mapping.
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 166 def self.swagger_types { :'name' => :'String', :'issuer_vericred_id' => :'String', :'audience' => :'String', :'plan_type' => :'String', :'actuarial_value' => :'Float', :'age29_rider' => :'BOOLEAN', :'privileged_data' => :'BOOLEAN', :'benefits_summary_url' => :'String', :'coinsurance' => :'Float', :'dp_rider' => :'BOOLEAN', :'family_tier' => :'BOOLEAN', :'drug_formulary_url' => :'String', :'essential_health_benefits_percentage' => :'Float', :'embedded_deductible' => :'String', :'fp_rider' => :'BOOLEAN', :'gated' => :'BOOLEAN', :'hsa_eligible' => :'BOOLEAN', :'level' => :'String', :'mail_order_rx' => :'Float', :'plan_calendar' => :'String', :'plan_market' => :'String', :'market' => :'String', :'key_benefits_complete' => :'BOOLEAN', :'buy_link' => :'String', :'skilled_nursing_facility_365' => :'String', :'covered_ages' => :'String', :'year' => :'Integer', :'state_code' => :'String', :'source' => :'String', :'sbc_name' => :'String', :'actively_marketed' => :'String', :'private_exchange' => :'String', :'external_ids' => :'Array<PlanIdentifier>', :'external_id' => :'String', :'benefits' => :'MedicalPlanBenefits' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 373 def ==(o) return true if self.equal?(o) self.class == o.class && name == o.name && issuer_vericred_id == o.issuer_vericred_id && audience == o.audience && plan_type == o.plan_type && actuarial_value == o.actuarial_value && age29_rider == o.age29_rider && privileged_data == o.privileged_data && benefits_summary_url == o.benefits_summary_url && coinsurance == o.coinsurance && dp_rider == o.dp_rider && family_tier == o.family_tier && drug_formulary_url == o.drug_formulary_url && essential_health_benefits_percentage == o.essential_health_benefits_percentage && == o. && fp_rider == o.fp_rider && gated == o.gated && hsa_eligible == o.hsa_eligible && level == o.level && mail_order_rx == o.mail_order_rx && plan_calendar == o.plan_calendar && plan_market == o.plan_market && market == o.market && key_benefits_complete == o.key_benefits_complete && buy_link == o.buy_link && skilled_nursing_facility_365 == o.skilled_nursing_facility_365 && covered_ages == o.covered_ages && year == o.year && state_code == o.state_code && source == o.source && sbc_name == o.sbc_name && actively_marketed == o.actively_marketed && private_exchange == o.private_exchange && external_ids == o.external_ids && external_id == o.external_id && benefits == o.benefits end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 449 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
515 516 517 518 519 520 521 522 523 524 525 526 527 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 515 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
428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 428 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
415 416 417 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 415 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
421 422 423 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 421 def hash [name, issuer_vericred_id, audience, plan_type, actuarial_value, age29_rider, privileged_data, benefits_summary_url, coinsurance, dp_rider, family_tier, drug_formulary_url, essential_health_benefits_percentage, , fp_rider, gated, hsa_eligible, level, mail_order_rx, plan_calendar, plan_market, market, key_benefits_complete, buy_link, skilled_nursing_facility_365, covered_ages, year, state_code, source, sbc_name, actively_marketed, private_exchange, external_ids, external_id, benefits].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
360 361 362 363 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 360 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)
495 496 497 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 495 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
501 502 503 504 505 506 507 508 509 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 501 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
489 490 491 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 489 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
367 368 369 |
# File 'lib/vericred_client/models/medical_plan_update.rb', line 367 def valid? return true end |