Class: Airavata::DoesUserHaveSSHAccount_args
- Inherits:
-
Object
- Object
- Airavata::DoesUserHaveSSHAccount_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- COMPUTERESOURCEID =
2
- USERID =
3
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, COMPUTERESOURCEID => {:type => ::Thrift::Types::STRING, :name => 'computeResourceId'}, USERID => {:type => ::Thrift::Types::STRING, :name => 'userId'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
13092 |
# File 'lib/airavata.rb', line 13092 def struct_fields; FIELDS; end |
#validate ⇒ Object
13094 13095 13096 13097 13098 |
# File 'lib/airavata.rb', line 13094 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 computeResourceId is unset!') unless @computeResourceId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field userId is unset!') unless @userId end |