Class: HealthVault::WCData::Methods::GetOpenQueryInfo::Info
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Methods::GetOpenQueryInfo::Info
- Defined in:
- lib/wc_data/generated/methods/get_open_query_info/info.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#initialize ⇒ Info
constructor
A new instance of Info.
-
#query_id ⇒ Object
returns: a HealthVault::WCData::Types::Guid.
-
#query_id=(value) ⇒ Object
remarks: When a query is saved by the SaveOpenQuery method a unique identifier is issued by the Microsoft Health Services.
Methods inherited from ComplexType
#add_new_to_children, #element, #method_missing, #optional_elements, #parse_element, #query_elements, #required_elements, #to_s, #valid?
Constructor Details
#initialize ⇒ Info
Returns a new instance of Info.
33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/wc_data/generated/methods/get_open_query_info/info.rb', line 33 def initialize super self.tag_name = 'info' @children['query-id'] = {:name => 'query-id', :class => HealthVault::WCData::Types::Guid, :value => nil, :min => 1, :max => 1, :order => 1, :place => :element, :choice => 0 } @children['query-id'][:value] = HealthVault::WCData::Types::Guid.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HealthVault::WCData::ComplexType
Instance Method Details
#query_id ⇒ Object
returns: a HealthVault::WCData::Types::Guid
27 28 29 |
# File 'lib/wc_data/generated/methods/get_open_query_info/info.rb', line 27 def query_id return @children['query-id'][:value] end |
#query_id=(value) ⇒ Object
remarks: When a query is saved by the SaveOpenQuery method a unique identifier is issued by the Microsoft Health Services. value is a HealthVault::WCData::Types::Guid
22 23 24 |
# File 'lib/wc_data/generated/methods/get_open_query_info/info.rb', line 22 def query_id=(value) @children['query-id'][:value] = value end |