KGAPI2::People::CalendarUrl

Search for usage in LXR

KGAPI2::People::CalendarUrl Class Reference

#include <calendarurl.h>

Public Member Functions

 CalendarUrl ()
 
 CalendarUrl (CalendarUrl &&) noexcept
 
 CalendarUrl (const CalendarUrl &)
 
 ~CalendarUrl ()
 
QString formattedType () const
 
FieldMetadata metadata () const
 
bool operator!= (const CalendarUrl &) const
 
CalendarUrloperator= (CalendarUrl &&) noexcept
 
CalendarUrloperator= (const CalendarUrl &)
 
bool operator== (const CalendarUrl &) const
 
void setMetadata (const FieldMetadata &value)
 
void setType (const QString &value)
 
void setUrl (const QString &value)
 
QJsonValue toJSON () const
 
QString type () const
 
QString url () const
 

Static Public Member Functions

static CalendarUrl fromJSON (const QJsonObject &obj)
 
static QList< CalendarUrlfromJSONArray (const QJsonArray &data)
 

Detailed Description

A person's calendar URL.

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

Definition at line 33 of file calendarurl.h.

Constructor & Destructor Documentation

◆ CalendarUrl()

KGAPI2::People::CalendarUrl::CalendarUrl ( )
explicit

Constructs a new CalendarUrl.

Definition at line 49 of file calendarurl.cpp.

◆ ~CalendarUrl()

KGAPI2::People::CalendarUrl::~CalendarUrl ( )
default

Destructor.

Member Function Documentation

◆ formattedType()

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

Output only.

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

Definition at line 97 of file calendarurl.cpp.

◆ fromJSON()

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

Definition at line 102 of file calendarurl.cpp.

◆ fromJSONArray()

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

Definition at line 117 of file calendarurl.cpp.

◆ metadata()

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

Metadata about the calendar URL.

Definition at line 79 of file calendarurl.cpp.

◆ operator!=()

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

Definition at line 65 of file calendarurl.cpp.

◆ operator==()

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

Definition at line 60 of file calendarurl.cpp.

◆ setMetadata()

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

Sets value of the metadata property.

Definition at line 84 of file calendarurl.cpp.

◆ setType()

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

Sets value of the type property.

Definition at line 93 of file calendarurl.cpp.

◆ setUrl()

void KGAPI2::People::CalendarUrl::setUrl ( const QString & value)

Sets value of the url property.

Definition at line 75 of file calendarurl.cpp.

◆ toJSON()

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

Definition at line 131 of file calendarurl.cpp.

◆ type()

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

The type of the calendar URL.

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

Definition at line 88 of file calendarurl.cpp.

◆ url()

QString KGAPI2::People::CalendarUrl::url ( ) const
nodiscard

The calendar URL.

Definition at line 70 of file calendarurl.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 Fri Dec 27 2024 11:55:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.