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
209 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 209 def struct_fields; FIELDS; end |
#validate ⇒ Object
211 212 213 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 211 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field metadata is unset!') unless @metadata end |