class CadenceThrift::RequestCancelExternalWorkflowExecutionFailedEventAttributes
Constants
- CAUSE
- CONTROL
- DECISIONTASKCOMPLETEDEVENTID
- DOMAIN
- FIELDS
- INITIATEDEVENTID
- WORKFLOWEXECUTION
Public Instance Methods
struct_fields()
click to toggle source
# File lib/gen/thrift/shared_types.rb, line 2238 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/gen/thrift/shared_types.rb, line 2240 def validate unless @cause.nil? || ::CadenceThrift::CancelExternalWorkflowExecutionFailedCause::VALID_VALUES.include?(@cause) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field cause!') end end