class CadenceThrift::DecisionTaskFailedEventAttributes
Constants
- BASERUNID
- CAUSE
- DETAILS
- FIELDS
- FORKEVENTVERSION
- IDENTITY
- NEWRUNID
- REASON
- SCHEDULEDEVENTID
- STARTEDEVENTID
Public Instance Methods
struct_fields()
click to toggle source
# File lib/gen/thrift/shared_types.rb, line 1808 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/gen/thrift/shared_types.rb, line 1810 def validate unless @cause.nil? || ::CadenceThrift::DecisionTaskFailedCause::VALID_VALUES.include?(@cause) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field cause!') end end