Class: Airavata::IsUserExists_args
- Inherits:
-
Object
- Object
- Airavata::IsUserExists_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Overview
HELPER FUNCTIONS AND STRUCTURES
Constant Summary collapse
- AUTHZTOKEN =
1
- GATEWAYID =
2
- USERNAME =
3
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayId'}, USERNAME => {:type => ::Thrift::Types::STRING, :name => 'userName'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
6938 |
# File 'lib/airavata.rb', line 6938 def struct_fields; FIELDS; end |
#validate ⇒ Object
6940 6941 6942 6943 6944 |
# File 'lib/airavata.rb', line 6940 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field authzToken is unset!') unless @authzToken raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field gatewayId is unset!') unless @gatewayId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field userName is unset!') unless @userName end |