Class: Airavata::DeleteDataMovementInterface_args
- Inherits:
-
Object
- Object
- Airavata::DeleteDataMovementInterface_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/airavata.rb
Constant Summary collapse
- AUTHZTOKEN =
1
- PRODUCTURI =
2
- DATAMOVEMENTINTERFACEID =
3
- DATAMOVETYPE =
4
- FIELDS =
{ AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken}, PRODUCTURI => {:type => ::Thrift::Types::STRING, :name => 'productUri'}, DATAMOVEMENTINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'dataMovementInterfaceId'}, DATAMOVETYPE => {:type => ::Thrift::Types::I32, :name => 'dataMoveType', :enum_class => ::DMType} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
12078 |
# File 'lib/airavata.rb', line 12078 def struct_fields; FIELDS; end |
#validate ⇒ Object
12080 12081 12082 12083 12084 12085 12086 12087 12088 |
# File 'lib/airavata.rb', line 12080 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 productUri is unset!') unless @productUri raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dataMovementInterfaceId is unset!') unless @dataMovementInterfaceId raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dataMoveType is unset!') unless @dataMoveType unless @dataMoveType.nil? || ::DMType::VALID_VALUES.include?(@dataMoveType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field dataMoveType!') end end |