class CadenceThrift::RespondDecisionTaskFailedRequest
Constants
- CAUSE
- DETAILS
- FIELDS
- IDENTITY
- TASKTOKEN
Public Instance Methods
struct_fields()
click to toggle source
# File lib/gen/thrift/shared_types.rb, line 3339 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/gen/thrift/shared_types.rb, line 3341 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