KGAPI2::Drive::Change

#include <change.h>

Inheritance diagram for KGAPI2::Drive::Change:

Public Member Functions

 Change (const Change &other)
 
bool deleted () const
 
FilePtr file () const
 
QString fileId () const
 
qlonglong id () const
 
bool operator!= (const Change &other) const
 
bool operator== (const Change &other) const
 
QUrl selfLink () const
 
- Public Member Functions inherited from KGAPI2::Object
 Object ()
 
 Object (const Object &other)
 
virtual ~Object ()
 
QString etag () const
 
bool operator== (const Object &other) const
 
void setEtag (const QString &etag)
 

Static Public Member Functions

static ChangePtr fromJSON (const QByteArray &jsonData)
 
static ChangesList fromJSONFeed (const QByteArray &jsonData, FeedData &feedData)
 

Detailed Description

Change contains the representation of a change to a file.

Getters and setters' documentation is based on Google Drive's API v2 reference

See also
Changes
Since
2.0
Author
Andrius da Costa Ribas andri[email protected]usma[email protected][email protected][email protected]il.c[email protected]om
Daniel Vrátil dvrat[email protected][email protected][email protected]edhat[email protected].com

Definition at line 33 of file change.h.

Member Function Documentation

bool Change::deleted ( ) const

Returns whether this file has been deleted.

Definition at line 110 of file change.cpp.

FilePtr Change::file ( ) const

Returns the updated state of the file.

Present if the file has not been deleted.

Definition at line 115 of file change.cpp.

QString Change::fileId ( ) const

Returns the id of the file associated with this change.

Definition at line 100 of file change.cpp.

qlonglong Change::id ( ) const

Returns the id of the change.

Definition at line 95 of file change.cpp.

QUrl Change::selfLink ( ) const

Returns a link back to this change.

Definition at line 105 of file change.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 5 2020 23:07:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.