Class: Airavata::UpdateApplicationInterface_args
- Inherits:
-
Object
- Object
- Airavata::UpdateApplicationInterface_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- APPINTERFACEID =
2
- APPLICATIONINTERFACE =
3
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, APPINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'appInterfaceId'}, APPLICATIONINTERFACE => {:type => ::Thrift::Types::STRUCT, :name => 'applicationInterface', :class => ::ApplicationInterfaceDescription} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
9894 |
# File 'lib/airavata.rb', line 9894 def struct_fields; FIELDS; end |
#validate ⇒ Object
9896 9897 9898 9899 9900 |
# File 'lib/airavata.rb', line 9896 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 raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field applicationInterface is unset!') unless @applicationInterface end |