C# models for events received from the rules

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [x] Documentation issue or request

Current behavior

The SDK doesn’t have the models the decode the events json payload generated by the rules (in my case sent through an Azure Queue), for example the EnrichedContentEvent.

Expected behavior

The C# SDK should contain the models to manage the events generated by the rules.

Environment

  • [x] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version

Version: 5.5.0.0

Good point, do you want to provide a PR for that? :wink:

Ahah ok I will. I asked because I was not sure if there were some hidden class somewhere.

No, but It should be as easy as copy/pasting it from the code. I am also planning to expose a few endpoints in the API that provide JSON schemas for these models, so that you can use them in other programming languages.