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 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
|
// 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.
*/
/*
* OAIRemoteItem.h
*
* Remote item data, if the item is shared from a drive other than the one being accessed. Read-only.
*/
#ifndef OAIRemoteItem_H
#define OAIRemoteItem_H
#include <QJsonObject>
#include "OAIFileSystemInfo.h"
#include "OAIFolder.h"
#include "OAIIdentitySet.h"
#include "OAIImage.h"
#include "OAIItemReference.h"
#include "OAIOpenGraphFile.h"
#include "OAIShared.h"
#include "OAISpecialFolder.h"
#include <QDateTime>
#include <QString>
#include "OAIEnum.h"
#include "OAIObject.h"
namespace OpenAPI {
class OAIIdentitySet;
class OAIOpenGraphFile;
class OAIFileSystemInfo;
class OAIFolder;
class OAIImage;
class OAIItemReference;
class OAIShared;
class OAISpecialFolder;
class OAIRemoteItemPrivate;
class OAIRemoteItem : public OAIObject {
public:
OAIRemoteItem();
OAIRemoteItem(const OAIRemoteItem &other);
OAIRemoteItem(QString json);
~OAIRemoteItem() override;
QString asJson() const override;
QJsonObject asJsonObject() const override;
void fromJsonObject(QJsonObject json) override;
void fromJson(QString jsonString) override;
OAIIdentitySet getCreatedBy() const;
void setCreatedBy(const OAIIdentitySet &created_by);
bool is_created_by_Set() const;
bool is_created_by_Valid() const;
QDateTime getCreatedDateTime() const;
void setCreatedDateTime(const QDateTime &created_date_time);
bool is_created_date_time_Set() const;
bool is_created_date_time_Valid() const;
OAIOpenGraphFile getFile() const;
void setFile(const OAIOpenGraphFile &file);
bool is_file_Set() const;
bool is_file_Valid() const;
OAIFileSystemInfo getFileSystemInfo() const;
void setFileSystemInfo(const OAIFileSystemInfo &file_system_info);
bool is_file_system_info_Set() const;
bool is_file_system_info_Valid() const;
OAIFolder getFolder() const;
void setFolder(const OAIFolder &folder);
bool is_folder_Set() const;
bool is_folder_Valid() const;
QString getId() const;
void setId(const QString &id);
bool is_id_Set() const;
bool is_id_Valid() const;
OAIImage getImage() const;
void setImage(const OAIImage &image);
bool is_image_Set() const;
bool is_image_Valid() const;
OAIIdentitySet getLastModifiedBy() const;
void setLastModifiedBy(const OAIIdentitySet &last_modified_by);
bool is_last_modified_by_Set() const;
bool is_last_modified_by_Valid() const;
QDateTime getLastModifiedDateTime() const;
void setLastModifiedDateTime(const QDateTime &last_modified_date_time);
bool is_last_modified_date_time_Set() const;
bool is_last_modified_date_time_Valid() const;
QString getName() const;
void setName(const QString &name);
bool is_name_Set() const;
bool is_name_Valid() const;
QString getETag() const;
void setETag(const QString &e_tag);
bool is_e_tag_Set() const;
bool is_e_tag_Valid() const;
QString getCTag() const;
void setCTag(const QString &c_tag);
bool is_c_tag_Set() const;
bool is_c_tag_Valid() const;
OAIItemReference getParentReference() const;
void setParentReference(const OAIItemReference &parent_reference);
bool is_parent_reference_Set() const;
bool is_parent_reference_Valid() const;
OAIShared getShared() const;
void setShared(const OAIShared &shared);
bool is_shared_Set() const;
bool is_shared_Valid() const;
qint64 getSize() const;
void setSize(const qint64 &size);
bool is_size_Set() const;
bool is_size_Valid() const;
OAISpecialFolder getSpecialFolder() const;
void setSpecialFolder(const OAISpecialFolder &special_folder);
bool is_special_folder_Set() const;
bool is_special_folder_Valid() const;
QString getWebDavUrl() const;
void setWebDavUrl(const QString &web_dav_url);
bool is_web_dav_url_Set() const;
bool is_web_dav_url_Valid() const;
QString getWebUrl() const;
void setWebUrl(const QString &web_url);
bool is_web_url_Set() const;
bool is_web_url_Valid() const;
virtual bool isSet() const override;
virtual bool isValid() const override;
private:
void initializeModel();
Q_DECLARE_PRIVATE(OAIRemoteItem)
QSharedPointer<OAIRemoteItemPrivate> d_ptr;
};
} // namespace OpenAPI
Q_DECLARE_METATYPE(OpenAPI::OAIRemoteItem)
#endif // OAIRemoteItem_H
|