Class: Airavata::UpdateUnicoreDataMovementDetails_args

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/airavata.rb

Constant Summary collapse

AUTHZTOKEN =
1
DATAMOVEMENTINTERFACEID =
2
UNICOREDATAMOVEMENT =
3
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  DATAMOVEMENTINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'dataMovementInterfaceId'},
  UNICOREDATAMOVEMENT => {:type => ::Thrift::Types::STRUCT, :name => 'unicoreDataMovement', :class => ::UnicoreDataMovement}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



11609
# File 'lib/airavata.rb', line 11609

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


11611
11612
11613
11614
11615
# File 'lib/airavata.rb', line 11611

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 dataMovementInterfaceId is unset!') unless @dataMovementInterfaceId
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field unicoreDataMovement is unset!') unless @unicoreDataMovement
end