Class: HealthVault::WCData::Types::RcptRecord
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Types::RcptRecord
- Defined in:
- lib/wc_data/generated/types/rcpt_record.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#initialize ⇒ RcptRecord
constructor
A new instance of RcptRecord.
-
#validated ⇒ Object
returns: a String.
-
#validated=(value) ⇒ Object
remarks: If true, the Microsoft Health Service will ensure that only custodians with validated email addresses will be sent the message.
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 ⇒ RcptRecord
Returns a new instance of RcptRecord.
32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/wc_data/generated/types/rcpt_record.rb', line 32 def initialize super self.tag_name = 'rcptrecord' @children['validated'] = {:name => 'validated', :class => String, :value => nil, :min => 1, :max => 1, :order => 0, :place => :attribute, :choice => 0 } @children['validated'][:value] = String.new end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class HealthVault::WCData::ComplexType
Instance Method Details
#validated ⇒ Object
returns: a String
26 27 28 |
# File 'lib/wc_data/generated/types/rcpt_record.rb', line 26 def validated return @children['validated'][:value] end |
#validated=(value) ⇒ Object
remarks: If true, the Microsoft Health Service will ensure that only custodians with validated email addresses will be sent the message. Custodians with non-validated email addresses will be skipped. If no validated custodians are found, then an error will be returned. value is a String
21 22 23 |
# File 'lib/wc_data/generated/types/rcpt_record.rb', line 21 def validated=(value) @children['validated'][:value] = value end |