Class: Airavata::UpdateLocalDataMovementDetails_args

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

Constant Summary collapse

AUTHZTOKEN =
1
DATAMOVEMENTINTERFACEID =
2
LOCALDATAMOVEMENT =
3
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  DATAMOVEMENTINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'dataMovementInterfaceId'},
  LOCALDATAMOVEMENT => {:type => ::Thrift::Types::STRUCT, :name => 'localDataMovement', :class => ::LOCALDataMovement}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


11317
11318
11319
11320
11321
# File 'lib/airavata.rb', line 11317

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 localDataMovement is unset!') unless @localDataMovement
end