def get_type_id(self, version: int, returnTypeId: str) -> str:
    res = ['P']
    if self.volatile:
        res.append('V')
    if self.const:
        res.append('C')
    res.append(returnTypeId)
    return self.next.get_type_id(version, returnTypeId=''.join(res))
def get_type_id(self, version: int, returnTypeId: str) -> str:
    res = ['P']
    if self.volatile:
        res.append('V')
    if self.const:
        res.append('C')
    res.append(returnTypeId)
    return self.next.get_type_id(version, returnTypeId=.join(res))