Class: ChangeHealthcare::Eligibility::SwaggerClient::BenefitsAdditionalInformation

Inherits:
Object
  • Object
show all
Defined in:
lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ BenefitsAdditionalInformation

Initializes the object

Parameters:

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

    Model attributes in the form of hash



109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
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
164
165
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
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 109

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

  # convert string to symbol for hash key
  attributes = attributes.transform_keys(&:to_sym)

  self.agency_claim_number = attributes[:agencyClaimNumber] if attributes.key?(:agencyClaimNumber)

  self.alternative_list_id = attributes[:alternativeListId] if attributes.key?(:alternativeListId)

  self.case_number = attributes[:caseNumber] if attributes.key?(:caseNumber)

  if attributes.key?(:centersForMedicareAndMedicaidServicesNPI)
    self.centers_for_medicare_and_medicaid_services_npi = attributes[:centersForMedicareAndMedicaidServicesNPI]
  end

  self.class_of_contract_code = attributes[:classOfContractCode] if attributes.key?(:classOfContractCode)

  self.contract_number = attributes[:contractNumber] if attributes.key?(:contractNumber)

  self.coverage_list_id = attributes[:coverageListId] if attributes.key?(:coverageListId)

  self.drug_formulary_number = attributes[:drugFormularyNumber] if attributes.key?(:drugFormularyNumber)

  self.electronic_device_pin = attributes[:electronicDevicePin] if attributes.key?(:electronicDevicePin)

  self.eligibility_category = attributes[:eligibilityCategory] if attributes.key?(:eligibilityCategory)

  self.facility_id_number = attributes[:facilityIdNumber] if attributes.key?(:facilityIdNumber)

  if attributes.key?(:facilityNetworkIdentificationNumber)
    self.facility_network_identification_number = attributes[:facilityNetworkIdentificationNumber]
  end

  self.family_unit_number = attributes[:familyUnitNumber] if attributes.key?(:familyUnitNumber)

  if attributes.key?(:federalTaxpayersIdentificationNumber)
    self.federal_taxpayers_identification_number = attributes[:federalTaxpayersIdentificationNumber]
  end

  self.group_number = attributes[:groupNumber] if attributes.key?(:groupNumber)

  self.hic_number = attributes[:hicNumber] if attributes.key?(:hicNumber)

  self.id_card_number = attributes[:idCardNumber] if attributes.key?(:idCardNumber)

  self.id_card_serial_number = attributes[:idCardSerialNumber] if attributes.key?(:idCardSerialNumber)

  self.insurance_policy_number = attributes[:insurancePolicyNumber] if attributes.key?(:insurancePolicyNumber)

  self.issue_number = attributes[:issueNumber] if attributes.key?(:issueNumber)

  self.medicaid_provider_number = attributes[:medicaidProviderNumber] if attributes.key?(:medicaidProviderNumber)

  self.medicaid_recepient_id_number = attributes[:medicaidRecepientIdNumber] if attributes.key?(:medicaidRecepientIdNumber)

  self.medical_assistance_category = attributes[:medicalAssistanceCategory] if attributes.key?(:medicalAssistanceCategory)

  self.medical_record_identification_number = attributes[:medicalRecordIdentificationNumber] if attributes.key?(:medicalRecordIdentificationNumber)

  self.medicare_provider_number = attributes[:medicareProviderNumber] if attributes.key?(:medicareProviderNumber)

  self.member_id = attributes[:memberId] if attributes.key?(:memberId)

  self. = attributes[:patientAccountNumber] if attributes.key?(:patientAccountNumber)

  self.personal_identification_number = attributes[:personalIdentificationNumber] if attributes.key?(:personalIdentificationNumber)

  self.plan_network_id_number = attributes[:planNetworkIdNumber] if attributes.key?(:planNetworkIdNumber)

  self.plan_number = attributes[:planNumber] if attributes.key?(:planNumber)

  self.policy_number = attributes[:policyNumber] if attributes.key?(:policyNumber)

  self.prior_authorization_number = attributes[:priorAuthorizationNumber] if attributes.key?(:priorAuthorizationNumber)

  self.prior_id_number = attributes[:priorIdNumber] if attributes.key?(:priorIdNumber)

  self.referral_number = attributes[:referralNumber] if attributes.key?(:referralNumber)

  self.social_security_number = attributes[:socialSecurityNumber] if attributes.key?(:socialSecurityNumber)

  self.state_license_number = attributes[:stateLicenseNumber] if attributes.key?(:stateLicenseNumber)

  self.submitter_identification_number = attributes[:submitterIdentificationNumber] if attributes.key?(:submitterIdentificationNumber)

  self.user_identification = attributes[:userIdentification] if attributes.key?(:userIdentification)
