Class: CadenceThrift::PollForActivityTaskResponse

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
ACTIVITYID =
30
ACTIVITYTYPE =
40
INPUT =
50
SCHEDULEDTIMESTAMP =
70
SCHEDULETOCLOSETIMEOUTSECONDS =
80
STARTEDTIMESTAMP =
90
STARTTOCLOSETIMEOUTSECONDS =
100
HEARTBEATTIMEOUTSECONDS =
110
ATTEMPT =
120
SCHEDULEDTIMESTAMPOFTHISATTEMPT =
130
HEARTBEATDETAILS =
140
WORKFLOWTYPE =
150
WORKFLOWDOMAIN =
160
HEADER =
170
FIELDS =
{
  TASKTOKEN => {:type => ::Thrift::Types::STRING, :name => 'taskToken', :binary => true, :optional => true},
  WORKFLOWEXECUTION => {:type => ::Thrift::Types::STRUCT, :name => 'workflowExecution', :class => ::CadenceThrift::WorkflowExecution, :optional => true},
  ACTIVITYID => {:type => ::Thrift::Types::STRING, :name => 'activityId', :optional => true},
  ACTIVITYTYPE => {:type => ::Thrift::Types::STRUCT, :name => 'activityType', :class => ::CadenceThrift::ActivityType, :optional => true},
  INPUT => {:type => ::Thrift::Types::STRING, :name => 'input', :binary => true, :optional => true},
  SCHEDULEDTIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'scheduledTimestamp', :optional => true},
  SCHEDULETOCLOSETIMEOUTSECONDS => {:type => ::Thrift::Types::I32, :name => 'scheduleToCloseTimeoutSeconds', :optional => true},
  STARTEDTIMESTAMP => {:type => ::Thrift::Types::I64, :name => 'startedTimestamp', :optional => true},
  STARTTOCLOSETIMEOUTSECONDS => {:type => ::Thrift::Types::I32, :name => 'startToCloseTimeoutSeconds', :optional => true},
  HEARTBEATTIMEOUTSECONDS => {:type => ::Thrift::Types::I32, :name => 'heartbeatTimeoutSeconds', :optional => true},
  ATTEMPT => {:type => ::Thrift::Types::I32, :name => 'attempt', :optional => true},
  SCHEDULEDTIMESTAMPOFTHISATTEMPT => {:type => ::Thrift::Types::I64, :name => 'scheduledTimestampOfThisAttempt', :optional => true},
  HEARTBEATDETAILS => {:type => ::Thrift::Types::STRING, :name => 'heartbeatDetails', :binary => true, :optional => true},
  WORKFLOWTYPE => {:type => ::Thrift::Types::STRUCT, :name => 'workflowType', :class => ::CadenceThrift::WorkflowType, :optional => true},
  WORKFLOWDOMAIN => {:type => ::Thrift::Types::STRING, :name => 'workflowDomain', :optional => true},
  HEADER => {:type => ::Thrift::Types::STRUCT, :name => 'header', :class => ::CadenceThrift::Header, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end