Class: Airavata::DeleteNotification_args

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

Constant Summary collapse

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

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


7383
7384
7385
7386
7387
# File 'lib/airavata.rb', line 7383

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