Class: Hexspace::TGetDelegationTokenResp
- Inherits:
-
Object
- Object
- Hexspace::TGetDelegationTokenResp
- 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
- DELEGATIONTOKEN =
2
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Hexspace::TStatus}, DELEGATIONTOKEN => {:type => ::Thrift::Types::STRING, :name => 'delegationToken', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1958 |
# File 'lib/hexspace/tcli_service_types.rb', line 1958 def struct_fields; FIELDS; end |
#validate ⇒ Object
1960 1961 1962 |
# File 'lib/hexspace/tcli_service_types.rb', line 1960 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status end |