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



1583
1584
1585
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1583

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

Instance Attribute Details

#messagesArray<String>

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


1575
1576
1577
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1575

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)


1581
1582
1583
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1581

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1588
1589
1590
1591
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 1588

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