Class: HealthVault::WCData::Application::App
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Application::App
- Defined in:
- lib/wc_data/generated/application/app.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#action_url ⇒ Object
returns: a String.
-
#action_url=(value) ⇒ Object
value is a String.
-
#app_auth_required ⇒ Object
returns: a String.
-
#app_auth_required=(value) ⇒ Object
REQUIRED value is a String.
-
#auth_reason ⇒ Object
returns: a String.
-
#auth_reason=(value) ⇒ Object
value is a String.
-
#client_service_token ⇒ Object
returns: a HealthVault::WCData::Types::Guid.
-
#client_service_token=(value) ⇒ Object
remarks: Token required to access HealthVault client services.
-
#description ⇒ Object
returns: a String.
-
#description=(value) ⇒ Object
value is a String.
-
#domain_name ⇒ Object
returns: a HealthVault::WCData::Types::String255.
-
#domain_name=(value) ⇒ Object
value is a HealthVault::WCData::Types::String255.
-
#id ⇒ Object
returns: a HealthVault::WCData::Types::Guid.
-
#id=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::Guid.
-
#initialize ⇒ App
constructor
A new instance of App.
-
#is_published ⇒ Object
returns: a String.
-
#is_published=(value) ⇒ Object
REQUIRED value is a String.
-
#name ⇒ Object
returns: a HealthVault::WCData::Types::String255.
-
#name=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::String255.
-
#persistent_tokens ⇒ Object
returns: a HealthVault::WCData::Application::AppPersistentTokens.
-
#persistent_tokens=(value) ⇒ Object
value is a HealthVault::WCData::Application::AppPersistentTokens.
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 ⇒ App
Returns a new instance of App.
150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
# File 'lib/wc_data/generated/application/app.rb', line 150 def initialize super self.tag_name = 'app' @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['name'] = {:name => 'name', :class => HealthVault::WCData::Types::String255, :value => nil, :min => 1, :max => 1, :order => 2, :place => :element, :choice => 0 } @children['name'][:value] = HealthVault::WCData::Types::String255.new @children['app-auth-required'] = {:name => 'app-auth-required', :class => String, :value => nil, :min => 1, :max => 1, :order => 3, :place => :element, :choice => 0 } @children['app-auth-required'][:value] = String.new @children['is-published'] = {:name => 'is-published', :class => String, :value => nil, :min => 1, :max => 1, :order => 4, :place => :element, :choice => 0 } @children['is-published'][:value] = String.new @children['action-url'] = {:name => 'action-url', :class => String, :value => nil, :min => 0, :max => 1, :order => 5, :place => :element, :choice => 0 } @children['description'] = {:name => 'description', :class => String, :value => nil, :min => 0, :max => 1, :order => 6, :place => :element, :choice => 0 } @children['auth-reason'] = {:name => 'auth-reason', :class => String, :value => nil, :min => 0, :max => 1, :order => 7, :place => :element, :choice => 0 } @children['domain-name'] = {:name => 'domain-name', :class => HealthVault::WCData::Types::String255, :value => nil, :min => 0, :max => 1, :order => 8, :place => :element, :choice => 0 } @children['client-service-token'] = {:name => 'client-service-token', :class => HealthVault::WCData::Types::Guid, :value => nil, :min => 0, :max => 1, :order => 9, :place => :element, :choice => 0 } @children['persistent-tokens'] = {:name => 'persistent-tokens', :class => HealthVault::WCData::Application::AppPersistentTokens, :value => nil, :min => 0, :max => 1, :order => 10, :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
#action_url ⇒ Object
returns: a String
76 77 78 |
# File 'lib/wc_data/generated/application/app.rb', line 76 def action_url return @children['action-url'][:value] end |
#action_url=(value) ⇒ Object
value is a String
71 72 73 |
# File 'lib/wc_data/generated/application/app.rb', line 71 def action_url=(value) @children['action-url'][:value] = value end |
#app_auth_required ⇒ Object
returns: a String
50 51 52 |
# File 'lib/wc_data/generated/application/app.rb', line 50 def app_auth_required return @children['app-auth-required'][:value] end |
#app_auth_required=(value) ⇒ Object
REQUIRED value is a String
45 46 47 |
# File 'lib/wc_data/generated/application/app.rb', line 45 def app_auth_required=(value) @children['app-auth-required'][:value] = value end |
#auth_reason ⇒ Object
returns: a String
102 103 104 |
# File 'lib/wc_data/generated/application/app.rb', line 102 def auth_reason return @children['auth-reason'][:value] end |
#auth_reason=(value) ⇒ Object
value is a String
97 98 99 |
# File 'lib/wc_data/generated/application/app.rb', line 97 def auth_reason=(value) @children['auth-reason'][:value] = value end |
#client_service_token ⇒ Object
returns: a HealthVault::WCData::Types::Guid
131 132 133 |
# File 'lib/wc_data/generated/application/app.rb', line 131 def client_service_token return @children['client-service-token'][:value] end |
#client_service_token=(value) ⇒ Object
remarks: Token required to access HealthVault client services. For instance, the vocabulary search service. value is a HealthVault::WCData::Types::Guid
126 127 128 |
# File 'lib/wc_data/generated/application/app.rb', line 126 def client_service_token=(value) @children['client-service-token'][:value] = value end |
#description ⇒ Object
returns: a String
89 90 91 |
# File 'lib/wc_data/generated/application/app.rb', line 89 def description return @children['description'][:value] end |
#description=(value) ⇒ Object
value is a String
84 85 86 |
# File 'lib/wc_data/generated/application/app.rb', line 84 def description=(value) @children['description'][:value] = value end |
#domain_name ⇒ Object
returns: a HealthVault::WCData::Types::String255
116 117 118 |
# File 'lib/wc_data/generated/application/app.rb', line 116 def domain_name return @children['domain-name'][:value] end |
#domain_name=(value) ⇒ Object
value is a HealthVault::WCData::Types::String255
111 112 113 |
# File 'lib/wc_data/generated/application/app.rb', line 111 def domain_name=(value) @children['domain-name'][:value] = value end |
#id ⇒ Object
returns: a HealthVault::WCData::Types::Guid
24 25 26 |
# File 'lib/wc_data/generated/application/app.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.rb', line 19 def id=(value) @children['id'][:value] = value end |
#is_published ⇒ Object
returns: a String
63 64 65 |
# File 'lib/wc_data/generated/application/app.rb', line 63 def is_published return @children['is-published'][:value] end |
#is_published=(value) ⇒ Object
REQUIRED value is a String
58 59 60 |
# File 'lib/wc_data/generated/application/app.rb', line 58 def is_published=(value) @children['is-published'][:value] = value end |
#name ⇒ Object
returns: a HealthVault::WCData::Types::String255
37 38 39 |
# File 'lib/wc_data/generated/application/app.rb', line 37 def name return @children['name'][:value] end |
#name=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::String255
32 33 34 |
# File 'lib/wc_data/generated/application/app.rb', line 32 def name=(value) @children['name'][:value] = value end |
#persistent_tokens ⇒ Object
returns: a HealthVault::WCData::Application::AppPersistentTokens
144 145 146 |
# File 'lib/wc_data/generated/application/app.rb', line 144 def persistent_tokens return @children['persistent-tokens'][:value] end |
#persistent_tokens=(value) ⇒ Object
value is a HealthVault::WCData::Application::AppPersistentTokens
139 140 141 |
# File 'lib/wc_data/generated/application/app.rb', line 139 def persistent_tokens=(value) @children['persistent-tokens'][:value] = value end |