Class: HealthVault::WCData::Methods::SearchVocabulary::Info
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Methods::SearchVocabulary::Info
- Defined in:
- lib/wc_data/generated/methods/search_vocabulary/info.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#initialize ⇒ Info
constructor
A new instance of Info.
-
#text_search_parameters ⇒ Object
returns: a HealthVault::WCData::Methods::SearchVocabulary::VocabularySearchParams.
-
#text_search_parameters=(value) ⇒ Object
remarks: The text search parameters apply to the culture specifed in the request header by language and country.
-
#vocabulary_key ⇒ Object
returns: a HealthVault::WCData::Vocab::VocabularyKey.
-
#vocabulary_key=(value) ⇒ Object
remarks: If the vocabulary key is not present to identify a vocabulary, the vocabulary headers are searched.
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.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/wc_data/generated/methods/search_vocabulary/info.rb', line 48 def initialize super self.tag_name = 'info' @children['vocabulary-key'] = {:name => 'vocabulary-key', :class => HealthVault::WCData::Vocab::VocabularyKey, :value => nil, :min => 0, :max => 1, :order => 1, :place => :element, :choice => 0 } @children['text-search-parameters'] = {:name => 'text-search-parameters', :class => HealthVault::WCData::Methods::SearchVocabulary::VocabularySearchParams, :value => nil, :min => 1, :max => 1, :order => 2, :place => :element, :choice => 0 } @children['text-search-parameters'][:value] = HealthVault::WCData::Methods::SearchVocabulary::VocabularySearchParams.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HealthVault::WCData::ComplexType
Instance Method Details
#text_search_parameters ⇒ Object
returns: a HealthVault::WCData::Methods::SearchVocabulary::VocabularySearchParams
42 43 44 |
# File 'lib/wc_data/generated/methods/search_vocabulary/info.rb', line 42 def text_search_parameters return @children['text-search-parameters'][:value] end |
#text_search_parameters=(value) ⇒ Object
remarks: The text search parameters apply to the culture specifed in the request header by language and country. If the country is absent, items for the language are searched. If language is absent, items for the default culture of the system are searched. value is a HealthVault::WCData::Methods::SearchVocabulary::VocabularySearchParams
37 38 39 |
# File 'lib/wc_data/generated/methods/search_vocabulary/info.rb', line 37 def text_search_parameters=(value) @children['text-search-parameters'][:value] = value end |
#vocabulary_key ⇒ Object
returns: a HealthVault::WCData::Vocab::VocabularyKey
27 28 29 |
# File 'lib/wc_data/generated/methods/search_vocabulary/info.rb', line 27 def vocabulary_key return @children['vocabulary-key'][:value] end |
#vocabulary_key=(value) ⇒ Object
remarks: If the vocabulary key is not present to identify a vocabulary, the vocabulary headers are searched. value is a HealthVault::WCData::Vocab::VocabularyKey
22 23 24 |
# File 'lib/wc_data/generated/methods/search_vocabulary/info.rb', line 22 def vocabulary_key=(value) @children['vocabulary-key'][:value] = value end |