Class: CreateDocumentResponse
- Inherits:
-
Object
- Object
- CreateDocumentResponse
- 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
306 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 306 def struct_fields; FIELDS; end |
#validate ⇒ Object
308 309 310 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 308 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field id is unset!') unless @id end |