# This file was automatically generated by SWIG (https://www.swig.org). # Version 4.1.1 # # Do not make changes to this file unless you know what you are doing - modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info # Import the low-level C/C++ module if __package__ or "." in __name__: from . import _delegation else: from arc import _delegation try: import builtins as __builtin__ except ImportError: import __builtin__ def _swig_repr(self): try: strthis = "proxy of " + self.this.__repr__() except __builtin__.Exception: strthis = "" return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,) def _swig_setattr_nondynamic_instance_variable(set): def set_instance_attr(self, name, value): if name == "this": set(self, name, value) elif name == "thisown": self.this.own(value) elif hasattr(self, name) and isinstance(getattr(type(self), name), property): set(self, name, value) else: raise AttributeError("You cannot add instance attributes to %s" % self) return set_instance_attr def _swig_setattr_nondynamic_class_variable(set): def set_class_attr(cls, name, value): if hasattr(cls, name) and not isinstance(getattr(cls, name), property): set(cls, name, value) else: raise AttributeError("You cannot add class attributes to %s" % cls) return set_class_attr def _swig_add_metaclass(metaclass): """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass""" def wrapper(cls): return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy()) return wrapper class _SwigNonDynamicMeta(type): """Meta class to enforce nondynamic attributes (no new attributes) for a class""" __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__) class SwigPyIterator(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract") __repr__ = _swig_repr __swig_destroy__ = _delegation.delete_SwigPyIterator def value(self): return _delegation.SwigPyIterator_value(self) def incr(self, n=1): return _delegation.SwigPyIterator_incr(self, n) def decr(self, n=1): return _delegation.SwigPyIterator_decr(self, n) def distance(self, x): return _delegation.SwigPyIterator_distance(self, x) def equal(self, x): return _delegation.SwigPyIterator_equal(self, x) def copy(self): return _delegation.SwigPyIterator_copy(self) def next(self): return _delegation.SwigPyIterator_next(self) def __next__(self): return _delegation.SwigPyIterator___next__(self) def previous(self): return _delegation.SwigPyIterator_previous(self) def advance(self, n): return _delegation.SwigPyIterator_advance(self, n) def __eq__(self, x): return _delegation.SwigPyIterator___eq__(self, x) def __ne__(self, x): return _delegation.SwigPyIterator___ne__(self, x) def __iadd__(self, n): return _delegation.SwigPyIterator___iadd__(self, n) def __isub__(self, n): return _delegation.SwigPyIterator___isub__(self, n) def __add__(self, n): return _delegation.SwigPyIterator___add__(self, n) def __sub__(self, *args): return _delegation.SwigPyIterator___sub__(self, *args) def __iter__(self): return self # Register SwigPyIterator in _delegation: _delegation.SwigPyIterator_swigregister(SwigPyIterator) import warnings def deprecated(method): """This decorator is used to mark python methods as deprecated, _not_ functions. It will result in a warning being emmitted when the method is used.""" def newMethod(*args, **kwargs): warnings.warn("Call to deprecated method 'arc.%s.%s'." % (args[0].__class__.__name__, method.__name__), category = DeprecationWarning, stacklevel = 2) return method(*args, **kwargs) newMethod.__name__ = method.__name__ newMethod.__doc__ = method.__doc__ newMethod.__dict__.update(method.__dict__) return newMethod class StaticPropertyWrapper(object): def __init__(self, wrapped_class): object.__setattr__(self, "wrapped_class", wrapped_class) def __getattr__(self, name): orig_attr = getattr(self.wrapped_class, name) if isinstance(orig_attr, property): return orig_attr.fget() else: return orig_attr def __setattr__(self, name, value): orig_attr = getattr(self.wrapped_class, name) if isinstance(orig_attr, property): orig_attr.fset(value) else: setattr(self.wrapped_class, name, value) class DelegationConsumer(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def __init__(self, *args): _delegation.DelegationConsumer_swiginit(self, _delegation.new_DelegationConsumer(*args)) __swig_destroy__ = _delegation.delete_DelegationConsumer def __nonzero__(self): return _delegation.DelegationConsumer___nonzero__(self) __bool__ = __nonzero__ def ID(self): return _delegation.DelegationConsumer_ID(self) def Backup(self): return _delegation.DelegationConsumer_Backup(self) def Restore(self, content): return _delegation.DelegationConsumer_Restore(self, content) def Request(self): return _delegation.DelegationConsumer_Request(self) def Acquire(self): return _delegation.DelegationConsumer_Acquire(self) # Register DelegationConsumer in _delegation: _delegation.DelegationConsumer_swigregister(DelegationConsumer) class DelegationProvider(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def __init__(self, *args): _delegation.DelegationProvider_swiginit(self, _delegation.new_DelegationProvider(*args)) __swig_destroy__ = _delegation.delete_DelegationProvider def __nonzero__(self): return _delegation.DelegationProvider___nonzero__(self) __bool__ = __nonzero__ def Delegate(self, *args): return _delegation.DelegationProvider_Delegate(self, *args) # Register DelegationProvider in _delegation: _delegation.DelegationProvider_swigregister(DelegationProvider) class DelegationConsumerSOAP(DelegationConsumer): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def __init__(self, *args): _delegation.DelegationConsumerSOAP_swiginit(self, _delegation.new_DelegationConsumerSOAP(*args)) __swig_destroy__ = _delegation.delete_DelegationConsumerSOAP def DelegateCredentialsInit(self, id, _in, out): return _delegation.DelegationConsumerSOAP_DelegateCredentialsInit(self, id, _in, out) def UpdateCredentials(self, _in, out): return _delegation.DelegationConsumerSOAP_UpdateCredentials(self, _in, out) def DelegatedToken(self, token): return _delegation.DelegationConsumerSOAP_DelegatedToken(self, token) # Register DelegationConsumerSOAP in _delegation: _delegation.DelegationConsumerSOAP_swigregister(DelegationConsumerSOAP) class DelegationProviderSOAP(DelegationProvider): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr ARCDelegation = _delegation.DelegationProviderSOAP_ARCDelegation GDS10 = _delegation.DelegationProviderSOAP_GDS10 GDS10RENEW = _delegation.DelegationProviderSOAP_GDS10RENEW GDS20 = _delegation.DelegationProviderSOAP_GDS20 GDS20RENEW = _delegation.DelegationProviderSOAP_GDS20RENEW EMIES = _delegation.DelegationProviderSOAP_EMIES EMIDS = _delegation.DelegationProviderSOAP_EMIDS EMIDSRENEW = _delegation.DelegationProviderSOAP_EMIDSRENEW def __init__(self, *args): _delegation.DelegationProviderSOAP_swiginit(self, _delegation.new_DelegationProviderSOAP(*args)) __swig_destroy__ = _delegation.delete_DelegationProviderSOAP def DelegateCredentialsInit(self, *args): return _delegation.DelegationProviderSOAP_DelegateCredentialsInit(self, *args) def UpdateCredentials(self, *args): return _delegation.DelegationProviderSOAP_UpdateCredentials(self, *args) def DelegatedToken(self, parent): return _delegation.DelegationProviderSOAP_DelegatedToken(self, parent) def ID(self, *args): return _delegation.DelegationProviderSOAP_ID(self, *args) # Register DelegationProviderSOAP in _delegation: _delegation.DelegationProviderSOAP_swigregister(DelegationProviderSOAP) class DelegationContainerSOAP(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def __init__(self): _delegation.DelegationContainerSOAP_swiginit(self, _delegation.new_DelegationContainerSOAP()) __swig_destroy__ = _delegation.delete_DelegationContainerSOAP def DelegatedToken(self, *args): return _delegation.DelegationContainerSOAP_DelegatedToken(self, *args) def Process(self, *args): return _delegation.DelegationContainerSOAP_Process(self, *args) def MatchNamespace(self, _in): return _delegation.DelegationContainerSOAP_MatchNamespace(self, _in) def GetFailure(self): return _delegation.DelegationContainerSOAP_GetFailure(self) # Register DelegationContainerSOAP in _delegation: _delegation.DelegationContainerSOAP_swigregister(DelegationContainerSOAP)