Class: GetCentroidMetadataResponse
- Inherits:
-
Object
- Object
- GetCentroidMetadataResponse
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gen-rb/relevanced_protocol_types.rb
Constant Summary collapse
- METADATA =
1
- FIELDS =
{ METADATA => {:type => ::Thrift::Types::STRUCT, :name => 'metadata', :class => ::CentroidMetadataDTO} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
221 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 221 def struct_fields; FIELDS; end |
#validate ⇒ Object
223 224 225 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 223 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field metadata is unset!') unless @metadata end |