Class: MultiCreateCentroidsRequest
- Inherits:
-
Object
- Object
- MultiCreateCentroidsRequest
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gen-rb/relevanced_protocol_types.rb
Constant Summary collapse
- IDS =
1
- IGNOREEXISTING =
2
- FIELDS =
{ IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::STRING}}, IGNOREEXISTING => {:type => ::Thrift::Types::BOOL, :name => 'ignoreExisting', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
469 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 469 def struct_fields; FIELDS; end |
#validate ⇒ Object
471 472 473 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 471 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field ids is unset!') unless @ids end |