Class: HealthVault::WCData::Methods::Response::GetServiceDefinition::ConfigurationEntry
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Methods::Response::GetServiceDefinition::ConfigurationEntry
- Defined in:
- lib/wc_data/generated/methods/response/get_service_definition/configuration_entry.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#data ⇒ Object
returns: a String.
-
#data=(value) ⇒ Object
REQUIRED value is a String.
-
#initialize ⇒ ConfigurationEntry
constructor
A new instance of ConfigurationEntry.
-
#key ⇒ Object
returns: a String.
-
#key=(value) ⇒ Object
value is a String.
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 ⇒ ConfigurationEntry
Returns a new instance of ConfigurationEntry.
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/wc_data/generated/methods/response/get_service_definition/configuration_entry.rb', line 46 def initialize super self.tag_name = 'configurationentry' @children['data'] = {:name => 'data', :class => String, :value => nil, :min => 1, :max => 1, :order => 0, :place => :extension, :choice => 0 } @children['data'][:value] = String.new @children['key'] = {:name => 'key', :class => String, :value => nil, :min => 1, :max => 1, :order => 0, :place => :attribute, :choice => 0 } @children['key'][:value] = String.new 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 String
26 27 28 |
# File 'lib/wc_data/generated/methods/response/get_service_definition/configuration_entry.rb', line 26 def data return @children['data'][:value] end |
#data=(value) ⇒ Object
REQUIRED value is a String
21 22 23 |
# File 'lib/wc_data/generated/methods/response/get_service_definition/configuration_entry.rb', line 21 def data=(value) @children['data'][:value] = value end |
#key ⇒ Object
returns: a String
40 41 42 |
# File 'lib/wc_data/generated/methods/response/get_service_definition/configuration_entry.rb', line 40 def key return @children['key'][:value] end |
#key=(value) ⇒ Object
value is a String
35 36 37 |
# File 'lib/wc_data/generated/methods/response/get_service_definition/configuration_entry.rb', line 35 def key=(value) @children['key'][:value] = value end |