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



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


7430
7431
7432
7433
7434
# File 'lib/airavata.rb', line 7430

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