Updated Line type to enum as per latest SDK