Class: Airavata::RemoveParser_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



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


15511
15512
15513
15514
15515
# File 'lib/airavata.rb', line 15511

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