Class: MultiCreateCentroidsResponse

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

Constant Summary collapse

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

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


488
489
490
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 488

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