Class: HealthVault::WCData::Application::AppIdAndIncrAuth

Inherits:
ComplexType
  • Object
show all
Defined in:
lib/wc_data/generated/application/app_id_and_incr_auth.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

#initializeAppIdAndIncrAuth

Returns a new instance of AppIdAndIncrAuth.



82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 82

def initialize
  super
  self.tag_name = 'appidandincrauth'

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

  
  @children['incr-online-auth-xml'] = {:name => 'incr-online-auth-xml', :class => HealthVault::WCData::Auth::AuthXml, :value => nil, :min => 0, :max => 1, :order => 2, :place => :element, :choice => 0 }
    
  

  
  @children['is-incr-online-auth-replace'] = {:name => 'is-incr-online-auth-replace', :class => String, :value => nil, :min => 0, :max => 1, :order => 3, :place => :element, :choice => 0 }
    
  

  
  @children['incr-offline-auth-xml'] = {:name => 'incr-offline-auth-xml', :class => HealthVault::WCData::Auth::AuthXml, :value => nil, :min => 0, :max => 1, :order => 4, :place => :element, :choice => 0 }
    
  

  
  @children['is-incr-offline-auth-replace'] = {:name => 'is-incr-offline-auth-replace', :class => String, :value => nil, :min => 0, :max => 1, :order => 5, :place => :element, :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

#idObject

returns: a HealthVault::WCData::Types::Guid



24
25
26
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 24

def id
  return @children['id'][:value]
end

#id=(value) ⇒ Object

REQUIRED value is a HealthVault::WCData::Types::Guid



19
20
21
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 19

def id=(value)
  @children['id'][:value] = value
end

#incr_offline_auth_xmlObject

returns: a HealthVault::WCData::Auth::AuthXml



63
64
65
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 63

def incr_offline_auth_xml
  return @children['incr-offline-auth-xml'][:value]
end

#incr_offline_auth_xml=(value) ⇒ Object

value is a HealthVault::WCData::Auth::AuthXml



58
59
60
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 58

def incr_offline_auth_xml=(value)
  @children['incr-offline-auth-xml'][:value] = value
end

#incr_online_auth_xmlObject

returns: a HealthVault::WCData::Auth::AuthXml



37
38
39
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 37

def incr_online_auth_xml
  return @children['incr-online-auth-xml'][:value]
end

#incr_online_auth_xml=(value) ⇒ Object

value is a HealthVault::WCData::Auth::AuthXml



32
33
34
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 32

def incr_online_auth_xml=(value)
  @children['incr-online-auth-xml'][:value] = value
end

#is_incr_offline_auth_replaceObject

returns: a String



76
77
78
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 76

def is_incr_offline_auth_replace
  return @children['is-incr-offline-auth-replace'][:value]
end

#is_incr_offline_auth_replace=(value) ⇒ Object

value is a String



71
72
73
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 71

def is_incr_offline_auth_replace=(value)
  @children['is-incr-offline-auth-replace'][:value] = value
end

#is_incr_online_auth_replaceObject

returns: a String



50
51
52
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 50

def is_incr_online_auth_replace
  return @children['is-incr-online-auth-replace'][:value]
end

#is_incr_online_auth_replace=(value) ⇒ Object

value is a String



45
46
47
# File 'lib/wc_data/generated/application/app_id_and_incr_auth.rb', line 45

def is_incr_online_auth_replace=(value)
  @children['is-incr-online-auth-replace'][:value] = value
end