Class: Hexspace::TRenewDelegationTokenResp
- Inherits:
-
Object
- Object
- Hexspace::TRenewDelegationTokenResp
- 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
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Hexspace::TStatus} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
2032 |
# File 'lib/hexspace/tcli_service_types.rb', line 2032 def struct_fields; FIELDS; end |
#validate ⇒ Object
2034 2035 2036 |
# File 'lib/hexspace/tcli_service_types.rb', line 2034 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status end |