class CadenceThrift::ActivityTaskTimedOutEventAttributes

Constants

DETAILS
FIELDS
SCHEDULEDEVENTID
STARTEDEVENTID
TIMEOUTTYPE

Public Instance Methods

struct_fields() click to toggle source
# File lib/gen/thrift/shared_types.rb, line 1939
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/gen/thrift/shared_types.rb, line 1941
def validate
  unless @timeoutType.nil? || ::CadenceThrift::TimeoutType::VALID_VALUES.include?(@timeoutType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field timeoutType!')
  end
end