Class: MultiJoinCentroidsRequest

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
IGNOREMISSING =
2
FIELDS =
{
  IDS => {:type => ::Thrift::Types::LIST, :name => 'ids', :element => {:type => ::Thrift::Types::STRING}},
  IGNOREMISSING => {:type => ::Thrift::Types::BOOL, :name => 'ignoreMissing', :optional => true}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


641
642
643
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 641

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