Class: CadenceThrift::WorkflowExecutionTimedOutEventAttributes
- Inherits:
-
Object
- Object
- CadenceThrift::WorkflowExecutionTimedOutEventAttributes
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gen/thrift/shared_types.rb,
lib/gen/thrift/shared_types.rb
Constant Summary collapse
- TIMEOUTTYPE =
10
- FIELDS =
{ TIMEOUTTYPE => {:type => ::Thrift::Types::I32, :name => 'timeoutType', :optional => true, :enum_class => ::CadenceThrift::TimeoutType} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1639 |
# File 'lib/gen/thrift/shared_types.rb', line 1639 def struct_fields; FIELDS; end |
#validate ⇒ Object
1641 1642 1643 1644 1645 |
# File 'lib/gen/thrift/shared_types.rb', line 1641 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 |