def _get_class():
    orig_init = None
    ordered_keys = ('Source', 'Action', 'Content', 'Id')

    def init(self, *args, **kwargs):
        if ((len(kwargs) == 0) and (len(args) == 1) and (getattr(args[0], '__class__', None) == self.__class__)):
            orig_init(self, args[0])
            return
        kargs = kwargs.copy()
        for (i, arg) in enumerate(args):
            kargs[ordered_keys[i]] = arg
        orig_init(self, **kargs)
    type_name = 'com.sun.star.ucb.ContentEvent'
    struct = uno.getClass(type_name)
    struct.__ooo_ns__ = 'com.sun.star.ucb'
    struct.__ooo_full_ns__ = type_name
    struct.__ooo_type_name__ = 'struct'
    orig_init = struct.__init__
    struct.__init__ = init
    return struct
def _get_class():
    orig_init = None
    ordered_keys = ('Source', 'Action', 'Content', 'Id')

    def init(self, *args, **kwargs):
        if ((len(kwargs) == 0) and (len(args) == 1) and (getattr(args[0], '__class__', None) == self.__class__)):
            orig_init(self, args[0])
            return
        kargs = kwargs.copy()
        for (i, arg) in enumerate(args):
            kargs[ordered_keys[i]] = arg
        orig_init(self, **kargs)
    type_name = 'com.sun.star.ucb.ContentEvent'
    struct = uno.getClass(type_name)
    struct.__ooo_ns__ = 'com.sun.star.ucb'
    struct.__ooo_full_ns__ = type_name
    struct.__ooo_type_name__ = 'struct'
    orig_init = struct.__init__
    struct.__init__ = init
    return struct