Class: HealthVault::WCData::Methods::Response::GetPersonInfo::Info

Inherits:
ComplexType
  • Object
show all
Defined in:
lib/wc_data/generated/methods/response/get_person_info/info.rb

Instance Attribute Summary

Attributes inherited from ComplexType

#tag_name

Instance Method Summary collapse

Methods inherited from ComplexType

#add_new_to_children, #element, #method_missing, #optional_elements, #parse_element, #query_elements, #required_elements, #to_s, #valid?

Constructor Details

#initializeInfo

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/get_person_info/info.rb', line 34

def initialize
  super
  self.tag_name = 'info'

  
  @children['person-info'] = {:name => 'person-info', :class => HealthVault::WCData::Types::PersonInfo, :value => nil, :min => 1, :max => 1, :order => 1, :place => :element, :choice => 0 }
    
  @children['person-info'][:value] = HealthVault::WCData::Types::PersonInfo.new
    
  

end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class HealthVault::WCData::ComplexType

Instance Method Details

#person_infoObject

returns: a HealthVault::WCData::Types::PersonInfo



28
29
30
# File 'lib/wc_data/generated/methods/response/get_person_info/info.rb', line 28

def person_info
  return @children['person-info'][:value]
end

#person_info=(value) ⇒ Object

remarks: Basic information about a person including their name, application specific settings, record selected for use by the application, and other records that are the person authorized the application to use. value is a HealthVault::WCData::Types::PersonInfo



23
24
25
# File 'lib/wc_data/generated/methods/response/get_person_info/info.rb', line 23

def person_info=(value)
  @children['person-info'][:value] = value
end