Class: DeleteDocumentResponse
- Inherits:
-
Object
- Object
- DeleteDocumentResponse
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gen-rb/relevanced_protocol_types.rb
Constant Summary collapse
- ID =
1
- FIELDS =
{ ID => {:type => ::Thrift::Types::STRING, :name => 'id'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
342 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 342 def struct_fields; FIELDS; end |
#validate ⇒ Object
344 345 346 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 344 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field id is unset!') unless @id end |