Class: ElasticSearch::Thrift::Rest::Execute_args
- Inherits:
-
Object
- Object
- ElasticSearch::Thrift::Rest::Execute_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/elasticsearch/transport/thrift/rest.rb
Overview
HELPER FUNCTIONS AND STRUCTURES
Constant Summary collapse
- REQUEST =
1
- FIELDS =
{ REQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'request', :class => ElasticSearch::Thrift::RestRequest} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
55 |
# File 'lib/elasticsearch/transport/thrift/rest.rb', line 55 def struct_fields; FIELDS; end |
#validate ⇒ Object
57 58 59 |
# File 'lib/elasticsearch/transport/thrift/rest.rb', line 57 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field request is unset!') unless @request end |