Class: Airavata::UpdateGridFTPDataMovementDetails_args

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

Constant Summary collapse

AUTHZTOKEN =
1
DATAMOVEMENTINTERFACEID =
2
GRIDFTPDATAMOVEMENT =
3
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  DATAMOVEMENTINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'dataMovementInterfaceId'},
  GRIDFTPDATAMOVEMENT => {:type => ::Thrift::Types::STRUCT, :name => 'gridFTPDataMovement', :class => ::GridFTPDataMovement}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


11758
11759
11760
11761
11762
# File 'lib/airavata.rb', line 11758

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