Class: CreateCentroidResponse
- Inherits:
-
Object
- Object
- CreateCentroidResponse
- 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::STRING, :name => 'created'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
431 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 431 def struct_fields; FIELDS; end |
#validate ⇒ Object
433 434 435 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 433 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field created is unset!') unless @created end |