KGAPI2::People::MiscKeyword

Search for usage in LXR

#include <misckeyword.h>

Public Types

enum class  Type {
  TYPE_UNSPECIFIED , OUTLOOK_BILLING_INFORMATION , OUTLOOK_DIRECTORY_SERVER , OUTLOOK_KEYWORD ,
  OUTLOOK_MILEAGE , OUTLOOK_PRIORITY , OUTLOOK_SENSITIVITY , OUTLOOK_SUBJECT ,
  OUTLOOK_USER , HOME , WORK , OTHER
}
 

Public Member Functions

 MiscKeyword ()
 
 MiscKeyword (const MiscKeyword &)
 
 MiscKeyword (const MiscKeywordDefinition &definition)
 
 MiscKeyword (MiscKeyword &&) noexcept
 
 ~MiscKeyword ()
 
QString formattedType () const
 
FieldMetadata metadata () const
 
bool operator!= (const MiscKeyword &) const
 
MiscKeywordoperator= (const MiscKeyword &)
 
MiscKeywordoperator= (MiscKeyword &&) noexcept
 
bool operator== (const MiscKeyword &) const
 
void setMetadata (const FieldMetadata &value)
 
void setType (MiscKeyword::Type value)
 
void setValue (const QString &value)
 
QJsonValue toJSON () const
 
MiscKeyword::Type type () const
 
QString value () const
 

Static Public Member Functions

static MiscKeyword fromJSON (const QJsonObject &)
 
static QList< MiscKeywordfromJSONArray (const QJsonArray &data)
 

Detailed Description

A person's miscellaneous keyword.

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

Definition at line 34 of file misckeyword.h.

Member Enumeration Documentation

◆ Type

Enumerator
TYPE_UNSPECIFIED 

Unspecified.

OUTLOOK_BILLING_INFORMATION 

Outlook field for billing information.

OUTLOOK_DIRECTORY_SERVER 

Outlook field for directory server.

OUTLOOK_KEYWORD 

Outlook field for keyword.

OUTLOOK_MILEAGE 

Outlook field for mileage.

OUTLOOK_PRIORITY 

Outlook field for priority.

OUTLOOK_SENSITIVITY 

Outlook field for sensitivity.

OUTLOOK_SUBJECT 

Outlook field for subject.

OUTLOOK_USER 

Outlook field for user.

HOME 

Home.

WORK 

Work.

OTHER 

Other.

Definition at line 37 of file misckeyword.h.

Constructor & Destructor Documentation

◆ MiscKeyword() [1/2]

KGAPI2::People::MiscKeyword::MiscKeyword ( )
explicit

Constructs a new MiscKeyword.

Definition at line 59 of file misckeyword.cpp.

◆ MiscKeyword() [2/2]

KGAPI2::People::MiscKeyword::MiscKeyword ( const MiscKeywordDefinition & definition)

Definition at line 64 of file misckeyword.cpp.

◆ ~MiscKeyword()

KGAPI2::People::MiscKeyword::~MiscKeyword ( )
default

Destructor.

Member Function Documentation

◆ formattedType()

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

Output only.

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

Definition at line 116 of file misckeyword.cpp.

◆ fromJSON()

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

Definition at line 121 of file misckeyword.cpp.

◆ fromJSONArray()

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

Definition at line 165 of file misckeyword.cpp.

◆ metadata()

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

Metadata about the miscellaneous keyword.

Definition at line 89 of file misckeyword.cpp.

◆ operator!=()

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

Definition at line 84 of file misckeyword.cpp.

◆ operator==()

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

Definition at line 79 of file misckeyword.cpp.

◆ setMetadata()

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

Sets value of the metadata property.

Definition at line 94 of file misckeyword.cpp.

◆ setType()

void KGAPI2::People::MiscKeyword::setType ( MiscKeyword::Type value)

Sets value of the type property.

Definition at line 112 of file misckeyword.cpp.

◆ setValue()

void KGAPI2::People::MiscKeyword::setValue ( const QString & value)

Sets value of the value property.

Definition at line 103 of file misckeyword.cpp.

◆ toJSON()

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

Definition at line 179 of file misckeyword.cpp.

◆ type()

MiscKeyword::MiscKeyword::Type KGAPI2::People::MiscKeyword::type ( ) const
nodiscard

The miscellaneous keyword type.

Definition at line 107 of file misckeyword.cpp.

◆ value()

QString KGAPI2::People::MiscKeyword::value ( ) const
nodiscard

The value of the miscellaneous keyword.

Definition at line 98 of file misckeyword.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.