KGAPI2::People::ContactGroupMembership

Search for usage in LXR

KGAPI2::People::ContactGroupMembership Class Reference

#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
 
ContactGroupMembershipoperator= (const ContactGroupMembership &)
 
ContactGroupMembershipoperator= (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.

See also
https://developers.google.com/people/api/rest/v1/people#contactgroupmembership
Since
5.23.0

Definition at line 31 of file contactgroupmembership.h.

Constructor & Destructor Documentation

◆ ContactGroupMembership()

KGAPI2::People::ContactGroupMembership::ContactGroupMembership ( )
explicit

Constructs a new ContactGroupMembership.

Definition at line 46 of file contactgroupmembership.cpp.

◆ ~ContactGroupMembership()

KGAPI2::People::ContactGroupMembership::~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()

ContactGroupMembership KGAPI2::People::ContactGroupMembership::fromJSON ( const QJsonObject & obj)
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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.