candidhealth 0.43.1 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/candidhealth/billing_notes/v_2/client.rb +2 -2
- data/lib/candidhealth/charge_capture/v_1/client.rb +479 -559
- data/lib/candidhealth/charge_capture/v_1/types/charge_capture_data.rb +200 -190
- data/lib/candidhealth/charge_capture_bundles/v_1/client.rb +2 -44
- data/lib/candidhealth/commons/types/street_address_optional_base.rb +99 -0
- data/lib/candidhealth/commons/types/street_address_short_zip_optional.rb +107 -0
- data/lib/candidhealth/contracts/v_2/client.rb +18 -34
- data/lib/candidhealth/contracts/v_2/types/contract_sort_field.rb +18 -0
- data/lib/candidhealth/credentialing/v_2/client.rb +6 -44
- data/lib/candidhealth/diagnoses/client.rb +4 -14
- data/lib/candidhealth/eligibility/v_2/client.rb +4 -4
- data/lib/candidhealth/encounter_attachments/v_1/client.rb +0 -6
- data/lib/candidhealth/encounter_providers/v_2/client.rb +16 -16
- data/lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb +160 -0
- data/lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address.rb +134 -0
- data/lib/candidhealth/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb +125 -0
- data/lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb +125 -0
- data/lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update_with_optional_address.rb +125 -0
- data/lib/candidhealth/encounters/v_4/client.rb +259 -293
- data/lib/candidhealth/encounters/v_4/types/encounter.rb +23 -13
- data/lib/candidhealth/encounters/v_4/types/encounter_base.rb +10 -10
- data/lib/candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter.rb +10 -10
- data/lib/candidhealth/encounters/v_4/types/encounter_optional.rb +26 -184
- data/lib/candidhealth/expected_network_status/v_1/client.rb +12 -18
- data/lib/candidhealth/expected_network_status/v_2/client.rb +4 -4
- data/lib/candidhealth/expected_network_status/v_2/types/empty_object.rb +53 -0
- data/lib/candidhealth/expected_network_status/v_2/types/insurance_type_codes.rb +13 -10
- data/lib/candidhealth/external_payment_account_config/v_1/client.rb +2 -2
- data/lib/candidhealth/fee_schedules/v_3/client.rb +12 -68
- data/lib/candidhealth/fee_schedules/v_3/types/payer_threshold.rb +3 -3
- data/lib/candidhealth/fee_schedules/v_3/types/rate_entry.rb +2 -2
- data/lib/candidhealth/guarantor/v_1/client.rb +4 -4
- data/lib/candidhealth/import_invoice/v_1/client.rb +6 -28
- data/lib/candidhealth/individual/types/patient_update_with_optional_address.rb +179 -0
- data/lib/candidhealth/insurance_adjudications/v_1/client.rb +2 -2
- data/lib/candidhealth/insurance_payments/v_1/client.rb +2 -20
- data/lib/candidhealth/insurance_refunds/v_1/client.rb +6 -24
- data/lib/candidhealth/medication_dispense/v_1/client.rb +2 -2
- data/lib/candidhealth/non_insurance_payer_payments/v_1/client.rb +6 -22
- data/lib/candidhealth/non_insurance_payer_refunds/v_1/client.rb +6 -22
- data/lib/candidhealth/non_insurance_payers/v_1/client.rb +6 -22
- data/lib/candidhealth/organization_providers/v_3/client.rb +4 -4
- data/lib/candidhealth/organization_service_facilities/v_2/client.rb +2 -2
- data/lib/candidhealth/patient_payments/v_4/client.rb +8 -38
- data/lib/candidhealth/patient_refunds/v_1/client.rb +8 -40
- data/lib/candidhealth/payer_plan_groups/v_1/client.rb +6 -30
- data/lib/candidhealth/pre_encounter/appointments/v_1/client.rb +32 -44
- data/lib/candidhealth/pre_encounter/appointments/v_1/types/appointment.rb +4 -4
- data/lib/candidhealth/pre_encounter/common/types/base_model.rb +4 -4
- data/lib/candidhealth/pre_encounter/coverages/v_1/client.rb +24 -34
- data/lib/candidhealth/pre_encounter/coverages/v_1/types/coverage.rb +4 -4
- data/lib/candidhealth/pre_encounter/eligibility_checks/v_1/client.rb +2 -2
- data/lib/candidhealth/pre_encounter/images/v_1/client.rb +20 -20
- data/lib/candidhealth/pre_encounter/images/v_1/types/image.rb +6 -6
- data/lib/candidhealth/pre_encounter/lists/v_1/client.rb +4 -28
- data/lib/candidhealth/pre_encounter/notes/v_1/client.rb +14 -14
- data/lib/candidhealth/pre_encounter/notes/v_1/types/note.rb +4 -4
- data/lib/candidhealth/pre_encounter/patients/v_1/client.rb +56 -68
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient.rb +8 -8
- data/lib/candidhealth/pre_encounter/patients/v_1/types/mutable_patient_with_mrn.rb +8 -8
- data/lib/candidhealth/pre_encounter/patients/v_1/types/patient.rb +16 -16
- data/lib/candidhealth/pre_encounter/tags/v_1/client.rb +16 -16
- data/lib/candidhealth/pre_encounter/tags/v_1/types/tag.rb +4 -4
- data/lib/candidhealth/service_facility/client.rb +2 -2
- data/lib/candidhealth/service_facility/types/encounter_service_facility_update_with_optional_address.rb +113 -0
- data/lib/candidhealth/service_lines/v_2/client.rb +4 -4
- data/lib/candidhealth/superbills/v_1/client.rb +4 -6
- data/lib/candidhealth/tasks/v_3/client.rb +6 -34
- data/lib/candidhealth/write_offs/v_1/client.rb +2 -24
- data/lib/environment.rb +4 -0
- data/lib/requests.rb +2 -2
- data/lib/types_export.rb +11 -1
- metadata +13 -3
- data/lib/candidhealth/billing_notes/v_2/types/billing_note_optional.rb +0 -112
data/lib/types_export.rb
CHANGED
@@ -3,7 +3,6 @@
|
|
3
3
|
require_relative "candidhealth/auth/v_2/types/auth_get_token_response"
|
4
4
|
require_relative "candidhealth/auth/v_2/types/too_many_requests_error_type"
|
5
5
|
require_relative "candidhealth/billing_notes/v_2/types/billing_note_base"
|
6
|
-
require_relative "candidhealth/billing_notes/v_2/types/billing_note_optional"
|
7
6
|
require_relative "candidhealth/billing_notes/v_2/types/billing_note"
|
8
7
|
require_relative "candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation_page"
|
9
8
|
require_relative "candidhealth/charge_capture_bundles/v_1/types/charge_capture_claim_creation"
|
@@ -35,6 +34,7 @@ require_relative "candidhealth/contracts/v_2/types/contract"
|
|
35
34
|
require_relative "candidhealth/contracts/v_2/types/contract_with_providers"
|
36
35
|
require_relative "candidhealth/contracts/v_2/types/contracts_page"
|
37
36
|
require_relative "candidhealth/contracts/v_2/types/contract_status"
|
37
|
+
require_relative "candidhealth/contracts/v_2/types/contract_sort_field"
|
38
38
|
require_relative "candidhealth/contracts/v_2/types/authorized_signatory"
|
39
39
|
require_relative "candidhealth/credentialing/v_2/types/provider_credentialing_span"
|
40
40
|
require_relative "candidhealth/credentialing/v_2/types/credentialing_span_status"
|
@@ -63,6 +63,11 @@ require_relative "candidhealth/encounter_providers/v_2/types/ordering_provider"
|
|
63
63
|
require_relative "candidhealth/encounter_providers/v_2/types/ordering_provider_update"
|
64
64
|
require_relative "candidhealth/encounter_providers/v_2/types/billing_provider"
|
65
65
|
require_relative "candidhealth/encounter_providers/v_2/types/billing_provider_update"
|
66
|
+
require_relative "candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address"
|
67
|
+
require_relative "candidhealth/encounter_providers/v_2/types/rendering_provider_update_with_optional_address"
|
68
|
+
require_relative "candidhealth/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address"
|
69
|
+
require_relative "candidhealth/encounter_providers/v_2/types/referring_provider_update_with_optional_address"
|
70
|
+
require_relative "candidhealth/encounter_providers/v_2/types/supervising_provider_update_with_optional_address"
|
66
71
|
require_relative "candidhealth/encounter_providers/v_2/types/encounter_provider"
|
67
72
|
require_relative "candidhealth/encounters/v_4/types/encounter_create_from_pre_encounter"
|
68
73
|
require_relative "candidhealth/encounters/v_4/types/encounter_base"
|
@@ -114,6 +119,7 @@ require_relative "candidhealth/expected_network_status/v_1/types/expected_networ
|
|
114
119
|
require_relative "candidhealth/expected_network_status/v_1/types/expected_network_status_response"
|
115
120
|
require_relative "candidhealth/expected_network_status/v_2/types/line_of_business"
|
116
121
|
require_relative "candidhealth/expected_network_status/v_2/types/insurance_type_codes"
|
122
|
+
require_relative "candidhealth/expected_network_status/v_2/types/empty_object"
|
117
123
|
require_relative "candidhealth/expected_network_status/v_2/types/insurance_type"
|
118
124
|
require_relative "candidhealth/expected_network_status/v_2/types/explanation"
|
119
125
|
require_relative "candidhealth/expected_network_status/v_2/types/service_type"
|
@@ -393,6 +399,8 @@ require_relative "candidhealth/commons/types/date_range_optional_end"
|
|
393
399
|
require_relative "candidhealth/commons/types/removable_date_range_optional_end"
|
394
400
|
require_relative "candidhealth/commons/types/resource_page"
|
395
401
|
require_relative "candidhealth/commons/types/street_address_base"
|
402
|
+
require_relative "candidhealth/commons/types/street_address_optional_base"
|
403
|
+
require_relative "candidhealth/commons/types/street_address_short_zip_optional"
|
396
404
|
require_relative "candidhealth/commons/types/street_address_short_zip"
|
397
405
|
require_relative "candidhealth/commons/types/street_address_long_zip"
|
398
406
|
require_relative "candidhealth/commons/types/regions"
|
@@ -467,12 +475,14 @@ require_relative "candidhealth/individual/types/patient_non_insurance_payer_info
|
|
467
475
|
require_relative "candidhealth/individual/types/patient_create"
|
468
476
|
require_relative "candidhealth/individual/types/patient_update"
|
469
477
|
require_relative "candidhealth/individual/types/patient_base"
|
478
|
+
require_relative "candidhealth/individual/types/patient_update_with_optional_address"
|
470
479
|
require_relative "candidhealth/individual/types/patient"
|
471
480
|
require_relative "candidhealth/individual/types/gender"
|
472
481
|
require_relative "candidhealth/invoices/types/invoice"
|
473
482
|
require_relative "candidhealth/invoices/types/invoice_item"
|
474
483
|
require_relative "candidhealth/invoices/types/invoice_status"
|
475
484
|
require_relative "candidhealth/service_facility/types/encounter_service_facility_base"
|
485
|
+
require_relative "candidhealth/service_facility/types/encounter_service_facility_update_with_optional_address"
|
476
486
|
require_relative "candidhealth/service_facility/types/encounter_service_facility"
|
477
487
|
require_relative "candidhealth/service_facility/types/encounter_service_facility_update"
|
478
488
|
require_relative "candidhealth/tags/types/tag_create"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: candidhealth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.46.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http-faraday
|
@@ -139,7 +139,6 @@ files:
|
|
139
139
|
- lib/candidhealth/billing_notes/v_2/client.rb
|
140
140
|
- lib/candidhealth/billing_notes/v_2/types/billing_note.rb
|
141
141
|
- lib/candidhealth/billing_notes/v_2/types/billing_note_base.rb
|
142
|
-
- lib/candidhealth/billing_notes/v_2/types/billing_note_optional.rb
|
143
142
|
- lib/candidhealth/charge_capture/client.rb
|
144
143
|
- lib/candidhealth/charge_capture/v_1/client.rb
|
145
144
|
- lib/candidhealth/charge_capture/v_1/types/charge_capture.rb
|
@@ -198,7 +197,9 @@ files:
|
|
198
197
|
- lib/candidhealth/commons/types/state.rb
|
199
198
|
- lib/candidhealth/commons/types/street_address_base.rb
|
200
199
|
- lib/candidhealth/commons/types/street_address_long_zip.rb
|
200
|
+
- lib/candidhealth/commons/types/street_address_optional_base.rb
|
201
201
|
- lib/candidhealth/commons/types/street_address_short_zip.rb
|
202
|
+
- lib/candidhealth/commons/types/street_address_short_zip_optional.rb
|
202
203
|
- lib/candidhealth/commons/types/unauthorized_error_message.rb
|
203
204
|
- lib/candidhealth/commons/types/unprocessable_entity_error_message.rb
|
204
205
|
- lib/candidhealth/commons/types/updates_disabled_due_to_external_system_integration_error_message.rb
|
@@ -210,6 +211,7 @@ files:
|
|
210
211
|
- lib/candidhealth/contracts/v_2/types/contract_base.rb
|
211
212
|
- lib/candidhealth/contracts/v_2/types/contract_invalid_expiration_date_error.rb
|
212
213
|
- lib/candidhealth/contracts/v_2/types/contract_is_linked_to_fee_schedule_error.rb
|
214
|
+
- lib/candidhealth/contracts/v_2/types/contract_sort_field.rb
|
213
215
|
- lib/candidhealth/contracts/v_2/types/contract_status.rb
|
214
216
|
- lib/candidhealth/contracts/v_2/types/contract_with_providers.rb
|
215
217
|
- lib/candidhealth/contracts/v_2/types/contracts_page.rb
|
@@ -248,18 +250,23 @@ files:
|
|
248
250
|
- lib/candidhealth/encounter_providers/v_2/client.rb
|
249
251
|
- lib/candidhealth/encounter_providers/v_2/types/billing_provider.rb
|
250
252
|
- lib/candidhealth/encounter_providers/v_2/types/billing_provider_update.rb
|
253
|
+
- lib/candidhealth/encounter_providers/v_2/types/billing_provider_update_with_optional_address.rb
|
251
254
|
- lib/candidhealth/encounter_providers/v_2/types/encounter_provider.rb
|
252
255
|
- lib/candidhealth/encounter_providers/v_2/types/encounter_provider_base.rb
|
253
256
|
- lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider.rb
|
254
257
|
- lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update.rb
|
258
|
+
- lib/candidhealth/encounter_providers/v_2/types/initial_referring_provider_update_with_optional_address.rb
|
255
259
|
- lib/candidhealth/encounter_providers/v_2/types/ordering_provider.rb
|
256
260
|
- lib/candidhealth/encounter_providers/v_2/types/ordering_provider_update.rb
|
257
261
|
- lib/candidhealth/encounter_providers/v_2/types/referring_provider.rb
|
258
262
|
- lib/candidhealth/encounter_providers/v_2/types/referring_provider_update.rb
|
263
|
+
- lib/candidhealth/encounter_providers/v_2/types/referring_provider_update_with_optional_address.rb
|
259
264
|
- lib/candidhealth/encounter_providers/v_2/types/rendering_provider.rb
|
260
265
|
- lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update.rb
|
266
|
+
- lib/candidhealth/encounter_providers/v_2/types/rendering_provider_update_with_optional_address.rb
|
261
267
|
- lib/candidhealth/encounter_providers/v_2/types/supervising_provider.rb
|
262
268
|
- lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update.rb
|
269
|
+
- lib/candidhealth/encounter_providers/v_2/types/supervising_provider_update_with_optional_address.rb
|
263
270
|
- lib/candidhealth/encounters/client.rb
|
264
271
|
- lib/candidhealth/encounters/v_4/client.rb
|
265
272
|
- lib/candidhealth/encounters/v_4/types/billable_status_type.rb
|
@@ -320,6 +327,7 @@ files:
|
|
320
327
|
- lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_request.rb
|
321
328
|
- lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_providers_response.rb
|
322
329
|
- lib/candidhealth/expected_network_status/v_2/types/compute_all_in_network_rendering_providers_result.rb
|
330
|
+
- lib/candidhealth/expected_network_status/v_2/types/empty_object.rb
|
323
331
|
- lib/candidhealth/expected_network_status/v_2/types/expected_network_status_check_error_message.rb
|
324
332
|
- lib/candidhealth/expected_network_status/v_2/types/expected_network_status_request_v_2.rb
|
325
333
|
- lib/candidhealth/expected_network_status/v_2/types/expected_network_status_response_v_2.rb
|
@@ -422,6 +430,7 @@ files:
|
|
422
430
|
- lib/candidhealth/individual/types/patient_non_insurance_payer_info.rb
|
423
431
|
- lib/candidhealth/individual/types/patient_non_insurance_payer_info_create.rb
|
424
432
|
- lib/candidhealth/individual/types/patient_update.rb
|
433
|
+
- lib/candidhealth/individual/types/patient_update_with_optional_address.rb
|
425
434
|
- lib/candidhealth/individual/types/subscriber.rb
|
426
435
|
- lib/candidhealth/individual/types/subscriber_base.rb
|
427
436
|
- lib/candidhealth/individual/types/subscriber_create.rb
|
@@ -666,6 +675,7 @@ files:
|
|
666
675
|
- lib/candidhealth/service_facility/types/encounter_service_facility.rb
|
667
676
|
- lib/candidhealth/service_facility/types/encounter_service_facility_base.rb
|
668
677
|
- lib/candidhealth/service_facility/types/encounter_service_facility_update.rb
|
678
|
+
- lib/candidhealth/service_facility/types/encounter_service_facility_update_with_optional_address.rb
|
669
679
|
- lib/candidhealth/service_lines/client.rb
|
670
680
|
- lib/candidhealth/service_lines/v_2/client.rb
|
671
681
|
- lib/candidhealth/service_lines/v_2/types/denial_reason_content.rb
|
@@ -1,112 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require "date"
|
4
|
-
require "ostruct"
|
5
|
-
require "json"
|
6
|
-
|
7
|
-
module CandidApiClient
|
8
|
-
module BillingNotes
|
9
|
-
module V2
|
10
|
-
module Types
|
11
|
-
class BillingNoteOptional
|
12
|
-
# @return [String]
|
13
|
-
attr_reader :billing_note_id
|
14
|
-
# @return [String]
|
15
|
-
attr_reader :encounter_id
|
16
|
-
# @return [DateTime] An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
17
|
-
# For example, 2017-07-21T17:32:28Z.
|
18
|
-
attr_reader :created_at
|
19
|
-
# @return [String]
|
20
|
-
attr_reader :author_auth_0_id
|
21
|
-
# @return [String]
|
22
|
-
attr_reader :author_name
|
23
|
-
# @return [String] Empty string not allowed.
|
24
|
-
attr_reader :text
|
25
|
-
# @return [OpenStruct] Additional properties unmapped to the current class definition
|
26
|
-
attr_reader :additional_properties
|
27
|
-
# @return [Object]
|
28
|
-
attr_reader :_field_set
|
29
|
-
protected :_field_set
|
30
|
-
|
31
|
-
OMIT = Object.new
|
32
|
-
|
33
|
-
# @param billing_note_id [String]
|
34
|
-
# @param encounter_id [String]
|
35
|
-
# @param created_at [DateTime] An [RFC 3339, section 5.6 datetime](https://ijmacd.github.io/rfc3339-iso8601/).
|
36
|
-
# For example, 2017-07-21T17:32:28Z.
|
37
|
-
# @param author_auth_0_id [String]
|
38
|
-
# @param author_name [String]
|
39
|
-
# @param text [String] Empty string not allowed.
|
40
|
-
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
41
|
-
# @return [CandidApiClient::BillingNotes::V2::Types::BillingNoteOptional]
|
42
|
-
def initialize(billing_note_id:, created_at:, text:, encounter_id: OMIT, author_auth_0_id: OMIT,
|
43
|
-
author_name: OMIT, additional_properties: nil)
|
44
|
-
@billing_note_id = billing_note_id
|
45
|
-
@encounter_id = encounter_id if encounter_id != OMIT
|
46
|
-
@created_at = created_at
|
47
|
-
@author_auth_0_id = author_auth_0_id if author_auth_0_id != OMIT
|
48
|
-
@author_name = author_name if author_name != OMIT
|
49
|
-
@text = text
|
50
|
-
@additional_properties = additional_properties
|
51
|
-
@_field_set = {
|
52
|
-
"billing_note_id": billing_note_id,
|
53
|
-
"encounter_id": encounter_id,
|
54
|
-
"created_at": created_at,
|
55
|
-
"author_auth0_id": author_auth_0_id,
|
56
|
-
"author_name": author_name,
|
57
|
-
"text": text
|
58
|
-
}.reject do |_k, v|
|
59
|
-
v == OMIT
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
# Deserialize a JSON object to an instance of BillingNoteOptional
|
64
|
-
#
|
65
|
-
# @param json_object [String]
|
66
|
-
# @return [CandidApiClient::BillingNotes::V2::Types::BillingNoteOptional]
|
67
|
-
def self.from_json(json_object:)
|
68
|
-
struct = JSON.parse(json_object, object_class: OpenStruct)
|
69
|
-
parsed_json = JSON.parse(json_object)
|
70
|
-
billing_note_id = struct["billing_note_id"]
|
71
|
-
encounter_id = struct["encounter_id"]
|
72
|
-
created_at = (DateTime.parse(parsed_json["created_at"]) unless parsed_json["created_at"].nil?)
|
73
|
-
author_auth_0_id = struct["author_auth0_id"]
|
74
|
-
author_name = struct["author_name"]
|
75
|
-
text = struct["text"]
|
76
|
-
new(
|
77
|
-
billing_note_id: billing_note_id,
|
78
|
-
encounter_id: encounter_id,
|
79
|
-
created_at: created_at,
|
80
|
-
author_auth_0_id: author_auth_0_id,
|
81
|
-
author_name: author_name,
|
82
|
-
text: text,
|
83
|
-
additional_properties: struct
|
84
|
-
)
|
85
|
-
end
|
86
|
-
|
87
|
-
# Serialize an instance of BillingNoteOptional to a JSON object
|
88
|
-
#
|
89
|
-
# @return [String]
|
90
|
-
def to_json(*_args)
|
91
|
-
@_field_set&.to_json
|
92
|
-
end
|
93
|
-
|
94
|
-
# Leveraged for Union-type generation, validate_raw attempts to parse the given
|
95
|
-
# hash and check each fields type against the current object's property
|
96
|
-
# definitions.
|
97
|
-
#
|
98
|
-
# @param obj [Object]
|
99
|
-
# @return [Void]
|
100
|
-
def self.validate_raw(obj:)
|
101
|
-
obj.billing_note_id.is_a?(String) != false || raise("Passed value for field obj.billing_note_id is not the expected type, validation failed.")
|
102
|
-
obj.encounter_id&.is_a?(String) != false || raise("Passed value for field obj.encounter_id is not the expected type, validation failed.")
|
103
|
-
obj.created_at.is_a?(DateTime) != false || raise("Passed value for field obj.created_at is not the expected type, validation failed.")
|
104
|
-
obj.author_auth_0_id&.is_a?(String) != false || raise("Passed value for field obj.author_auth_0_id is not the expected type, validation failed.")
|
105
|
-
obj.author_name&.is_a?(String) != false || raise("Passed value for field obj.author_name is not the expected type, validation failed.")
|
106
|
-
obj.text.is_a?(String) != false || raise("Passed value for field obj.text is not the expected type, validation failed.")
|
107
|
-
end
|
108
|
-
end
|
109
|
-
end
|
110
|
-
end
|
111
|
-
end
|
112
|
-
end
|