Class: Airavata::UpdateSCPDataMovementDetails_args

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

Constant Summary collapse

AUTHZTOKEN =
1
DATAMOVEMENTINTERFACEID =
2
SCPDATAMOVEMENT =
3
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  DATAMOVEMENTINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'dataMovementInterfaceId'},
  SCPDATAMOVEMENT => {:type => ::Thrift::Types::STRUCT, :name => 'scpDataMovement', :class => ::SCPDataMovement}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


11464
11465
11466
11467
11468
# File 'lib/airavata.rb', line 11464

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