Class: Google::Apis::HealthcareV1beta1::Hl7TypesConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb

Overview

Root config for HL7v2 datatype definitions for a specific HL7v2 version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Hl7TypesConfig

Returns a new instance of Hl7TypesConfig.



2873
2874
2875
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2873

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#typeArray<Google::Apis::HealthcareV1beta1::Type>

The HL7v2 type definitions. Corresponds to the JSON property type



2865
2866
2867
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2865

def type
  @type
end

#versionArray<Google::Apis::HealthcareV1beta1::VersionSource>

The version selectors that this config applies to. A message must match ALL version sources to apply. Corresponds to the JSON property version



2871
2872
2873
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2871

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2878
2879
2880
2881
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 2878

def update!(**args)
  @type = args[:type] if args.key?(:type)
  @version = args[:version] if args.key?(:version)
end