Class: Airavata::UpdateCloudJobSubmissionDetails_args
- Inherits:
-
Object
- Object
- Airavata::UpdateCloudJobSubmissionDetails_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 => ::CloudJobSubmission} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
11165 |
# File 'lib/airavata.rb', line 11165 def struct_fields; FIELDS; end |
#validate ⇒ Object
11167 11168 11169 11170 11171 |
# File 'lib/airavata.rb', line 11167 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 |