Class: Airavata::IsSSHSetupCompleteForUserComputeResourcePreference_args
- Inherits:
-
Object
- Object
- Airavata::IsSSHSetupCompleteForUserComputeResourcePreference_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- COMPUTERESOURCEID =
2
- AIRAVATACREDSTORETOKEN =
3
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, COMPUTERESOURCEID => {:type => ::Thrift::Types::STRING, :name => 'computeResourceId'}, AIRAVATACREDSTORETOKEN => {:type => ::Thrift::Types::STRING, :name => 'airavataCredStoreToken'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
13139 |
# File 'lib/airavata.rb', line 13139 def struct_fields; FIELDS; end |
#validate ⇒ Object
13141 13142 13143 13144 13145 |
# File 'lib/airavata.rb', line 13141 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 airavataCredStoreToken is unset!') unless @airavataCredStoreToken end |