Class: Google::Apis::HealthcareV1alpha2::CreateMessageRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1alpha2/classes.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb,
generated/google/apis/healthcare_v1alpha2/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



363
364
365
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 363

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

Instance Attribute Details

#messageGoogle::Apis::HealthcareV1alpha2::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



361
362
363
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 361

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



368
369
370
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 368

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