KGAPI2::People::DomainMembership

Search for usage in LXR

KGAPI2::People::DomainMembership Class Reference

#include <domainmembership.h>

Public Member Functions

 DomainMembership ()
 
 DomainMembership (const DomainMembership &)
 
 DomainMembership (DomainMembership &&) noexcept
 
 ~DomainMembership ()
 
bool inViewerDomain () const
 
bool operator!= (const DomainMembership &) const
 
DomainMembershipoperator= (const DomainMembership &)
 
DomainMembershipoperator= (DomainMembership &&) noexcept
 
bool operator== (const DomainMembership &) const
 
void setInViewerDomain (bool value)
 
QJsonValue toJSON () const
 

Static Public Member Functions

static DomainMembership fromJSON (const QJsonObject &)
 

Detailed Description

A Google Workspace Domain membership.

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

Definition at line 29 of file domainmembership.h.

Constructor & Destructor Documentation

◆ DomainMembership()

KGAPI2::People::DomainMembership::DomainMembership ( )
explicit

Constructs a new DomainMembership.

Definition at line 44 of file domainmembership.cpp.

◆ ~DomainMembership()

KGAPI2::People::DomainMembership::~DomainMembership ( )
default

Destructor.

Member Function Documentation

◆ fromJSON()

DomainMembership KGAPI2::People::DomainMembership::fromJSON ( const QJsonObject & obj)
staticnodiscard

Definition at line 75 of file domainmembership.cpp.

◆ inViewerDomain()

bool KGAPI2::People::DomainMembership::inViewerDomain ( ) const
nodiscard

True if the person is in the viewer's Google Workspace domain.

Definition at line 65 of file domainmembership.cpp.

◆ operator!=()

bool KGAPI2::People::DomainMembership::operator!= ( const DomainMembership & other) const

Definition at line 60 of file domainmembership.cpp.

◆ operator==()

bool KGAPI2::People::DomainMembership::operator== ( const DomainMembership & other) const

Definition at line 55 of file domainmembership.cpp.

◆ setInViewerDomain()

void KGAPI2::People::DomainMembership::setInViewerDomain ( bool value)

Sets value of the inViewerDomain property.

Definition at line 70 of file domainmembership.cpp.

◆ toJSON()

QJsonValue KGAPI2::People::DomainMembership::toJSON ( ) const
nodiscard

Definition at line 86 of file domainmembership.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 4 2024 16:36:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.