Kgapi
membership.cpp
46 return domainMembership == other.domainMembership && contactGroupMembership == other.contactGroupMembership && metadata == other.metadata;
122 const auto contactGroupMembership = obj.value(QStringLiteral("contactGroupMembership")).toObject();
150 PeopleUtils::addValueToJsonObjectIfValid(obj, "contactGroupMembership", d->contactGroupMembership.toJSON());
152 PeopleUtils::addValueToJsonObjectIfValid(obj, "domainMembership", d->domainMembership.toJSON());
154 // Skip, field metadata is only useful for receiving -> PeopleUtils::addValueToJsonObjectIfValid(obj, "metadata", d->metadata.toJSON());
A Google contact group membership.
Definition contactgroupmembership.h:32
A Google Workspace Domain membership.
Definition domainmembership.h:30
ContactGroupMembership contactGroupMembership() const
The contact group membership.
Definition membership.cpp:92
void setMetadata(const FieldMetadata &value)
Sets value of the metadata property.
Definition membership.cpp:106
void setContactGroupMembership(const ContactGroupMembership &value)
Sets value of the contactGroupMembership property.
Definition membership.cpp:97
bool isEmpty() const const
QJsonValue value(QLatin1StringView key) const const
QJsonObject toObject() const const
void append(QList< T > &&value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:55:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:55:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.