end

Instance Attribute Details

#agency_claim_numberObject

Returns the value of attribute agency_claim_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def agency_claim_number
  @agency_claim_number
end

#alternative_list_idObject

Returns the value of attribute alternative_list_id.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def alternative_list_id
  @alternative_list_id
end

#case_numberObject

Returns the value of attribute case_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def case_number
  @case_number
end

#centers_for_medicare_and_medicaid_services_npiObject

Returns the value of attribute centers_for_medicare_and_medicaid_services_npi.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def centers_for_medicare_and_medicaid_services_npi
  @centers_for_medicare_and_medicaid_services_npi
end

#class_of_contract_codeObject

Returns the value of attribute class_of_contract_code.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def class_of_contract_code
  @class_of_contract_code
end

#contract_numberObject

Returns the value of attribute contract_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def contract_number
  @contract_number
end

#coverage_list_idObject

Returns the value of attribute coverage_list_id.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def coverage_list_id
  @coverage_list_id
end

#drug_formulary_numberObject

Returns the value of attribute drug_formulary_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def drug_formulary_number
  @drug_formulary_number
end

#electronic_device_pinObject

Returns the value of attribute electronic_device_pin.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def electronic_device_pin
  @electronic_device_pin
end

#eligibility_categoryObject

Returns the value of attribute eligibility_category.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def eligibility_category
  @eligibility_category
end

#facility_id_numberObject

Returns the value of attribute facility_id_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def facility_id_number
  @facility_id_number
end

#facility_network_identification_numberObject

Returns the value of attribute facility_network_identification_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def facility_network_identification_number
  @facility_network_identification_number
end

#family_unit_numberObject

Returns the value of attribute family_unit_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def family_unit_number
  @family_unit_number
end

#federal_taxpayers_identification_numberObject

Returns the value of attribute federal_taxpayers_identification_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def federal_taxpayers_identification_number
  @federal_taxpayers_identification_number
end

#group_numberObject

Returns the value of attribute group_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def group_number
  @group_number
end

#hic_numberObject

Returns the value of attribute hic_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def hic_number
  @hic_number
end

#id_card_numberObject

Returns the value of attribute id_card_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def id_card_number
  @id_card_number
end

#id_card_serial_numberObject

Returns the value of attribute id_card_serial_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def id_card_serial_number
  @id_card_serial_number
end

#insurance_policy_numberObject

Returns the value of attribute insurance_policy_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def insurance_policy_number
  @insurance_policy_number
end

#issue_numberObject

Returns the value of attribute issue_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def issue_number
  @issue_number
end

#medicaid_provider_numberObject

Returns the value of attribute medicaid_provider_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def medicaid_provider_number
  @medicaid_provider_number
end

#medicaid_recepient_id_numberObject

Returns the value of attribute medicaid_recepient_id_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def medicaid_recepient_id_number
  @medicaid_recepient_id_number
end

#medical_assistance_categoryObject

Returns the value of attribute medical_assistance_category.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def medical_assistance_category
  @medical_assistance_category
end

#medical_record_identification_numberObject

Returns the value of attribute medical_record_identification_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def medical_record_identification_number
  @medical_record_identification_number
end

#medicare_provider_numberObject

Returns the value of attribute medicare_provider_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def medicare_provider_number
  @medicare_provider_number
end

#member_idObject

Returns the value of attribute member_id.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def member_id
  @member_id
end

#patient_account_numberObject

Returns the value of attribute patient_account_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def 
  @patient_account_number
end

