Class: Airavata::UpdateSSHJobSubmissionDetails_args
- Inherits:
-
Object
- Object
- Airavata::UpdateSSHJobSubmissionDetails_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- JOBSUBMISSIONINTERFACEID =
2
- SSHJOBSUBMISSION =
3
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, JOBSUBMISSIONINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'jobSubmissionInterfaceId'}, SSHJOBSUBMISSION => {:type => ::Thrift::Types::STRUCT, :name => 'sshJobSubmission', :class => ::SSHJobSubmission} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
11118 |
# File 'lib/airavata.rb', line 11118 def struct_fields; FIELDS; end |
#validate ⇒ Object
11120 11121 11122 11123 11124 |
# File 'lib/airavata.rb', line 11120 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 jobSubmissionInterfaceId is unset!') unless @jobSubmissionInterfaceId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field sshJobSubmission is unset!') unless @sshJobSubmission end |