def METHOD_NAME(self) -> Optional[str]:
    wire_name = self.yaml_data.get("continuationTokenName")
    if not wire_name:
        # That's an ok scenario, it just means no next page possible
        return None
    if self.code_model.options["models_mode"] == "msrest":
        return self._get_attr_name(wire_name)
    return wire_name