#personal_identification_numberObject

Returns the value of attribute personal_identification_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def personal_identification_number
  @personal_identification_number
end

#plan_network_id_numberObject

Returns the value of attribute plan_network_id_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def plan_network_id_number
  @plan_network_id_number
end

#plan_numberObject

Returns the value of attribute plan_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def plan_number
  @plan_number
end

#policy_numberObject

Returns the value of attribute policy_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def policy_number
  @policy_number
end

#prior_authorization_numberObject

Returns the value of attribute prior_authorization_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def prior_authorization_number
  @prior_authorization_number
end

#prior_id_numberObject

Returns the value of attribute prior_id_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def prior_id_number
  @prior_id_number
end

#referral_numberObject

Returns the value of attribute referral_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def referral_number
  @referral_number
end

#social_security_numberObject

Returns the value of attribute social_security_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def social_security_number
  @social_security_number
end

#state_license_numberObject

Returns the value of attribute state_license_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def state_license_number
  @state_license_number
end

#submitter_identification_numberObject

Returns the value of attribute submitter_identification_number.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def submitter_identification_number
  @submitter_identification_number
end

#user_identificationObject

Returns the value of attribute user_identification.



17
18
19
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 17

def user_identification
  @user_identification
end

Class Method Details

.attribute_mapObject

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



20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 20

def self.attribute_map
  {
    'agency_claim_number': :agencyClaimNumber,
    'alternative_list_id': :alternativeListId,
    'case_number': :caseNumber,
    'centers_for_medicare_and_medicaid_services_npi': :centersForMedicareAndMedicaidServicesNPI,
    'class_of_contract_code': :classOfContractCode,
    'contract_number': :contractNumber,
    'coverage_list_id': :coverageListId,
    'drug_formulary_number': :drugFormularyNumber,
    'electronic_device_pin': :electronicDevicePin,
    'eligibility_category': :eligibilityCategory,
    'facility_id_number': :facilityIdNumber,
    'facility_network_identification_number': :facilityNetworkIdentificationNumber,
    'family_unit_number': :familyUnitNumber,
    'federal_taxpayers_identification_number': :federalTaxpayersIdentificationNumber,
    'group_number': :groupNumber,
    'hic_number': :hicNumber,
    'id_card_number': :idCardNumber,
    'id_card_serial_number': :idCardSerialNumber,
    'insurance_policy_number': :insurancePolicyNumber,
    'issue_number': :issueNumber,
    'medicaid_provider_number': :medicaidProviderNumber,
    'medicaid_recepient_id_number': :medicaidRecepientIdNumber,
    'medical_assistance_category': :medicalAssistanceCategory,
    'medical_record_identification_number': :medicalRecordIdentificationNumber,
    'medicare_provider_number': :medicareProviderNumber,
    'member_id': :memberId,
    'patient_account_number': :patientAccountNumber,
    'personal_identification_number': :personalIdentificationNumber,
    'plan_network_id_number': :planNetworkIdNumber,
    'plan_number': :planNumber,
    'policy_number': :policyNumber,
    'prior_authorization_number': :priorAuthorizationNumber,
    'prior_id_number': :priorIdNumber,
    'referral_number': :referralNumber,
    'social_security_number': :socialSecurityNumber,
    'state_license_number': :stateLicenseNumber,
    'submitter_identification_number': :submitterIdentificationNumber,
    'user_identification': :userIdentification
  }
end

.swagger_typesObject

Attribute type mapping.



64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 64

