@classmethod
def from_payload(cls, payload):
    """
        Create NamedUser object based on results from a NamedUserList iterator.
        :param payload: Payload used to create the NamedUser object

        """
    for key in payload:
        setattr(cls, key, payload[key])
    return cls
