Class: Google::Apis::HealthcareV1::CreateMessageRequest

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

Overview

Creates a new message.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreateMessageRequest

Returns a new instance of CreateMessageRequest.



267
268
269
# File 'generated/google/apis/healthcare_v1/classes.rb', line 267

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

Instance Attribute Details

#messageGoogle::Apis::HealthcareV1::Message

A complete HL7v2 message. See http://www.hl7.org/implement/standards/index.cfm?ref=common for details on the standard. Corresponds to the JSON property message



265
266
267
# File 'generated/google/apis/healthcare_v1/classes.rb', line 265

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



272
273
274
# File 'generated/google/apis/healthcare_v1/classes.rb', line 272

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