def self.swagger_types
  {
    'agency_claim_number': :String,
    'alternative_list_id': :String,
    'case_number': :String,
    'centers_for_medicare_and_medicaid_services_npi': :String,
    'class_of_contract_code': :String,
    'contract_number': :String,
    'coverage_list_id': :String,
    'drug_formulary_number': :String,
    'electronic_device_pin': :String,
    'eligibility_category': :String,
    'facility_id_number': :String,
    'facility_network_identification_number': :String,
    'family_unit_number': :String,
    'federal_taxpayers_identification_number': :String,
    'group_number': :String,
    'hic_number': :String,
    'id_card_number': :String,
    'id_card_serial_number': :String,
    'insurance_policy_number': :String,
    'issue_number': :String,
    'medicaid_provider_number': :String,
    'medicaid_recepient_id_number': :String,
    'medical_assistance_category': :String,
    'medical_record_identification_number': :String,
    'medicare_provider_number': :String,
    'member_id': :String,
    'patient_account_number': :String,
    'personal_identification_number': :String,
    'plan_network_id_number': :String,
    'plan_number': :String,
    'policy_number': :String,
    'prior_authorization_number': :String,
    'prior_id_number': :String,
    'referral_number': :String,
    'social_security_number': :String,
    'state_license_number': :String,
    'submitter_identification_number': :String,
    'user_identification': :String
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



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
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 212

def ==(o)
  return true if equal?(o)

  self.class == o.class &&
    agency_claim_number == o.agency_claim_number &&
    alternative_list_id == o.alternative_list_id &&
    case_number == o.case_number &&
    centers_for_medicare_and_medicaid_services_npi == o.centers_for_medicare_and_medicaid_services_npi &&
    class_of_contract_code == o.class_of_contract_code &&
    contract_number == o.contract_number &&
    coverage_list_id == o.coverage_list_id &&
    drug_formulary_number == o.drug_formulary_number &&
    electronic_device_pin == o.electronic_device_pin &&
    eligibility_category == o.eligibility_category &&
    facility_id_number == o.facility_id_number &&
    facility_network_identification_number == o.facility_network_identification_number &&
    family_unit_number == o.family_unit_number &&
    federal_taxpayers_identification_number == o.federal_taxpayers_identification_number &&
    group_number == o.group_number &&
    hic_number == o.hic_number &&
    id_card_number == o.id_card_number &&
    id_card_serial_number == o.id_card_serial_number &&
    insurance_policy_number == o.insurance_policy_number &&
    issue_number == o.issue_number &&
    medicaid_provider_number == o.medicaid_provider_number &&
    medicaid_recepient_id_number == o.medicaid_recepient_id_number &&
    medical_assistance_category == o.medical_assistance_category &&
    medical_record_identification_number == o.medical_record_identification_number &&
    medicare_provider_number == o.medicare_provider_number &&
    member_id == o.member_id &&
     == o. &&
    personal_identification_number == o.personal_identification_number &&
    plan_network_id_number == o.plan_network_id_number &&
    plan_number == o.plan_number &&
    policy_number == o.policy_number &&
    prior_authorization_number == o.prior_authorization_number &&
    prior_id_number == o.prior_id_number &&
    referral_number == o.referral_number &&
    social_security_number == o.social_security_number &&
    state_license_number == o.state_license_number &&
    submitter_identification_number == o.submitter_identification_number &&
    user_identification == o.user_identification
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



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
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 293

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 = SwaggerClient.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



360
361
362
363
364
365
366
367
368
369
370
371
372
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 360

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



271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 271

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 attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize(Regexp.last_match(1), v) })
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      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


258
259
260
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 258

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



264
265
266
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 264

def hash
  [agency_claim_number, alternative_list_id, case_number, centers_for_medicare_and_medicaid_services_npi, class_of_contract_code, contract_number, coverage_list_id, drug_formulary_number, electronic_device_pin, eligibility_category, facility_id_number, facility_network_identification_number, family_unit_number, federal_taxpayers_identification_number, group_number, hic_number, id_card_number, id_card_serial_number, insurance_policy_number, issue_number, medicaid_provider_number, medicaid_recepient_id_number, medical_assistance_category, medical_record_identification_number, medicare_provider_number, member_id, , personal_identification_number, plan_network_id_number, plan_number, policy_number, prior_authorization_number, prior_id_number, referral_number, social_security_number, state_license_number, submitter_identification_number, user_identification].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



200
201
202
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 200

def list_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



339
340
341
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 339

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



345
346
347
348
349
350
351
352
353
354
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 345

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = 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



333
334
335
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 333

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



206
207
208
# File 'lib/change_healthcare/eligibility/swagger_client/models/benefits_additional_information.rb', line 206

def valid?
  true
end