intercom / intercom-java

Java bindings for the Intercom API
https://developers.intercom.io/reference
Apache License 2.0
64 stars 68 forks source link

Add conversation ratings support #235

Closed thewheat closed 6 years ago

thewheat commented 6 years ago

Why?

Current code does not support reading conversation ratings of a conversation

How?

Add extra code to support reading conversation ratings

Open to feedback for the Customer and Teammate classes. They look the same currently so maybe best to make it a single class or inherit from one?

thewheat commented 6 years ago

I've added a Participant class in https://github.com/intercom/intercom-java/pull/241 which is an addition to the Customer class. Before we merge this: I think we should think if having both Participant and Customer would be the best way to go because on the API end the input and output both refer to "customer"