Class: HealthVault::WCData::Types::OpenQueryInfo
- Inherits:
-
ComplexType
- Object
- ComplexType
- HealthVault::WCData::Types::OpenQueryInfo
- Defined in:
- lib/wc_data/generated/types/open_query_info.rb
Instance Attribute Summary
Attributes inherited from ComplexType
Instance Method Summary collapse
-
#app_name ⇒ Object
returns: a HealthVault::WCData::Types::String255.
-
#app_name=(value) ⇒ Object
value is a HealthVault::WCData::Types::String255.
-
#date_created ⇒ Object
returns: a String.
-
#date_created=(value) ⇒ Object
value is a String.
-
#expires_date ⇒ Object
returns: a String.
-
#expires_date=(value) ⇒ Object
value is a String.
-
#initialize ⇒ OpenQueryInfo
constructor
A new instance of OpenQueryInfo.
-
#note ⇒ Object
returns: a HealthVault::WCData::Types::String128.
-
#note=(value) ⇒ Object
value is a HealthVault::WCData::Types::String128.
-
#pin_required ⇒ Object
returns: a String.
-
#pin_required=(value) ⇒ Object
value is a String.
-
#query_id ⇒ Object
returns: a HealthVault::WCData::Types::Guid.
-
#query_id=(value) ⇒ Object
remarks: This identifier may be used to invoke the corresponding saved query by using the openquery.ashx HTTP handler.
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 ⇒ OpenQueryInfo
Returns a new instance of OpenQueryInfo.
102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 102 def initialize super self.tag_name = 'openqueryinfo' @children['query-id'] = {:name => 'query-id', :class => HealthVault::WCData::Types::Guid, :value => nil, :min => 1, :max => 1, :order => 1, :place => :element, :choice => 0 } @children['query-id'][:value] = HealthVault::WCData::Types::Guid.new @children['app-name'] = {:name => 'app-name', :class => HealthVault::WCData::Types::String255, :value => nil, :min => 1, :max => 1, :order => 2, :place => :element, :choice => 0 } @children['app-name'][:value] = HealthVault::WCData::Types::String255.new @children['date-created'] = {:name => 'date-created', :class => String, :value => nil, :min => 1, :max => 1, :order => 3, :place => :element, :choice => 0 } @children['date-created'][:value] = String.new @children['expires-date'] = {:name => 'expires-date', :class => String, :value => nil, :min => 0, :max => 1, :order => 4, :place => :element, :choice => 0 } @children['pin-required'] = {:name => 'pin-required', :class => String, :value => nil, :min => 1, :max => 1, :order => 5, :place => :element, :choice => 0 } @children['pin-required'][:value] = String.new @children['note'] = {:name => 'note', :class => HealthVault::WCData::Types::String128, :value => nil, :min => 0, :max => 1, :order => 6, :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
#app_name ⇒ Object
returns: a HealthVault::WCData::Types::String255
40 41 42 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 40 def app_name return @children['app-name'][:value] end |
#app_name=(value) ⇒ Object
value is a HealthVault::WCData::Types::String255
35 36 37 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 35 def app_name=(value) @children['app-name'][:value] = value end |
#date_created ⇒ Object
returns: a String
54 55 56 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 54 def date_created return @children['date-created'][:value] end |
#date_created=(value) ⇒ Object
value is a String
49 50 51 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 49 def date_created=(value) @children['date-created'][:value] = value end |
#expires_date ⇒ Object
returns: a String
68 69 70 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 68 def expires_date return @children['expires-date'][:value] end |
#expires_date=(value) ⇒ Object
value is a String
63 64 65 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 63 def expires_date=(value) @children['expires-date'][:value] = value end |
#note ⇒ Object
returns: a HealthVault::WCData::Types::String128
96 97 98 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 96 def note return @children['note'][:value] end |
#note=(value) ⇒ Object
value is a HealthVault::WCData::Types::String128
91 92 93 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 91 def note=(value) @children['note'][:value] = value end |
#pin_required ⇒ Object
returns: a String
82 83 84 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 82 def pin_required return @children['pin-required'][:value] end |
#pin_required=(value) ⇒ Object
value is a String
77 78 79 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 77 def pin_required=(value) @children['pin-required'][:value] = value end |
#query_id ⇒ Object
returns: a HealthVault::WCData::Types::Guid
26 27 28 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 26 def query_id return @children['query-id'][:value] end |
#query_id=(value) ⇒ Object
remarks: This identifier may be used to invoke the corresponding saved query by using the openquery.ashx HTTP handler. The handler takes one HTTP query parameter, id, the text string representation of this identifier. value is a HealthVault::WCData::Types::Guid
21 22 23 |
# File 'lib/wc_data/generated/types/open_query_info.rb', line 21 def query_id=(value) @children['query-id'][:value] = value end |