Class: CadenceThrift::PollForDecisionTaskResponse

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/gen/thrift/shared_types.rb,
lib/gen/thrift/shared_types.rb

Constant Summary collapse

TASKTOKEN =
10
WORKFLOWEXECUTION =
20
WORKFLOWTYPE =
30
PREVIOUSSTARTEDEVENTID =
40
STARTEDEVENTID =
50
ATTEMPT =
51
BACKLOGCOUNTHINT =
54
HISTORY =
60
NEXTPAGETOKEN =
70
QUERY =
80
WORKFLOWEXECUTIONTASKLIST =
90
SCHEDULEDTIMESTAMP =
100
STARTEDTIMESTAMP =
110
QUERIES =
120
FIELDS =
{
  TASKTOKEN => {:type => ::Thrift::Types::STRING, :name => 'taskToken', :binary => true, :optional => true},
  WORKFLOWEXECUTION => {:type => ::Thrift::Types::STRUCT, :name => 'workflowExecution', :class => ::CadenceThrift::WorkflowExecution, :optional => true},
  WORKFLOWTYPE => {:type => ::Thrift::Types::STRUCT, :name => 'workflowType', :class => ::CadenceThrift::WorkflowType, :optional => true},
  PREVIOUSSTARTEDEVENTID => {:type => ::Thrift::Types::I64, :name => 'previousStartedEventId', :optional => true},
  STARTEDEVENTID => {:type => ::Thrift::Types::I64, :name => 'startedEventId', :optional => true},
  ATTEMPT => {:type => ::Thrift::Types::I64, :name => 'attempt', :optional => true},
  BACKLOGCOUNTHINT => {:type => ::Thrift::Types::I64, :name => 'backlogCountHint', :optional => true},
  HISTORY => {:type => ::Thrift::Types::STRUCT, :name => 'history', :class => ::CadenceThrift::History, :optional => true},
  NEXTPAGETOKEN => {:type => ::Thrift::Types::STRING, :name => 'nextPageToken', :binary => true, :optional => true},
  QUERY => {:type => ::Thrift::Types::STRUCT, :name => 'query', :class => ::CadenceThrift::WorkflowQuery, :optional => true},
  WORKFLOWEXECUTIONTASKLIST => {:type => ::Thrift::Types::STRUCT, :name => 'WorkflowExecutionTaskList', :class => ::CadenceThrift::TaskList, :optional => true},
  SCHEDULEDTIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'scheduledTimestamp', :optional => true},
  STARTEDTIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'startedTimestamp', :optional => true},
  QUERIES => {:type => ::Thrift::Types::LIST, :name => 'queries', :element => {:type => ::Thrift::Types::STRUCT, :class => ::CadenceThrift::WorkflowQuery}, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



3251
# File 'lib/gen/thrift/shared_types.rb', line 3251

def struct_fields; FIELDS; end

#validateObject



3253
3254
# File 'lib/gen/thrift/shared_types.rb', line 3253

def validate
end