Class: JoinCentroidRequest
- Inherits:
-
Object
- Object
- JoinCentroidRequest
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/gen-rb/relevanced_protocol_types.rb
Constant Summary collapse
- ID =
1
- IGNOREMISSING =
2
- FIELDS =
{ ID => {:type => ::Thrift::Types::STRING, :name => 'id'}, IGNOREMISSING => {:type => ::Thrift::Types::BOOL, :name => 'ignoreMissing', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
678 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 678 def struct_fields; FIELDS; end |
#validate ⇒ Object
680 681 682 |
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 680 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field id is unset!') unless @id end |