Class: Hive2::Thrift::TGetInfoResp
- Inherits:
-
Object
- Object
- Hive2::Thrift::TGetInfoResp
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/thrift/t_c_l_i_service_types.rb
Constant Summary collapse
- STATUS =
1
- INFOVALUE =
2
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Hive2::Thrift::TStatus}, INFOVALUE => {:type => ::Thrift::Types::STRUCT, :name => 'infoValue', :class => ::Hive2::Thrift::TGetInfoValue} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
946 |
# File 'lib/thrift/t_c_l_i_service_types.rb', line 946 def struct_fields; FIELDS; end |
#validate ⇒ Object
948 949 950 951 |
# File 'lib/thrift/t_c_l_i_service_types.rb', line 948 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field infoValue is unset!') unless @infoValue end |