MambuPy.rest1to2.mambuclient

Classes

MambuClient(*args, **kwargs)

MambuClients(*args, **kwargs)

class MambuPy.rest1to2.mambuclient.MambuClient(*args, **kwargs)[source]

Bases: MambuStruct, MambuClient

__init__(*args, **kwargs)[source]

Tasks done here:

Just initializes the MambuStruct.

__module__ = 'MambuPy.rest1to2.mambuclient'
postprocess()[source]
preprocess()[source]
setGroups(*args, **kwargs)[source]

Adds the groups to which this client belongs.

The ‘groupKeys’ field of the client holds a list of the encodedKeys of the groups to which this client belongs.

Returns the number of requests done to Mambu.

updatePatch(data, *args, **kwargs)[source]
class MambuPy.rest1to2.mambuclient.MambuClients(*args, **kwargs)[source]

Bases: MambuStruct, MambuClients

__init__(*args, **kwargs)[source]

By default, entid argument is empty. That makes perfect sense: you want several clients, not just one

__iter__()[source]
__module__ = 'MambuPy.rest1to2.mambuclient'
__repr__()[source]

Mambu object repr tells the class name and the usual ‘id’ for it.

If an iterable, it instead gives its length.