Class: Manywho::PageResponse

Inherits:
MyStruct show all
Defined in:
lib/manywho.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from MyStruct

#to_json

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

#labelObject

Returns the value of attribute label.



451
452
453
# File 'lib/manywho.rb', line 451

def label
  @label
end

#orderObject

Returns the value of attribute order.



451
452
453
# File 'lib/manywho.rb', line 451

def order
  @order
end

#outcomeResponsesObject

Returns the value of attribute outcomeResponses.



451
452
453
# File 'lib/manywho.rb', line 451

def outcomeResponses
  @outcomeResponses
end

#pageComponentDataResponsesObject

Returns the value of attribute pageComponentDataResponses.



451
452
453
# File 'lib/manywho.rb', line 451

def pageComponentDataResponses
  @pageComponentDataResponses
end

#pageComponentResponsesObject

Returns the value of attribute pageComponentResponses.



451
452
453
# File 'lib/manywho.rb', line 451

def pageComponentResponses
  @pageComponentResponses
end

#pageContainerDataResponsesObject

Returns the value of attribute pageContainerDataResponses.



451
452
453
# File 'lib/manywho.rb', line 451

def pageContainerDataResponses
  @pageContainerDataResponses
end

#pageContainerResponsesObject

Returns the value of attribute pageContainerResponses.



451
452
453
# File 'lib/manywho.rb', line 451

def pageContainerResponses
  @pageContainerResponses
end

#rootFaultsObject

Returns the value of attribute rootFaults.



451
452
453
# File 'lib/manywho.rb', line 451

def rootFaults
  @rootFaults
end