Class: Airavata::GetAvailableAppInterfaceComputeResources_args
- Inherits:
-
Object
- Object
- Airavata::GetAvailableAppInterfaceComputeResources_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- APPINTERFACEID =
2
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, APPINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'appInterfaceId'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
10159 |
# File 'lib/airavata.rb', line 10159 def struct_fields; FIELDS; end |
#validate ⇒ Object
10161 10162 10163 10164 |
# File 'lib/airavata.rb', line 10161 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 appInterfaceId is unset!') unless @appInterfaceId end |