Class: Airavata::ChangeDataMovementPriority_args

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

Constant Summary collapse

AUTHZTOKEN =
1
DATAMOVEMENTINTERFACEID =
2
NEWPRIORITYORDER =
3
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  DATAMOVEMENTINTERFACEID => {:type => ::Thrift::Types::STRING, :name => 'dataMovementInterfaceId'},
  NEWPRIORITYORDER => {:type => ::Thrift::Types::I32, :name => 'newPriorityOrder'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


11896
11897
11898
11899
11900
# File 'lib/airavata.rb', line 11896

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