Class: HealthVault::WCData::Record::NonActiveAuthorizationNoIds

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

#initializeNonActiveAuthorizationNoIds

Returns a new instance of NonActiveAuthorizationNoIds.



199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
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
# File 'lib/wc_data/generated/record/non_active_authorization_no_ids.rb', line 199

def initialize
  super
  self.tag_name = 'nonactiveauthorizationnoids'

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

  
  @children['grantee-name'] = {:name => 'grantee-name', :class => HealthVault::WCData::Types::String255, :value => nil, :min => 1, :max => 1, :order => 11, :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 => 12, :place => :element, :choice => 0 }
    
  

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

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



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

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

#auth_xml=(value) ⇒ Object

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



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

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

#authorized_record_stateObject

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



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

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

#authorized_record_state=(value) ⇒ Object

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



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

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

#can_access_auditObject

returns: a String



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

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

#can_access_audit=(value) ⇒ Object

value is a String



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

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

#date_auth_createdObject

returns: a String



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

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

#date_auth_created=(value) ⇒ Object

REQUIRED value is a String



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

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

#date_auth_expiresObject

returns: a String



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

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

#date_auth_expires=(value) ⇒ Object

REQUIRED value is a String



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

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

#date_auth_updatedObject

returns: a String



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

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

#date_auth_updated=(value) ⇒ Object

REQUIRED value is a String



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

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

#email_addressObject

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



24
25
26
# File 'lib/wc_data/generated/record/non_active_authorization_no_ids.rb', line 24

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

#email_address=(value) ⇒ Object

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



19
20
21
# File 'lib/wc_data/generated/record/non_active_authorization_no_ids.rb', line 19

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

#email_textObject

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



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

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

#email_text=(value) ⇒ Object

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



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

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

#grantee_nameObject

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



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

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

#grantee_name=(value) ⇒ Object

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



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

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

#grantor_nameObject

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



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

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

#grantor_name=(value) ⇒ Object

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



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

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

#record_authorization_tokenObject

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



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

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

#record_authorization_token=(value) ⇒ Object

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



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

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

#record_custodianObject

returns: a String



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

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

#record_custodian=(value) ⇒ Object

REQUIRED value is a String



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

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

#record_display_nameObject

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



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

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

#record_display_name=(value) ⇒ Object

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



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

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

#rel_typeObject

returns: a String



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

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

#rel_type=(value) ⇒ Object

REQUIRED value is a String



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

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