public function getEndCursor() { if (isset($this->obj_last_response->batch) && isset($this->obj_last_response->batch->endCursor)) { return $this->obj_last_response->batch->endCursor; } return null; }