Class: HealthVault::WCData::Record::NonActiveAuthorization

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

#initializeNonActiveAuthorization

Returns a new instance of NonActiveAuthorization.



225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 225

def initialize
  super
  self.tag_name = 'nonactiveauthorization'

  
  @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['email-address'] = {:name => 'email-address', :class => HealthVault::WCData::Types::EmailAddress, :value => nil, :min => 1, :max => 1, :order => 2, :place => :element, :choice => 0 }
    
  @children['email-address'][:value] = HealthVault::WCData::Types::EmailAddress.new
    
  

  
  @children['record-custodian'] = {:name => 'record-custodian', :class => String, :value => nil, :min => 1, :max => 1, :order => 3, :place => :element, :choice => 0 }
    
  @children['record-custodian'][:value] = String.new
    
  

  
  @children['authorized-record-state'] = {:name => 'authorized-record-state', :class => HealthVault::WCData::Record::AuthorizedRecordState, :value => nil, :min => 1, :max => 1, :order => 4, :place => :element, :choice => 0 }
    
  @children['authorized-record-state'][:value] = HealthVault::WCData::Record::AuthorizedRecordState.new
    
  

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

  
  @children['date-auth-expires'] = {:name => 'date-auth-expires', :class => String, :value => nil, :min => 1, :max => 1, :order => 6, :place => :element, :choice => 0 }
    
  @children['date-auth-expires'][:value] = String.new
    
  

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

  
  @children['rel-type'] = {:name => 'rel-type', :class => String, :value => nil, :min => 1, :max => 1, :order => 8, :place => :element, :choice => 0 }
    
  @children['rel-type'][:value] = String.new
    
  

  
  @children['date-auth-created'] = {:name => 'date-auth-created', :class => String, :value => nil, :min => 1, :max => 1, :order => 9, :place => :element, :choice => 0 }
    
  @children['date-auth-created'][:value] = String.new
    
  

  
  @children['date-auth-updated'] = {:name => 'date-auth-updated', :class => String, :value => nil, :min => 1, :max => 1, :order => 10, :place => :element, :choice => 0 }
    
  @children['date-auth-updated'][:value] = String.new
    
  

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

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

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

  
  @children['record-authorization-token'] = {:name => 'record-authorization-token', :class => HealthVault::WCData::Types::Base64Sha1, :value => nil, :min => 0, :max => 1, :order => 14, :place => :element, :choice => 0 }
    
  

  
  @children['email-text'] = {:name => 'email-text', :class => HealthVault::WCData::Types::String1024, :value => nil, :min => 0, :max => 1, :order => 15, :place => :element, :choice => 0 }
    
  

  
  @children['can-access-audit'] = {:name => 'can-access-audit', :class => String, :value => nil, :min => 0, :max => 1, :order => 16, :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

#auth_xmlObject

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



102
103
104
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 102

def auth_xml
  return @children['auth-xml'][:value]
end

#auth_xml=(value) ⇒ Object

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



97
98
99
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 97

def auth_xml=(value)
  @children['auth-xml'][:value] = value
end

#authorized_record_stateObject

returns: a HealthVault::WCData::Record::AuthorizedRecordState



63
64
65
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 63

def authorized_record_state
  return @children['authorized-record-state'][:value]
end

#authorized_record_state=(value) ⇒ Object

REQUIRED value is a HealthVault::WCData::Record::AuthorizedRecordState



58
59
60
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 58

def authorized_record_state=(value)
  @children['authorized-record-state'][:value] = value
end

#can_access_auditObject

returns: a String



219
220
221
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 219

def can_access_audit
  return @children['can-access-audit'][:value]
end

#can_access_audit=(value) ⇒ Object

value is a String



214
215
216
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 214

def can_access_audit=(value)
  @children['can-access-audit'][:value] = value
end

#date_auth_createdObject

returns: a String



128
129
130
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 128

def date_auth_created
  return @children['date-auth-created'][:value]
end

#date_auth_created=(value) ⇒ Object

REQUIRED value is a String



123
124
125
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 123

def date_auth_created=(value)
  @children['date-auth-created'][:value] = value
end

#date_auth_expiresObject

returns: a String



89
90
91
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 89

def date_auth_expires
  return @children['date-auth-expires'][:value]
end

#date_auth_expires=(value) ⇒ Object

REQUIRED value is a String



84
85
86
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 84

def date_auth_expires=(value)
  @children['date-auth-expires'][:value] = value
end

#date_auth_updatedObject

returns: a String



141
142
143
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 141

def date_auth_updated
  return @children['date-auth-updated'][:value]
end

#date_auth_updated=(value) ⇒ Object

REQUIRED value is a String



136
137
138
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 136

def date_auth_updated=(value)
  @children['date-auth-updated'][:value] = value
end

#email_addressObject

returns: a HealthVault::WCData::Types::EmailAddress



37
38
39
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 37

def email_address
  return @children['email-address'][:value]
end

#email_address=(value) ⇒ Object

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



32
33
34
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 32

def email_address=(value)
  @children['email-address'][:value] = value
end

#email_textObject

returns: a HealthVault::WCData::Types::String1024



206
207
208
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 206

def email_text
  return @children['email-text'][:value]
end

#email_text=(value) ⇒ Object

value is a HealthVault::WCData::Types::String1024



201
202
203
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 201

def email_text=(value)
  @children['email-text'][:value] = value
end

#grantee_nameObject

returns: a HealthVault::WCData::Types::String255



180
181
182
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 180

def grantee_name
  return @children['grantee-name'][:value]
end

#grantee_name=(value) ⇒ Object

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



175
176
177
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 175

def grantee_name=(value)
  @children['grantee-name'][:value] = value
end

#grantor_nameObject

returns: a HealthVault::WCData::Types::String255



154
155
156
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 154

def grantor_name
  return @children['grantor-name'][:value]
end

#grantor_name=(value) ⇒ Object

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



149
150
151
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 149

def grantor_name=(value)
  @children['grantor-name'][:value] = value
end

#grantor_person_idObject

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



167
168
169
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 167

def grantor_person_id
  return @children['grantor-person-id'][:value]
end

#grantor_person_id=(value) ⇒ Object

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



162
163
164
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 162

def grantor_person_id=(value)
  @children['grantor-person-id'][:value] = value
end

#record_authorization_tokenObject

returns: a HealthVault::WCData::Types::Base64Sha1



193
194
195
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 193

def record_authorization_token
  return @children['record-authorization-token'][:value]
end

#record_authorization_token=(value) ⇒ Object

value is a HealthVault::WCData::Types::Base64Sha1



188
189
190
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 188

def record_authorization_token=(value)
  @children['record-authorization-token'][:value] = value
end

#record_custodianObject

returns: a String



50
51
52
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 50

def record_custodian
  return @children['record-custodian'][:value]
end

#record_custodian=(value) ⇒ Object

REQUIRED value is a String



45
46
47
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 45

def record_custodian=(value)
  @children['record-custodian'][:value] = value
end

#record_display_nameObject

returns: a HealthVault::WCData::Types::String255



76
77
78
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 76

def record_display_name
  return @children['record-display-name'][:value]
end

#record_display_name=(value) ⇒ Object

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



71
72
73
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 71

def record_display_name=(value)
  @children['record-display-name'][:value] = value
end

#record_idObject

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



24
25
26
# File 'lib/wc_data/generated/record/non_active_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/non_active_authorization.rb', line 19

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

#rel_typeObject

returns: a String



115
116
117
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 115

def rel_type
  return @children['rel-type'][:value]
end

#rel_type=(value) ⇒ Object

REQUIRED value is a String



110
111
112
# File 'lib/wc_data/generated/record/non_active_authorization.rb', line 110

def rel_type=(value)
  @children['rel-type'][:value] = value
end