Details
-
Bug
-
Status: Patch Available
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Firstly, the entity and timelineClient are not defined in the example;
Secondly, "TimelinePutResponse response" is defined twice;
Finally, there is a problem with sequential logic.
Like this:
TimelinePutResponse response = client.putEntities(entity);
...
myEntity.addEvent(event);
TimelinePutResponse response = timelineClient.putEntities(entity);