Class: Manywho::PageResponse
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#order ⇒ Object
Returns the value of attribute order.
-
#outcomeResponses ⇒ Object
Returns the value of attribute outcomeResponses.
-
#pageComponentDataResponses ⇒ Object
Returns the value of attribute pageComponentDataResponses.
-
#pageComponentResponses ⇒ Object
Returns the value of attribute pageComponentResponses.
-
#pageContainerDataResponses ⇒ Object
Returns the value of attribute pageContainerDataResponses.
-
#pageContainerResponses ⇒ Object
Returns the value of attribute pageContainerResponses.
-
#rootFaults ⇒ Object
Returns the value of attribute rootFaults.
Instance Method Summary collapse
-
#initialize(jsonValue) ⇒ PageResponse
constructor
A new instance of PageResponse.
Methods inherited from MyStruct
Constructor Details
#initialize(jsonValue) ⇒ PageResponse
Returns a new instance of PageResponse.
450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 |
# File 'lib/manywho.rb', line 450 def initialize(jsonValue) super(jsonValue) if (@pageContainerResponses != nil) endArray = [] @pageContainerResponses.each do |pContainer| endArray += [PageContainerResponse.new(pContainer)] end @pageContainerResponses = endArray end if (@pageComponentResponses != nil) endArray = [] @pageComponentResponses.each do |pComponent| endArray += [PageComponentResponse.new(pComponent)] end @pageComponentResponses = endArray end if (@pageContainerDataResponses != nil) endArray = [] @pageContainerDataResponses.each do |pContainerData| endArray += [PageContainerDataResponse.new(pContainerData)] end @pageContainerDataResponses = endArray end if (@pageComponentDataResponses != nil) endArray = [] @pageComponentDataResponses.each do |pComponentData| endArray += [PageComponentDataResponse.new(pComponentData)] end @pageComponentDataResponses = endArray end if (@outcomeResponses != nil) endArray = [] @outcomeResponses.each do |outcomeResponse| endArray += [OutcomeResponse.new(outcomeResponse)] end @outcomeResponses = endArray end end |
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label.
447 448 449 |
# File 'lib/manywho.rb', line 447 def label @label end |
#order ⇒ Object
Returns the value of attribute order.
447 448 449 |
# File 'lib/manywho.rb', line 447 def order @order end |
#outcomeResponses ⇒ Object
Returns the value of attribute outcomeResponses.
447 448 449 |
# File 'lib/manywho.rb', line 447 def outcomeResponses @outcomeResponses end |
#pageComponentDataResponses ⇒ Object
Returns the value of attribute pageComponentDataResponses.
447 448 449 |
# File 'lib/manywho.rb', line 447 def pageComponentDataResponses @pageComponentDataResponses end |
#pageComponentResponses ⇒ Object
Returns the value of attribute pageComponentResponses.
447 448 449 |
# File 'lib/manywho.rb', line 447 def pageComponentResponses @pageComponentResponses end |
#pageContainerDataResponses ⇒ Object
Returns the value of attribute pageContainerDataResponses.
447 448 449 |
# File 'lib/manywho.rb', line 447 def pageContainerDataResponses @pageContainerDataResponses end |
#pageContainerResponses ⇒ Object
Returns the value of attribute pageContainerResponses.
447 448 449 |
# File 'lib/manywho.rb', line 447 def pageContainerResponses @pageContainerResponses end |
#rootFaults ⇒ Object
Returns the value of attribute rootFaults.
447 448 449 |
# File 'lib/manywho.rb', line 447 def rootFaults @rootFaults end |