Class: Google::Apis::HealthcareV1beta1::VersionSource
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::VersionSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/google/apis/healthcare_v1beta1/representations.rb
Overview
Describes a selector for extracting and matching an MSH field to a value.
Instance Attribute Summary collapse
-
#msh_field ⇒ String
The field to extract from the MSH segment.
-
#value ⇒ String
The value to match with the field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VersionSource
constructor
A new instance of VersionSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VersionSource
Returns a new instance of VersionSource.
5236 5237 5238 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5236 def initialize(**args) update!(**args) end |
Instance Attribute Details
#msh_field ⇒ String
The field to extract from the MSH segment. For example, "3.1" or "18[1].1".
Corresponds to the JSON property mshField
5229 5230 5231 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5229 def msh_field @msh_field end |
#value ⇒ String
The value to match with the field. For example, "My Application Name" or "2.3".
Corresponds to the JSON property value
5234 5235 5236 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5234 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5241 5242 5243 5244 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 5241 def update!(**args) @msh_field = args[:msh_field] if args.key?(:msh_field) @value = args[:value] if args.key?(:value) end |