KGAPI2::People::Organization

Search for usage in LXR

KGAPI2::People::Organization Class Reference

#include <organization.h>

Public Member Functions

 Organization ()
 
 Organization (const Organization &)
 
 Organization (Organization &&) noexcept
 
 ~Organization ()
 
QString costCenter () const
 
bool current () const
 
QString department () const
 
QString domain () const
 
QDate endDate () const
 
QString formattedType () const
 
int fullTimeEquivalentMillipercent () const
 
bool hasSetCurrent () const
 
bool hasSetFullTimeEquivalentMillipercent () const
 
QString jobDescription () const
 
QString location () const
 
FieldMetadata metadata () const
 
QString name () const
 
bool operator!= (const Organization &) const
 
Organizationoperator= (const Organization &)
 
Organizationoperator= (Organization &&) noexcept
 
bool operator== (const Organization &) const
 
QString phoneticName () const
 
void setCostCenter (const QString &value)
 
void setCurrent (bool value)
 
void setDepartment (const QString &value)
 
void setDomain (const QString &value)
 
void setEndDate (const QDate &value)
 
void setFullTimeEquivalentMillipercent (int value)
 
void setJobDescription (const QString &value)
 
void setLocation (const QString &value)
 
void setMetadata (const FieldMetadata &value)
 
void setName (const QString &value)
 
void setPhoneticName (const QString &value)
 
void setStartDate (const QDate &value)
 
void setSymbol (const QString &value)
 
void setTitle (const QString &value)
 
void setType (const QString &value)
 
QDate startDate () const
 
QString symbol () const
 
QString title () const
 
QJsonValue toJSON () const
 
QString type () const
 

Static Public Member Functions

static Organization fromJSON (const QJsonObject &)
 
static QList< OrganizationfromJSONArray (const QJsonArray &data)
 

Detailed Description

A person's past or current organization.

Overlapping date ranges are permitted.

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

Definition at line 34 of file organization.h.

Constructor & Destructor Documentation

◆ Organization()

KGAPI2::People::Organization::Organization ( )
explicit

Constructs a new Organization.

Definition at line 67 of file organization.cpp.

◆ ~Organization()

KGAPI2::People::Organization::~Organization ( )
default

Destructor.

Member Function Documentation

◆ costCenter()

QString KGAPI2::People::Organization::costCenter ( ) const
nodiscard

The person's cost center at the organization.

Definition at line 162 of file organization.cpp.

◆ current()

bool KGAPI2::People::Organization::current ( ) const
nodiscard

True if the organization is the person's current organization; false if the organization is a past organization.

Definition at line 146 of file organization.cpp.

◆ department()

QString KGAPI2::People::Organization::department ( ) const
nodiscard

The person's department at the organization.

Definition at line 171 of file organization.cpp.

◆ domain()

QString KGAPI2::People::Organization::domain ( ) const
nodiscard

The domain name associated with the organization; for example, google.com.

Definition at line 180 of file organization.cpp.

◆ endDate()

QDate KGAPI2::People::Organization::endDate ( ) const
nodiscard

The end date when the person left the organization.

Definition at line 207 of file organization.cpp.

◆ formattedType()

QString KGAPI2::People::Organization::formattedType ( ) const
nodiscard

Output only.

The type of the organization translated and formatted in the viewer's account locale or the Accept-Language HTTP header locale.

Definition at line 133 of file organization.cpp.

◆ fromJSON()

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

Definition at line 241 of file organization.cpp.

◆ fromJSONArray()

QList< Organization > KGAPI2::People::Organization::fromJSONArray ( const QJsonArray & data)
staticnodiscard

Definition at line 281 of file organization.cpp.

◆ fullTimeEquivalentMillipercent()

int KGAPI2::People::Organization::fullTimeEquivalentMillipercent ( ) const
nodiscard

The person's full-time equivalent millipercent within the organization (100000 = 100%).

Definition at line 225 of file organization.cpp.

◆ hasSetCurrent()

bool KGAPI2::People::Organization::hasSetCurrent ( ) const
nodiscard

Definition at line 157 of file organization.cpp.

◆ hasSetFullTimeEquivalentMillipercent()

bool KGAPI2::People::Organization::hasSetFullTimeEquivalentMillipercent ( ) const
nodiscard

Definition at line 236 of file organization.cpp.

◆ jobDescription()

QString KGAPI2::People::Organization::jobDescription ( ) const
nodiscard

