class Manywho::EngineInvokeResponse

Attributes

annotations[RW]
authorizationContext[RW]
currentMapElementId[RW]
invokeType[RW]
joinFlowUrl[RW]
mapElementInvokeResponses[RW]
outputs[RW]
preCommitStateValues[RW]
runFlowUrl[RW]
stateId[RW]
stateLog[RW]
stateToken[RW]
stateValues[RW]
statusCode[RW]

Public Class Methods

new(jsonValue) click to toggle source
Calls superclass method Manywho::MyStruct::new
# File lib/manywho.rb, line 399
def initialize(jsonValue)
    super(jsonValue)
    if (@mapElementInvokeResponses != nil)
        endArray = []
        @mapElementInvokeResponses.each do |invokeResponse|
            endArray += [MapElementInvokeResponse.new(invokeResponse)]
        end
        @mapElementInvokeResponses = endArray
    end
    if (@preCommitStateValues != nil)
        endArray = []
        @preCommitStateValues.each do |preComitStateValue|
            endArray += [EngineValue.new(preComitStateValue)]
        end
        @preCommitStateValues = endArray
    end
    if (@stateValues != nil)
        endArray = []
        @stateValues.each do |stateValue|
            endArray += [EngineValue.new(stateValue)]
        end
        @stateValues = endArray
    end
    if (@outputs != nil)
        endArray = []
        @outputs.each do |output|
            endArray += [EngineValue.new(output)]
        end
        @outputs = endArray
    end
    @authorizationContext = AuthorizationContext.new(@authorizationContext)
end