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.
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 488 489 490 491 |
# File 'lib/manywho.rb', line 454 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.
451 452 453 |
# File 'lib/manywho.rb', line 451 def label @label end |
#order ⇒ Object
Returns the value of attribute order.
451 452 453 |
# File 'lib/manywho.rb', line 451 def order @order end |
#outcomeResponses ⇒ Object
Returns the value of attribute outcomeResponses.
451 452 453 |
# File 'lib/manywho.rb', line 451 def outcomeResponses @outcomeResponses end |
#pageComponentDataResponses ⇒ Object
Returns the value of attribute pageComponentDataResponses.
451 452 453 |
# File 'lib/manywho.rb', line 451 def pageComponentDataResponses @pageComponentDataResponses end |
#pageComponentResponses ⇒ Object
Returns the value of attribute pageComponentResponses.
451 452 453 |
# File 'lib/manywho.rb', line 451 def pageComponentResponses @pageComponentResponses end |
#pageContainerDataResponses ⇒ Object
Returns the value of attribute pageContainerDataResponses.
451 452 453 |
# File 'lib/manywho.rb', line 451 def pageContainerDataResponses @pageContainerDataResponses end |
#pageContainerResponses ⇒ Object
Returns the value of attribute pageContainerResponses.
451 452 453 |
# File 'lib/manywho.rb', line 451 def pageContainerResponses @pageContainerResponses end |
#rootFaults ⇒ Object
Returns the value of attribute rootFaults.
451 452 453 |
# File 'lib/manywho.rb', line 451 def rootFaults @rootFaults end |