code: 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
          
          return RemoteServiceAdminEvent(
              typ=RemoteServiceAdminEvent.IMPORT_UNREGISTRATION,
              bundle=bundle,
              cid=cid,
              rsid=rsid,
              import_ref=import_ref,
              exception=exception,
              endpoint=endpoint,
          )
docs: Creates a RemoteServiceAdminEvent object from the departure of an
          ImportRegistration