Class: DBEventPublisher

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

Constant Summary collapse

PUBLISHERCONTEXT =
1
FIELDS =
{
  PUBLISHERCONTEXT => {:type => ::Thrift::Types::STRUCT, :name => 'publisherContext', :class => ::DBEventPublisherContext}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


77
78
79
# File 'lib/db_event_model_types.rb', line 77

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