Class: HealthVault::WCData::Record::ActiveAppAuthorization
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Record::ActiveAppAuthorization
- Defined in:
- lib/wc_data/generated/record/active_app_authorization.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#application_id ⇒ Object
returns: a HealthVault::WCData::Types::Guid.
-
#application_id=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::Guid.
-
#date_auth_created ⇒ Object
returns: a String.
-
#date_auth_created=(value) ⇒ Object
value is a String.
-
#date_auth_expires ⇒ Object
returns: a String.
-
#date_auth_expires=(value) ⇒ Object
value is a String.
-
#date_auth_updated ⇒ Object
returns: a String.
-
#date_auth_updated=(value) ⇒ Object
value is a String.
-
#initialize ⇒ ActiveAppAuthorization
constructor
A new instance of ActiveAppAuthorization.
-
#name ⇒ Object
returns: a String.
-
#name=(value) ⇒ Object
REQUIRED value is a String.
-
#person_offline_auth_xml ⇒ Object
returns: a HealthVault::WCData::Auth::AuthXml.
-
#person_offline_auth_xml=(value) ⇒ Object
value is a HealthVault::WCData::Auth::AuthXml.
-
#person_online_auth_xml ⇒ Object
returns: a HealthVault::WCData::Auth::AuthXml.
-
#person_online_auth_xml=(value) ⇒ Object
value is a HealthVault::WCData::Auth::AuthXml.
-
#record_display_name ⇒ Object
returns: a HealthVault::WCData::Types::String255.
-
#record_display_name=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::String255.
-
#record_id ⇒ Object
returns: a HealthVault::WCData::Types::Guid.
-
#record_id=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::Guid.
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 ⇒ ActiveAppAuthorization
Returns a new instance of ActiveAppAuthorization.
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 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 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 134 def initialize super self.tag_name = 'activeappauthorization' @children['record-id'] = {:name => 'record-id', :class => HealthVault::WCData::Types::Guid, :value => nil, :min => 1, :max => 1, :order => 1, :place => :element, :choice => 0 } @children['record-id'][:value] = HealthVault::WCData::Types::Guid.new @children['application-id'] = {:name => 'application-id', :class => HealthVault::WCData::Types::Guid, :value => nil, :min => 1, :max => 1, :order => 2, :place => :element, :choice => 0 } @children['application-id'][:value] = HealthVault::WCData::Types::Guid.new @children['name'] = {:name => 'name', :class => String, :value => nil, :min => 1, :max => 1, :order => 3, :place => :element, :choice => 0 } @children['name'][:value] = String.new @children['date-auth-expires'] = {:name => 'date-auth-expires', :class => String, :value => nil, :min => 0, :max => 1, :order => 4, :place => :element, :choice => 0 } @children['person-online-auth-xml'] = {:name => 'person-online-auth-xml', :class => HealthVault::WCData::Auth::AuthXml, :value => nil, :min => 0, :max => 1, :order => 5, :place => :element, :choice => 0 } @children['person-offline-auth-xml'] = {:name => 'person-offline-auth-xml', :class => HealthVault::WCData::Auth::AuthXml, :value => nil, :min => 0, :max => 1, :order => 6, :place => :element, :choice => 0 } @children['date-auth-created'] = {:name => 'date-auth-created', :class => String, :value => nil, :min => 0, :max => 1, :order => 7, :place => :element, :choice => 0 } @children['date-auth-updated'] = {:name => 'date-auth-updated', :class => String, :value => nil, :min => 0, :max => 1, :order => 8, :place => :element, :choice => 0 } @children['record-display-name'] = {:name => 'record-display-name', :class => HealthVault::WCData::Types::String255, :value => nil, :min => 1, :max => 1, :order => 9, :place => :element, :choice => 0 } @children['record-display-name'][:value] = HealthVault::WCData::Types::String255.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HealthVault::WCData::ComplexType
Instance Method Details
#application_id ⇒ Object
returns: a HealthVault::WCData::Types::Guid
37 38 39 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 37 def application_id return @children['application-id'][:value] end |
#application_id=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::Guid
32 33 34 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 32 def application_id=(value) @children['application-id'][:value] = value end |
#date_auth_created ⇒ Object
returns: a String
102 103 104 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 102 def date_auth_created return @children['date-auth-created'][:value] end |
#date_auth_created=(value) ⇒ Object
value is a String
97 98 99 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 97 def date_auth_created=(value) @children['date-auth-created'][:value] = value end |
#date_auth_expires ⇒ Object
returns: a String
63 64 65 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 63 def date_auth_expires return @children['date-auth-expires'][:value] end |
#date_auth_expires=(value) ⇒ Object
value is a String
58 59 60 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 58 def date_auth_expires=(value) @children['date-auth-expires'][:value] = value end |
#date_auth_updated ⇒ Object
returns: a String
115 116 117 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 115 def date_auth_updated return @children['date-auth-updated'][:value] end |
#date_auth_updated=(value) ⇒ Object
value is a String
110 111 112 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 110 def date_auth_updated=(value) @children['date-auth-updated'][:value] = value end |
#name ⇒ Object
returns: a String
50 51 52 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 50 def name return @children['name'][:value] end |
#name=(value) ⇒ Object
REQUIRED value is a String
45 46 47 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 45 def name=(value) @children['name'][:value] = value end |
#person_offline_auth_xml ⇒ Object
returns: a HealthVault::WCData::Auth::AuthXml
89 90 91 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 89 def person_offline_auth_xml return @children['person-offline-auth-xml'][:value] end |
#person_offline_auth_xml=(value) ⇒ Object
value is a HealthVault::WCData::Auth::AuthXml
84 85 86 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 84 def person_offline_auth_xml=(value) @children['person-offline-auth-xml'][:value] = value end |
#person_online_auth_xml ⇒ Object
returns: a HealthVault::WCData::Auth::AuthXml
76 77 78 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 76 def person_online_auth_xml return @children['person-online-auth-xml'][:value] end |
#person_online_auth_xml=(value) ⇒ Object
value is a HealthVault::WCData::Auth::AuthXml
71 72 73 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 71 def person_online_auth_xml=(value) @children['person-online-auth-xml'][:value] = value end |
#record_display_name ⇒ Object
returns: a HealthVault::WCData::Types::String255
128 129 130 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 128 def record_display_name return @children['record-display-name'][:value] end |
#record_display_name=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::String255
123 124 125 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 123 def record_display_name=(value) @children['record-display-name'][:value] = value end |
#record_id ⇒ Object
returns: a HealthVault::WCData::Types::Guid
24 25 26 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 24 def record_id return @children['record-id'][:value] end |
#record_id=(value) ⇒ Object
REQUIRED value is a HealthVault::WCData::Types::Guid
19 20 21 |
# File 'lib/wc_data/generated/record/active_app_authorization.rb', line 19 def record_id=(value) @children['record-id'][:value] = value end |