The person's job description at the organization.

Definition at line 198 of file organization.cpp.

◆ location()

QString KGAPI2::People::Organization::location ( ) const
nodiscard

The location of the organization office the person works at.

Definition at line 88 of file organization.cpp.

◆ metadata()

FieldMetadata KGAPI2::People::Organization::metadata ( ) const
nodiscard

Metadata about the organization.

Definition at line 115 of file organization.cpp.

◆ name()

QString KGAPI2::People::Organization::name ( ) const
nodiscard

The name of the organization.

Definition at line 137 of file organization.cpp.

◆ operator!=()

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

Definition at line 83 of file organization.cpp.

◆ operator==()

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

Definition at line 78 of file organization.cpp.

◆ phoneticName()

QString KGAPI2::People::Organization::phoneticName ( ) const
nodiscard

The phonetic name of the organization.

Definition at line 216 of file organization.cpp.

◆ setCostCenter()

void KGAPI2::People::Organization::setCostCenter ( const QString & value)

Sets value of the costCenter property.

Definition at line 167 of file organization.cpp.

◆ setCurrent()

void KGAPI2::People::Organization::setCurrent ( bool value)

Sets value of the current property.

Definition at line 151 of file organization.cpp.

◆ setDepartment()

void KGAPI2::People::Organization::setDepartment ( const QString & value)

Sets value of the department property.

Definition at line 176 of file organization.cpp.

◆ setDomain()

void KGAPI2::People::Organization::setDomain ( const QString & value)

Sets value of the domain property.

Definition at line 185 of file organization.cpp.

◆ setEndDate()

void KGAPI2::People::Organization::setEndDate ( const QDate & value)

Sets value of the endDate property.

Definition at line 212 of file organization.cpp.

◆ setFullTimeEquivalentMillipercent()

void KGAPI2::People::Organization::setFullTimeEquivalentMillipercent ( int value)

Sets value of the fullTimeEquivalentMillipercent property.

Definition at line 230 of file organization.cpp.

◆ setJobDescription()

void KGAPI2::People::Organization::setJobDescription ( const QString & value)

Sets value of the jobDescription property.

Definition at line 203 of file organization.cpp.

◆ setLocation()

void KGAPI2::People::Organization::setLocation ( const QString & value)

Sets value of the location property.

Definition at line 93 of file organization.cpp.

◆ setMetadata()

void KGAPI2::People::Organization::setMetadata ( const FieldMetadata & value)

Sets value of the metadata property.

Definition at line 120 of file organization.cpp.

◆ setName()

void KGAPI2::People::Organization::setName ( const QString & value)

Sets value of the name property.

Definition at line 142 of file organization.cpp.

◆ setPhoneticName()

void KGAPI2::People::Organization::setPhoneticName ( const QString & value)

Sets value of the phoneticName property.

Definition at line 221 of file organization.cpp.

◆ setStartDate()

void KGAPI2::People::Organization::setStartDate ( const QDate & value)

Sets value of the startDate property.

Definition at line 194 of file organization.cpp.

◆ setSymbol()

void KGAPI2::People::Organization::setSymbol ( const QString & value)

Sets value of the symbol property.

Definition at line 129 of file organization.cpp.

◆ setTitle()

void KGAPI2::People::Organization::setTitle ( const QString & value)

Sets value of the title property.

Definition at line 102 of file organization.cpp.

◆ setType()

void KGAPI2::People::Organization::setType ( const QString & value)

Sets value of the type property.

Definition at line 111 of file organization.cpp.

◆ startDate()

QDate KGAPI2::People::Organization::startDate ( ) const
nodiscard

The start date when the person joined the organization.

Definition at line 189 of file organization.cpp.

◆ symbol()

QString KGAPI2::People::Organization::symbol ( ) const
nodiscard

The symbol associated with the organization; for example, a stock ticker symbol, abbreviation, or acronym.

Definition at line 124 of file organization.cpp.

◆ title()

QString KGAPI2::People::Organization::title ( ) const
nodiscard

The person's job title at the organization.

Definition at line 97 of file organization.cpp.

◆ toJSON()

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

Definition at line 295 of file organization.cpp.

◆ type()

QString KGAPI2::People::Organization::type ( ) const
nodiscard

The type of the organization.

The type can be custom or one of these predefined values: * work * school

Definition at line 106 of file organization.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 Sat Dec 21 2024 17:00:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.