Class: CadenceThrift::ContinueAsNewWorkflowExecutionDecisionAttributes

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

WORKFLOWTYPE =
10
TASKLIST =
20
INPUT =
30
EXECUTIONSTARTTOCLOSETIMEOUTSECONDS =
40
TASKSTARTTOCLOSETIMEOUTSECONDS =
50
BACKOFFSTARTINTERVALINSECONDS =
60
RETRYPOLICY =
70
INITIATOR =
80
FAILUREREASON =
90
FAILUREDETAILS =
100
LASTCOMPLETIONRESULT =
110
CRONSCHEDULE =
120
HEADER =
130
MEMO =
140
SEARCHATTRIBUTES =
150
FIELDS =
{
  WORKFLOWTYPE => {:type => ::Thrift::Types::STRUCT, :name => 'workflowType', :class => ::CadenceThrift::WorkflowType, :optional => true},
  TASKLIST => {:type => ::Thrift::Types::STRUCT, :name => 'taskList', :class => ::CadenceThrift::TaskList, :optional => true},
  INPUT => {:type => ::Thrift::Types::STRING, :name => 'input', :binary => true, :optional => true},
  EXECUTIONSTARTTOCLOSETIMEOUTSECONDS => {:type => ::Thrift::Types::I32, :name => 'executionStartToCloseTimeoutSeconds', :optional => true},
  TASKSTARTTOCLOSETIMEOUTSECONDS => {:type => ::Thrift::Types::I32, :name => 'taskStartToCloseTimeoutSeconds', :optional => true},
  BACKOFFSTARTINTERVALINSECONDS => {:type => ::Thrift::Types::I32, :name => 'backoffStartIntervalInSeconds', :optional => true},
  RETRYPOLICY => {:type => ::Thrift::Types::STRUCT, :name => 'retryPolicy', :class => ::CadenceThrift::RetryPolicy, :optional => true},
  INITIATOR => {:type => ::Thrift::Types::I32, :name => 'initiator', :optional => true, :enum_class => ::CadenceThrift::ContinueAsNewInitiator},
  FAILUREREASON => {:type => ::Thrift::Types::STRING, :name => 'failureReason', :optional => true},
  FAILUREDETAILS => {:type => ::Thrift::Types::STRING, :name => 'failureDetails', :binary => true, :optional => true},
  LASTCOMPLETIONRESULT => {:type => ::Thrift::Types::STRING, :name => 'lastCompletionResult', :binary => true, :optional => true},
  CRONSCHEDULE => {:type => ::Thrift::Types::STRING, :name => 'cronSchedule', :optional => true},
  HEADER => {:type => ::Thrift::Types::STRUCT, :name => 'header', :class => ::CadenceThrift::Header, :optional => true},
  MEMO => {:type => ::Thrift::Types::STRUCT, :name => 'memo', :class => ::CadenceThrift::Memo, :optional => true},
  SEARCHATTRIBUTES => {:type => ::Thrift::Types::STRUCT, :name => 'searchAttributes', :class => ::CadenceThrift::SearchAttributes, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end