def fromimportunreg(
        cls, bundle, cid, rsid, import_ref, exception, endpoint
    ):
        # type: (Bundle, Tuple[str, str], Tuple[Tuple[str, str], int], ImportReference, Optional[Tuple[Any, Any, Any]], EndpointDescription) -> RemoteServiceAdminEvent
        """
        Creates a RemoteServiceAdminEvent object from the departure of an
        ImportRegistration
        """
        return RemoteServiceAdminEvent(
            typ=RemoteServiceAdminEvent.IMPORT_UNREGISTRATION,
            bundle=bundle,
            cid=cid,
            rsid=rsid,
            import_ref=import_ref,
            exception=exception,
            endpoint=endpoint,
        )
def fromimportunreg ( cls , bundle , cid , rsid , import_ref , exception , endpoint ) : return RemoteServiceAdminEvent ( typ = RemoteServiceAdminEvent . IMPORT_UNREGISTRATION , bundle = bundle , cid = cid , rsid = rsid , import_ref = import_ref , exception = exception , endpoint = endpoint , )
Creates a RemoteServiceAdminEvent object from the departure of an
        ImportRegistration