Class: ApplicationInterfaceDescription
- Inherits:
-
Object
- Object
- ApplicationInterfaceDescription
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/application_interface_model_types.rb
Overview
Application Interface Description
applicationModules:
Associate all application modules with versions which interface is applicable to.
applicationInputs:
Inputs to be passed to the application
applicationOutputs:
Outputs generated from the application
Constant Summary collapse
- APPLICATIONINTERFACEID =
1
- APPLICATIONNAME =
2
- APPLICATIONDESCRIPTION =
3
- APPLICATIONMODULES =
4
- APPLICATIONINPUTS =
5
- APPLICATIONOUTPUTS =
6
- ARCHIVEWORKINGDIRECTORY =
7
- HASOPTIONALFILEINPUTS =
8
- FIELDS =
{ APPLICATIONINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'applicationInterfaceId', :default => %q"DO_NOT_SET_AT_CLIENTS"}, APPLICATIONNAME => {:type => ::Thrift::Types::STRING, :name => 'applicationName'}, APPLICATIONDESCRIPTION => {:type => ::Thrift::Types::STRING, :name => 'applicationDescription', :optional => true}, APPLICATIONMODULES => {:type => ::Thrift::Types::LIST, :name => 'applicationModules', :element => {:type => ::Thrift::Types::STRING}, :optional => true}, APPLICATIONINPUTS => {:type => ::Thrift::Types::LIST, :name => 'applicationInputs', :element => {:type => ::Thrift::Types::STRUCT, :class => ::InputDataObjectType}, :optional => true}, APPLICATIONOUTPUTS => {:type => ::Thrift::Types::LIST, :name => 'applicationOutputs', :element => {:type => ::Thrift::Types::STRUCT, :class => ::OutputDataObjectType}, :optional => true}, ARCHIVEWORKINGDIRECTORY => {:type => ::Thrift::Types::BOOL, :name => 'archiveWorkingDirectory', :default => false, :optional => true}, HASOPTIONALFILEINPUTS => {:type => ::Thrift::Types::BOOL, :name => 'hasOptionalFileInputs', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
45 |
# File 'lib/application_interface_model_types.rb', line 45 def struct_fields; FIELDS; end |
#validate ⇒ Object
47 48 49 50 |
# File 'lib/application_interface_model_types.rb', line 47 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field applicationInterfaceId is unset!') unless @applicationInterfaceId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field applicationName is unset!') unless @applicationName end |