Class: HealthVault::WCData::Methods::Response::DeleteOpenQuery::Info
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Methods::Response::DeleteOpenQuery::Info
- Defined in:
- lib/wc_data/generated/methods/response/delete_open_query/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: Using this identifier for subsequent calls to DeleteOpenQuery or for running the query will result in the INVALID_OPENQUERY error.
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.
34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/wc_data/generated/methods/response/delete_open_query/info.rb', line 34 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
28 29 30 |
# File 'lib/wc_data/generated/methods/response/delete_open_query/info.rb', line 28 def query_id return @children['query-id'][:value] end |
#query_id=(value) ⇒ Object
remarks: Using this identifier for subsequent calls to DeleteOpenQuery or for running the query will result in the INVALID_OPENQUERY error. value is a HealthVault::WCData::Types::Guid
23 24 25 |
# File 'lib/wc_data/generated/methods/response/delete_open_query/info.rb', line 23 def query_id=(value) @children['query-id'][:value] = value end |