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