KGAPI2::People::ContactGroupMembership
#include <contactgroupmembership.h>
Public Member Functions | |
ContactGroupMembership () | |
ContactGroupMembership (const ContactGroupMembership &) | |
ContactGroupMembership (ContactGroupMembership &&) noexcept | |
~ContactGroupMembership () | |
QString | contactGroupId () const |
QString | contactGroupResourceName () const |
bool | operator!= (const ContactGroupMembership &) const |
ContactGroupMembership & | operator= (const ContactGroupMembership &) |
ContactGroupMembership & | operator= (ContactGroupMembership &&) noexcept |
bool | operator== (const ContactGroupMembership &) const |
void | setContactGroupResourceName (const QString &value) |
QJsonValue | toJSON () const |
Static Public Member Functions | |
static ContactGroupMembership | fromJSON (const QJsonObject &) |
Detailed Description
A Google contact group membership.
- Since
- 5.23.0
Definition at line 31 of file contactgroupmembership.h.
Constructor & Destructor Documentation
◆ ContactGroupMembership()
|
explicit |
Constructs a new ContactGroupMembership.
Definition at line 46 of file contactgroupmembership.cpp.
◆ ~ContactGroupMembership()
|
default |
Destructor.
Member Function Documentation
◆ contactGroupId()
QString KGAPI2::People::ContactGroupMembership::contactGroupId | ( | ) | const |
Output only.
The contact group ID for the contact group membership.
Definition at line 76 of file contactgroupmembership.cpp.
◆ contactGroupResourceName()
QString KGAPI2::People::ContactGroupMembership::contactGroupResourceName | ( | ) | const |
The resource name for the contact group, assigned by the server.
An ASCII string, in the form of contactGroups/{contact_group_id}
. Only contact_group_resource_name can be used for modifying memberships. Any contact group membership can be removed, but only user group or "myContacts" or "starred" system groups memberships can be added. A contact must always have at least one contact group membership.
Definition at line 67 of file contactgroupmembership.cpp.
◆ fromJSON()
|
static |
Definition at line 81 of file contactgroupmembership.cpp.
◆ operator!=()
bool KGAPI2::People::ContactGroupMembership::operator!= | ( | const ContactGroupMembership & | other | ) | const |
Definition at line 62 of file contactgroupmembership.cpp.
◆ operator==()
bool KGAPI2::People::ContactGroupMembership::operator== | ( | const ContactGroupMembership & | other | ) | const |
Definition at line 57 of file contactgroupmembership.cpp.
◆ setContactGroupResourceName()
void KGAPI2::People::ContactGroupMembership::setContactGroupResourceName | ( | const QString & | value | ) |
Sets value of the contactGroupResourceName property.
Definition at line 72 of file contactgroupmembership.cpp.
◆ toJSON()
QJsonValue KGAPI2::People::ContactGroupMembership::toJSON | ( | ) | const |
Definition at line 93 of file contactgroupmembership.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.