Class: Hexspace::TGetInfoResp
- Inherits:
-
Object
- Object
- Hexspace::TGetInfoResp
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hexspace/tcli_service_types.rb,
lib/hexspace/tcli_service_types.rb
Constant Summary collapse
- STATUS =
1
- INFOVALUE =
2
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Hexspace::TStatus}, INFOVALUE => {:type => ::Thrift::Types::STRUCT, :name => 'infoValue', :class => ::Hexspace::TGetInfoValue} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1291 |
# File 'lib/hexspace/tcli_service_types.rb', line 1291 def struct_fields; FIELDS; end |
#validate ⇒ Object
1293 1294 1295 1296 |
# File 'lib/hexspace/tcli_service_types.rb', line 1293 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 |