public function setTypeId($id)
    {
        if (!WorkoutType::exist($id)) {
            throw new EndomondoWorkoutException('Unknown workout type');
        };

        $this->typeId = $id;
        return $this;
    }