Class: MultiDeleteCentroidsResponse

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/gen-rb/relevanced_protocol_types.rb

Constant Summary collapse

IDS =
1
FIELDS =
{
  IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::STRING}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



414
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 414

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


416
417
418
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 416

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field ids is unset!') unless @ids
end