Class: CadenceThrift::GetWorkflowExecutionHistoryRequest
- Inherits:
-
Object
- Object
- CadenceThrift::GetWorkflowExecutionHistoryRequest
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gen/thrift/shared_types.rb,
lib/gen/thrift/shared_types.rb
Constant Summary collapse
- DOMAIN =
10
- EXECUTION =
20
- MAXIMUMPAGESIZE =
30
- NEXTPAGETOKEN =
40
- WAITFORNEWEVENT =
50
- HISTORYEVENTFILTERTYPE =
60
- FIELDS =
{ DOMAIN => {:type => ::Thrift::Types::STRING, :name => 'domain', :optional => true}, EXECUTION => {:type => ::Thrift::Types::STRUCT, :name => 'execution', :class => ::CadenceThrift::WorkflowExecution, :optional => true}, MAXIMUMPAGESIZE => {:type => ::Thrift::Types::I32, :name => 'maximumPageSize', :optional => true}, NEXTPAGETOKEN => {:type => ::Thrift::Types::STRING, :name => 'nextPageToken', :binary => true, :optional => true}, WAITFORNEWEVENT => {:type => ::Thrift::Types::BOOL, :name => 'waitForNewEvent', :optional => true}, HISTORYEVENTFILTERTYPE => {:type => ::Thrift::Types::I32, :name => 'HistoryEventFilterType', :optional => true, :enum_class => ::CadenceThrift::HistoryEventFilterType} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
3662 |
# File 'lib/gen/thrift/shared_types.rb', line 3662 def struct_fields; FIELDS; end |
#validate ⇒ Object
3664 3665 3666 3667 3668 |
# File 'lib/gen/thrift/shared_types.rb', line 3664 def validate unless @HistoryEventFilterType.nil? || ::CadenceThrift::HistoryEventFilterType::VALID_VALUES.include?(@HistoryEventFilterType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field HistoryEventFilterType!') end end |