Class: DeleteDocumentRequest
- Inherits:
-
Object
- Object
- DeleteDocumentRequest
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gen-rb/relevanced_protocol_types.rb
Constant Summary collapse
- ID =
1- IGNOREMISSING =
2- FIELDS =
{ ID => {:type => ::Thrift::Types::STRING, :name => 'id'}, IGNOREMISSING => {:type => ::Thrift::Types::BOOL, :name => 'ignoreMissing', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
325 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 325 def struct_fields; FIELDS; end |
#validate ⇒ Object
327 328 329 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 327 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field id is unset!') unless @id end |