1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
|
// model-header.mustache
// licenseInfo.mustache
/**
* Libre Graph API
* Libre Graph is a free API for cloud collaboration inspired by the MS Graph API.
*
* The version of the OpenAPI document: v1.0.4
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* OAIQuota.h
*
* Optional. Information about the drive's storage space quota. Read-only.
*/
#ifndef OAIQuota_H
#define OAIQuota_H
#include <QJsonObject>
#include <QString>
#include "OAIEnum.h"
#include "OAIObject.h"
namespace OpenAPI {
class OAIQuotaPrivate;
class OAIQuota : public OAIObject {
public:
OAIQuota();
OAIQuota(const OAIQuota &other);
OAIQuota(QString json);
~OAIQuota() override;
QString asJson() const override;
QJsonObject asJsonObject() const override;
void fromJsonObject(QJsonObject json) override;
void fromJson(QString jsonString) override;
qint64 getDeleted() const;
void setDeleted(const qint64 &deleted);
bool is_deleted_Set() const;
bool is_deleted_Valid() const;
qint64 getRemaining() const;
void setRemaining(const qint64 &remaining);
bool is_remaining_Set() const;
bool is_remaining_Valid() const;
QString getState() const;
void setState(const QString &state);
bool is_state_Set() const;
bool is_state_Valid() const;
qint64 getTotal() const;
void setTotal(const qint64 &total);
bool is_total_Set() const;
bool is_total_Valid() const;
qint64 getUsed() const;
void setUsed(const qint64 &used);
bool is_used_Set() const;
bool is_used_Valid() const;
virtual bool isSet() const override;
virtual bool isValid() const override;
private:
void initializeModel();
Q_DECLARE_PRIVATE(OAIQuota)
QSharedPointer<OAIQuotaPrivate> d_ptr;
};
} // namespace OpenAPI
Q_DECLARE_METATYPE(OpenAPI::OAIQuota)
#endif // OAIQuota_H
|