Represents a response received from a rest service.