Class: Google::Apis::HealthcareV1beta1::ListMessagesResponse

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

Lists the messages in the specified HL7v2 store.

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) ⇒ ListMessagesResponse

Returns a new instance of ListMessagesResponse.



1909
1910
1911
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1909

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

Instance Attribute Details

#hl7_v2_messagesArray<Google::Apis::HealthcareV1beta1::Message>

The returned Messages. Won't be more Messages than the value of page_size in the request. See view for populated fields. Corresponds to the JSON property hl7V2Messages



1894
1895
1896
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1894

def hl7_v2_messages
  @hl7_v2_messages
end

#messagesArray<String>

Deprecated. Use hl7_v2_messages instead. The returned message names. Won't be more values than the value of page_size in the request. Corresponds to the JSON property messages

Returns:

  • (Array<String>)


1901
1902
1903
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1901

def messages
  @messages
end

#next_page_tokenString

Token to retrieve the next page of results or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1907
1908
1909
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1907

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1914
1915
1916
1917
1918
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1914

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