Class: DBEventSubscriber

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

Constant Summary collapse

SUBSCRIBERSERVICE =
1
FIELDS =
{
  SUBSCRIBERSERVICE => {:type => ::Thrift::Types::STRING, :name => 'subscriberService'}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



92
# File 'lib/db_event_model_types.rb', line 92

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


94
95
96
# File 'lib/db_event_model_types.rb', line 94

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field subscriberService is unset!') unless @subscriberService
end