Class: Airavata::GetParser_args

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

Constant Summary collapse

AUTHZTOKEN =
1
PARSERID =
2
GATEWAYID =
3
FIELDS =
{
  AUTHZTOKEN => {:type => ::Thrift::Types::STRUCT, :name => 'authzToken', :class => ::AuthzToken},
  PARSERID => {:type => ::Thrift::Types::STRING, :name => 'parserId'},
  GATEWAYID => {:type => ::Thrift::Types::STRING, :name => 'gatewayId'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


15376
15377
15378
15379
15380
# File 'lib/airavata.rb', line 15376

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