Class: Hive2::Thrift::THandleIdentifier
- Inherits:
-
Object
- Object
- Hive2::Thrift::THandleIdentifier
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/thrift/t_c_l_i_service_types.rb
Constant Summary collapse
- GUID =
1
- SECRET =
2
- FIELDS =
{ GUID => {:type => ::Thrift::Types::STRING, :name => 'guid', :binary => true}, SECRET => {:type => ::Thrift::Types::STRING, :name => 'secret', :binary => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
718 |
# File 'lib/thrift/t_c_l_i_service_types.rb', line 718 def struct_fields; FIELDS; end |
#validate ⇒ Object
720 721 722 723 |
# File 'lib/thrift/t_c_l_i_service_types.rb', line 720 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field guid is unset!') unless @guid raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field secret is unset!') unless @secret end |