Class: CadenceThrift::ActivityTaskScheduledEventAttributes

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

ACTIVITYID =
10
ACTIVITYTYPE =
20
DOMAIN =
25
TASKLIST =
30
INPUT =
40
SCHEDULETOCLOSETIMEOUTSECONDS =
45
SCHEDULETOSTARTTIMEOUTSECONDS =
50
STARTTOCLOSETIMEOUTSECONDS =
55
HEARTBEATTIMEOUTSECONDS =
60
DECISIONTASKCOMPLETEDEVENTID =
90
RETRYPOLICY =
110
HEADER =
120
FIELDS =
{
  ACTIVITYID => {:type => ::Thrift::Types::STRING, :name => 'activityId', :optional => true},
  ACTIVITYTYPE => {:type => ::Thrift::Types::STRUCT, :name => 'activityType', :class => ::CadenceThrift::ActivityType, :optional => true},
  DOMAIN => {:type => ::Thrift::Types::STRING, :name => 'domain', :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},
  SCHEDULETOCLOSETIMEOUTSECONDS => {:type => ::Thrift::Types::I32, :name => 'scheduleToCloseTimeoutSeconds', :optional => true},
  SCHEDULETOSTARTTIMEOUTSECONDS => {:type => ::Thrift::Types::I32, :name => 'scheduleToStartTimeoutSeconds', :optional => true},
  STARTTOCLOSETIMEOUTSECONDS => {:type => ::Thrift::Types::I32, :name => 'startToCloseTimeoutSeconds', :optional => true},
  HEARTBEATTIMEOUTSECONDS => {:type => ::Thrift::Types::I32, :name => 'heartbeatTimeoutSeconds', :optional => true},
  DECISIONTASKCOMPLETEDEVENTID => {:type => ::Thrift::Types::I64, :name => 'decisionTaskCompletedEventId', :optional => true},
  RETRYPOLICY => {:type => ::Thrift::Types::STRUCT, :name => 'retryPolicy', :class => ::CadenceThrift::RetryPolicy, :optional => true},
  HEADER => {:type => ::Thrift::Types::STRUCT, :name => 'header', :class => ::CadenceThrift::Header, :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



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

def validate
end