Class: HealthVault::WCData::Methods::SearchVocabulary::VocabularySearchString
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Methods::SearchVocabulary::VocabularySearchString
- Defined in:
- lib/wc_data/generated/methods/search_vocabulary/vocabulary_search_string.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#data ⇒ Object
returns: a HealthVault::WCData::Types::String255.
-
#data=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::String255.
-
#initialize ⇒ VocabularySearchString
constructor
A new instance of VocabularySearchString.
-
#search_mode ⇒ Object
returns: a HealthVault::WCData::Types::String64.
-
#search_mode=(value) ⇒ Object
remarks: Allowable values for the search mode string are: value is a HealthVault::WCData::Types::String64.
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 ⇒ VocabularySearchString
Returns a new instance of VocabularySearchString.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/wc_data/generated/methods/search_vocabulary/vocabulary_search_string.rb', line 46 def initialize super self.tag_name = 'vocabularysearchstring' @children['data'] = {:name => 'data', :class => HealthVault::WCData::Types::String255, :value => nil, :min => 1, :max => 1, :order => 0, :place => :extension, :choice => 0 } @children['data'][:value] = HealthVault::WCData::Types::String255.new @children['search-mode'] = {:name => 'search-mode', :class => HealthVault::WCData::Types::String64, :value => nil, :min => 0, :max => 1, :order => 0, :place => :attribute, :choice => 0 } end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HealthVault::WCData::ComplexType
Instance Method Details
#data ⇒ Object
returns: a HealthVault::WCData::Types::String255
25 26 27 |
# File 'lib/wc_data/generated/methods/search_vocabulary/vocabulary_search_string.rb', line 25 def data return @children['data'][:value] end |
#data=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::String255
20 21 22 |
# File 'lib/wc_data/generated/methods/search_vocabulary/vocabulary_search_string.rb', line 20 def data=(value) @children['data'][:value] = value end |
#search_mode ⇒ Object
returns: a HealthVault::WCData::Types::String64
40 41 42 |
# File 'lib/wc_data/generated/methods/search_vocabulary/vocabulary_search_string.rb', line 40 def search_mode return @children['search-mode'][:value] end |
#search_mode=(value) ⇒ Object
remarks: Allowable values for the search mode string are: value is a HealthVault::WCData::Types::String64
35 36 37 |
# File 'lib/wc_data/generated/methods/search_vocabulary/vocabulary_search_string.rb', line 35 def search_mode=(value) @children['search-mode'][:value] = value end |