Class: Google::Apis::HealthcareV1beta1::CreateMessageRequest

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

Creates a new message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CreateMessageRequest

Returns a new instance of CreateMessageRequest.



900
901
902
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 900

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

Instance Attribute Details

#messageGoogle::Apis::HealthcareV1beta1::Message

A complete HL7v2 message. See Introduction to HL7 Standards for details on the standard. Corresponds to the JSON property message



898
899
900
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 898

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



905
906
907
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 905

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