Class: ListCentroidDocumentsResponse
- Inherits:
-
Object
- Object
- ListCentroidDocumentsResponse
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gen-rb/relevanced_protocol_types.rb
Constant Summary collapse
- DOCUMENTS =
1
- FIELDS =
{ DOCUMENTS => {:type => ::Thrift::Types::LIST, :name => 'documents', :element => {:type => ::Thrift::Types::STRING}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
255 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 255 def struct_fields; FIELDS; end |
#validate ⇒ Object
257 258 259 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 257 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field documents is unset!') unless @documents end |